Vcenter: provisioning with contrail-installer deb

Bug #1599583 reported by Sarath
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.1
Fix Committed
Critical
amudhar
Trunk
Fix Committed
Critical
amudhar

Bug Description

When running “dpkg –i”, we don’t see “contrail_packages” folder and instead it creates “contrail_installer_packages”
and I did find setup.sh inside this new folder and proceeded to verify upgrade and got into Issue-2

This looks regression on 3-1-0-0

root@oblocknode02:~# cd /opt/contrail/
root@oblocknode02:/opt/contrail# ls
contrail_installer_packages contrail_installer_repo python-packages
root@oblocknode02:/opt/contrail#

Tags: vmware
Revision history for this message
Sarath (nsarath) wrote :

-bash-4.1$
-bash-4.1$ pwd
/cs-shared/bugs/1599583
-bash-4.1$
-bash-4.1$ ls -l
total 48676
-rwxrwxrwx 1 nsarath test 16445440 Jul 6 10:20 Ctrl-A-log.tar*
-rwxrwxrwx 1 nsarath test 16691200 Jul 6 10:20 Ctrl-B-log.tar*
-rwxrwxrwx 1 nsarath test 16496640 Jul 6 10:20 Ctrl-C-log.tar*
-bash-4.1$

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

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

Revision history for this message
amudhar (amudha) wrote : Re: Vcenter: Fresh install dpkg not creating "contrail_packages" build #2739

From 3.1, with the use of contrail-installer-packages, the below seems to be the provisioning flow:
-> on one of the target nodes, to setup fabric and python:
    -> dpkg –i contrail-installer-packages.deb
    -> cd /opt/contrail/contrail-installer-packages; .setup.sh
-> fab install_contrail:<list of contrail tgz/path to contrail tgz) - this puts the contrail packages on all
     the nodes, and sets up the install repo
-> fab setup_all

In case of vcenter-only and vcenter-as-compute modes, we run prov_esxi and setup_vcenter even
before install_contrail. With the above set of sequence changes, we do not have contrail-vmware-utils
available in the controller node (as the contrail-installer-packages does not have it bundled) and so
prov_esxi fails.

The contrail-vmware-utils package today contains only python-pyvmomi, so I am going ahead and
adding the python-pyvmomi deb into the contrail-installer-packages and we should be able to
do vcenter provisioning with the contrail-installer-packages after this fix.

-Amudha

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

Reviewed: https://review.opencontrail.org/21703
Committed: http://github.org/Juniper/contrail-packaging/commit/291b3b3248dfc993402206641326ad202ab126fb
Submitter: Zuul
Branch: master

commit 291b3b3248dfc993402206641326ad202ab126fb
Author: Amudha <email address hidden>
Date: Wed Jul 6 15:00:50 2016 -0700

vcenter: Adding vcenter specific python package into contrail-installer deb

Change-Id: I457ba54040ff6acf33f5d82e4d740e03118f8bb5
Partial-Bug: #1599583

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

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

amudhar (amudha)
summary: - Vcenter: Fresh install dpkg not creating "contrail_packages" build #2739
+ Vcenter: provisioning with contrail-installer deb
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/21776
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/18caf740c26cc8de4039982bae787b743af9a86c
Submitter: Zuul
Branch: master

commit 18caf740c26cc8de4039982bae787b743af9a86c
Author: Amudha <email address hidden>
Date: Mon Jul 11 22:47:05 2016 -0700

vcenter: changes for vcenter provisioning with contrail-installer-packages

Closes-Bug: #1599583

Change-Id: Ia5f8874e3ebffd8635959805a1955392ef2f95b6

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

Review in progress for https://review.opencontrail.org/22033
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/22033
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/d5c292b45f1d27f45158dd73eba0fcf7d4665c2e
Submitter: Zuul
Branch: R3.1

commit d5c292b45f1d27f45158dd73eba0fcf7d4665c2e
Author: Amudha <email address hidden>
Date: Mon Jul 11 22:47:05 2016 -0700

vcenter: changes for vcenter provisioning with contrail-installer-packages

Closes-Bug: #1599583

Change-Id: Ia5f8874e3ebffd8635959805a1955392ef2f95b6

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.