Activity log for bug #2007587

Date Who What changed Old value New value Message
2023-02-16 15:39:14 Diko Parvanov bug added bug
2023-02-17 06:04:22 Diko Parvanov description Upgrading the vault charm from charmstore latest stable revision 54 to ch:vault 1.7/stable fails The vault channel was configured as stable on the charmstore charm, which apparently goes to tracking: 1.10/stable Changing the charm to 1.7/stable changes also the tracking to 1.7/stable, trying to downgrade manually (I don't think this is a good idea at all): snap refresh --amend --channel=1.7/stable vault error: cannot refresh "vault": snap "vault" has running apps (vault), pids: 212762 service vault stop followed by the refresh command works fine. Traceback: Traceback (most recent call last): File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 74, in main bus.dispatch(restricted=restricted_mode) File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 390, in dispatch _invoke(other_handlers) File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 359, in _invoke handler.invoke() File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 181, in invoke self._action(*args) File "/var/lib/juju/agents/unit-vault-0/charm/reactive/vault_handlers.py", line 188, in snap_refresh snap.refresh('vault', channel=channel) File "/var/lib/juju/agents/unit-vault-0/charm/lib/charms/layer/snap.py", line 113, in refresh _refresh_store(snapname, **kw) File "/var/lib/juju/agents/unit-vault-0/charm/lib/charms/layer/snap.py", line 421, in _refresh_store out = subprocess.check_output(cmd, stderr=subprocess.STDOUT) File "/usr/lib/python3.8/subprocess.py", line 415, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.8/subprocess.py", line 516, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['snap', 'refresh', '--amend', '--channel=1.7/stable', 'vault']' returned non-zero exit status 1. Upgrading the vault charm from charmstore latest stable revision 54 to ch:vault 1.7/stable fails The vault channel was configured as stable on the charmstore charm, which apparently goes to tracking: 1.10/stable Changing the charm to 1.7/stable changes also the tracking to 1.7/stable, trying to downgrade manually (I don't think this is a good idea at all): snap refresh --amend --channel=1.7/stable vault error: cannot refresh "vault": snap "vault" has running apps (vault), pids: 212762 service vault stop followed by the refresh command works fine. Traceback: Traceback (most recent call last):   File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/__init__.py", line 74, in main     bus.dispatch(restricted=restricted_mode)   File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 390, in dispatch     _invoke(other_handlers)   File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 359, in _invoke     handler.invoke()   File "/var/lib/juju/agents/unit-vault-0/.venv/lib/python3.8/site-packages/charms/reactive/bus.py", line 181, in invoke     self._action(*args)   File "/var/lib/juju/agents/unit-vault-0/charm/reactive/vault_handlers.py", line 188, in snap_refresh     snap.refresh('vault', channel=channel)   File "/var/lib/juju/agents/unit-vault-0/charm/lib/charms/layer/snap.py", line 113, in refresh     _refresh_store(snapname, **kw)   File "/var/lib/juju/agents/unit-vault-0/charm/lib/charms/layer/snap.py", line 421, in _refresh_store     out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)   File "/usr/lib/python3.8/subprocess.py", line 415, in check_output     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,   File "/usr/lib/python3.8/subprocess.py", line 516, in run     raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['snap', 'refresh', '--amend', '--channel=1.7/stable', 'vault']' returned non-zero exit status 1. testing: juju deploy cs:vault Located charm "vault" in charm-store, revision 54 juju config vault channel stable juju ssh vault/0 snap info vault | grep tracking tracking: 1.10/stable
2023-02-24 10:40:36 Alex Kavanagh summary Upgrading vault from charmstore stable to 1.7/stable fails Switching charmhub channels with default config for the snap version can lead to charm errors (was: Upgrading vault from charmstore stable to 1.7/stable fails)
2023-02-24 10:42:05 Alex Kavanagh vault-charm: importance Undecided High
2023-02-24 10:42:05 Alex Kavanagh vault-charm: status New Triaged
2023-04-07 09:03:46 Andrea Ieri tags bseng-1077
2023-04-11 10:36:37 Mert Kirpici vault-charm: assignee Mert Kirpici (mertkirpici)
2023-04-13 19:40:06 Mert Kirpici vault-charm: status Triaged In Progress
2023-04-20 07:51:32 Robert Gildein vault-charm: assignee Mert Kirpici (mertkirpici) Robert Gildein (rgildein)
2023-05-22 15:34:24 Felipe Reyes nominated for series vault-charm/1.7
2023-05-22 15:34:24 Felipe Reyes bug task added vault-charm/1.7
2023-05-22 15:34:24 Felipe Reyes nominated for series vault-charm/1.6
2023-05-22 15:34:24 Felipe Reyes bug task added vault-charm/1.6
2023-05-22 15:34:24 Felipe Reyes nominated for series vault-charm/1.5
2023-05-22 15:34:24 Felipe Reyes bug task added vault-charm/1.5
2023-05-22 15:34:24 Felipe Reyes nominated for series vault-charm/1.8
2023-05-22 15:34:24 Felipe Reyes bug task added vault-charm/1.8
2023-06-12 11:05:30 Alex Kavanagh bug task added charm-guide
2023-07-07 15:21:07 Robert Gildein vault-charm: status In Progress Fix Committed
2023-07-20 08:12:54 Robert Gildein charm-guide: status New In Progress
2023-07-20 08:12:57 Robert Gildein vault-charm/1.5: status New In Progress
2023-07-20 08:12:59 Robert Gildein vault-charm/1.6: status New In Progress
2023-07-20 08:13:02 Robert Gildein vault-charm/1.7: status New In Progress
2023-07-20 08:13:04 Robert Gildein vault-charm/1.8: status New In Progress
2023-07-20 08:13:09 Robert Gildein charm-guide: assignee Robert Gildein (rgildein)
2023-07-20 08:13:11 Robert Gildein vault-charm/1.5: assignee Robert Gildein (rgildein)
2023-07-20 08:13:15 Robert Gildein vault-charm/1.6: assignee Robert Gildein (rgildein)
2023-07-20 08:13:17 Robert Gildein vault-charm/1.7: assignee Robert Gildein (rgildein)
2023-07-20 08:13:18 Robert Gildein vault-charm/1.8: assignee Robert Gildein (rgildein)
2023-07-20 15:31:22 Peter Matulis charm-guide: status In Progress Fix Released