yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12564
[Bug 1291014] Re: Nova boot fails: AttributeError: is_public
** Changed in: nova
Status: Fix Committed => Fix Released
--
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/1291014
Title:
Nova boot fails: AttributeError: is_public
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
[req-d4c97a98-2b0e-419e-83d6-0e88332a699a account1 account1] [instance: 036a26b1-7fe2-4d56-b7a2-4781e8cad696] Error: is_public
Traceback (most recent call last):
File "/opt/nova/nova/compute/manager.py", line 1254, in _build_instance
set_access_ip=set_access_ip)
File "/opt/nova/nova/compute/manager.py", line 394, in decorated_function
return function(self, context, *args, **kwargs)
File "/opt/nova/nova/compute/manager.py", line 1655, in _spawn
LOG.exception(_('Instance failed to spawn'), instance=instance)
File "/opt/nova/nova/openstack/common/excutils.py", line 68, in __exit__
six.reraise(self.type_, self.value, self.tb)
File "/opt/nova/nova/compute/manager.py", line 1652, in _spawn
block_device_info)
File "/opt/nova/nova/virt/libvirt/driver.py", line2230, in spawn
admin_pass=admin_password)
File "/opt/nova/nova/virt/libvirt/driver.py", line2538, in _create_image
imagehandler_args=imagehandler_args)
File "/opt/nova/nova/virt/libvirt/imagebackend.py", line 184, in cache
*args, **kwargs)
File "/opt/nova/nova/virt/libvirt/imagebackend.py", line 310, in create_image
prepare_template(target=base, max_size=size, *args, **kwargs)
File "/opt/nova/nova/openstack/common/lockutils.py", line 249, in inner
return f(*args, **kwargs)
File "/opt/nova/nova/virt/libvirt/imagebackend.py", line 174, in fetch_func_sync
fetch_func(target=target, *args, **kwargs)
File "/opt/nova/nova/virt/libvirt/utils.py", line 654, in fetch_image
max_size=max_size, imagehandler_args=imagehandler_args)
File "/opt/nova/nova/virt/images.py", line 108, in fetch_to_raw
imagehandler_args=imagehandler_args)
File "/opt/nova/nova/virt/images.py", line 98, in fetch
fetched_to_local = handler.is_local()
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/opt/nova/nova/openstack/common/fileutils.py", line 98, in remove_path_on_error
remove(path)
File "/opt/nova/nova/virt/images.py", line 71, in _remove_image_on_exec
image_path):
File "/opt/nova/nova/virt/imagehandler/__init__.py", line 154, in handle_image
img_locs = image_service.get_locations(context, image_id)
File "/opt/nova/nova/image/glance.py", line 307, in get_locations
if not self._is_image_available(context, image_meta):
File "/opt/nova/nova/image/glance.py", line 446, in _is_image_available
if image.is_public or context.is_admin:
File "/usr/local/lib/python2.7/dist-packages/warlock/model.py", line 72, in __getattr__
raise AttributeError(key)
AttributeError: is_public
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1291014/+subscriptions
References