← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339342] [NEW] VMware: boot from sparse image results in OS not found

 

Public bug reported:

I am attempting to boot an instance from the cirros  image found here:
http://partnerweb.vmware.com/programs/vmdkimage/cirros-0.3.2-i386-disk.vmdk

So I originally imported the image without setting any of the vmware
properties.  So when I go to boot from this image, I get "Operating
System not found" in the VM.

This was my user error, so I then used the glance command line image-
update to set those properties after the image was already created.
Then I tried another boot from this image.  I got the same result,
"Operating System not found".

However, if I set the properties for the image at image-create time,
everything works.  It also works if I do not boot the image before doing
an image-update.  So definitely seems as though some of the metadata is
cached.

To Recreate:
- use glance image-create to import image: http://partnerweb.vmware.com/programs/vmdkimage/cirros-0.3.2-i386-disk.vmdk (do not set any of the vmware_* properties.
- boot from this image, notice it fails to find the OS as expected
- use glance image-update to modify the image metadata so that it properly has the --property vmware_adaptertype="ide" --property vmware_disktype="sparse" set.
- boot from this image again, notice it still fails, which is unexpected.

** Affects: nova
     Importance: Medium
     Assignee: Arnaud Legendre (arnaudleg)
         Status: New


** Tags: vmware

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1339342

Title:
  VMware: boot from sparse image results in OS not found

Status in OpenStack Compute (Nova):
  New

Bug description:
  I am attempting to boot an instance from the cirros  image found here:
  http://partnerweb.vmware.com/programs/vmdkimage/cirros-0.3.2-i386-disk.vmdk

  So I originally imported the image without setting any of the vmware
  properties.  So when I go to boot from this image, I get "Operating
  System not found" in the VM.

  This was my user error, so I then used the glance command line image-
  update to set those properties after the image was already created.
  Then I tried another boot from this image.  I got the same result,
  "Operating System not found".

  However, if I set the properties for the image at image-create time,
  everything works.  It also works if I do not boot the image before
  doing an image-update.  So definitely seems as though some of the
  metadata is cached.

  To Recreate:
  - use glance image-create to import image: http://partnerweb.vmware.com/programs/vmdkimage/cirros-0.3.2-i386-disk.vmdk (do not set any of the vmware_* properties.
  - boot from this image, notice it fails to find the OS as expected
  - use glance image-update to modify the image metadata so that it properly has the --property vmware_adaptertype="ide" --property vmware_disktype="sparse" set.
  - boot from this image again, notice it still fails, which is unexpected.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1339342/+subscriptions


Follow ups

References