Activity log for bug #1994167

Date Who What changed Old value New value Message
2022-10-25 18:20:32 Felipe Reyes bug added bug
2022-10-25 18:21:22 Felipe Reyes description ovn-central fails to install on s390x unit-ovn-central-0: 18:16:23 INFO unit.ovn-central/0.juju-log Installing prometheus-ovn-exporter from store unit-ovn-central-0: 18:16:23 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:34 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:44 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:44 ERROR unit.ovn-central/0.juju-log Hook error: Traceback (most recent call last): File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/charms/reactive/__init__.py", line 73, in main hookenv._run_atstart() File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/charmhelpers/core/hookenv.py", line 1348, in _run_atstart callback(*args, **kwargs) File "/var/lib/juju/agents/unit-ovn-central-0/charm/reactive/snap.py", line 100, in install snap.install(snapname, **snap_opts) File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 65, in install _install_store(snapname, **kw) File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 409, in _install_store _run_install() File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 292, in wrapped_f return self.call(f, *args, **kw) File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 358, in call do = self.iter(retry_state=retry_state) File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 331, in iter raise retry_exc.reraise() File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 167, in reraise raise self.last_attempt.result() File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result return self.__get_result() File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result raise self._exception File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 361, in call result = fn(*args, **kwargs) File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 396, in _run_install out = subprocess.check_output(cmd, stderr=subprocess.STDOUT) File "/usr/lib/python3.10/subprocess.py", line 420, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/usr/lib/python3.10/subprocess.py", line 524, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']' returned non-zero exit status 1. ovn-central fails to install on s390x, because there is no prometheus-ovn-exporter snap for this architecture, the other architecture that's missing too is ppc64el unit-ovn-central-0: 18:16:23 INFO unit.ovn-central/0.juju-log Installing prometheus-ovn-exporter from store unit-ovn-central-0: 18:16:23 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:34 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:44 ERROR unit.ovn-central/0.juju-log Installation failed cmd="['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']" returncode=1 output="b'error: snap "prometheus-ov n-exporter" is not available on stable for this\n architecture (s390x) but exists on other architectures (amd64, arm64).\n'" unit-ovn-central-0: 18:16:44 ERROR unit.ovn-central/0.juju-log Hook error: Traceback (most recent call last):   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/charms/reactive/__init__.py", line 73, in main     hookenv._run_atstart()   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/charmhelpers/core/hookenv.py", line 1348, in _run_atstart     callback(*args, **kwargs)   File "/var/lib/juju/agents/unit-ovn-central-0/charm/reactive/snap.py", line 100, in install     snap.install(snapname, **snap_opts)   File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 65, in install     _install_store(snapname, **kw)   File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 409, in _install_store     _run_install()   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 292, in wrapped_f     return self.call(f, *args, **kw)   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 358, in call     do = self.iter(retry_state=retry_state)   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 331, in iter     raise retry_exc.reraise()   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 167, in reraise     raise self.last_attempt.result()   File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result     return self.__get_result()   File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result     raise self._exception   File "/var/lib/juju/agents/unit-ovn-central-0/.venv/lib/python3.10/site-packages/tenacity/__init__.py", line 361, in call     result = fn(*args, **kwargs)   File "/var/lib/juju/agents/unit-ovn-central-0/charm/lib/charms/layer/snap.py", line 396, in _run_install     out = subprocess.check_output(cmd, stderr=subprocess.STDOUT)   File "/usr/lib/python3.10/subprocess.py", line 420, in check_output     return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,   File "/usr/lib/python3.10/subprocess.py", line 524, in run     raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['snap', 'install', '--channel=stable', 'prometheus-ovn-exporter']' returned non-zero exit status 1.
2022-10-25 18:21:40 Felipe Reyes bug task added snap-prometheus-ovn-exporter
2022-10-25 18:52:02 Felipe Reyes merge proposal linked https://code.launchpad.net/~freyes/snap-prometheus-ovn-exporter/+git/snap-prometheus-ovn-exporter/+merge/432143
2022-10-27 13:47:56 Felipe Reyes snap-prometheus-ovn-exporter: status New Fix Released
2022-10-27 13:48:05 Felipe Reyes snap-prometheus-ovn-exporter: assignee Felipe Reyes (freyes)
2022-10-27 13:48:17 Felipe Reyes charm-ovn-central: status New Invalid