support for local repo in smlite

Bug #1561766 reported by Siva Gurumurthy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Medium
Unassigned
R2.22.x
Fix Committed
Medium
Unassigned
R3.0
Fix Committed
Medium
Unassigned
Trunk
Fix Committed
Medium
Unassigned

Bug Description

We need to support local repo in smlite.
This is really helpful in the CI environment where it will avoid smlite installation failures due to network reachability issue.

The following changes are required to make this happen.

1. The setup.sh in the smlite should not create the passenger.list , puppet.list, smgr_sources.list and rwky/redis list files.
     It will be passed an option via the provision.sh based on which it will not create these files.

2. There should be pinning to access local repo's as the highest priority.

3. Need to fix the contrail_image_contrail_packages*.list file as the puppet puts wrong entries there which leads to 'apt-get update' failures.

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

Review in progress for https://review.opencontrail.org/18768
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18769
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18771
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18772
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18777
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18778
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18771
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18772
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18778
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18777
Submitter: Nitish Krishna Kaveri (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18768
Committed: http://github.org/Juniper/contrail-server-manager/commit/40ae9c5e6d6a1d4262defce86bab2b838ed94c01
Submitter: Zuul
Branch: master

commit 40ae9c5e6d6a1d4262defce86bab2b838ed94c01
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:07:01 2016 -0700

Closes-Bug: #1561766 - Provision.sh changes to add option to use only local repo

This change:
- adds option --no-external-repos to prevent setup of smgr internet repos by SM setup script

Change-Id: I75ecf095da2667a44049e975da5a3700fa19dfdd

Changed in juniperopenstack:
milestone: none → r3.1.0.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/18769
Committed: http://github.org/Juniper/contrail-server-manager/commit/940ef56f91916877ab0eefa5fde17616a66b0834
Submitter: Zuul
Branch: R3.0

commit 940ef56f91916877ab0eefa5fde17616a66b0834
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:07:01 2016 -0700

Closes-Bug: #1561766 - Provision.sh changes to add option to use only local repo

This change:
- adds option --no-external-repos to prevent setup of smgr internet repos by SM setup script

Change-Id: I75ecf095da2667a44049e975da5a3700fa19dfdd

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

Reviewed: https://review.opencontrail.org/18772
Committed: http://github.org/Juniper/contrail-packaging/commit/f023a5f6487af124a9cc6382fbafbfd7753dd869
Submitter: Zuul
Branch: R3.0

commit f023a5f6487af124a9cc6382fbafbfd7753dd869
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:14:04 2016 -0700

Closes-Bug: #1561766 - SM Setup script changes : extra option to prevent internet repo setup

This is to support using local repo in CI

Patch 2:
Moved install of apt-add-repo related packages to setup_internet_repos
these need to be installed only if internet repos are being setup

Change-Id: I1111f3c5d98380d6b9c9a24a8415b097fc065a25

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

Reviewed: https://review.opencontrail.org/18778
Committed: http://github.org/Juniper/contrail-packaging/commit/6da83553ab86cb04234d029f80a0a7c477c4f0e2
Submitter: Zuul
Branch: R2.20

commit 6da83553ab86cb04234d029f80a0a7c477c4f0e2
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:14:04 2016 -0700

Closes-Bug: #1561766 - SM Setup script changes : extra option to prevent internet repo setup

This is to support using local repo in CI
Changes to both provision and setup scripts

Patch 2:
Moved install of apt-add-repo related packages to setup_internet_repos
these need to be installed only if internet repos are being setup

Change-Id: I1111f3c5d98380d6b9c9a24a8415b097fc065a25

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

Reviewed: https://review.opencontrail.org/18777
Committed: http://github.org/Juniper/contrail-packaging/commit/fe98536e3f736816691c5102543e109d5bdf329e
Submitter: Zuul
Branch: R2.22.x

commit fe98536e3f736816691c5102543e109d5bdf329e
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:14:04 2016 -0700

Closes-Bug: #1561766 - SM Setup script changes : extra option to prevent internet repo setup

This is to support using local repo in CI
Changes to both provision and setup scripts

Patch 2:
Moved install of apt-add-repo related packages to setup_internet_repos
these need to be installed only if internet repos are being setup

Change-Id: I1111f3c5d98380d6b9c9a24a8415b097fc065a25

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

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

commit fef097c9036659d24a3fa5112285e047ee72b64b
Author: nitishkrishna <email address hidden>
Date: Fri Mar 25 10:14:04 2016 -0700

Closes-Bug: #1561766 - SM Setup script changes : extra option to prevent internet repo setup

This is to support using local repo in CI

Patch 2:
Moved install of apt-add-repo related packages to setup_internet_repos
these need to be installed only if internet repos are being setup

Change-Id: I1111f3c5d98380d6b9c9a24a8415b097fc065a25

information type: Proprietary → Public
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.