Project

General

Profile

Bug #44747

orch: `ceph orch ls --service_type` is broken

Added by Sebastian Wagner 8 months ago. Updated 15 days ago.

Status:
Can't reproduce
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

$ ceph orch ls --service_type crash
Invalid command: ls --service-type not in start|stop|restart|redeploy|reconfig
orch start|stop|restart|redeploy|reconfig <service_name> :  Start, stop, restart, redeploy, or reconfig an entire service (i.e. all daemons)
Error EINVAL: invalid command

looks like it conflicts with ceph orch

History

#1 Updated by Sebastian Wagner 8 months ago

This looks actually random. In the same session:

$ ceph orch ls --export     
Invalid command: ls --export not in start|stop|restart|redeploy|reconfig
orch start|stop|restart|redeploy|reconfig <service_name> :  Start, stop, restart, redeploy, or reconfig an entire service (i.e. all daemons)
Error EINVAL: invalid command
$ ceph orch ls --export              
placement:
  host_pattern: '*'
service_name: crash
service_type: crash

#2 Updated by Sebastian Wagner 8 months ago

  • Subject changed from orch: `ceph orch ls --service-type` is broken to orch: `ceph orch ls --service_type` is broken
  • Description updated (diff)

#3 Updated by Matthew Oliver 7 months ago

I guess step one is to confirm this is still an issue. I had a script run `ceph orch ls --export` until it got a failure. And after over 500 runs I still nothing. I deployed an RGW, so unless this is related particularly to crash. Though I assume not as it seem more a failure in how the argparese logic is run, maybe?

Any other tips on what you did to get into this situation?

#4 Updated by Sebastian Wagner 7 months ago

  • Priority changed from Urgent to Normal

#5 Updated by Sebastian Wagner 7 months ago

no idea. let's wait, till someone else complains.

#6 Updated by Sebastian Wagner 15 days ago

  • Status changed from New to Can't reproduce

Also available in: Atom PDF