Bug 1769721 - [FFU] cinderv3 endpoints not configured properly for the overcloud
Summary: [FFU] cinderv3 endpoints not configured properly for the overcloud
Keywords:
Status: CLOSED DUPLICATE of bug 1767140
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: ---
Assignee: Alan Bishop
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-07 09:59 UTC by Miguel Angel Nieto
Modified: 2019-12-02 09:08 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-12-02 08:37:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Miguel Angel Nieto 2019-11-07 09:59:57 UTC
Description of problem:

After executing fast forward upgrade from osp10 to osp13, endpoints for cinderv3 are not configured properly


Version-Release number of selected component (if applicable):
from osp 10 (2019-11-04.1)
to osp13 (2019-11-04.1)

How reproducible:

install osp10 using these templates: https://gitlab.cee.redhat.com/mnietoji/deployment_templates/tree/master/ospd-10-vxlan-dpdk-sriov-ctlplane-dataplane-bonding-hybrid_panther05
execute tempest, everything is ok
execute ffu using these templates: https://gitlab.cee.redhat.com/mnietoji/deployment_templates/tree/master/ospd-10-vxlan-dpdk-sriov-ctlplane-dataplane-bonding-hybrid_panther05-ffu
execute tempest.

scrips used for installing osp10 and ffu


Actual results:

(overcloud) [stack@undercloud-0 ~]$ openstack endpoint list | grep cinderv3
| 2d1d9e402b0c4784920c464497060973 | regionOne | cinderv3     | volume         | False   | admin     | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| 67149026265142adabda02f5b583d302 | regionOne | cinderv3     | volume         | False   | public    | http://10.35.141.7:8776/v3/%(tenant_id)s        |
| 6fb3fcd6638541be8424660fadc1010e | regionOne | cinderv3     | volumev3       | True    | admin     | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| c782998c43ea448e9e4bb98e0a303a96 | regionOne | cinderv3     | volume         | False   | internal  | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| cdd37c87b1d847a98e3afc6b1df00c86 | regionOne | cinderv3     | volumev3       | True    | internal  | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| d82a6d888de445f6a970862aeba56f0e | regionOne | cinderv3     | volumev3       | True    | public    | http://10.35.141.7:8776/v3/%(tenant_id)s  


(overcloud) [stack@undercloud-0 ~]$ openstack service list | grep cinderv3
| 440f5c1492f94fb58d9a2884d20c8a97 | cinderv3   | volumev3       |
| 543632b238504b5e90b3fe774136a92b | cinderv3   | volume         |


Expected results:
(overcloud) [stack@undercloud-0 ~]$ openstack endpoint list | grep cinderv3
| 6fb3fcd6638541be8424660fadc1010e | regionOne | cinderv3     | volumev3       | True    | admin     | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| cdd37c87b1d847a98e3afc6b1df00c86 | regionOne | cinderv3     | volumev3       | True    | internal  | http://10.10.101.108:8776/v3/%(tenant_id)s      |
| d82a6d888de445f6a970862aeba56f0e | regionOne | cinderv3     | volumev3       | True    | public    | http://10.35.141.7:8776/v3/%(tenant_id)s  


(overcloud) [stack@undercloud-0 ~]$ openstack service list | grep cinderv3
| 440f5c1492f94fb58d9a2884d20c8a97 | cinderv3   | volumev3       |


Additional info:

Comment 1 Miguel Angel Nieto 2019-11-07 10:40:13 UTC
scripts used for installing osp10 and the ffu
http://pastebin.test.redhat.com/811935

Comment 6 Luigi Toscano 2019-11-29 09:24:38 UTC
Miguel, can you please report the exact error that you see? I think we can't move forward without it.

Please attach a sanitized version to this bug.

Comment 7 Miguel Angel Nieto 2019-11-29 11:28:23 UTC
This was the error I found when creating tempest config. If you need more info, i will try to reproduce it again

[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:49.785 3007 DEBUG config_tempest.constants [-] Setting [object-storage] operator_role = admin set /home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/tempest_conf.py:107
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 CRITICAL tempest [-] Unhandled error: ServiceError: Request on service 'volume' with url 'http://10.35.141.7:8776/v1/467ed225a2e2444ca8841628529a8b1a/extensions' failed with code 404
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest Traceback (most recent call last):
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/bin/discover-tempest-config", line 8, in <module>
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest sys.exit(main())
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/main.py", line 576, in main
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest verbose=args.verbose
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/main.py", line 507, in config_tempest
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest services = Services(clients, conf, credentials)
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/services/services.py", line 44, in _init_
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest self.discover()
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/services/services.py", line 106, in discover
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest service.set_extensions()
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/services/volume.py", line 27, in set_extensions
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest body = self.do_get(self.service_url + '/extensions')
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest File "/home/stack/tempest/venv/lib/python2.7/site-packages/config_tempest/services/base.py", line 64, in do_get
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest " with code %d" % (self.name, url, r.status))
[Nov 06 14:05:38 ] <mnietoji> 2019-11-06 08:04:50.101 3007 ERROR tempest ServiceError: Request on service 'volume' with url 'http://10.35.141.7:8776/v1/467ed225a2e2444ca8841628529a8b1a/extensions' failed with code 404

Comment 8 Martin Kopec 2019-11-29 11:38:05 UTC
I think, this might be a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1767140

There's also a link to a fix in tempestconf

Comment 9 Miguel Angel Nieto 2019-12-02 08:37:10 UTC
yes, it is a duplicate. It is the same issue I had.

Closing as duplicate of 1767140

*** This bug has been marked as a duplicate of bug 1767140 ***


Note You need to log in before you can comment on or make changes to this bug.