Baremetal playbook append_to_etc_hosts variable error

Bug #1618381 reported by Duong Ha-Quang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
High
sean mooney

Bug Description

In append_to_etc_hosts in baremetal role, hostvars cannot access default role variables, discussed in [1]. Using variable name is enough.

[1] https://github.com/ansible/ansible/issues/13343

Duong Ha-Quang (duonghq)
Changed in kolla:
assignee: nobody → Duong Ha-Quang (duonghq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

Changed in kolla:
status: New → In Progress
Changed in kolla:
milestone: none → newton-rc1
importance: Undecided → High
assignee: Duong Ha-Quang (duonghq) → sean mooney (sean-k-mooney)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/363916
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=7f1084808b34cfc32683e4259f88e29fd24e53be
Submitter: Jenkins
Branch: master

commit 7f1084808b34cfc32683e4259f88e29fd24e53be
Author: Sean Mooney <email address hidden>
Date: Wed Aug 31 19:39:59 2016 +0000

    replace baremetal_nic with api_interface

    - The baremetal_nic variable was used as part of
      kolla host playbook when generating the /etc/hosts file.
      Populating the /etc/hosts is done to ensure that rabbitmq
      can reach the other nodes in the rabbitmq cluster by hostname.
    - Before this change the baremetal_nic variable was used to
      determin which interface to read when mapping the hostname to
      an ip address.
    - This change removes baremetal_nic and uses api_interface
      instead as the hostname used by rabbitmq should always map to the
      api_interface ip.

    TrivialFix
    Closes-Bug: #1618381

    Change-Id: I65fe3aad58ac34b001a1f4a38641addc9fa5a1d4

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on kolla (master)

Change abandoned by Duong Ha-Quang (<email address hidden>) on branch: master
Review: https://review.openstack.org/362739
Reason: sean-k-mooney fixed this bug

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.