yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74130
[Bug 1781916] Re: nova-compute version cap leads to ValueError
Reviewed: https://review.openstack.org/583502
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=42c869d7b49b23cd38f194c27367a3cc948292c5
Submitter: Zuul
Branch: master
commit 42c869d7b49b23cd38f194c27367a3cc948292c5
Author: jichen <jichenjc@xxxxxxxxxx>
Date: Wed Jul 18 16:20:19 2018 +0800
clarify usage of upgrade_levels group
clarify usage of upgrade_levels group especially to note
other than upgrade_levels.compute that can't use 'auto'.
Closes-Bug: 1781916
Change-Id: I23ae3895d63a4f6aa40b4a17822270da7cd5b9e3
** 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/1781916
Title:
nova-compute version cap leads to ValueError
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Setting the following config on a compute host leads to a Stacktrace.
[upgrade_levels]
compute = auto
cells = auto
intercell = auto
cert = auto
scheduler = auto
conductor = auto
console = auto
consoleauth = auto
network = auto
baseapi = auto
Stacktrace:
2018-07-16 14:02:39.011 474 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py", line 119, in _check_version_cap
2018-07-16 14:02:39.011 474 ERROR nova if not utils.version_is_compatible(self.version_cap, version):
2018-07-16 14:02:39.011 474 ERROR nova File "/usr/lib/python2.7/dist-packages/oslo_messaging/_utils.py", line 40, in version_is_compatible
2018-07-16 14:02:39.011 474 ERROR nova if int(version_parts[0]) != int(imp_version_parts[0]): # Major
2018-07-16 14:02:39.011 474 ERROR nova ValueError: invalid literal for int() with base 10: 'auto'
The same setting on a controller node works fine. Is it not supposed to use these version caps on a compute node or is this simply a bug in the code?
# nova-compute --version
17.0.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1781916/+subscriptions
References