ModuleNotFoundError: No module named 'distutils'

Bug #2070591 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
New
Undecided
Unassigned
2024.1
New
Undecided
Unassigned

Bug Description

neutron-gateway fails to run install hook on noble

unit-neutron-gateway-0: 15:06:17 INFO juju.worker.uniter found queued "install" hook
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install Traceback (most recent call last):
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/install", line 5, in <module>
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install from charmhelpers.core.hookenv import (
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install File "/var/lib/juju/agents/unit-neutron-gateway-0/charm/hooks/charmhelpers/core/hookenv.py", line 21, in <module>
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install from distutils.version import LooseVersion
unit-neutron-gateway-0: 15:06:18 WARNING unit.neutron-gateway/0.install ModuleNotFoundError: No module named 'distutils'
unit-neutron-gateway-0: 15:06:18 ERROR juju.worker.uniter.operation hook "install" (via explicit, bespoke hook script) failed: exit status 1

Model Controller Cloud/Region Version SLA Timestamp
noble-caracal juju-controller-s390x manual 3.5.1 unsupported 15:08:38Z

App Version Status Scale Charm Channel Rev Exposed Message
neutron-gateway error 1 neutron-gateway latest/edge 543 no hook failed: "install"
swift-storage-z1 maintenance 1 swift-storage latest/edge 528 no installing charm software

Unit Workload Agent Machine Public address Ports Message
neutron-gateway/0* error idle 0 10.13.3.5 hook failed: "install"
swift-storage-z1/0* maintenance executing 0 10.13.3.5 (install) installing charm software

Machine State Address Inst id Base AZ Message
0 started 10.13.3.5 manual:10.13.3.5 ubuntu@24.04 Manually provisioned machine

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.