Puppet Duplicate declaration error when role is composed with both Ceph OSDs and Mons
Bug #1722633 reported by
John Fulton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Low
|
Lucas hua |
Bug Description
If THT's roles_data.yaml is modified to add OS::TripleO:
Error: Duplicate declaration: Class[Ceph::Keys] is already declared in file
/etc/puppet/
/etc/puppet/
overcloud-
Changed in tripleo: | |
importance: | Undecided → Low |
Changed in tripleo: | |
milestone: | queens-2 → queens-3 |
Changed in tripleo: | |
milestone: | queens-3 → queens-rc1 |
Changed in tripleo: | |
milestone: | queens-rc1 → rocky-1 |
Changed in tripleo: | |
assignee: | John Fulton (jfulton-org) → binhong.hua (binhong.hua) |
Changed in tripleo: | |
status: | Triaged → Fix Committed |
Changed in tripleo: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
There's an ordering issue, if you the catalog gets ceph::profile::osd before ceph::profile::mon you get the failure.
Probably need to wrap the client::keys call in ceph::profile::mon https:/ /github. com/openstack/ puppet- ceph/blob/ master/ manifests/ profile/ mon.pp# L39 similar to the way we do it for the client https:/ /github. com/openstack/ puppet- ceph/blob/ master/ manifests/ profile/ client. pp#L28