contrail-charms: add option to disable external content

Bug #1766654 reported by Bernhard Koessler on 2018-04-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
High
Andrey Pavlov
R5.0
Invalid
High
Andrey Pavlov
Trunk
Fix Committed
High
Andrey Pavlov

Bug Description

Contrail networking 4.1.0 with Canonical Openstack/juju charms.

Currently, external internet access is needed when installing Contrail via juju charms. This is not possibkle in most telco cloud environments. THerefore it is required to be able to install contrail without external connectivity. (Internal repo is typically available which should have all necesaary packages).

For example, the following external link shall not be hardcoded: https://github.com/Juniper/contrail-charms/search?utf8=%E2%9C%93&q=dockerproject.org&type=

or there should be an option to switch repo addition off, e.g. make this optional:
- https://github.com/Juniper/contrail-charms/blob/2db530b262958afaadf580da0c049bb36acc6aeb/contrail-analyticsdb/hooks/contrail_analyticsdb_hooks.py#L58
- https://github.com/Juniper/contrail-charms/blob/e85d3e1c127a2270eb04e62673a7887636439be4/contrail-analytics/hooks/contrail_analytics_hooks.py#L53
- https://github.com/Juniper/contrail-charms/blob/e85d3e1c127a2270eb04e62673a7887636439be4/contrail-controller/hooks/contrail_controller_hooks.py#L73

information type: Proprietary → Public
Changed in juniperopenstack:
assignee: nobody → Andrey Pavlov (apavlov-e)
Changed in juniperopenstack:
milestone: none → r4.1.1.0
Andrey Pavlov (apavlov-e) wrote :

there is no new options in the fix. just writing a WARNING into logs and do not add external repo if connectivity to docker official repo is not available.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers