[Bug 1511726] Re: Snapshots are lacking owner attribute in Kilo

James Page james.page at ubuntu.com
Thu Sep 8 12:11:22 UTC 2016


OK - so this is not a packaging problem - shifting upstream to
openstack-docs.

** Also affects: openstack-manuals
   Importance: Undecided
       Status: New

** Changed in: nova (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1511726

Title:
  Snapshots are lacking owner attribute in Kilo

Status in openstack-manuals:
  New
Status in nova package in Ubuntu:
  Invalid

Bug description:
  We have installed and configured Kilo according to the installation
  guide, which recommends using Glance API v2:
  http://docs.openstack.org/kilo/install-guide/install/apt/content
  /glance-verify.html

  In this configuration snaphosts created by nova end up without any
  owner, however. According to glance-api.log, nova is performing image
  operations via Glance API v1.

  Disabling Glance API v1 in glance-api.conf prevents nova from doing
  any sapshots at all. From nova-api.log indicates it's insisting on v1:

  [...]
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 299, in show
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack     image = self._client.call(context, version, 'get', image_id)
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/nova/image/glance.py", line 219, in call
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack     return getattr(client.images, method)(*args, **kwargs)
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/v1/images.py", line 126, in get
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack     % urlparse.quote(str(image_id)))
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 256, in head
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack     return self._request('HEAD', url, **kwargs)
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack   File "/usr/lib/python2.7/dist-packages/glanceclient/common/http.py", line 229, in _request
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack     raise exc.from_response(resp)
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack HTTPMultipleChoices: HTTPMultipleChoices (HTTP 300) Requested version of OpenStack Images API is not available.
  2015-10-30 13:31:33.466 2557 TRACE nova.api.openstack

  
  Using the glance CLI I can verify, that images created using the v2 API are ok, while those created by the v1 API are lacking the owner attribute. If the v2 API of Glance is preferred as the installation guide suggests, and also available and working properly, nova should make use of it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1511726/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list