Bug 1819320
| Summary: | openstack UPI: control plane playbook is not idempotent | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Pierre Prinetti <pprinett> |
| Component: | Installer | Assignee: | Pierre Prinetti <pprinett> |
| Installer sub component: | OpenShift on OpenStack | QA Contact: | weiwei jiang <wjiang> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | low | ||
| Priority: | medium | ||
| Version: | 4.5 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
Cause: The openstack-UPI Ansible "control_plane.yaml" playbook is not idempotent. Executing it multiple times will create one new server group per run.
Consequence: Stale, unused server groups on the cluster.
Fix: The Ansible playbook checks for the group existence, and only creates if not present.
Result: One server group is created, regardless of the number of times the playbook is executed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:24:27 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Pierre Prinetti
2020-03-31 17:10:06 UTC
Checked with the patch it's fixed now. TASK [List the Server groups] ************************************************************************************************************************************************************************************* changed: [localhost] TASK [Parse the Server group ID from existing] ******************************************************************************************************************************************************************** ok: [localhost] TASK [Create the Control Plane server group] ********************************************************************************************************************************************************************** skipping: [localhost] TASK [Parse the Server group ID from creation] ******************************************************************************************************************************************************************** skipping: [localhost] TASK [Create the Control Plane servers] *************************************************************************************************************************************************************************** changed: [localhost] => (item=[0, 'wjuos402b-xjtcj-master']) changed: [localhost] => (item=[1, 'wjuos402b-xjtcj-master']) changed: [localhost] => (item=[2, 'wjuos402b-xjtcj-master']) PLAY RECAP ******************************************************************************************************************************************************************************************************** localhost : ok=6 changed=4 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |