Project

General

Profile

Actions

Bug #59206

open

cephadm source on github

Added by Riaan pretorius about 1 year ago. Updated 12 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

I downloaded the cephadm pythion script from github and tried a deploy. This happens:

Adding key to root@localhost authorized_keys...
Adding host zacptprsvmrs01.localdomain...
Deploying mon service with default placement...
Deploying mgr service with default placement...
Deploying crash service with default placement...
Deploying ceph-exporter service with default placement...
Non-zero exit code 22 from /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=europe-west4-docker.pkg.dev/customdock/rke2-docker-images/ceph/ceph:v17 -e NODE_NAME=zacptprsvmrs01.localdomain -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/70bd5ab2-cd6c-11ed-b539-b68c24932762:/var/log/ceph:z -v /tmp/ceph-tmppmu4omnl:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpx902eb90:/etc/ceph/ceph.conf:z europe-west4-docker.pkg.dev/customdock/rke2-docker-images/ceph/ceph:v17 orch apply ceph-exporter
/usr/bin/ceph: stderr Error EINVAL: Usage:
/usr/bin/ceph: stderr   ceph orch apply -i <yaml spec> [--dry-run]
/usr/bin/ceph: stderr   ceph orch apply <service_type> [--placement=<placement_string>] [--unmanaged]
/usr/bin/ceph: stderr
Traceback (most recent call last):
  File "/usr/local/bin/cephadm", line 9669, in <module>
    main()
  File "/usr/local/bin/cephadm", line 9657, in main
    r = ctx.func(ctx)
  File "/usr/local/bin/cephadm", line 2221, in _default_image
    return func(ctx)
  File "/usr/local/bin/cephadm", line 5790, in command_bootstrap
    prepare_ssh(ctx, cli, wait_for_mgr_restart)
  File "/usr/local/bin/cephadm", line 5291, in prepare_ssh
    cli(['orch', 'apply', t])
  File "/usr/local/bin/cephadm", line 5730, in cli
    ).run(timeout=timeout, verbosity=verbosity)
  File "/usr/local/bin/cephadm", line 4161, in run
    desc=self.entrypoint, timeout=timeout, verbosity=verbosity)
  File "/usr/local/bin/cephadm", line 1869, in call_throws
    raise RuntimeError('Failed command: %s' % ' '.join(command))
RuntimeError: Failed command: /usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --entrypoint /usr/bin/ceph --init -e CONTAINER_IMAGE=europe-west4-docker.pkg.dev/customdock/rke2-docker-images/ceph/ceph:v17 -e NODE_NAME=zacptprsvmrs01.localdomain -e CEPH_USE_RANDOM_NONCE=1 -v /var/log/ceph/70bd5ab2-cd6c-11ed-b539-b68c24932762:/var/log/ceph:z -v /tmp/ceph-tmppmu4omnl:/etc/ceph/ceph.client.admin.keyring:z -v /tmp/ceph-tmpx902eb90:/etc/ceph/ceph.conf:z europe-west4-docker.pkg.dev/customdock/rke2-docker-images/ceph/ceph:v17 orch apply ceph-exporter

Then i installed the RPM version and it does not do that error

Actions

Also available in: Atom PDF