[hirsute] install hook fails on 'apt install python3-purestorage'

Bug #1933818 reported by Aurelien Lourot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Cinder Pure Storage Charm
Fix Released
High
Aurelien Lourot

Bug Description

Visible in our test gate:
https://review.opendev.org/c/openstack/charm-cinder-purestorage/+/794495
https://openstack-ci-reports.ubuntu.com/artifacts/d4f/794495/2/check/hirsute-wallaby/d4fc1e2/index.html

This hits hirsute-wallaby but NOT focal-wallaby.

Traceback (most recent call last):
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/charm/hooks/install", line 22, in <module>
    main()
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms/reactive/__init__.py", line 74, in main
    bus.dispatch(restricted=restricted_mode)
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms/reactive/bus.py", line 390, in dispatch
    _invoke(other_handlers)
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms/reactive/bus.py", line 359, in _invoke
    handler.invoke()
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms/reactive/bus.py", line 181, in invoke
    self._action(*args)
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/charm/reactive/cinder_purestorage_handlers.py", line 35, in reinstall
    purestorage.install()
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms_openstack/charm/classes.py", line 1073, in install
    super().install()
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charms_openstack/charm/core.py", line 772, in install
    fetch.apt_install(packages, fatal=True)
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charmhelpers/fetch/ubuntu.py", line 303, in apt_install
    _run_apt_command(cmd, fatal, quiet=quiet)
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charmhelpers/fetch/ubuntu.py", line 804, in _run_apt_command
    _run_with_retries(
  File "/var/lib/juju/agents/unit-cinder-purestorage-0/.venv/lib/python3.9/site-packages/charmhelpers/fetch/ubuntu.py", line 781, in _run_with_retries
    result = subprocess.check_call(cmd, env=env, **kwargs)
  File "/usr/lib/python3.9/subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'python3-purestorage']' returned non-zero exit status 100.

Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :

Hirsute is to be enabled on a PPA. Chris MacNaughton is triggering it.

Changed in charm-cinder-purestorage:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Aurelien Lourot (aurelien-lourot)
Revision history for this message
Aurelien Lourot (aurelien-lourot) wrote :
Changed in charm-cinder-purestorage:
status: In Progress → Fix Released
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.