snap "prometheus-ovn-exporter" is not available on stable for this architecture (s390x) but exists on other architectures (amd64, arm64).

Bug #1994167 reported by Felipe Reyes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-central
Invalid
Undecided
Unassigned
snap-prometheus-ovn-exporter
Fix Released
Undecided
Felipe Reyes

Bug Description

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.

Related branches

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

$ uname -a
Linux freyes-bastion 5.4.0-121-generic #137-Ubuntu SMP Wed Jun 15 13:33:07 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ snap info prometheus-ovn-exporter
name: prometheus-ovn-exporter
summary: Prometheus OVN Exporter
publisher: Canonical✓
store-url: https://snapcraft.io/prometheus-ovn-exporter
contact: <email address hidden>
license: Apache-2.0
description: |
  Exporter that exposes information gathered from OVN for use by the Prometheus monitoring system
snap-id: LJIr61ZNZm1XkJcszJCnS4o4Y3hzq489
channels:
  latest/stable: 1.0.6 2022-10-22 (11) 3MB -
  latest/candidate: ↑
  latest/beta: ↑
  latest/edge: 1.0.6 2022-10-27 (12) 3MB -

Changed in snap-prometheus-ovn-exporter:
status: New → Fix Released
assignee: nobody → Felipe Reyes (freyes)
Changed in charm-ovn-central:
status: New → Invalid
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.