Actions
Bug #44884
openmon: weight-set create may return on uncomitted state
Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:
0%
Source:
Tags:
Backport:
octopus,nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2020-04-01T03:32:27.708 INFO:teuthology.orchestra.run.smithi189:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph --log-early quorum_status 2020-04-01T03:32:27.771 INFO:tasks.workunit.client.0.smithi138.stderr:weight-set for pool 'barset' already created 2020-04-01T03:32:27.771 INFO:tasks.workunit.client.0.smithi138.stderr:+ ceph osd crush weight-set ls 2020-04-01T03:32:27.772 INFO:tasks.workunit.client.0.smithi138.stderr:+ grep fooset 2020-04-01T03:32:28.081 INFO:teuthology.orchestra.run.smithi189.stdout:{"election_epoch":46,"quorum":[0,1,2],"quorum_names":["b","a","c"],"quorum_leader_name":"b","quorum_age":6,"features":{"quorum_con":"4540138292837744639","quorum_mon":["kraken","luminous","mimic","osdmap-prune","nautilus","octopus","pacific"]}," 2020-04-01T03:32:28.095 INFO:tasks.mon_thrash.ceph_manager:quorum_status is {"election_epoch":46,"quorum":[0,1,2],"quorum_names":["b","a","c"],"quorum_leader_name":"b","quorum_age":6,"features":{"quorum_con":"4540138292837744639","quorum_mon":["kraken","luminous","mimic","osdmap-prune","nautilus","octopus","pacific 2020-04-01T03:32:28.143 INFO:tasks.workunit.client.0.smithi138.stdout:fooset 2020-04-01T03:32:28.143 INFO:tasks.workunit.client.0.smithi138.stderr:+ ceph osd crush weight-set ls 2020-04-01T03:32:28.144 INFO:tasks.workunit.client.0.smithi138.stderr:+ grep barset 2020-04-01T03:32:28.498 DEBUG:teuthology.orchestra.run:got remote process result: 1
/a/sage-2020-03-31_23:26:44-rados-wip-sage3-testing-2020-03-31-1656-distro-basic-smithi/4911505
Updated by Sage Weil about 4 years ago
if (!newcrush.create_choose_args(pool, positions)) { if (pool == CrushWrapper::DEFAULT_CHOOSE_ARGS) { ss << "compat weight-set already created"; } else { ss << "weight-set for pool '" << osdmap.get_pool_name(pool) << "' already created"; } goto reply; }
we need to verify that the pending matches committed, or else goto wait.
Updated by Laura Flores 3 months ago
/a/yuriw-2024-02-01_21:25:50-rados-wip-yuri2-testing-2024-02-01-0939-pacific-distro-default-smithi/7542760
Actions