use immutable identifier for node in network_metadata
Bug #1538220 reported by
Sergey Vasilenko
This bug report is a duplicate of:
Bug #1548332: Node node-3 is not defined in the network_metadata hash structure at /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp:24 .
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Confirmed
|
High
|
Fuel Python (Deprecated) | ||
Newton |
Fix Committed
|
High
|
Georgy Kibardin |
Bug Description
Currently as key for nodes-hash (into network_metadata) used short hostname string.
However we going to implement LCM feature. Changing hostname is one of potential ussues, related to LCM.
Currently hostname change after deploy is locked. But if this will be unlocked, some deployment tasks can't be executed properly.
Proposed solution:
* Each node has UID, uniq for whole master-node.
* use "node-${UID}" string (not hostname, just such string) as key for node identifying into network_
such way is backward compatible, while hostname change after deploy is locked.
tags: | added: area-python |
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
status: | New → Confirmed |
importance: | High → Medium |
tags: | added: team-network |
To post a comment you must log in.
Reviewed: https:/ /review. openstack. org/263876 /git.openstack. org/cgit/ openstack/ fuel-library/ commit/ ?id=d89b25921c2 cd982dca92a55a4 6b98ed50a060a2
Committed: https:/
Submitter: Jenkins
Branch: master
commit d89b25921c2cd98 2dca92a55a46b98 ed50a060a2
Author: Sergey Vasilenko <email address hidden>
Date: Tue Jan 5 17:56:18 2016 +0300
No more use nodes list.
Nodes list is deprecated, beause incompatible with network-roles model.
Network metadata should be used instead.
This patchset implements: matadata/ nodes
* remove nodes list from fixtures
* remove unused function filter_nodes
* remove some unused code, related to nodes list
* new parser function get_node_key_name() for generating immutable node key name
* fix parser function roles_include() for using network_metadata
* use roles_include() if need instead directly lookup into network_metadata
* fix some manifests for use network_
Change-Id: I2e6b1cd5cb7526 3efc995aa9f62bd 3073abed1b8
Related-bug: #1531128
Related-bug: #1538220