Vcenter-as-compute: ocata : vcenter-compute not seen by openstack due to package python-oslo.vmware missing

Bug #1720498 reported by Sarath
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.0
Fix Committed
Critical
amudhar
R4.1
Fix Committed
Critical
amudhar
Trunk
Fix Committed
Critical
amudhar

Bug Description

Version: 4.0.1.0-32-Ocata (regularBuild)
Topology: 3node HA with multiple computes (multi-cluster Esxi) & Kvm

vcenter-compute not seen by openstack due to package python-oslo.vmware missing
Below is the details of triaging,

From: Kamlesh Parmar
Sent: Friday, September 29, 2017 9:13 PM
To: Sarathbabu Narasimhan <email address hidden>; Ramprakash Ram Mohan <email address hidden>; Amudha R <email address hidden>
Cc: Sachchidanand Vaidya <email address hidden>; Abhay Joshi <email address hidden>
Subject: Re: provisioing issue

The vcenter-compute node not showing up in the hypervisors on openstack node. This is happening due to python-oslo.vmware package not getting installed in the vcenter-compute node.

Sarath,
Please proceed with Kolla_globals option of “enable_nova_compute” set to no, and fix the vcenter-compute node by installing python-oslo.vmware package (apt-get inatll python-oslo.vmware) and restart nova-compute service.

Amudha,
This problem is only seen with ocata.
We do not explicitly install python-oslo.vmware during provisioning. The packages we install with nova-compute are [contrail-setup, nova-compute, python-bitstring]. Is it possible that newton nova-compute brings python-oslo.vmware as dependency and ocata nova-compute doesn’t? Can you please check?

Below is the trace from failure:
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver return import_class(import_str)(*args, **kwargs)
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/oslo_utils/importutils.py", line 30, in import_class
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver __import__(mod_str)
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/__init__.py", line 19, in <module>
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver from nova.virt.vmwareapi import driver
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver File "/usr/lib/python2.7/dist-packages/nova/virt/vmwareapi/driver.py", line 27, in <module>
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver from oslo_vmware import api
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver ImportError: No module named oslo_vmware
2017-09-29 20:50:06.209 7169 ERROR nova.virt.driver

Thanks,
Kamlesh

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/36146
Submitter: amudha ramachandran (<email address hidden>)

Sarath (nsarath)
summary: - Vcenter-as-compute: vcenter-compute not seen by openstack due to
- package python-oslo.vmware missing
+ Vcenter-as-compute: ocata : vcenter-compute not seen by openstack
+ due to package python-oslo.vmware missing
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/36188
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/36189
Submitter: amudha ramachandran (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/36188
Committed: http://github.com/Juniper/contrail-packaging/commit/6fddd0214cd77be66edcc1d966d8b8c11c371b04
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 6fddd0214cd77be66edcc1d966d8b8c11c371b04
Author: Amudha <email address hidden>
Date: Sun Oct 1 06:28:42 2017 -0700

Ocata Vcenter: Install python-oslo.vmware on vcenter-compute

Add python-oslo.vmware to python-nova dependency list, this is
needed on vcenter-compute (nova-compute) node.

Change-Id: If5ea8b64e84f053dcff92223ff9a91c69820cc50
Closes-Bug: #1720498

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36189
Committed: http://github.com/Juniper/contrail-packaging/commit/86fba550ee0472ca6c23d2765b982cd04ef722ef
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 86fba550ee0472ca6c23d2765b982cd04ef722ef
Author: Amudha <email address hidden>
Date: Sun Oct 1 06:28:42 2017 -0700

Ocata Vcenter: Install python-oslo.vmware on vcenter-compute

Add python-oslo.vmware to python-nova dependency list, this is
needed on vcenter-compute (nova-compute) node.

Change-Id: If5ea8b64e84f053dcff92223ff9a91c69820cc50
Closes-Bug: #1720498

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36146
Committed: http://github.com/Juniper/contrail-packaging/commit/f1de857fe47a4d0bc599459173810314f17bb019
Submitter: Zuul (<email address hidden>)
Branch: master

commit f1de857fe47a4d0bc599459173810314f17bb019
Author: Amudha <email address hidden>
Date: Sun Oct 1 06:28:42 2017 -0700

Ocata Vcenter: Install python-oslo.vmware on vcenter-compute

Add python-oslo.vmware to python-nova dependency list, this is
needed on vcenter-compute (nova-compute) node.

Change-Id: If5ea8b64e84f053dcff92223ff9a91c69820cc50
Closes-Bug: #1720498

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.