charm install hook fails to install python3-purestorage

Bug #1836273 reported by Ryan Beisner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Cinder Pure Storage Charm
Fix Released
Undecided
Unassigned

Bug Description

Charm hash 4e52964, built and pushed as cs:~1chb1n/cinder-purestorage-0, fails to install the python3-purestorage package.

Please update the readme with more usage instructions, including how and where the purestorage packages are obtained and distributed.

Thank you.

https://github.com/openstack-charmers/charm-cinder-purestorage/pull/6

https://github.com/openstack-charmers/charm-cinder-purestorage/commit/4e529644dbdeb97e8ec9102886c1ff1fb82ff981

2019-07-11 23:08:52 DEBUG install Traceback (most recent call last):
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/charm/hooks/install", line 22, in <module>
2019-07-11 23:08:52 DEBUG install main()
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms/reactive/__init__.py", line 73, in main
2019-07-11 23:08:52 DEBUG install bus.dispatch(restricted=restricted_mode)
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 390, in dispatch
2019-07-11 23:08:52 DEBUG install _invoke(other_handlers)
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 359, in _invoke
2019-07-11 23:08:52 DEBUG install handler.invoke()
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms/reactive/bus.py", line 181, in invoke
2019-07-11 23:08:52 DEBUG install self._action(*args)
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/charm/reactive/layer_openstack.py", line 21, in default_install
2019-07-11 23:08:52 DEBUG install instance.install()
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms_openstack/charm/classes.py", line 926, in install
2019-07-11 23:08:52 DEBUG install super().install()
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charms_openstack/charm/core.py", line 619, in install
2019-07-11 23:08:52 DEBUG install fetch.apt_install(packages, fatal=True)
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charmhelpers/fetch/ubuntu.py", line 243, in apt_install
2019-07-11 23:08:52 DEBUG install _run_apt_command(cmd, fatal)
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charmhelpers/fetch/ubuntu.py", line 714, in _run_apt_command
2019-07-11 23:08:52 DEBUG install retry_message="Couldn't acquire DPKG lock")
2019-07-11 23:08:52 DEBUG install File "/var/lib/juju/agents/unit-cinder-purestorage-b-0/.venv/lib/python3.6/site-packages/charmhelpers/fetch/ubuntu.py", line 690, in _run_with_retries
2019-07-11 23:08:52 DEBUG install result = subprocess.check_call(cmd, **kwargs)
2019-07-11 23:08:52 DEBUG install File "/usr/lib/python3.6/subprocess.py", line 311, in check_call
2019-07-11 23:08:52 DEBUG install raise CalledProcessError(retcode, cmd)
2019-07-11 23:08:52 DEBUG install subprocess.CalledProcessError: Command '['apt-get', '--assume-yes', '--option=Dpkg::Options::=--force-confold', 'install', 'python3-purestorage']' returned non-zero exit status 100.
2019-07-11 23:08:52 ERROR juju.worker.uniter.operation runhook.go:132 hook "install" failed: exit status 1

Tags: uosci
Revision history for this message
Ryan Beisner (1chb1n) wrote :
Ryan Beisner (1chb1n)
Changed in charm-cinder-pure-storage:
status: New → 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.