Designate-bind charm fails to install from the "master" branch on trusty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Designate-Bind Charm |
Fix Released
|
High
|
Alex Kavanagh |
Bug Description
Designate-bind charm fails to install from the master branch on Trusty:
$ juju deploy --series trusty /home/tkurek/
$ juju status
Model Controller Cloud/Region Version SLA
designate-bind lxd-test localhost/localhost 2.3.4 unsupported
App Version Status Scale Charm Store Rev OS Notes
designate-bind error 1 designate-bind local 0 ubuntu
Unit Workload Agent Machine Public address Ports Message
designate-bind/0* error idle 0 10.130.194.61 hook failed: "install"
Machine State DNS Inst id Series AZ Message
0 started 10.130.194.61 juju-22719e-0 trusty Running
Relation provider Requirer Interface Type Message
designate-
According to the logs, the following part is failing:
2018-04-27 10:18:16 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:16 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:16 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:17 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:17 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:17 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:18 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:18 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:18 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:18 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:19 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:19 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:19 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:20 DEBUG install Processing ./wheelhouse/
2018-04-27 10:18:20 DEBUG install Complete output from command python setup.py egg_info:
2018-04-27 10:18:20 DEBUG install running egg_info
2018-04-27 10:18:20 DEBUG install creating pip-egg-
2018-04-27 10:18:20 DEBUG install writing dependency_links to pip-egg-
2018-04-27 10:18:20 DEBUG install writing requirements to pip-egg-
2018-04-27 10:18:20 DEBUG install writing top-level names to pip-egg-
2018-04-27 10:18:20 DEBUG install writing pip-egg-
2018-04-27 10:18:20 DEBUG install writing manifest file 'pip-egg-
2018-04-27 10:18:20 DEBUG install error: [Errno 2] No such file or directory: 'git'
2018-04-27 10:18:20 DEBUG install File Finder Failed for .git = setuptools_
2018-04-27 10:18:20 DEBUG install
2018-04-27 10:18:20 DEBUG install -------
2018-04-27 10:18:20 DEBUG install Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
2018-04-27 10:18:20 DEBUG install Traceback (most recent call last):
2018-04-27 10:18:20 DEBUG install File "/var/lib/
2018-04-27 10:18:20 DEBUG install basic.bootstrap
2018-04-27 10:18:20 DEBUG install File "lib/charms/
2018-04-27 10:18:20 DEBUG install glob('wheelhous
2018-04-27 10:18:20 DEBUG install File "/usr/lib/
2018-04-27 10:18:20 DEBUG install raise CalledProcessEr
2018-04-27 10:18:20 DEBUG install subprocess.
2018-04-27 10:18:20 ERROR juju.worker.
Running the failing command manually results with:
# /var/lib/
Ignoring indexes: https:/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Requirement 'wheelhouse/
Processing ./wheelhouse/
Exception:
Traceback (most recent call last):
File "/var/lib/
status = self.run(options, args)
File "/var/lib/
wb.
File "/var/lib/
self.
File "/var/lib/
ignore_
File "/var/lib/
session=
File "/var/lib/
unpack_
File "/var/lib/
unpack_
File "/var/lib/
tarfile.
File "/var/lib/
t = open(name)
File "/var/lib/
return func(name, "r", fileobj, **kwargs)
File "/var/lib/
compresslev
File "/usr/lib/
self._fp = _builtin_
FileNotFoundError: [Errno 2] No such file or directory: '/root/
Copying the files to '/root/wheelhouse' directory and re-running the command results with:
root@juju-
Ignoring indexes: https:/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Processing ./wheelhouse/
Complete output from command python setup.py egg_info:
running egg_info
creating pip-egg-
writing top-level names to pip-egg-
writing dependency_links to pip-egg-
writing pip-egg-
writing requirements to pip-egg-
writing manifest file 'pip-egg-
error: [Errno 2] No such file or directory: 'git'
File Finder Failed for .git = setuptools_
---
Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
This indicates an issue with charms.openstack and is probably a bug there, and not in the designate-bind charm itself. Attaching full log from the failing unit.
summary: |
- Designate-bind charm fails to install from the "master" branch + Designate-bind charm fails to install from the "master" branch on trusty |
Changed in charm-designate-bind: | |
status: | New → Confirmed |
Changed in charm-designate-bind: | |
status: | Confirmed → In Progress |
Changed in charm-designate-bind: | |
status: | In Progress → Fix Committed |
Changed in charm-designate-bind: | |
milestone: | none → 18.05 |
Changed in charm-designate-bind: | |
status: | Fix Committed → Fix Released |
The version from the master branch installs fine on Xenial. Also the stable version (from the charm store) installs fine on Trusty.