Bug #21993
closed"ceph osd create" is not idempotent
0%
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.
Updated by Kefu Chai over 6 years ago
- Status changed from New to Fix Under Review
- Assignee set to Kefu Chai
- Component(RADOS) Monitor added
Updated by Kefu Chai over 6 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to luminous
add backport=luminous, because i think it could help to silence some false alarms in rados qa run with luminous branch also.
Updated by Nathan Cutler over 6 years ago
- Copied to Backport #22019: luminous: "ceph osd create" is not idempotent added
Updated by Nathan Cutler almost 6 years ago
- Status changed from Pending Backport to Resolved