Vcenter-as-compute: fab setup_all fails due to Keystone authorization fails
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
Critical
|
amudhar | |||
R4.0 |
Fix Committed
|
Critical
|
amudhar | |||
Trunk |
Fix Committed
|
Critical
|
amudhar |
Bug Description
This seen on Sanity setup.
On this HA setup, 3 controller nodes all running keystone server and issue seen on only one node
On restarting ha_proxy, it just start working fine
>> snipped of fab-setup-all failure,
::
::
2017-05-09 12:21:27:661903: Warning: sudo() received nonzero return code 1 while executing 'source /etc/contrail/
2017-05-09 12:21:27:661903:
2017-05-09 12:21:27:661903: 2017-05-09 12:21:27:661807: Traceback (most recent call last):
2017-05-09 12:21:37:669178: File "/usr/local/
2017-05-09 12:21:37:669275: *args, **kwargs
2017-05-09 12:21:37:670859: File "/usr/local/
2017-05-09 12:21:37:670918: multiprocessing
2017-05-09 12:21:37:671301: File "/usr/local/
2017-05-09 12:21:37:671348: return task.run(*args, **kwargs)
2017-05-09 12:21:37:671535: File "/usr/local/
2017-05-09 12:21:37:671594: return self.wrapped(*args, **kwargs)
2017-05-09 12:21:37:671736: File "/usr/local/
2017-05-09 12:21:37:671819: return func(*args, **kwargs)
2017-05-09 12:21:37:672063: File "/usr/local/
2017-05-09 12:21:37:672131: return self.run(*args, **kwargs)
2017-05-09 12:21:37:672286: File "/usr/local/
2017-05-09 12:21:37:672346: return self.wrapped(*args, **kwargs)
2017-05-09 12:21:37:672496: File "/root/
2017-05-09 12:21:37:672556: execute(
2017-05-09 12:21:37:673762: File "/usr/local/
2017-05-09 12:21:37:673808: multiprocessing
2017-05-09 12:21:37:673988: File "/usr/local/
2017-05-09 12:21:37:674042: return task.run(*args, **kwargs)
2017-05-09 12:21:37:674208: File "/usr/local/
2017-05-09 12:21:37:674263: return self.wrapped(*args, **kwargs)
2017-05-09 12:21:37:674397: File "/usr/local/
2017-05-09 12:21:37:674452: return func(*args, **kwargs)
2017-05-09 12:21:37:674567: File "/usr/local/
2017-05-09 12:21:37:674621: return self.run(*args, **kwargs)
2017-05-09 12:21:37:674751: File "/usr/local/
2017-05-09 12:21:37:674804: return self.wrapped(*args, **kwargs)
2017-05-09 12:21:37:674933: File "/root/
2017-05-09 12:21:37:674986: execute(
2017-05-09 12:21:37:675703: File "/usr/local/
2017-05-09 12:21:37:675758: multiprocessing
2017-05-09 12:21:37:675932: File "/usr/local/
2017-05-09 12:21:37:675985: return task.run(*args, **kwargs)
2017-05-09 12:21:37:676136: File "/usr/local/
2017-05-09 12:21:37:676189: return self.wrapped(*args, **kwargs)
2017-05-09 12:21:37:676322: File "/usr/local/
2017-05-09 12:21:37:676377: return func(*args, **kwargs)
2017-05-09 12:21:37:676534: File "/root/
2017-05-09 12:21:37:676633: raise OpenStackSetupE
2017-05-09 12:21:37:677017: fabfile.
>> on problem node, 10.87.36.10
2017-05-09 12:19:53:084516: [root@10.87.36.10] sudo: service keystone status
2017-05-09 12:19:53:084800: [root@10.87.36.10] out: keystone RUNNING pid 14118, uptime 0:11:16
2017-05-09 12:19:53:380078: [root@10.87.36.10] sudo: source /etc/contrail/
2017-05-09 12:19:53:380313: [root@10.87.36.10] out: Authorization Failed: Unable to establish connection to http://
>> on other 2 nodes, .11 & .12
root@5a10s30:~# service keystone status
keystone RUNNING pid 31429, uptime 0:11:48
root@5a10s30:~# source /etc/contrail/
root@5a10s30:~#
root@5a10s30:~# keystone token-get
+------
| Property | Value |
+------
| expires | 2017-05-
| id | 6c44be84a0534bd
| tenant_id | 1b6fd7d5004a4db
| user_id | fb9e4067807b480
+------
r
tags: | added: blocker |
Please provide testbed.
Thanks,
Amudha