[ 4.0.3.0-113] Server-Manager: In preconfig.py, Connection to server is failing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Juniper Openstack |
New
|
Undecided
|
Abhay Joshi | ||
R4.0 |
New
|
Undecided
|
Abhay Joshi |
Bug Description
preconfig.py fails with the following error when the provisioning is issued.
The issue is seen only when it's not a fresh install. Fresh provisioning works as expected, re triggering the provisioning script ( provision_
Please provision the system, and once the setup is up and running then issue the following cmd to reproduce the issue..
/opt/contrail/
> [2017-11-08 19:50:33,952: exec_cmd] [error_on_fail]: Cmd (DEBIAN_
Traceback (most recent call last):
File "/opt/contrail/
Utils.
File "/opt/contrail/
raise RuntimeError(
RuntimeError: Connection to (10.204.217.31) Failed
Workaround for this is:-
>>> mkdir /etc/apt/restore ; mv /etc/apt/
Run the above commands on all the servers vm1 to vm5 before preconfig/
self.exec_
def install_
os_type, version, misc = self.os_version
if os_type.lower() == 'ubuntu' and version == '12.04':
elif os_type.lower() == 'ubuntu' and version == '14.04':
elif os_type.lower() == 'ubuntu' and version == '16.04':
if sku != 'ocata':
else:
else:
raise RuntimeError(
for package in packages_list:
# remove the existing the driver to install the one you want