Project

General

Profile

Actions

Bug #21993

closed

"ceph osd create" is not idempotent

Added by Kefu Chai over 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Tests
Target version:
-
% Done:

0%

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

Description

it is not without the "id" and "uuid" parameter.

but since it's considered deprecated. this tick is just for the record, in hope that people can reach here by searching using the keyword.

/a/kchai-2017-10-31_13:59:11-rados-wip-kefu-testing-2017-10-31-1919-distro-basic-mira/1796062 failed because the ceph cli injected a socket failure while reading from monitor, so the monitor received a RESET from its client when sending the reply of "ceph osd create" command. that's why the client sends 3 "ceph osd create" commands in a row with "CEPH_CLI_TEST_DUP_COMMAND" set.

that's why the returned osd id is 6 not 5.

probably we should always pass the uuid parameter in the test to avoid this problem.


Related issues 1 (0 open1 closed)

Copied to RADOS - Backport #22019: luminous: "ceph osd create" is not idempotentResolvedShinobu KinjoActions
Actions

Also available in: Atom PDF