qa - vault failure on xenial

Bug #1881302 reported by Adam Stokes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Kubernetes Control Plane Charm
Fix Released
High
Cory Johns
VaultLocker Charm Layer
Fix Released
High
Cory Johns

Bug Description

Analyzer: https://jenkaas.s3.amazonaws.com/954f9e54-6361-41e4-a16b-d13df1ecb640/index.html
Crashdump: https://jenkaas.s3.amazonaws.com/954f9e54-6361-41e4-a16b-d13df1ecb640/artifacts.tar.gz

Traceback:

Traceback (most recent call last):
File "/var/lib/juju/agents/unit-kubernetes-master-1/.venv/lib/python3.5/site-packages/charms/reactive/__init__.py", line 74, in main
bus.dispatch(restricted=restricted_mode)
File "/var/lib/juju/agents/unit-kubernetes-master-1/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 390, in dispatch
_invoke(other_handlers)
File "/var/lib/juju/agents/unit-kubernetes-master-1/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 359, in _invoke
handler.invoke()
File "/var/lib/juju/agents/unit-kubernetes-master-1/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 181, in invoke
self._action(*args)
File "/var/lib/juju/agents/unit-kubernetes-master-1/charm/reactive/kubernetes_master.py", line 2631, in create_secure_storage
vaultlocker.create_encrypted_loop_mount(encryption_conf_dir)
File "lib/charms/layer/vaultlocker.py", line 173, in create_encrypted_loop_mount
check_call(['losetup', '-f', backing_file])
File "/usr/lib/python3.5/subprocess.py", line 576, in check_call
retcode = call(*popenargs, **kwargs)
File "lib/charms/layer/status.py", line 186, in _patched_call
return _orig_call(cmd, *args, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1490, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert 'PosixPath' object to str implicitly
Traceback (most recent call last):
File "/var/lib/juju/agents/unit-kubernetes-master-0/.venv/lib/python3.5/site-packages/charms/reactive/__init__.py", line 74, in main
bus.dispatch(restricted=restricted_mode)
File "/var/lib/juju/agents/unit-kubernetes-master-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 390, in dispatch
_invoke(other_handlers)
File "/var/lib/juju/agents/unit-kubernetes-master-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 359, in _invoke
handler.invoke()
File "/var/lib/juju/agents/unit-kubernetes-master-0/.venv/lib/python3.5/site-packages/charms/reactive/bus.py", line 181, in invoke
self._action(*args)
File "/var/lib/juju/agents/unit-kubernetes-master-0/charm/reactive/kubernetes_master.py", line 2631, in create_secure_storage
vaultlocker.create_encrypted_loop_mount(encryption_conf_dir)
File "lib/charms/layer/vaultlocker.py", line 173, in create_encrypted_loop_mount
check_call(['losetup', '-f', backing_file])
File "/usr/lib/python3.5/subprocess.py", line 576, in check_call
retcode = call(*popenargs, **kwargs)
File "lib/charms/layer/status.py", line 186, in _patched_call
return _orig_call(cmd, *args, **kwargs)
File "/usr/lib/python3.5/subprocess.py", line 557, in call
with Popen(*popenargs, **kwargs) as p:
File "/usr/lib/python3.5/subprocess.py", line 947, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.5/subprocess.py", line 1490, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert 'PosixPath' object to str implicitly

Cory Johns (johnsca)
Changed in charmed-kubernetes-testing:
status: New → In Progress
assignee: nobody → Cory Johns (johnsca)
importance: Undecided → Critical
milestone: none → 1.18+ck1
milestone: 1.18+ck1 → none
Revision history for this message
Cory Johns (johnsca) wrote :
Changed in charmed-kubernetes-testing:
status: In Progress → Fix Committed
George Kraft (cynerva)
Changed in charmed-kubernetes-testing:
importance: Critical → High
Changed in charm-kubernetes-master:
importance: Undecided → High
Changed in charm-layer-vaultlocker:
importance: Undecided → High
Changed in charm-kubernetes-master:
assignee: nobody → Cory Johns (johnsca)
Changed in charm-layer-vaultlocker:
assignee: nobody → Cory Johns (johnsca)
no longer affects: charmed-kubernetes-testing
Changed in charm-kubernetes-master:
status: New → Fix Committed
Changed in charm-layer-vaultlocker:
status: New → Fix Committed
Cory Johns (johnsca)
Changed in charm-kubernetes-master:
milestone: none → 1.18+ck2
Changed in charm-layer-vaultlocker:
milestone: none → 1.18+ck2
Cory Johns (johnsca)
tags: added: backport-needed
Revision history for this message
Cory Johns (johnsca) wrote :
tags: removed: backport-needed
Changed in charm-kubernetes-master:
status: Fix Committed → Fix Released
Changed in charm-layer-vaultlocker:
status: Fix Committed → 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.