octavia charm-upgrade failed on pip install wheelhouse setuptools-scm
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
High
|
David Ames |
Bug Description
stein-bionic cloud
Cloud was deployed on Aug 12th, all went ok. Charms are specified in the bundle with cs:charmname. Today (Aug 14th) around 8:20 UTC I removed trilio applications and used juju deploy with original bundle.yaml to redeploy it.
This re-deploy triggered charm-upgrade in octavia (I assume also others, saw that also in designate). But octavia failed the upgrade with
2020-08-14 08:26:46 DEBUG upgrade-charm Traceback (most recent call last):
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm return functools.
2020-08-14 08:26:46 DEBUG upgrade-charm AttributeError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'
2020-08-14 08:26:46 DEBUG upgrade-charm
2020-08-14 08:26:46 DEBUG upgrade-charm During handling of the above exception, another exception occurred:
2020-08-14 08:26:46 DEBUG upgrade-charm
2020-08-14 08:26:46 DEBUG upgrade-charm Traceback (most recent call last):
2020-08-14 08:26:46 DEBUG upgrade-charm File "<string>", line 1, in <module>
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm setuptools.
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm return distutils.
2020-08-14 08:26:46 DEBUG upgrade-charm File "/usr/lib/
2020-08-14 08:26:46 DEBUG upgrade-charm dist.run_commands()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/usr/lib/
2020-08-14 08:26:46 DEBUG upgrade-charm self.run_
2020-08-14 08:26:46 DEBUG upgrade-charm File "/usr/lib/
2020-08-14 08:26:46 DEBUG upgrade-charm cmd_obj.run()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm self.find_sources()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm mm.run()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm self.add_defaults()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm rcfiles = list(walk_
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm for item in ep.load()(dirname):
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm command = ep.load()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm return self.resolve()
2020-08-14 08:26:46 DEBUG upgrade-charm File "/tmp/pip-
2020-08-14 08:26:46 DEBUG upgrade-charm raise ImportError(
2020-08-14 08:26:46 DEBUG upgrade-charm ImportError: module 'setuptools_scm.hg' has no attribute 'FILES_COMMAND'
2020-08-14 08:26:46 DEBUG upgrade-charm
2020-08-14 08:26:46 DEBUG upgrade-charm -------
2020-08-14 08:26:47 DEBUG upgrade-charm Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-
2020-08-14 08:26:48 DEBUG upgrade-charm Traceback (most recent call last):
2020-08-14 08:26:48 DEBUG upgrade-charm File "/var/lib/
2020-08-14 08:26:48 DEBUG upgrade-charm basic.bootstrap
2020-08-14 08:26:48 DEBUG upgrade-charm File "lib/charms/
2020-08-14 08:26:48 DEBUG upgrade-charm _update_
2020-08-14 08:26:48 DEBUG upgrade-charm File "lib/charms/
2020-08-14 08:26:48 DEBUG upgrade-charm pkg], env=_get_
2020-08-14 08:26:48 DEBUG upgrade-charm File "/usr/lib/
2020-08-14 08:26:48 DEBUG upgrade-charm raise CalledProcessEr
2020-08-14 08:26:48 DEBUG upgrade-charm subprocess.
2020-08-14 08:26:48 ERROR juju.worker.
2020-08-14 08:26:48 DEBUG juju.machinelock machinelock.go:186 machine lock released for uniter (run upgrade-charm hook)
tags: | added: cdo-qa |
Changed in charm-octavia: | |
milestone: | none → 20.10 |
status: | Triaged → In Progress |
tags: | added: sts |
Good to mention: the OpenStack charms 20.08 got released on August 13th.
This bug is probably related to: /bugs.launchpad .net/charm- mysql-router/ +bug/1884460 /github. com/juju- solutions/ layer-basic/ issues/ 181 /bugs.launchpad .net/charm- ceph-fs/ +bug/1885935
https:/
https:/
https:/