← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264268] Re: check_uptodate.sh breaks when CONF.import_opt has a group name

 

** Changed in: nova
       Status: Incomplete => Invalid

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

Title:
  check_uptodate.sh breaks when CONF.import_opt has a group name

Status in OpenStack Compute (Nova):
  Invalid

Bug description:
  When the following code was used:
  import time

  from oslo.config import cfg

  from nova import exception
  from nova.openstack.common.gettextutils import _
  from nova.openstack.common import log as logging
  from nova.virt.vmwareapi import driver  # noqa
  from nova.virt.vmwareapi import vim_util
  from nova.virt.vmwareapi import vm_util

  LOG = logging.getLogger(__name__)
  CONF = cfg.CONF
  CONF.import_opt('api_retry_count', 'nova.virt.vmwareapi.driver',
                  group='vmware')

  The following error appears:
  using tox.ini: /home/gkotton/nova/tox.ini
  using tox-1.6.1 from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc
  pep8 reusing: /home/gkotton/nova/.tox/pep8
    /home/gkotton/nova$ /home/gkotton/nova/.tox/pep8/bin/python /home/gkotton/nova/setup.py --name 
  pep8 develop-inst-nodeps: /home/gkotton/nova
    /home/gkotton/nova$ /home/gkotton/nova/.tox/pep8/bin/pip install -U -e /home/gkotton/nova --no-deps >/home/gkotton/nova/.tox/pep8/log/pep8-433.log
  pep8 runtests: commands[0] | flake8
    /home/gkotton/nova$ /home/gkotton/nova/.tox/pep8/bin/flake8 
  pep8 runtests: commands[1] | /home/gkotton/nova/tools/config/check_uptodate.sh
    /home/gkotton/nova$ /home/gkotton/nova/tools/config/check_uptodate.sh 
  cannot import name driver
  1c1,3415
  < 2013-12-26 02:13:01.927 23264 CRITICAL nova [-] Unable to import module nova.console.vmrc
  ---
  > [DEFAULT]
  > 
  > #

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


References