all-hosts options is not supported when using pip
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
High
|
David Ames |
Bug Description
Octavia is failing to install due to:
distutils.
I have not yet root caused this. It could be a problem with layer basic or upstream pypi.
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
unit-octavia-1: 16:22:44 DEBUG unit.octavia/
Changed in charm-octavia: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in charm-octavia: | |
importance: | Medium → High |
Changed in charm-octavia: | |
assignee: | nobody → David Ames (thedac) |
milestone: | none → 20.08 |
Changed in charm-octavia: | |
status: | Fix Committed → Fix Released |
I see this too when building the charm on a Focal system.
However, I don't see it in the stable, next nor freshly built charm from tip when built in CI.
I'm guessing this has to do with how charm build puts together the wheelhouse from the perspective of the Python interpreter running the ``charm build`` command, which may result in wheels incompatible with the target system.
The allow-hosts issue was attempted solved in layer-basic a while back [0][1], and I think what is happening here is that the assumptions made about what the world looks like on the installed series break with the deps put together by a Focal build host.
We currently have to build reactive charms on a Python 3.5 system to ensure it will deploy across all supported series.
0: https:/ /github. com/juju- solutions/ layer-basic/ pull/169 /github. com/juju- solutions/ layer-basic/ pull/172
1: https:/