Status: Accepted
Owner: [email protected]
New issue 594 by [email protected]: cfgupgrade to 2.9~rc1 fails
http://code.google.com/p/ganeti/issues/detail?id=594
What steps will reproduce the problem?
1. Setup a 2.8 cluster with at least one DRBD instance
2. Install 2.9~rc1
3. cfgupgrade
cfgupgrade fails:
# /usr/share/ganeti/cfgupgrade --debug
Please make sure you have read the upgrade notes for Ganeti 2.9.0~rc1
(available in the UPGRADE file and included in other documentation
formats). Continue with upgrading configuration?
y/[n]/?: y
2013-10-02 11:41:21,735: Found configuration version 2080000 (2.8.0)
2013-10-02 11:41:21,735: Writing configuration file to
/var/lib/ganeti/config.data
2013-10-02 11:41:21,737: Backing up /var/lib/ganeti/config.data at
/var/lib/ganeti/config.data.backup-2013-10-02_11_41_21.xmcS8K
2013-10-02 11:41:21,769: Testing the new config file...
Traceback (most recent call last):
File "/usr/share/ganeti/cfgupgrade", line 579, in <module>
main()
File "/usr/share/ganeti/cfgupgrade", line 552, in main
offline=True)
File "/usr/share/ganeti/ganeti/config.py", line 205, in __init__
self._OpenConfig(accept_foreign)
File "/usr/share/ganeti/ganeti/config.py", line 2347, in _OpenConfig
self._UpgradeConfig()
File "/usr/share/ganeti/ganeti/config.py", line 2391, in _UpgradeConfig
self._WriteConfig()
File "/usr/share/ganeti/ganeti/config.py", line 2455, in _WriteConfig
config_errors = self._UnlockedVerifyConfig()
File "/usr/share/ganeti/ganeti/config.py", line 818, in
_UnlockedVerifyConfig
_, duplicates = self._UnlockedComputeDRBDMap()
File "/usr/share/ganeti/ganeti/config.py", line 1006, in
_UnlockedComputeDRBDMap
instance, disk, my_dict))
File "/usr/share/ganeti/ganeti/config.py", line 989, in _AppendUsedMinors
(get_node_name_fn(node_uuid), instance.name))
File "/usr/share/ganeti/ganeti/config.py", line 2073, in
_UnlockedGetNodeName
raise errors.OpExecError("Unknown node: %s" % node_spec)
ganeti.errors.OpExecError: Unknown node: gntest1.example.com
As is evident, _UnlockedComputeDRBDMap calls _UnlockedGetNodeName with a
node name instead of a UUID.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings