Comment 0 for bug 1994167

Revision history for this message
Felipe Reyes (freyes) wrote :

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.