R4.0.0.0-3034 - Api server fails to come up during provisioning with SSL enabled
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Critical
|
Sundaresan Rajangam |
Bug Description
4.0.0.0-3034-Kilo
Provisioning log:
2017-01-31 09:34:28:382779: Requested: setup-vnc-compute --self_ip 192.168.192.2 --cfgm_ip 192.168.192.251 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 3 --amqp_server_ip 192.168.192.251 --service_token 760cca0c0f3a1bc
2017-01-31 09:34:28:382779: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "cd /opt/contrail/bin && setup-vnc-compute --self_ip 192.168.192.2 --cfgm_ip 192.168.192.251 --cfgm_user root --cfgm_passwd c0ntrail123 --ncontrols 3 --amqp_server_ip 192.168.192.251 --service_token 760cca0c0f3a1bc
2017-01-31 09:34:28:382779:
2017-01-31 09:34:28:382839: Aborting.
2017-01-31 09:34:28:382839: 2017-01-31 09:34:28:382622: [root@10.
2017-01-31 09:34:28:581403: [root@10.
2017-01-31 09:34:28:581470: [root@10.
2017-01-31 09:34:28:581535: [root@10.
2017-01-31 09:34:28:581588: [root@10.
2017-01-31 09:34:28:581634: [root@10.
2017-01-31 09:34:28:581688: [root@10.
2017-01-31 09:34:28:581736: [root@10.
2017-01-31 09:34:28:581780: [root@10.
2017-01-31 09:34:28:581849: [root@10.
2017-01-31 09:34:28:581894: [root@10.
2017-01-31 09:34:28:581937: [root@10.
2017-01-31 09:34:28:582021: [root@10.
2017-01-31 09:34:28:583828: [root@10.
2017-01-31 09:34:28:583884: [root@10.
2017-01-31 09:34:28:583941: [root@10.
2017-01-31 09:34:28:584003: [root@10.
2017-01-31 09:34:28:599565:
2017-01-31 09:34:28:610751: Fatal error: sudo() received nonzero return code 1 while executing!
Apiserver log:
global os = <module 'os' from '/usr/lib/
os.stat = <built-in function stat>
filename = '/etc/contrail/
).st_mtime undefined
<type 'exceptions.
__class__ = <type 'exceptions.
__delattr__ = <method-wrapper '__delattr__' of exceptions.OSError object>
__dict__ = {}
__doc__ = 'OS system call failed.'
__format__ = <built-in method __format__ of exceptions.OSError object>
__getattrib
__getitem__ = <method-wrapper '__getitem__' of exceptions.OSError object>
__getslice__ = <method-wrapper '__getslice__' of exceptions.OSError object>
__hash__ = <method-wrapper '__hash__' of exceptions.OSError object>
__init__ = <method-wrapper '__init__' of exceptions.OSError object>
__new__ = <built-in method __new__ of type object>
__reduce__ = <built-in method __reduce__ of exceptions.OSError object>
__reduce_ex__ = <built-in method __reduce_ex__ of exceptions.OSError object>
__repr__ = <method-wrapper '__repr__' of exceptions.OSError object>
__setattr__ = <method-wrapper '__setattr__' of exceptions.OSError object>
__setstate__ = <built-in method __setstate__ of exceptions.OSError object>
__sizeof__ = <built-in method __sizeof__ of exceptions.OSError object>
__str__ = <method-wrapper '__str__' of exceptions.OSError object>
__subclassh
__unicode__ = <built-in method __unicode__ of exceptions.OSError object>
args = (2, 'No such file or directory')
errno = 2
filename = '/etc/contrail/
message = ''
strerror = 'No such file or directory'
The above is a description of an error in a Python program. Here is
the original traceback:
Traceback (most recent call last):
File "/usr/bin/
load_
File "/usr/lib/
main(args_str, VncApiServer(
File "/usr/lib/
auth_svc = vnc_auth_
File "/usr/lib/
_kscertbund
File "/usr/lib/
if os.path.
File "/usr/lib/
return os.stat(
OSError: [Errno 2] No such file or directory: '/etc/contrail/
tags: | added: blocker provisioning sanity |
information type: | Proprietary → Public |
ksopts already has certfile, keyfile and cafile options,
https:/ /github. com/Juniper/ contrail- controller/ commit/ c0b6ba8b2befd9c 549672620096d56 a9b2c4e14a# diff-21de1389f3 87230b32a2130c4 a8dccbdR786
Recently added sandeshopts is also using the same option name and ends up
overwrriting the ksopts