I came across this myself last week. It's another Cygwin 1.7 problem. When you run a Cygwin command such as sed and pass it a non-Cygwin formatted path you get this warning:

CYGWIN environment variable option "nodosfilewarning" turns off this warning

This is throwing off the post-load code which sanitizes various files. If you run the command a 2nd time it runs normally. I have written the code to overcome the problem but haven't committed it yet.

You can fix your image by modifying cygwin-sshd-config.sh, running it, and then gen-node-keys.sh again.

Find this line:
ssh-host-config -y -c ntsec -w "$PASSWORD"

Change it to:
ssh-host-config -y -c "ntsec nodosfilewarning" -w "$PASSWORD"

You'll need to make an imaging reservation. Once the load fails, change the request state, laststate, and computer state in the database to inuse. You should be able to ssh into it from the management node. Perform the steps above then save a new revision of the image.

Hope this helps,
Andy

Roger Herling wrote:
using 2.2.1 with win7 x64 and cygwin 1.7.

Image captured fine but when you go to load it you get this failure even though the machine boots like it should


|26750|277:243|new| cygwin warning:
|26750|277:243|new| MS-DOS style path detected: C:\Windows/System32/sysprep
|26750|277:243|new| Preferred POSIX equivalent is: /cygdrive/c/Windows/System32/sysprep |26750|277:243|new| CYGWIN environment variable option "nodosfilewarning" turns off this warning. |26750|277:243|new| Consult the user's guide for more details about POSIX paths: |26750|277:243|new| http://cygwin.com/cygwin-ug-net/using.html#using-pathnames 2011-05-04 16:52:19|3516|vcld:main(166)|lastcheckin time updated for management node 1: 2011-05-04 16:52:19

|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:21|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file was not found: cygwin warning:, sed output: |26750|277:243|new| /bin/sed: can't read cygwin warning:: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:23|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file was not found: MS-DOS style path detected: C:/Windows/System32/sysprep, sed output: |26750|277:243|new| /bin/sed: can't read MS-DOS style path detected: C:/Windows/System32/sysprep: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)

2011-05-04 16:52:24|3516|vcld:main(166)|lastcheckin time updated for management node 1: 2011-05-04 16:52:24

|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:24|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file was not found: Preferred POSIX equivalent is: /cygdrive/c/Windows/System32/sysprep, sed output: |26750|277:243|new| /bin/sed: can't read Preferred POSIX equivalent is: /cygdrive/c/Windows/System32/sysprep: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:26|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file was not found: CYGWIN environment variable option "nodosfilewarning" turns off this warning., sed output: |26750|277:243|new| /bin/sed: can't read CYGWIN environment variable option nodosfilewarning turns off this warning.: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)

sh: -c: line 0: unexpected EOF while looking for matching `"'
sh: -c: line 1: syntax error: unexpected end of file

|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:26|26750|277:243|new|Windows.pm:search_and_replace_in_files(6021)|sed exit status is 2, output:
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6021)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|Windows.pm:search_and_replace_in_files(6013)|file was not found: http://cygwin.com/cygwin-ug-net/using.html#using-pathnames, sed output: |26750|277:243|new| /bin/sed: can't read http://cygwin.com/cygwin-ug-net/using.html#using-pathnames: No such file or directory
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, search_and_replace_in_files (line: 6013)
|26750|277:243|new| (-2) Windows.pm, sanitize_files (line: 9626)
|26750|277:243|new| (-3) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-4) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-5) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-6) VMware.pm, load (line: 362)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|Windows.pm:sanitize_files(9627)|failed to remove the Windows root password from: $SYSTEMROOT/System32/sysprep
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, sanitize_files (line: 9627)
|26750|277:243|new| (-2) Version_6.pm, sanitize_files (line: 1809)
|26750|277:243|new| (-3) Windows.pm, post_load (line: 710)
|26750|277:243|new| (-4) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-5) VMware.pm, load (line: 362)
|26750|277:243|new| (-6) new.pm, reload_image (line: 687)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|Windows.pm:post_load(711)|failed to sanitize the files on the computer
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Windows.pm, post_load (line: 711)
|26750|277:243|new| (-2) Version_6.pm, post_load (line: 194)
|26750|277:243|new| (-3) VMware.pm, load (line: 362)
|26750|277:243|new| (-4) new.pm, reload_image (line: 687)
|26750|277:243|new| (-5) new.pm, process (line: 282)
|26750|277:243|new| (-6) vcld, make_new_child (line: 595)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|Version_6.pm:post_load(198)|failed to execute parent class post_load() subroutine
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) Version_6.pm, post_load (line: 198)
|26750|277:243|new| (-2) VMware.pm, load (line: 362)
|26750|277:243|new| (-3) new.pm, reload_image (line: 687)
|26750|277:243|new| (-4) new.pm, process (line: 282)
|26750|277:243|new| (-5) vcld, make_new_child (line: 595)
|26750|277:243|new| (-6) vcld, main (line: 342)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|VMware.pm:load(367)|failed to perform OS post-load tasks on VM vm1201 on VM host: blade12
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) VMware.pm, load (line: 367)
|26750|277:243|new| (-2) new.pm, reload_image (line: 687)
|26750|277:243|new| (-3) new.pm, process (line: 282)
|26750|277:243|new| (-4) vcld, make_new_child (line: 595)
|26750|277:243|new| (-5) vcld, main (line: 342)


|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|new.pm:reload_image(692)|vmwarewin7-vmwin7x64base72-v0 failed to load on vm1201, returning
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) new.pm, reload_image (line: 692)
|26750|277:243|new| (-2) new.pm, process (line: 282)
|26750|277:243|new| (-3) vcld, make_new_child (line: 595)
|26750|277:243|new| (-4) vcld, main (line: 342)

2011-05-04 16:52:28|26750|277:243|new|utils.pm:insertloadlog(3933)|inserted computer=12, loadimagefailed, vmwarewin7-vmwin7x64base72-v0 failed to load on vm1201

|26750|277:243|new| ---- WARNING ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|new.pm:process(329)|failed to load vm1201 with vmwarewin7-vmwin7x64base72-v0
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) new.pm, process (line: 329)
|26750|277:243|new| (-2) vcld, make_new_child (line: 595)
|26750|277:243|new| (-3) vcld, main (line: 342)

2011-05-04 16:52:28|26750|277:243|new|DataStructure.pm:get_computer_state_name(2227)|attempting to retrieve current state of computer vm1201 from the database 2011-05-04 16:52:28|26750|277:243|new|DataStructure.pm:get_computer_state_name(2258)|retrieved current state of computer vm1201 from the database: reloading 2011-05-04 16:52:28|26750|277:243|new|DataStructure.pm:_automethod(786)|data structure updated: $self->request_data->{reservation}{243}{computer}{state}{name}
|26750|277:243|new| computer_state_name = reloading
2011-05-04 16:52:29|26750|277:243|new|utils.pm:mail(1247)|SUCCESS -- Sending mail To: 0, PROBLEM -- State.pm

|26750|277:243|new| ---- CRITICAL ----
|26750|277:243|new| 2011-05-04 16:52:28|26750|277:243|new|State.pm:reservation_failed(287)|reservation failed on vm1201: process failed after trying to load or make available
|26750|277:243|new| ( 0) utils.pm, notify (line: 630)
|26750|277:243|new| (-1) State.pm, reservation_failed (line: 287)
|26750|277:243|new| (-2) new.pm, process (line: 332)
|26750|277:243|new| (-3) vcld, make_new_child (line: 595)
|26750|277:243|new| (-4) vcld, main (line: 342)

*Roger Herling*
*Sr. Desktop Administrator*
Marist College
*Office:* 845-575-3347
*Cell:* 845-420-4298

Reply via email to