Add additional condition check in pre-check role
The existing port_check.yml play of the pre-check role checks assumes a full-fledge inventory file. However, kolla's inventory file is more flexible than that.
For example, the inventory file created by a user does not have haproxy group or certain component (e.g., swift) is not being used; such groups may not appear in the inventory. As a results, although the deployment will succeed, the pre-check fails. So it would be nice to add some conditional check in the pre-check role to handle these scenarios. - Hui
moreover, after the deployment, the precheck is not usable. the propose change is:
* move check to its own role
* run precheck conditionally
** run check if service container is not started.
** run check only on target node.
Blueprint information
- Status:
- Complete
- Approver:
- Jeffrey Zhang
- Priority:
- Medium
- Drafter:
- Hui Kang
- Direction:
- Approved
- Assignee:
- Jeffrey Zhang
- Definition:
- Approved
- Series goal:
- Accepted for ocata
- Implementation:
- Implemented
- Milestone target:
- pike-3
- Started by
- Duong Ha-Quang
- Completed by
- Jeffrey Zhang
Related branches
Related bugs
Sprints
Whiteboard
Hui,
Can you please fill out the work items for this blueprint? Thanks! --steak
Gerrit topic: https:/
Addressed by: https:/
Move precheck into its own role
Addressed by: https:/
Move glance precheck into its own role
Addressed by: https:/
Move trove precheck into its own role
Addressed by: https:/
Move sahara precheck into its own role
Addressed by: https:/
Move tacker precheck into its own role
Addressed by: https:/
Move grafana precheck into its own role
Addressed by: https:/
Move memcached precheck into its own role
Addressed by: https:/
Move mongodb precheck into its own role
Addressed by: https:/
Move etcd precheck into its own role
Addressed by: https:/
Move ceph precheck into its own role
Addressed by: https:/
Move horizon precheck into its own role
Addressed by: https:/
Move ironic precheck into its own role
Addressed by: https:/
Move searchlight precheck into its own role
Addressed by: https:/
Move nova precheck into its own role
Addressed by: https:/
Move neutron precheck into its own role
Addressed by: https:/
Move cinder precheck into its own role
Addressed by: https:/
Move gnocchi precheck into its own role
Addressed by: https:/
Move murano precheck into its own role
Addressed by: https:/
Move senlin precheck into its own role
Addressed by: https:/
Move mistral precheck into its own role
Addressed by: https:/
Move magnum precheck into its own role
Addressed by: https:/
Move mariadb precheck into its own role
Addressed by: https:/
Unify haproxy prechecks condition order
Addressed by: https:/
Move ceilometer precheck into its own role
Addressed by: https:/
Move congress precheck into its own role
Addressed by: https:/
Move aodh precheck into its own role
Addressed by: https:/
Move keystone precheck into its own role
Addressed by: https:/
Move iscsi precheck into its own role
Addressed by: https:/
Move rabbitmq precheck into its own role
Addressed by: https:/
Move solum precheck into its own role
Addressed by: https:/
Move gnocchi precheck into its own role
Addressed by: https:/
Move kibana precheck into its own role
Addressed by: https:/
Move Influxdb precheck into its own role
Addressed by: https:/
Move kuryr precheck into its own role
Addressed by: https:/
Move etcd precheck into its own role
Addressed by: https:/
Add elasticsearch precheck into its own role
Addressed by: https:/
Move rally precheck into its own role
Addressed by: https:/
Move telegraf precheck into its own role
Addressed by: https:/
Move octavia precheck into its own role
Addressed by: https:/
Move panko precheck into its own role
Addressed by: https:/
Move prechecks into its own role
Addressed by: https:/
Move some prechecks into its own role
Addressed by: https:/
Revert "Move keystone precheck into its own role"
Addressed by: https:/
Add prechecks into solum roles
Work Items
Work items:
aodh: DONE
ceilometer: DONE
cinder: DONE
congress: DONE
glance: DONE
heat: DONE
iscsi: DONE
magnum: DONE
mistral: DONE
neutron: DONE
rabbitmq: DONE
senlin: DONE
panko: DONE
trove: DONE
barbican: DONE
ceph: DONE
cloudkitty: DONE
destroy: POSTPONED
gnocchi: DONE
horizon: DONE
keystone: DONE
manila: DONE
mongodb: DONE
nova: DONE
rally: POSTPONED
swift: DONE
vmtp: POSTPONED
baremetal: TODO
ceph_pools.yml: POSTPONED
collectd: TODO
elasticsearch: DONE
grafana: DONE
influxdb: DONE
kibana: DONE
mariadb: DONE
multipathd: TODO
octavia: DONE
sahara: DONE
telegraf: TODO
watcher: DONE
bifrost: TODO
certificates: TODO
common: TODO
etcd: DONE
haproxy: TODO
ironic: DONE
kuryr: DONE
memcached: DONE
murano: DONE
prechecks: POSTPONED
searchlight: DONE
tempest: POSTPONED