[Bug 1450563] Re: python-nova is missing gettextutils.py breaking nova-compute-flex
Edward Konetzko
1450563 at bugs.launchpad.net
Fri Aug 21 18:06:06 UTC 2015
Anyone found a work around for this bug on 14.04.2 LTS using repo "deb
http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/kilo
main". I just upgraded from juno to kilo and this bug is still an
issue.
--
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/1450563
Title:
python-nova is missing gettextutils.py breaking nova-compute-flex
Status in nova package in Ubuntu:
Confirmed
Bug description:
When nova-compute-flex is installed nova-compute cannot start. The
error logged is:
2015-04-30 11:14:04.658 1902 INFO nova.virt.driver [-] Loading compute driver 'ncflex.nova.virt.flex.LXCDriver'
2015-04-30 11:14:04.661 1902 ERROR nova.virt.driver [-] Unable to load the virtualization driver
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver Traceback (most recent call last):
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1389, in load_compute_driver
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver virtapi)
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 52, in import_object_ns
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver return import_class(import_str)(*args, **kwargs)
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in import_class
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver __import__(mod_str)
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/__init__.py", line 1, in <module>
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver from . import driver
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/driver.py", line 28, in <module>
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver from . import containers
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/containers.py", line 24, in <module>
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver from . import config
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/config.py", line 19, in <module>
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver from . import utils as container_utils
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/utils.py", line 24, in <module>
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver from nova.openstack.common.gettextutils import _ # noqa
2015-04-30 11:14:04.661 1902 TRACE nova.virt.driver ImportError: No module named gettextutils
This appears to be due to /usr/lib/python2.7/dist-
packages/nova/openstack/common/gettextutils.py not existing. With
openstack juno from the ubuntu cloud repo, python-nova provided this
file.
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: python-nova 1:2015.1~rc1-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-34.47-generic 3.16.7-ckt8
Uname: Linux 3.16.0-34-generic x86_64
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
Date: Thu Apr 30 13:17:31 2015
InstallationDate: Installed on 2015-03-06 (54 days ago)
InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
PackageArchitecture: all
ProcEnviron:
SHELL=/bin/bash
TERM=screen
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: nova
UpgradeStatus: Upgraded to vivid on 2015-04-29 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nova/+bug/1450563/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list