Bug 2106647
| Summary: | Fix Cinder's pacemaker services restart due to config changes | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Tzach Shefi <tshefi> |
| Component: | openstack-tripleo-heat-templates | Assignee: | Alan Bishop <abishop> |
| Status: | CLOSED ERRATA | QA Contact: | Tzach Shefi <tshefi> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.2 (Train) | CC: | abishop, ifrangs, jelynch, jhakimra, joflynn, mburns |
| Target Milestone: | z4 | Keywords: | Triaged, ZStream |
| Target Release: | 16.2 (Train on RHEL 8.4) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-tripleo-heat-templates-11.6.1-2.20220821010130.b1e9bfe.el8ost | Doc Type: | Bug Fix |
| Doc Text: |
Before this update, in overcloud deployments that enabled the Block Storage (cinder) backup service, a stack update affecting the Block Storage configuration did not restart the Block Storage service. This caused the Block Storage service to use the old configuration. With this update, the stack update procedure ensures that both the Block Storage backup service and the Block Storage service restart when the Block Storage configuration changes. This ensures that the Block Storage service always uses the latest configuration.
|
Story Points: | --- |
| Clone Of: | 2106643 | Environment: | |
| Last Closed: | 2022-12-07 19:23:35 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 2106643 | ||
| Bug Blocks: | |||
|
Description
Tzach Shefi
2022-07-13 08:21:01 UTC
Verified on:
openstack-tripleo-heat-templates-11.6.1-2.20220821010130.b1e9bfe.el8ost.noarch
Deployed a basic Ceph system, it just so happens that the job I used had created two backend:
(overcloud) [stack@undercloud-0 ~]$ cinder service-list
+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | controller-1 | nova | enabled | up | 2022-09-04T12:56:02.000000 | - |
..
| cinder-volume | hostgroup@tripleo_ceph | nova | enabled | up | 2022-09-04T12:56:03.000000 | - |
| cinder-volume | hostgroup@tripleo_ceph_fastpool | nova | enabled | up | 2022-09-04T12:56:03.000000 | - |
Again I created a yaml to add a third Cinder ceph pool/backend
(overcloud) [stack@undercloud-0 ~]$ cat extra_templates.yaml
parameter_defaults:
CephPools:
- {"name": vol2, "pg_num": 32, "pgp_num": 32, "application": rbd}
CinderRbdExtraPools:
- vol2
Added the above yaml to the overcloud_deploy.sh command and updated the overcloud.
As expected the result was that the new Ceph third pool/backend now exists:
(overcloud) [stack@undercloud-0 ~]$ cinder service-list
+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+
| Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+------------------+---------------------------------+------+---------+-------+----------------------------+-----------------+
| cinder-backup | controller-1 | nova | enabled | up | 2022-09-04T14:30:03.000000 | - |
..
| cinder-volume | hostgroup@tripleo_ceph | nova | enabled | up | 2022-09-04T14:30:04.000000 | - |
| cinder-volume | hostgroup@tripleo_ceph_fastpool | nova | enabled | down | 2022-09-04T13:36:24.000000 | - |
| cinder-volume | hostgroup@tripleo_ceph_vol2 | nova | enabled | up | 2022-09-04T14:30:04.000000 | - |
Before the fix I had to manually restart c-vol so as to get the added pool/backend to show up.
Right now the new backend tripleo_ceph_vol2 was created/added and is up without having to manually restart c-vol, good to verify.
I fear there is a new issue/bug here which might explain why tripleo_ceph_fastpool is now down,
as it was up before the update, I'll consult with dev about it.
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 (Release of components for Red Hat OpenStack Platform 16.2.4), 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-2022:8794 |