[Bug 1665342] Re: ImportError: No module named utils

Steffen 1665342 at bugs.launchpad.net
Mon Mar 13 14:29:26 UTC 2017


Hi Corey,
you are right. After removing the pip installed package I could install cinder-* without any problems.
Many Thanks!

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

Title:
  ImportError: No module named utils

Status in Ubuntu Cloud Archive:
  Invalid

Bug description:
  Description
  ===========
  Installation from cinder-volume and cinder-common fails on Newton installation

  Expected result
  ===============
  Install cinder-volume and cinder-common

  Actual result
  =============
  $ apt-get -f install
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  2 not fully installed or removed.
  After this operation, 0 B of additional disk space will be used.
  Setting up cinder-common (2:9.0.0-0ubuntu1~cloud0) ...
  Traceback (most recent call last):
    File "/usr/bin/cinder-manage", line 6, in <module>
      from cinder.cmd.manage import main
    File "/usr/lib/python2.7/dist-packages/cinder/cmd/manage.py", line 76, in <module>
      from cinder import context
    File "/usr/lib/python2.7/dist-packages/cinder/context.py", line 29, in <module>
      from cinder import policy
    File "/usr/lib/python2.7/dist-packages/cinder/policy.py", line 21, in <module>
      from oslo_policy import policy
    File "/usr/local/lib/python2.7/dist-packages/oslo_policy/policy.py", line 215, in <module>
      from oslo_policy.openstack.common import fileutils
    File "/usr/local/lib/python2.7/dist-packages/oslo_policy/openstack/common/fileutils.py", line 23, in <module>
      from oslo.utils import excutils
  ImportError: No module named utils
  dpkg: error processing package cinder-common (--configure):
   subprocess installed post-installation script returned error exit status 1
  dpkg: dependency problems prevent configuration of cinder-volume:
   cinder-volume depends on cinder-common (= 2:9.0.0-0ubuntu1~cloud0); however:
    Package cinder-common is not configured yet.

  dpkg: error processing package cinder-volume (--configure):
   dependency problems - leaving unconfigured
  No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                            Errors were encountered while processing:
   cinder-common
   cinder-volume
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  Environment
  ===========
  Fresh upgrade from Mitaka to Newton on Ubuntu 16.04 (dist upgrade - not a fresh installation of Ubuntu).

  Logs & Configs
  ==============
  # dpkg -l python-oslo.utils
  Desired=Unknown/Install/Remove/Purge/Hold
  | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
  |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
  ||/ Name Version Architecture Description
  +++-=========================================================================-=========================================-=========================================-========================================================================================================================================================
  ii python-oslo.utils 3.16.0-0ubuntu1~cloud0 all set of utility functions for OpenStack - Python 2.x

  
  Any hints or ideas how this can happen?

  Thanks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1665342/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list