Bug 1578901
Summary: | [UPGRADES] TempestFailure: One of cinder-scheduler services is too old to accept create_snapshot request | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Yurii Prokulevych <yprokule> |
Component: | openstack-tripleo-heat-templates | Assignee: | Alan Bishop <abishop> |
Status: | CLOSED ERRATA | QA Contact: | Tzach Shefi <tshefi> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 13.0 (Queens) | CC: | abishop, augol, ccamacho, cschwede, jschluet, knylande, lbezdick, mbultel, mburns, mcornea, scohen, srevivo, tshefi, yprokule |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openstack-tripleo-heat-templates-8.0.2-29.el7ost | Doc Type: | Bug Fix |
Doc Text: |
After upgrading to a new release, Block Storage services (cinder) were stuck using the old RPC versions from the prior release. Because of this, all cinder API requests requiring the latest RPC versions failed.
When upgrading to a new release, all cinder RPC versions are updated to match the latest release.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-06-27 13:56:23 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
Yurii Prokulevych
2018-05-16 14:59:46 UTC
This seems to be an upgrade issue similar to bug #1554122. That BZ contains a reference to a patch [1] that relates to sequencing the cinder-volume service restarts under pacemaker. This BZ describes a similar problem about mixed versions of the cinder-scheduler service, except that cinder-scheduler does not run under pacemaker. Hey Alan, In this case, we have specifically an upgrade_tasks section on THT where you can restart any service you want. Let's sync up for a proper fix. Yuri, can you try a local patch to verify it works before I propose it upstream? After upgrading the undercloud but before you upgrade the overcloud, patch the cinder-manage command at [1] to add the "--bump-versions" option, like this: "su cinder -s /bin/bash -c 'cinder-manage db sync --bump-versions'" [1] https://github.com/openstack/tripleo-heat-templates/blob/stable/queens/docker/services/cinder-api.yaml#L139 Tzach, maybe you could also try this? FYI Alan,Alex,Yurri I'd "cherry picked" (manually added) --bump-versions, on an upgraded undercloud before overcloud upgrade started. Suggested fix worked, I can do cinder create and cinder create snapshot. Not getting version conflict error Yuri and I got before. Before fix on an upgraded system, I got 19 Cinder related failures due to version issue, now only 3 failed (known reason). This would be OK to verify once fix lands in RPM build/deployment. Thanks, Tzach! I will propose a patch upstream, and backport to OSP-13 ASAP. Patch has been approved upstream. Verified on: openstack-tripleo-heat-templates-8.0.2-29.el7ost.noarch Upgraded a system from OSP12 to OSP13. Post upgrade ran some Cinder commands without errors: cinder create cinder snapshot-create .. No mention of original issue -> One of cinder-scheduler services is too old to accept create_snapshot OK to verify. 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/RHEA-2018:2086 |