Duplicate resource conflict when cobbler enabled on AIO

Bug #1308257 reported by Mark T. Voelker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cisco Openstack
Status tracked in Icehouse
Havana
Fix Released
Low
Mark T. Voelker
Icehouse
Fix Released
Low
Mark T. Voelker

Bug Description

When cobbler is enabled in the AIO scenario, there is a potential duplicate resource conflict when defining hosts in the /etc/hosts file.

https://github.com/CiscoSystems/puppet-coi/blob/icehouse/manifests/profiles/cobbler_server.pp#L253-L257

https://github.com/CiscoSystems/puppet-coe/blob/icehouse/manifests/base.pp#L251-L257

Both are wrapped in an ensure_resource, but this can still cause a duplicate resource error if the information defined in each instance doesn't match. Because install.sh creates a user.yaml file for the AIO case and adds the controller addresses in it but doesn't add a cobbler_node_ip entry, the address info in the two resources can be different. To fix, we should have install.sh add a cobbler_node_ip entry to user.yaml.

Revision history for this message
Mark T. Voelker (mvoelker) wrote :
Revision history for this message
Mark T. Voelker (mvoelker) wrote :

Backport to stable/havana:
https://review.openstack.org/88140

Changed in openstack-cisco:
status: Fix Committed → Fix Released
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.