Re: Image Failing Error
Hello, I had forgotten that the time zone was hard-coded in the vcld code. I committed an update today which should address this for Windows images using Sysprep. Loaded images should be configured to use the time zone configured on the management node. It runs 'date' on the management node, parses out the abbreviation (i.e. "EDT"), then converts this to the appropriate Windows numerical code or full time zone name. Windows 5.x's sysprep.inf file uses a number (i.e. EST = 35) and 6.x's Unattend.xml uses the full name (i.e "Eastern Standard Time"). The code will need to be extended for non-Sysprep Windows and Linux images but this is a start. This will be available in the soon to be released 2.2 code. Regarding the other error, this should be fixed in more recent code. I would recommend not changing the code. If it ain't broke, don't break it. :) If you want to experiment, try the following - in utils.pm line 2745, change: --- if ($image_os_type =~ /windows/i) { $identity = $IDENTITY_wxp; } elsif ($image_os_type =~ /linux/i) { $identity = $IDENTITY_bladerhel; } else { $identity = $IDENTITY_bladerhel; } --- to: --- if ($imagename =~ /win/i) { $identity = $IDENTITY_wxp; } else { $identity = $IDENTITY_bladerhel; } --- -Andy Alexander Patterson wrote: Hello, I'm getting this error with my Office 2010 Image that was working before and now it's failing at resources ready. Anyways here is the error log. e operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. Here is the log 31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 2010-08-26 15:46:46|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:48|5137|vcld:main(165)|lastcheckin time updated for management node 1: 2010-08-26 15:46:48 2010-08-26 15:46:51|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6262)|run_ssh_command output: |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. |31374|7892:7628|new| The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6272)|SSH command executed on vmguest-68, command: |31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 |31374|7892:7628|new| returning (1, "The operation completed succes...") |31374|7892:7628|new| WARNING |31374|7892:7628|new| 2010-08-26 15:46:53|31374|7892:7628|new|Version_6.pm:firewall_enable_rdp_private(968)|failed to add firewall rule to enable RDP to: 10.10.10.148, exit status: 1, output: |31374|7892:7628|new| The operation completed successfully The operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfire
Re: Image Failing Error
Hello Andy I must of missed that the OS id was incorrect. Thank you Any info about the time zone changes in VCL images? Or the other error? Thanks so much -Alex On Fri, Aug 27, 2010 at 9:39 AM, Andy Kurth wrote: > Hello, > What is the OS of the image? The log output seems to indicate that the > image is either XP or 2003 but the VCL OS module being used is for one of > the Windows 6.x versions: Visa, 7, or 2008. > > Windows 5.x uses 'netsh firewall' and Windows 6.x uses 'netsh advfirewall'. > If 'netsh advfirewall' is attempted on Windows 5.x, netsh.exe will return > "The following command was not found: ...". > > Check if your image has the correct OSid value in the VCL database > (image.OSid). This points to the OS table, which points to the module > table: > image.OSid --> OS.id > OS.moduleid --> module.id > > Hope this helps, > Andy > > Alexander Patterson wrote: >> >> Hello, >> >> >> I'm getting this error with my Office 2010 Image that was working >> before and now it's failing at resources ready. >> >> Anyways here is the error log. >> >> e operation completed successfully The following command was not >> found: advfirewall firewall delete rule name=all dir=in protocol=TCP >> localport=3389. The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes >> dir=in localip=10.10.10.148. >> >> >> >> >> Here is the log >> >> 31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 >> -x vmguest-68 'reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" >> /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal >> Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f >> ; netsh.exe advfirewall firewall delete rule name=all dir=in >> protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule >> name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows >> incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP >> localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' >> 2>&1 >> 2010-08-26 >> 15:46:46|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation >> remote IP is not defined >> 2010-08-26 15:46:48|5137|vcld:main(165)|lastcheckin time updated for >> management node 1: 2010-08-26 15:46:48 >> 2010-08-26 >> 15:46:51|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation >> remote IP is not defined >> 2010-08-26 >> 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6262)|run_ssh_command >> output: >> |31374|7892:7628|new| The operation completed successfully >> |31374|7892:7628|new| The operation completed successfully >> |31374|7892:7628|new| The following command was not found: advfirewall >> firewall delete rule name=all dir=in protocol=TCP localport=3389. >> |31374|7892:7628|new| The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes >> dir=in localip=10.10.10.148. >> 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6272)|SSH >> command executed on vmguest-68, command: >> |31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 >> -x vmguest-68 'reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" >> /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD >> "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal >> Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f >> ; netsh.exe advfirewall firewall delete rule name=all dir=in >> protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule >> name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows >> incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP >> localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' >> 2>&1 >> |31374|7892:7628|new| returning (1, "The operation completed succes...") >> >> |31374|7892:7628|new| WARNING >> |31374|7892:7628|new| 2010-08-26 >> >> 15:46:53|31374|7892:7628|new|Version_6.pm:firewall_enable_rdp_private(968)|failed >> to add firewall rule to enable RDP to: 10.10.10.148, exit status: 1, >> output: >> |31374|7892:7628|new| The operation completed successfully The >> operation completed successfully The following command was not found: >> advfirewall firewall delete rule name=all dir=in protocol=TCP >> localport=3389. The following command was not found: advfirewall >> firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" >> "description=Allows incoming RDP (TCP port 3389) traffic to: >> 10.10.10.148" protocol=TCP localport=3389 action=allow
Re: Image Failing Error
Hello, What is the OS of the image? The log output seems to indicate that the image is either XP or 2003 but the VCL OS module being used is for one of the Windows 6.x versions: Visa, 7, or 2008. Windows 5.x uses 'netsh firewall' and Windows 6.x uses 'netsh advfirewall'. If 'netsh advfirewall' is attempted on Windows 5.x, netsh.exe will return "The following command was not found: ...". Check if your image has the correct OSid value in the VCL database (image.OSid). This points to the OS table, which points to the module table: image.OSid --> OS.id OS.moduleid --> module.id Hope this helps, Andy Alexander Patterson wrote: Hello, I'm getting this error with my Office 2010 Image that was working before and now it's failing at resources ready. Anyways here is the error log. e operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. Here is the log 31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 2010-08-26 15:46:46|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:48|5137|vcld:main(165)|lastcheckin time updated for management node 1: 2010-08-26 15:46:48 2010-08-26 15:46:51|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6262)|run_ssh_command output: |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. |31374|7892:7628|new| The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6272)|SSH command executed on vmguest-68, command: |31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 |31374|7892:7628|new| returning (1, "The operation completed succes...") |31374|7892:7628|new| WARNING |31374|7892:7628|new| 2010-08-26 15:46:53|31374|7892:7628|new|Version_6.pm:firewall_enable_rdp_private(968)|failed to add firewall rule to enable RDP to: 10.10.10.148, exit status: 1, output: |31374|7892:7628|new| The operation completed successfully The operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) |31374|7892:7628|new| (-1) Version_6.pm, firewall_enable_rdp_private (line: 968) |31374|7892:7628|new| (-2) Windows.pm, post_load (line: 474) |31374|7892:7628|new| (-3) Version_6.pm, post_load (line: 206) |31374|7892:7628|new| (-4) new.pm, reload_image (line: 692) |31374|7892:7628|new| (-5) new.pm, process (line: 266) |31374|7892:7628|new| (-6) vcld, make_new_child (line: 594)
Image Failing Error
Hello, I'm getting this error with my Office 2010 Image that was working before and now it's failing at resources ready. Anyways here is the error log. e operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. Here is the log 31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 2010-08-26 15:46:46|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:48|5137|vcld:main(165)|lastcheckin time updated for management node 1: 2010-08-26 15:46:48 2010-08-26 15:46:51|30857|7890:7626|reserved|DataStructure.pm:get_reservation_remote_ip(956)|reservation remote IP is not defined 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6262)|run_ssh_command output: |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The operation completed successfully |31374|7892:7628|new| The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. |31374|7892:7628|new| The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. 2010-08-26 15:46:53|31374|7892:7628|new|utils.pm:run_ssh_command(6272)|SSH command executed on vmguest-68, command: |31374|7892:7628|new| /usr/bin/ssh -i /etc/vcl/vcl.key -l root -p 22 -x vmguest-68 'reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server" /t REG_DWORD /v fDenyTSConnections /d 0 /f ; reg.exe ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\WinStations\RDP-Tcp" /t REG_DWORD /v UserAuthentication /d 0 /f ; netsh.exe advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389 ; netsh.exe advfirewall firewall add rule name="VCL: allow RDP port 3389 to: 10.10.10.148" description="Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148' 2>&1 |31374|7892:7628|new| returning (1, "The operation completed succes...") |31374|7892:7628|new| WARNING |31374|7892:7628|new| 2010-08-26 15:46:53|31374|7892:7628|new|Version_6.pm:firewall_enable_rdp_private(968)|failed to add firewall rule to enable RDP to: 10.10.10.148, exit status: 1, output: |31374|7892:7628|new| The operation completed successfully The operation completed successfully The following command was not found: advfirewall firewall delete rule name=all dir=in protocol=TCP localport=3389. The following command was not found: advfirewall firewall add rule "name=VCL: allow RDP port 3389 to: 10.10.10.148" "description=Allows incoming RDP (TCP port 3389) traffic to: 10.10.10.148" protocol=TCP localport=3389 action=allow enable=yes dir=in localip=10.10.10.148. |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) |31374|7892:7628|new| (-1) Version_6.pm, firewall_enable_rdp_private (line: 968) |31374|7892:7628|new| (-2) Windows.pm, post_load (line: 474) |31374|7892:7628|new| (-3) Version_6.pm, post_load (line: 206) |31374|7892:7628|new| (-4) new.pm, reload_image (line: 692) |31374|7892:7628|new| (-5) new.pm, process (line: 266) |31374|7892:7628|new| (-6) vcld, make_new_child (line: 594) |31374|7892:7628|new| WARNING |31374|7892:7628|new| 2010-08-26 15:46:53|31374|7892:7628|new|Windows.pm:post_load(475)|unable to enable RDP on private network |31374|7892:7628|new| ( 0) utils.pm, notify (line: 737) |31374|7892:7628|new| (-1) Windows.pm, post_load (line: 475) |31374|7892:7628|new| (-2) Version_6.pm, post_load (line: 206) |31374|7892:7628|new| (-3) new.pm, reload_image (line: 692) |31374|7892:7628|new| (-4) new.pm, process (line: 266) |31374|7892:7628|new| (-5) vcld, make_new_child (line: 594) |31374|7892:7628|new| (-6) vcld, main (line: 341) |31374|7892:7628|new| WARNING |31374|7892:7628|new| 2010-08-2