Add crush weight and reweight output

This commit is contained in:
2018-11-01 23:17:38 -04:00
parent 9fcce4b09a
commit a2f4102cb5
2 changed files with 35 additions and 20 deletions

View File

@ -953,7 +953,6 @@ def update_zookeeper():
'uuid': osd['uuid'],
'up': osd['up'],
'in': osd['in'],
'weight': osd['weight'],
'primary_affinity': osd['primary_affinity']
}
})
@ -968,6 +967,8 @@ def update_zookeeper():
'var': osd['var'],
'pgs': osd['pgs'],
'kb': osd['kb'],
'weight': osd['crush_weight'],
'reweight': osd['reweight'],
}
})
# Parse the status data