yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #14393
[Bug 1319537] Re: missing gettext import in guestfs.py
This was my own stupid fault from another bugfix attempt i had in place.
** Changed in: neutron
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1319537
Title:
missing gettext import in guestfs.py
Status in OpenStack Neutron (virtual network service):
Invalid
Bug description:
When starting a node with a fresh icehouse install on centos 6.5, i
got the following stack trace:
2014-05-14 19:17:24.878 10299 ERROR nova.compute.manager [req-b3070db8-a684-44e1-9a7e-62856c8e56be 5bfe831f015648cba5bbd71a356f0b6b b1c977531c9642ef9a32ad955ad1c29e] [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] Instance failed to spawn
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] Traceback (most recent call last):
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/compute/manager.py", line 1720, in _spawn
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] block_device_info)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2246, in spawn
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] admin_pass=admin_password)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/driver.py", line 2615, in _create_image
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] project_id=instance['project_id'])
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 192, in cache
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] *args, **kwargs)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 413, in create_image
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] copy_qcow2_image(base, self.path, size)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/openstack/common/lockutils.py", line 249, in inner
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] return f(*args, **kwargs)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/libvirt/imagebackend.py", line 379, in copy_qcow2_image
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] disk.extend(target, size, use_cow=True)
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 155, in extend
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] if not is_image_partitionless(image, use_cow):
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/disk/api.py", line 205, in is_image_partitionless
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] fs.setup()
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] File "/usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py", line 95, in setup
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] LOG.debug(_("Setting up appliance for %(imgfile)s %(imgfmt)s") %
2014-05-14 19:17:24.878 10299 TRACE nova.compute.manager [instance: e1b6d3f9-db81-49bb-b21c-ff0be1c6ee69] NameError: global name '_' is not defined
After adding
from nova.openstack.common.gettextutils import _
to /usr/lib/python2.6/site-packages/nova/virt/disk/vfs/guestfs.py
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1319537/+subscriptions
References