SMlite: Providing env.ca_cert_file in testbed file should take care of entire provisioning for tor agent nodes
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
Nitish Krishna Kaveri | |||
R4.1 |
Fix Committed
|
High
|
Nitish Krishna Kaveri | |||
Trunk |
Fix Committed
|
High
|
Nitish Krishna Kaveri |
Bug Description
Version: 4.0.1
I have a env variable env.ca_cert_file set in testbed file.
The provisioning for tor agent nodes fails with error: "msg": "Unable to find '/etc/contrail_
Please make changes to take the ca file from env.ca_cert_file in testbed file and use the same location/cacert file from there in the puppet location/wherever applicable.
Topo:
host1='
#host3=
host2='
#host5=
host3='
host4='
host5='
host6='
host7='
host8='
host9='
host10=
host11=
host12=
host13=
host14=
env.roledefs = {
'all': [host1, host2, host3, host4, host5, host6, host7, host8, host9, host10, host11, host12, host13, host14],
'contrail-
'openstack': [host1],
'contrail-
'contrail-
'tsn': [host3, host4],
'contrail-
'build': [host_build],
}
Changed in juniperopenstack: | |
assignee: | Abhay Joshi (abhayj) → Nitish Krishna Kaveri (nitishk) |
Changed in juniperopenstack: | |
assignee: | jayaramsatya (jayaramsatya) → Nitish Krishna Kaveri (nitishk) |
status: | Incomplete → Triaged |
I was not able to re-create this issue on a two node setup:
As you can see below, the ca-cert specified in testbed.py got copied to this location correctly.
root@nk- vm1:/etc/ contrail_ smgr/puppet/ ssl/tor# ls
ca-cert.pem
root@nk- vm1:/etc/ contrail_ smgr/puppet/ ssl/tor# md5sum ca-cert.pem /root/cacert.pem 28a58e969f537f5 5e ca-cert.pem 28a58e969f537f5 5e /root/cacert.pem
bef902e0e7e6a8f
bef902e0e7e6a8f
The setup specified in the bug ID isn't in the broken state. Please give a setup with the error seen and I will debug it.