Project

General

Profile

Actions

Bug #46398

closed

cephadm: can't use custom prometheus image

Added by Patrick Seidensal almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
cephadm/monitoring
Target version:
% Done:

0%

Source:
Tags:
Backport:
octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

INFO:cephadm:Non-zero exit code 1 from /usr/bin/podman run --rm --net=host --ipc=host -e CONTAINER_IMAGE=registry.suse.de/suse/containers/suse-caasp/5/containers/caasp/v5/prometheus-server:2.11.1 -e NODE_NAME=home --entrypoint stat registry.suse.de/suse/containers/suse-caasp/5/containers/caasp/v5/prometheus-server:2.11.1 -c %u %g /var/lib/ceph
INFO:cephadm:stat:stderr stat: cannot stat '/var/lib/ceph': No such file or directory
Traceback (most recent call last):
  File "cephadm", line 4866, in <module>

  File "cephadm", line 1205, in _default_image
    return func()
  File "cephadm", line 2905, in command_deploy
    uid, gid = extract_uid_gid_monitoring(daemon_type)
  File "cephadm", line 1869, in deploy_daemon
    else:
  File "cephadm", line 1525, in create_daemon_dirs
    # type: (str, str, Union[int, str], int, int, Optional[str], Optional[str]) ->  None
  File "cephadm", line 1271, in make_log_dir
    # type: (str, Optional[int], Optional[int]) -> str
  File "cephadm", line 1816, in extract_uid_gid
    img = args.image
  File "cephadm", line 2296, in run
    # type: (Optional[int]) -> str
  File "cephadm", line 884, in call_throws
    raise RuntimeError('Failed command: %s' % ' '.join(command))
RuntimeError: Failed command: /usr/bin/podman run --rm --net=host --ipc=host -e CONTAINER_IMAGE=registry.suse.de/suse/containers/suse-caasp/5/containers/caasp/v5/prometheus-server:2.11.1 -e NODE_NAME=home --entrypoint stat registry.suse.de/suse/containers/suse-caasp/5/containers/caasp/v5/prometheus-server:2.11.1 -c %u %g /var/lib/ceph


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #47745: cephadm: adopt {prometheus,grafana,alertmanager} fails with "RuntimeError: uid/gid not found"ResolvedTim Serong

Actions
Actions #1

Updated by Patrick Seidensal almost 4 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Patrick Seidensal almost 4 years ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 35961
Actions #3

Updated by Sebastian Wagner almost 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #4

Updated by Sebastian Wagner over 3 years ago

  • Status changed from Pending Backport to Resolved
  • Target version set to v15.2.5
Actions #5

Updated by Tim Serong over 3 years ago

  • Related to Bug #47745: cephadm: adopt {prometheus,grafana,alertmanager} fails with "RuntimeError: uid/gid not found" added
Actions

Also available in: Atom PDF