[Bug 1451941] Re: nova-compute-flex is broken due to missing python dependencies

James Page james.page at ubuntu.com
Thu Sep 8 12:03:45 UTC 2016


nova-compute-flex is present in the Kilo UCA; it might be present in
later pockets if the cleanup process has not been running.

Please switch to using nova-compute-lxd as this superceeded nova-
compute-flex in later releases.

** Changed in: nova (Ubuntu)
       Status: New => Won't Fix

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

Title:
  nova-compute-flex is broken due to missing python dependencies

Status in nova package in Ubuntu:
  Won't Fix

Bug description:
  1. Install nova-compute-flex
  2. Try to start nova-compute

  Expected result: it works

  Actual result: nova-compute service cannot start due to this error:

  2015-05-05 12:16:49.262 19742 INFO nova.openstack.common.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
  2015-05-05 12:16:49.283 19742 INFO nova.virt.driver [-] Loading compute driver 'ncflex.nova.virt.flex.LXCDriver'
  2015-05-05 12:16:49.286 19742 ERROR nova.virt.driver [-] Unable to load the virtualization driver
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver Traceback (most recent call last):
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/nova/virt/driver.py", line 1389, in load_compute_driver
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     virtapi)
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 52, in import_object_ns
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     return import_class(import_str)(*args, **kwargs)
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 27, in import_class
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     __import__(mod_str)
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/__init__.py", line 1, in <module>
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     from . import driver
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/driver.py", line 28, in <module>
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     from . import containers
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/containers.py", line 24, in <module>
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     from . import config
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/config.py", line 19, in <module>
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     from . import utils as container_utils
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver   File "/usr/lib/python2.7/dist-packages/ncflex/nova/virt/flex/utils.py", line 24, in <module>
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver     from nova.openstack.common.gettextutils import _  # noqa
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver ImportError: No module named gettextutils
  2015-05-05 12:16:49.286 19742 TRACE nova.virt.driver 

  In Juno /usr/lib/python2.7/dist-
  packages/nova/openstack/common/gettextutils.py was present and
  provided by nova-common package. In Kilo nova-compute-flex is unusable
  due to this missing python dependency.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: nova-common 1:2015.1~rc1-0ubuntu1~cloud0 [origin: Canonical]
  ProcVersionSignature: Ubuntu 3.16.0-37.49~14.04.1-generic 3.16.7-ckt9
  Uname: Linux 3.16.0-37-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.10
  Architecture: amd64
  CrashDB:
   {
                  "impl": "launchpad",
                  "project": "cloud-archive",
                  "bug_pattern_url": "http://people.canonical.com/~ubuntu-archive/bugpatterns/bugpatterns.xml",
               }
  Date: Tue May  5 12:54:10 2015
  InstallationDate: Installed on 2015-03-27 (38 days ago)
  InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=screen
   SHELL=/bin/bash
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   XDG_RUNTIME_DIR=<set>
  SourcePackage: nova
  UpgradeStatus: No upgrade log present (probably fresh install)
  mtime.conffile..etc.nova.nova.conf: 2015-05-04T15:19:40.914636

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



More information about the Ubuntu-openstack-bugs mailing list