← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1647784] Re: latest devstack fails to start nova-serialproxy

 

Reviewed:  https://review.openstack.org/407602
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=c49e05017b7fa96b7c3409ba33c7638ec5ba4c60
Submitter: Jenkins
Branch:    master

commit c49e05017b7fa96b7c3409ba33c7638ec5ba4c60
Author: Ludovic Beliveau <ludovic.beliveau@xxxxxxxxxxxxx>
Date:   Tue Dec 6 11:42:37 2016 -0500

    Fix nova-serialproxy when registering cli options
    
    In latest devstack, nova-serialproxy fails to start because it crashed
    when it tries to register the cli options.
    
    The issue is that it tried to register an array of options by invoking
    conf.register_cli_opt(), when multiple options need to be register
    through conf.register_cli_opts().
    
    Change-Id: Icb09f849290b78b5dd73c3c96a13ade02492ba3a
    Closes-Bug: #1647784


** Changed in: nova
       Status: In Progress => Fix Released

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

Title:
  latest devstack fails to start nova-serialproxy

Status in OpenStack Compute (nova):
  Fix Released

Bug description:
  Description
  ===========

  Latest devstack fails to start nova-serialproxy.

  Steps to reproduce
  ==================

  Start devstack with latest master.

  Expected result
  ===============

  Successfully start devstack.

  Actual result
  =============

  Failed to spawn Start devstack with latest master (see logs below).

  Environment
  ===========

  commit f61db221f31d9ba86f61c13a7d1c5a951654fdc0
  Merge: 9be228a 3921224
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Tue Dec 6 13:25:17 2016 +0000

      Merge "Create schema generation for AddressBase"

  Logs & Configs
  ==============

  [centos@IronPass-2 devstack]$ /usr/bin/nova-serialproxy --config-file /etc/nova/nova.conf & echo $! >/opt/stack/status/stack/n-sproxy.pid; fg || echo "n-sproxy failed to start" | tee "/opt/stack/status/stack/n-sproxy.failure"
  [1] 148263
  /usr/bin/nova-serialproxy --config-file /etc/nova/nova.conf
  Traceback (most recent call last):
    File "/usr/bin/nova-serialproxy", line 6, in <module>
      from nova.cmd.serialproxy import main
    File "/opt/stack/nova/nova/cmd/serialproxy.py", line 29, in <module>
      serial.register_cli_opts(CONF)
    File "/opt/stack/nova/nova/conf/serial_console.py", line 123, in register_cli_opts
      conf.register_cli_opt(CLI_OPTS, serial_opt_group)
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2285, in __inner
      result = f(self, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2477, in register_cli_opt
      return self.register_opt(opt, group, cli=True, clear_cache=False)
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2289, in __inner
      return f(self, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2434, in register_opt
      self._add_cli_opt(opt, group)
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2410, in _add_cli_opt
      if {'opt': opt, 'group': group} in self._cli_opts:
    File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 937, in __eq__
      return vars(self) == vars(another)
  TypeError: vars() argument must have __dict__ attribute

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


References