← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1402596] Re: can not get image name when create an instance

 

Hi zyjyan,

Thanks for giving the steps to reproduce the issue. I was able to see
the same result by testing with devstack and horizon.

What you are seeing is not a bug. In horizon when you choose the option
"Boot from image (creates new volume)" what you are doing is creating a
bootable volume from an image, and then booting the instance from that.
That's why there is not an image associated with the instance. Please
see this doc that explains more:

http://docs.openstack.org/user-
guide/content/create_volume_from_image_and_boot.html

** Changed in: nova
       Status: Incomplete => Invalid

-- 
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/1402596

Title:
  can not get image name  when create an instance

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  when I create an instance from image and create a volume, instance tables can not get image name;
  when I review the code in  /nova/api/openstack/compute/servers.py  
   598         limit, marker = common.get_limit_and_marker(req)
   599         try:
   600             instance_list = self.compute_api.get_all(context,
   601                                                      search_opts=search_opts,
   602                                                      limit=limit,
   603                                                      marker=marker,
   604                                                      want_objects=True)

  the instance's property image_ref  in instance_list  is NULL;

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


References