Prepare image for MAAS - VMware/bare metal deployment
Hi,
Thanks for windows-openstack-imaging-tools -- very useful scripts & good documentation. I'm trying to prepare image for testing on the VMware & bare metal.
Successfully prepared Windows 7 SP1, including all needed drivers, converted it to ddtgz format, attached to MAAS region controller. But after the installations process reboots once, windows start continuously rebooting.
On the MAAS logs I have:
Mar 2 03:09:15 MAAS1 kernel: [ 249.143122] sda: sda1
Mar 2 03:09:15 MAAS1 systemd-udevd[2324]: Process '/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'' failed with exit code 2.
Mar 2 03:09:16 MAAS1 kernel: [ 249.734205] sda: sda1
Mar 2 03:09:16 MAAS1 systemd-udevd[2339]: Process '/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'' failed with exit code 2.
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Version 2015.3.14AR.1 integrated FUSE 28
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Mounted /dev/sda1 (Read-Write, label "OS", NTFS 3.1)
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Cmdline options: rw
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Mount options: rw,allowother,nonempty,relatime,fsname=/dev /sda1,blkdev,blksize=4096
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Ownership and permissions disabled, configuration type 7
Mar 2 03:09:16 MAAS1 ntfs-3g[2352]: Unmounting /dev/sda1 (OS)
Mar 2 03:09:16 MAAS1 systemd-udevd[2354]: Process '/bin/sh -c 'echo 180 >/sys$DEVPATH/device/timeout'' failed with exit code 2.
Mar 2 03:09:16 MAAS1 ntfs-3g[2360]: Version 2015.3.14AR.1 integrated FUSE 28
Mar 2 03:09:16 MAAS1 ntfs-3g[2360]: Mounted /dev/sda1 (Read-Write, label "OS", NTFS 3.1)
Mar 2 03:09:16 MAAS1 ntfs-3g[2360]: Cmdline options: rw
Mar 2 03:09:16 MAAS1 ntfs-3g[2360]: Mount options: rw,allowother,nonempty,relatime,fsname=/dev /sda1,blkdev,blksize=4096
Mar 2 03:09:16 MAAS1 ntfs-3g[2360]: Ownership and permissions disabled, configuration type 7
Mar 2 03:09:18 MAAS1 cloud-init[2273]: Traceback (most recent call last):
Mar 2 03:09:18 MAAS1 cloud-init[2273]: File "/tmp/tmpemf69ztr/target/curtin/finalize.py", line 141, in <module>
Mar 2 03:09:18 MAAS1 cloud-init[2273]: curthooks()
Mar 2 03:09:18 MAAS1 cloud-init[2273]: File "/tmp/tmpemf69ztr/target/curtin/finalize.py", line 88, in curthooks
Mar 2 03:09:18 MAAS1 cloud-init[2273]: cloudbaseinit = getcloudbaseinitdir(target)
Mar 2 03:09:18 MAAS1 cloud-init[2273]: File "/tmp/tmpemf69ztr/target/curtin/finalize.py", line 82, in getcloudbaseinitdir
Mar 2 03:09:18 MAAS1 cloud-init[2273]: raise ValueError("Failed to find cloudbase-init install destination")
Mar 2 03:09:18 MAAS1 cloud-init[2273]: ValueError: Failed to find cloudbase-init install destination
Mar 2 03:09:19 MAAS1 cloud-init[2273]: Unexpected error while running command.
Mar 2 03:09:19 MAAS1 cloud-init[2273]: Command: ['/tmp/tmpemf69ztr/target/curtin/finalize']
Mar 2 03:09:19 MAAS1 cloud-init[2273]: Exit code: 1
Mar 2 03:09:19 MAAS1 cloud-init[2273]: Reason: -
Mar 2 ...