Vcenter-as-compute: SM provisioning fails @ preconfig of esxi/contrailvm
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
kamlesh parmar | |||
R4.1 |
Fix Committed
|
High
|
kamlesh parmar | |||
Trunk |
Fix Committed
|
High
|
kamlesh parmar |
Bug Description
Version: 4.0.1.0-
Topology: 3node HA with multiple computes (multi-cluster Esxi) & Kvm
This is regression and worked good on CB build #57
Development Kamlesh already root-caused the issue and knows the problem and also patched the fix on setup.
Please find below the details,
root@5a10s26:~# /opt/contrail/
----> Install server manager without cobbler option This install is
----> being logged at:
----> /var/log/
----> Cleaning up existing sources.list and Server Manager sources file
----> Allow Install of Unauthenticated APT packages
----> Installing dependent packages for Setting up Smgr repos
dpkg-scanpackages: warning: package ansible (filename ./ansible_
dpkg-scanpackages: warning: package libnss3-1d (filename ./libnss3-
dpkg-scanpackages: warning: package python-bottle (filename ./python-
dpkg-scanpackages: warning: package python-xmltodict (filename ./python-
dpkg-scanpackages: warning: package libstdc++6 (filename ./libstdc+
dpkg-scanpackages: warning: package python-pbr (filename ./python-
dpkg-scanpackages: warning: package python-
dpkg-scanpackages: warning: package python-stevedore (filename ./python-
dpkg-scanpackages: info: Wrote 433 entries to output Packages file.
----> Server Manager
----> Using default puppet certificate name 5a10s26.
Notice: Signed certificate request for ca
----> Installing package Puppetmaster Passenger
----> Installing package Server Manager Lite Configuring Ansible Starting docker if required Setting DOCKER_OPTS in systemd service file Restarting Docker Starting docker registry with --security-opt apparmor:unconfined -d -e REGISTRY_
----> Completed Installing Server Manager Server Manager Cliff Client
----> Installing package Server Manager Cliff Client
----> Completed Installing Server Manager Cliff Client Web Server
----> Manager
----> Installing package Contrail Web Core
----> Installing package Contrail Web Server Manager
----> Completed Installing Web Server Manager
----> Starting Server Manager Lite Service
----> Reverting Repos to old state
SM installation took 6 minutes and 39 seconds.
----> Pre provision checks to make sure setup is ready for contrail
----> provisioning
Configuring => 5a10s31
Configuring => 5a10s30
Configuring => 5a10s29
Configuring => 5a10s01b
Configuring => 5a10s23
Configuring => contrailvm-5a10s27
[2017-09-19 13:22:45,151: connect] ERROR: [Errno None] Unable to connect to port 22 on 10.87.36.19
[2017-09-19 13:22:45,151: connect] ERROR: Unable to connect Host (10.87.36.19) with username(root) and password(
[2017-09-19 13:22:45,151: preconfig] ERROR_IGNORED: Unable to connect Host (10.87.36.19) but ignoring it since it is on ESXI host Traceback (most recent call last):
File "/opt/contrail/
Utils.
File "/opt/contrail/
hostobj.
File "/opt/contrail/
self.
File "/opt/contrail/
self.os_version = self.get_
File "/opt/contrail/
status, output = self.exec_cmd(cmd)
File "/opt/contrail/
stdin, stdout, stderr = self.connection
File "/usr/lib/
chan = self._transport
AttributeError: 'NoneType' object has no attribute 'open_session'
root@5a10s26:~#
Review in progress for https:/ /review. opencontrail. org/35751
Submitter: kamlesh parmar (<email address hidden>)