Bug 1853281
| Summary: | [Upgrade OSP13->OSP16.1] service catalog cinderv3 is duplicated [OVS/ML2 -> OVN] | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Alberto Gonzalez <alberto.gonzalez> |
| Component: | openstack-heat-templates | Assignee: | Giulio Fidente <gfidente> |
| Status: | CLOSED DUPLICATE | QA Contact: | nlevinki <nlevinki> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 16.1 (Train) | CC: | abishop, apevec, eharney, emacchi, geguileo, gfidente, jfrancoa, jpretori, lhh, ltoscano, mburns, pgrist |
| Target Milestone: | z3 | Keywords: | Triaged |
| Target Release: | 16.1 (Train on RHEL 8.2) | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-09-29 16:09:20 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
Alberto Gonzalez
2020-07-02 10:51:12 UTC
It looks like we're creating some new endpoints in 16.1 because not only the service *name* is set to "cinderv3" but the service *type* as well, hence it doesn't refresh the existing service type (which is set to "cinder") but rather creates some new ones: | 029ea458062140d9ae4f4ccd2c9766db | regionOne | cinderv3 | volumev3 | True | internal | http://10.20.0.18:8776/v3/%(tenant_id)s | 0b5de1e471b543209321c5e46619b823 | regionOne | cinderv2 | volumev2 | True | public | http://10.1.0.100:8776/v2/%(tenant_id)s | 0fd68734f3b84090a64c9fb29b8aa492 | regionOne | cinderv3 | volume | True | internal | http://10.20.0.18:8776/v3/%(tenant_id)s | 13d39a29f87c417ca395845b197c53bf | regionOne | cinderv3 | volumev3 | True | public | http://10.1.0.100:8776/v3/%(tenant_id)s | 367120213b2a47bb9ed005c1de66d4e2 | regionOne | cinderv2 | volumev2 | True | admin | http://10.20.0.18:8776/v2/%(tenant_id)s | 82d860dafce74fe28986b64be5d58702 | regionOne | cinderv3 | volume | True | public | http://10.1.0.100:8776/v3/%(tenant_id)s | a9a4333bffcf450f9bc0df3576675972 | regionOne | cinderv2 | volumev2 | True | internal | http://10.20.0.18:8776/v2/%(tenant_id)s | bf9c18b1e1174662bc7bb2f9af32e3c7 | regionOne | cinderv3 | volumev3 | True | admin | http://10.20.0.18:8776/v3/%(tenant_id)s | db31919f88274cf2b7a8a37280720bc3 | regionOne | cinderv3 | volume | True | admin | http://10.20.0.18:8776/v3/%(tenant_id)s Apparently we started using "volume3" with [1]; Luigi, Eric or Gorka, is there any reason to prefer "volume" or "volumev3" for the v3 endpoints? Basing on that, I guess we'll have to fix the 16.1 templates to behave accordingly. 1. https://github.com/openstack/tripleo-heat-templates/commit/32279c4a327ff1f00ccfd0376d27745470863330 As I noted in the upstream gerrit review, I believe you'll find all of the endpoints were inherited from the osp-13 deployment. The intent is to provide "volume2" and "volume3" services, but a "volume" service (which traditionally was used by cinder's v1 API) had to be retained in queens to fix a tempest issue [1]. [1] https://bugs.launchpad.net/tripleo/+bug/1822080 (no BZ) I think the upgrade process could remove the obsolete "volume" service (cinder's v1 API was removed in Queens). Workaround is to remove manually the "volume" service type endpoints from keystone before launching the ovn migration tool. While the upgrade process could remove the "volume" service, if this is a valid configuration for the catalog, couldn't the OVS->OVN migration script be too strict? I think it should just work in this scenario. See https://bugzilla.redhat.com/show_bug.cgi?id=1856906#c13 for more details. This is a duplicate of bug 1878492. *** This bug has been marked as a duplicate of bug 1878492 *** |