config-openstack: Need to ensure connection to api-server in api-hook
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Undecided
|
Hampapur Ajay | |||
R2.21.x |
Fix Committed
|
Undecided
|
Hampapur Ajay | |||
Trunk |
Fix Committed
|
Undecided
|
Hampapur Ajay |
Bug Description
Following sequence of events happened causing issue in post-virtual-
1. On a newly provisioned system, api-server is launched
2. Due to race condition with keystone start/provisioning, the api-server connection from ResourceApiDriv
3. Later on a network is created via neutron API
4. the post_virtual_
5. same issue exists for project syncing
ERROR:server13:
Traceback (most recent call last):
File "/usr/lib/
result = self._run(
File "/usr/lib/
tenant_
File "/usr/lib/
retry_
File "/usr/lib/
self._headers = self._authentic
File "/usr/lib/
raise RuntimeError(
RuntimeError: Unable to connect to keystone for authentication. Verify keystone server details
<Greenlet at 0x7f529d6c9910: <bound method ResourceApiDriv
Traceback (most recent call last):
File "/usr/lib/
'post_
File "/usr/lib/
method_name, *args, **kwds)
File "/usr/lib/
self.
File "/usr/lib/
response_
File "/usr/lib/
return getattr(
File "/usr/lib/
self.
AttributeError: 'NoneType' object has no attribute 'kv_store'
Changed in juniperopenstack: | |
milestone: | none → r3.0-fcs |
Review in progress for https:/ /review. opencontrail. org/14668
Submitter: Hampapur Ajay (<email address hidden>)