[ 4.0.3.0-113] Provisioning using provision_containers.sh should not fail when image is already present in the sm db

Bug #1730570 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
New
Undecided
Abhay Joshi
R4.0
New
Undecided
Abhay Joshi

Bug Description

The following happens when the image is already present in the sm database:

root@nodei5:/var/log# /opt/contrail/contrail_server_manager/provision_containers.sh -ni -j /root/regress_provision.json
----> Pre provision checks to make sure setup is ready for contrail provisioning
Configuring => nodel11-vm1
[2017-11-07 12:02:27,451: local_exec_cmd] Error: Could not find a certificate for nodel11-vm1.englab.juniper.net

[2017-11-07 12:02:27,451: local_exec_cmd] None
Configuring => nodel11-vm2
[2017-11-07 12:02:40,291: local_exec_cmd] Error: Could not find a certificate for nodel11-vm2.englab.juniper.net

[2017-11-07 12:02:40,291: local_exec_cmd] None
Configuring => nodel11-vm3
[2017-11-07 12:02:54,968: local_exec_cmd] Error: Could not find a certificate for nodel11-vm3.englab.juniper.net

[2017-11-07 12:02:54,969: local_exec_cmd] None
Configuring => nodel11-vm4
[2017-11-07 12:03:04,839: local_exec_cmd] Error: Could not find a certificate for nodel11-vm4.englab.juniper.net

[2017-11-07 12:03:04,839: local_exec_cmd] None
----> Adding server manager objects to server manager database
image modification is not allowed, delete and add it.

Expectation is to use the existing image and proceed.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.