regression: offline installation fails for charms that depend on packages that use easy_install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
Critical
|
Dmitrii Shcherbakov | ||
charm-octavia-diskimage-retrofit |
Fix Released
|
Critical
|
Dmitrii Shcherbakov | ||
vault-charm |
Fix Released
|
Critical
|
Dmitrii Shcherbakov |
Bug Description
Using Octavia from: cs:~openstack-
Running on an environment with very strict access to internet.
When deploying Octavia,it fails installation with the message as in the bottom of bug report.
For this environment, I am using only apt-http(s)-proxy and juju-http(s)-proxy as configurations for the proxy. Proxy does allow me to reach for pypi.org. It seems that I am forced to use also http(s)-proxy settings on juju model-config for octavia to work (will test next).
However, that type of installation, using access to pypi.org, won't work on air-gapped scenarios neither.
(...)
Looking in links: wheelhouse
Collecting charmhelpers
Collecting statsd
Collecting PyYAML
Collecting psutil
Collecting os-service-types
Complete output from command python setup.py egg_info:
Download error on https:/
Couldn't find index page for 'pbr' (maybe misspelled?)
Download error on https:/
No local packages or working download links found for pbr>=2.0.0
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-
pbr=True)
File "/var/lib/
File "/var/lib/
etup_requires
File "/var/lib/
gs
File "/var/lib/
File "/var/lib/
atch
return self.obtain(req, installer)
File "/var/lib/
return installer(
File "/var/lib/
g
return cmd.easy_
File "/var/lib/
n easy_install
raise DistutilsError(msg)
distutils.
---
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
Traceback (most recent call last):
File "./hooks/install", line 8, in <module>
basic.
File "lib/charms/
'--
File "/usr/lib/
raise CalledProcessEr
subprocess.
, '--no-index', '--no-cache-dir', '-f', 'wheelhouse', 'charmhelpers', 'statsd', 'PyYAML', 'psutil', 'os-service-types', 'ovs', 'py
thon-neutroncli
, 'oslo.db', 'charms.reactive', 'zipp', 'oslo.concurrency', 'python-
orator', 'python-dateutil', 'testresources', 'soupsieve', 'python-editor', 'netifaces', 'pecan', 'jsonpatch', 'oslo.messaging', 'c
achetools', 'futurist', 'python-
perclip', 'certifi', 'urllib3', 'openstacksdk', 'os-ken', 'requestsexcept
taddr', 'Jinja2', 'stevedore', 'WebTest', 'sortedcontainers', 'oslo.middleware', 'msgpack', 'eventlet', 'oslo.log', 'kombu', 'osc-
lib', 'wrapt', 'sqlparse', 'Paste', 'Mako', 'PasteDeploy', 'testscenarios', 'python-mimeparse', 'cliff', 'wcwidth', 'wheel', 'os-t
raits', 'cryptography', 'iso8601', 'debtcollector', 'cmd2', 'traceback2', 'jmespath', 'testtools', 'amqp', 'oslo.service', 'pycpar
ser', 'importlib-
pytest-runner', 'simplejson', 'monotonic', 'argparse', 'sqlalchemy-
text', 'pyaml', 'osprofiler', 'Babel', 'dogpile.cache', 'oslo.config', 'beautifulsoup4', 'prettytable', 'yappi', 'WebOb', 'neutron
-lib', 'setproctitle', 'oslo.policy', 'pyinotify', 'six', 'oslo.serializa
Changed in charm-octavia: | |
importance: | Undecided → Critical |
Changed in vault-charm: | |
importance: | Undecided → Critical |
Changed in charm-octavia-diskimage-retrofit: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Dmitrii Shcherbakov (dmitriis) |
Changed in charm-octavia-diskimage-retrofit: | |
milestone: | none → 20.05 |
Changed in charm-octavia: | |
status: | Fix Committed → Fix Released |
Changed in vault-charm: | |
status: | Fix Committed → Fix Released |
Changed in charm-octavia-diskimage-retrofit: | |
status: | Fix Committed → Fix Released |
This is most likely caused by a regression in layer-basic and should be fixed by rebuilding the charm with a version of layer-basic that contains https:/ /github. com/juju- solutions/ layer-basic/ pull/172q