Node node-3 is not defined in the network_metadata hash structure at /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp:24

Bug #1548332 reported by Volodymyr Shypyguzov
22
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Fix Committed
High
Georgy Kibardin
Mitaka
Fix Released
High
Aleksey Kasatkin

Bug Description

Scenario fails on the 6th step

        Scenario:
            1. Revert the snapshot
            2. Create a cluster
            3. Add 3 nodes with controller role
            4. Add 1 node with compute role
            5. Set custom hostnames for all cluster nodes
     * 6. Deploy the cluster
            7. Verify network configuration on controller
            8. Run OSTF
            9. Verify that there are no dead services compute services
            10. Verify the new hostnames are applied on the nodes

In puppet logs we have bunch of messages like :
None 2016-02-21T21:54:35.927751 err: Node node-2 is not defined in the network_metadata hash structure at /etc/puppet/modules/osnailyfacter/modular/globals/globals.pp:24 on node controller-49810.test.domain.local

Revision history for this message
Volodymyr Shypyguzov (vshypyguzov) wrote :
Revision history for this message
Volodymyr Shypyguzov (vshypyguzov) wrote :
Changed in fuel:
milestone: none → 9.0
assignee: nobody → Fuel Library Team (fuel-library)
importance: Undecided → High
Changed in fuel:
assignee: Fuel Library Team (fuel-library) → Kyrylo Galanov (kgalanov)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

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

tags: added: area-library team-bugfix
Revision history for this message
Kyrylo Galanov (kgalanov) wrote :

'- nodes' branch/hash is absent in astute.yaml in fuel-noop-fixtures.

Changed in fuel:
assignee: Kyrylo Galanov (kgalanov) → Matthew Mosesohn (raytrac3r)
Changed in fuel:
assignee: Matthew Mosesohn (raytrac3r) → Kyrylo Galanov (kgalanov)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Kyrylo Galanov (<email address hidden>) on branch: master
Review: https://review.openstack.org/284046
Reason: Abandoned in favor of https://review.openstack.org/#/c/293780/

Changed in fuel:
status: In Progress → Confirmed
assignee: Kyrylo Galanov (kgalanov) → Fuel Python Team (fuel-python)
Revision history for this message
Bug Checker Bot (bug-checker) wrote : Autochecker

(This check performed automatically)
Please, make sure that bug description contains the following sections filled in with the appropriate data related to the bug you are describing:

actual result

version

expected result

steps to reproduce

For more detailed information on the contents of each of the listed sections see https://wiki.openstack.org/wiki/Fuel/How_to_contribute#Here_is_how_you_file_a_bug

tags: added: need-info
Changed in fuel:
assignee: Fuel Python Team (fuel-python) → Georgy Kibardin (gkibardin)
Changed in fuel:
status: Confirmed → In Progress
tags: added: area-python
removed: area-library
Dmitry Pyzhov (dpyzhov)
tags: added: team-network
removed: team-bugfix
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (master)

Reviewed: https://review.openstack.org/293780
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=235c1622f22ed103e1acaac376d2e48d39760462
Submitter: Jenkins
Branch: master

commit 235c1622f22ed103e1acaac376d2e48d39760462
Author: Kyrylo Galanov <email address hidden>
Date: Thu Mar 17 01:29:07 2016 +0100

    Use permanent identifier as a node key

    Using permanent identifier instead of hostname based identifier fixes
    problems which might be caused by renaming a host

    Change-Id: I17d84da97296144acbf5983ea18139ffdee0db8a
    Closes-bug: #1548332

Changed in fuel:
status: In Progress → Fix Committed
Revision history for this message
Dmitry Kalashnik (dkalashnik) wrote :

Guys, due to soft code freeze commit is present only in master (newton series), not in stable/mitaka. Please, backport it

Revision history for this message
Aleksey Kasatkin (alekseyk-ru) wrote :

This https://bugs.launchpad.net/fuel/+bug/1538220 (duplicate) contains more formal description of requirements that were implemented in the fix above ( https://review.openstack.org/293780 ).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-web (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/302775

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to fuel-web (stable/mitaka)

Reviewed: https://review.openstack.org/302775
Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2913a74c1bb2bb1fc6184d7242afc910952de9ef
Submitter: Jenkins
Branch: stable/mitaka

commit 2913a74c1bb2bb1fc6184d7242afc910952de9ef
Author: Kyrylo Galanov <email address hidden>
Date: Thu Mar 17 01:29:07 2016 +0100

    Use permanent identifier as a node key

    Using permanent identifier instead of hostname based identifier fixes
    problems which might be caused by renaming a host

    Change-Id: I17d84da97296144acbf5983ea18139ffdee0db8a
    Closes-bug: #1548332
    (cherry picked from commit 235c1622f22ed103e1acaac376d2e48d39760462)

Dmitry Pyzhov (dpyzhov)
no longer affects: fuel/newton
Changed in fuel:
status: In Progress → Fix Committed
assignee: Aleksey Kasatkin (alekseyk-ru) → Georgy Kibardin (gkibardin)
milestone: 9.0 → 10.0
tags: added: on-verification
Revision history for this message
Mikhail Samoylov (msamoylov) wrote :
tags: removed: on-verification
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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