ceph-ansible worklow does not honor DeploymentServerBlacklist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
High
|
Giulio Fidente |
Bug Description
I believe I've narrowed this down to the interaction between the ceph-ansible.yaml and access.yaml workbooks when ceph-ansible.yaml is triggered by Heat.
First, it does not honor DeploymentServe
enable_
workflow: tripleo.
which then does:
get_servers:
action: nova.servers_list
Not only does that not honor the blacklist, but it will create tripleo-admin on every server, not just the ones where we are installing ceph. Particularly for the ceph-ansible case, I think this ought to be configurable and we only create the user on ceph nodes that are in the inventory for ceph-ansible.
If you made get_servers take an input of server uuids and only call nova.servers_list if the input is not provided, you could then make use of the servers json parameter in deploy-steps.j2 which has already had the blacklisted servers removed.
Further, from what I can tell, this action ends up getting triggered on every stack update. There's nothing to say "don't create tripleo-admin if it's already been done" (that I can find anyway, and based on this bug report that seems to be the case). That should also be fixed.
Changed in tripleo: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → queens-rc1 |
assignee: | nobody → James Slagle (james-slagle) |
Changed in tripleo: | |
assignee: | Giulio Fidente (gfidente) → Jiří Stránský (jistr) |
Changed in tripleo: | |
assignee: | Jiří Stránský (jistr) → Giulio Fidente (gfidente) |
Fix proposed to branch: master /review. openstack. org/533315
Review: https:/