Project

General

Profile

Actions

Bug #46429

closed

cephadm fails bootstrap with new Podman Versions 2.0.1 and 2.0.2

Added by Gunther Heinrich almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
cephadm
Target version:
% Done:

0%

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

Description

Podman had a major new release recently and it seems that cephadm cannot bootstrap a new cluster because of it.
I installed the latest version of Podman from their repositories and followed the basic instructions to create a new Ceph cluster and had that error below. Since a new version of Podman was released one days ago I tried it again with that version but had the same result.

INFO:cephadm:Verifying podman|docker is present...
INFO:cephadm:Verifying lvm2 is present...
INFO:cephadm:Verifying time synchronization is in place...
INFO:cephadm:Unit ntp.service is enabled and running
INFO:cephadm:Repeating the final host check...
INFO:cephadm:podman|docker (/usr/bin/podman) is present
INFO:cephadm:systemctl is present
INFO:cephadm:lvcreate is present
INFO:cephadm:Unit ntp.service is enabled and running
INFO:cephadm:Host looks OK
INFO:root:Cluster fsid: 943951ee-c0db-11ea-b5d7-0dda3f918e2e
INFO:cephadm:Verifying IP 192.168.56.10 port 3300 ...
INFO:cephadm:Verifying IP 192.168.56.10 port 6789 ...
INFO:cephadm:Mon IP 192.168.56.10 is in CIDR network 192.168.56.0/25
INFO:cephadm:Pulling latest docker.io/ceph/ceph:v15 container...
INFO:cephadm:Extracting ceph user uid/gid from container image...
INFO:cephadm:Creating initial keys...
INFO:cephadm:Creating initial monmap...
INFO:cephadm:Creating mon...
INFO:cephadm:Waiting for mon to start...
INFO:cephadm:Waiting for mon...
INFO:cephadm:/usr/bin/ceph:timeout after 30 seconds
INFO:cephadm:Non-zero exit code -9 from /usr/bin/podman run --rm --net=host -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=cephtest -v /var/lib/ceph/943951ee-c0db-11ea-b5d7-0dda3f918e2e/mon.cephtest:/var/lib/ceph/mon/ceph-cephtest:z -v /tmp/ceph-tmpsnxe3x02:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpnfxlyp0o:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph docker.io/ceph/ceph:v15 status
INFO:cephadm:mon not available, waiting (1/10)...
INFO:cephadm:/usr/bin/ceph:timeout after 30 seconds
INFO:cephadm:Non-zero exit code -9 from /usr/bin/podman run --rm --net=host -e CONTAINER_IMAGE=docker.io/ceph/ceph:v15 -e NODE_NAME=cephtest -v /var/lib/ceph/943951ee-c0db-11ea-b5d7-0dda3f918e2e/mon.cephtest:/var/lib/ceph/mon/ceph-cephtest:z -v /tmp/ceph-tmpsnxe3x02:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpnfxlyp0o:/etc/ceph/ceph.conf:z --entrypoint /usr/bin/ceph docker.io/ceph/ceph:v15 status
INFO:cephadm:mon not available, waiting (2/10)...
KeyboardInterrupt
Traceback (most recent call last):
  File "/usr/sbin/cephadm", line 4282, in <module>
    r = args.func()
  File "/usr/sbin/cephadm", line 972, in _default_image
    return func()
  File "/usr/sbin/cephadm", line 2266, in command_bootstrap
    is_available('mon', is_mon_available)
  File "/usr/sbin/cephadm", line 757, in is_available
    if func():
  File "/usr/sbin/cephadm", line 2262, in is_mon_available
    out, err, ret = call(c.run_cmd(),
  File "/usr/sbin/cephadm", line 630, in call
    reads, _, _ = select.select(


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #46206: cephadm: podman 2.0Rejected

Actions
Actions

Also available in: Atom PDF