Project

General

Profile

Actions

Bug #8323

closed

mon_osd_allow_primary_affinity Can not be Injected

Added by Mike Dawson almost 10 years ago. Updated over 9 years ago.

Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
chef
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
4 - irritation
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

  1. ceph tell mon.* injectargs 'mon_osd_allow_primary_affinity true'

mon.node1: Error EINVAL: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true
mon.node1: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true
mon.node2: Error EINVAL: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true
mon.node2: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true
mon.node3: Error EINVAL: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true
mon.node3: injectargs: failed to parse arguments: mon_osd_allow_primary_affinity,true


Related issues 1 (0 open1 closed)

Is duplicate of Ceph - Bug #9372: injectarg boolean option is discardedResolvedLoïc Dachary09/06/2014

Actions
Actions #1

Updated by Mike Dawson almost 10 years ago

I was doing it wrong (forgot the "--"). Fixing it still seems a bit off though. Please note the "injectargs: failed to parse arguments: true".

  1. ceph tell mon.* injectargs '--mon_osd_allow_primary_affinity true'
    mon.node1: Error EINVAL: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'
    mon.node1: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'
    mon.node2: Error EINVAL: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'
    mon.node2: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'
    mon.node3: Error EINVAL: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'
    mon.node3: injectargs: failed to parse arguments: true
    mon_osd_allow_primary_affinity = 'true'

At least it does seem to work when using the proper syntax.

Actions #2

Updated by Loïc Dachary over 9 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF