[1.06-70] SI launch is failing as svc-mon is looking to authenticate user in a stale/non-existent tenant
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
Fix Committed
|
High
|
Rudra Rugge | ||
R1.1 |
Fix Committed
|
High
|
Rudra Rugge | ||
R2.20 |
New
|
Medium
|
Ganesha HV |
Bug Description
1]. Created a project 'TestECMPSvcChain0' and added a user 'TestECMPSvcChain0' as a admin and also 'admin' as a Member.
2]. Created a service-instance with service-scaling and launched 3 instances in the same.
3]. The service-instance is not launched successfully with the following error :
Traceback (most recent call last):
File "/opt/contrail/
monitor.
File "/opt/contrail/
func(idents)
File "/opt/contrail/
self.
File "/opt/contrail/
nics, proj_obj.name, flavor)
File "/opt/contrail/
flavor = n_client.
File "/usr/lib/
matches = self.findall(
File "/usr/lib/
listing = self.list(
File "/usr/lib/
return self._list(
File "/usr/lib/
_resp, body = self.api.
File "/usr/lib/
return self._cs_
File "/usr/lib/
self.
File "/usr/lib/
auth_url = self._v2_
File "/usr/lib/
return self._authentic
File "/usr/lib/
**kwargs)
File "/usr/lib/
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/
raise exceptions.
Unauthorized: User 5bb33e7bb42d49f
4]. It is seen that though the user exists, the tenant it is referring to is non-existent :
(api-venv)
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+------
| id | name | enabled | email |
+------
| f33ae47ca65b4fe
| 5bb33e7bb42d49f
| 19b66aa3d2514dd
| c95afaf99d2f44b
| 2e2b26c3122245e
| 99f152ece64e451
| 5654ddf07441489
+------
(api-venv)
WARNING: Bypassing authentication using a token & endpoint (authentication credentials are being ignored).
+------
| id | name | enabled |
+------
| 979cb99dc0d74fd
| e66fb526c06c4c9
| dc4ce1a074b14f3
| 3488872267bf4be
| 9cab150dec97417
+------
I have kept the logs at
/home/bhushana/
Login with the following credentials:
USN : bhushana
PWD : bhu@123
Changed in juniperopenstack: | |
milestone: | r1.06-fcs → r1.10-fcs |
Changed in juniperopenstack: | |
milestone: | r1.10-fcs → none |
tags: | added: config |
tags: | added: releasenote |
information type: | Proprietary → Public |
Changed in juniperopenstack: | |
importance: | Critical → High |
Changed in juniperopenstack: | |
status: | New → Fix Committed |
tags: | removed: releasenote |
Steps to automate:
=================
- Create a Tenant in Keystone.
- Create a VN in this tenant in Contrail
- Create a Service Instance in this tenant, with a least one leg in a network from this Tenant.
- Delete the SI
- Delete the VN
- Delete the Tenant.
- recreate the tenant with the same name
- recreate the VN with the same name
- recreate the same Service Instance
=> the Service Instance remains in "Spawing" state.