Project

General

Profile

Actions

Bug #44823

closed

cephadm: tries to parse arguments command passed to shell

Added by Patrick Donnelly about 4 years ago. Updated almost 4 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
cephadm (binary)
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

TASK [use available devices] ***************************************************************************************************************************************************************************************
fatal: [mon-000]: FAILED! => {
    "changed": true,
    "cmd": "/root/cephadm shell ceph orch apply osd --all-available-devices",
    "delta": "0:00:00.201312",
    "end": "2020-03-30 23:45:31.394964",
    "rc": 2,
    "start": "2020-03-30 23:45:31.193652" 
}

STDERR:

usage: cephadm [-h] [--image IMAGE] [--docker] [--data-dir DATA_DIR]
               [--log-dir LOG_DIR] [--logrotate-dir LOGROTATE_DIR]
               [--unit-dir UNIT_DIR] [--verbose] [--timeout TIMEOUT]
               [--retry RETRY]
               {version,pull,inspect-image,ls,list-networks,adopt,rm-daemon,rm-cluster,run,shell,enter,ceph-volume,unit,logs,bootstrap,deploy,check-host,prepare-host,add-repo,rm-repo,install}
               ...
cephadm: error: unrecognized arguments: --all-available-devices

Actions #1

Updated by Sebastian Wagner about 4 years ago

right. should be

/root/cephadm shell -- ceph orch apply osd --all-available-devices
Actions #2

Updated by Sebastian Wagner about 4 years ago

  • Status changed from New to Triaged
Actions #3

Updated by Patrick Donnelly about 4 years ago

  • Status changed from Triaged to Won't Fix

Sebastian Wagner wrote:

right. should be

[...]

Ah, that is right. Thanks!

Actions #4

Updated by Sebastian Wagner almost 4 years ago

  • Target version deleted (v16.0.0)
Actions

Also available in: Atom PDF