M/N upgrade fails to restart nova-conductor.

Bug #1615035 reported by Sofer Athlan-Guyot
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
High
Sofer Athlan-Guyot

Bug Description

Hi,

after major update of overcloud nova-controller fails to restart:

    2016-08-19 15:58:35.784 20259 CRITICAL nova [req-a6f2c2dc-99af-43ed-bcf2-c4d2afdefce5 - - - - -] ConfigFileValueError: Value for option scheduler_host_manager is not valid: Valid values are [host_manager, ironic_
    host_manager], but found 'nova.scheduler.host_manager.HostManager'
    2016-08-19 15:58:35.784 20259 ERROR nova Traceback (most recent call last):
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/bin/nova-conductor", line 10, in <module>
    2016-08-19 15:58:35.784 20259 ERROR nova sys.exit(main())
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/nova/cmd/conductor.py", line 47, in main
    2016-08-19 15:58:35.784 20259 ERROR nova service.wait()
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/nova/service.py", line 415, in wait
    2016-08-19 15:58:35.784 20259 ERROR nova _launcher.wait()
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_service/service.py", line 568, in wait
    2016-08-19 15:58:35.784 20259 ERROR nova self.conf.log_opt_values(LOG, logging.DEBUG)
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2630, in log_opt_values
    2016-08-19 15:58:35.784 20259 ERROR nova _sanitize(opt, getattr(self, opt_name)))
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2275, in __getattr__
    2016-08-19 15:58:35.784 20259 ERROR nova return self._get(name)
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2680, in _get
    2016-08-19 15:58:35.784 20259 ERROR nova value = self._do_get(name, group, namespace)
    2016-08-19 15:58:35.784 20259 ERROR nova File "/usr/lib/python2.7/site-packages/oslo_config/cfg.py", line 2723, in _do_get
    2016-08-19 15:58:35.784 20259 ERROR nova % (opt.name, str(ve)))
    2016-08-19 15:58:35.784 20259 ERROR nova ConfigFileValueError: Value for option scheduler_host_manager is not valid: Valid values are [host_manager, ironic_host_manager], but found 'nova.scheduler.host_manager.HostManager'

Setting scheduler_host_manager to host_manager fixes it.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-heat-templates (master)

Fix proposed to branch: master
Review: https://review.openstack.org/358005

Changed in tripleo:
assignee: nobody → Sofer Athlan-Guyot (sofer-athlan-guyot)
status: New → In Progress
Changed in tripleo:
milestone: none → newton-3
importance: Undecided → High
Revision history for this message
Sofer Athlan-Guyot (sofer-athlan-guyot) wrote :
Steven Hardy (shardy)
Changed in tripleo:
milestone: newton-3 → newton-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/358005
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=1e8d7f9b0072b8e713f23496f02d1f82f2cc7d1f
Submitter: Jenkins
Branch: master

commit 1e8d7f9b0072b8e713f23496f02d1f82f2cc7d1f
Author: Sofer Athlan-Guyot <email address hidden>
Date: Fri Aug 19 18:32:34 2016 +0200

    M/N upgrade set scheduler_host_manager right.

    scheduler_host_manager doesn't take
    nova.scheduler.host_manager.HostManager as a value anymore. This fix it
    before restarting the service.

    Change-Id: Ia9adcfd5a898f0c712b4a37ae33db88a44630f0d
    Closes-Bug: 1615035

Changed in tripleo:
status: In Progress → Fix Released
Steven Hardy (shardy)
Changed in tripleo:
milestone: newton-rc1 → newton-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-heat-templates 5.0.0.0b3

This issue was fixed in the openstack/tripleo-heat-templates 5.0.0.0b3 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.