Project

General

Profile

Backport #22164

Updated by Nathan Cutler over 6 years ago

https://github.com/ceph/ceph/pull/19023 <pre> 
 2017-11-08 10:34:01.192 7f081a754700    1 -- 172.21.15.184:0/767749490 --> 172.21.15.130:6789/0 -- mon_command({"prefix": "osd crush weight-set create-compat", "format": "json"} v 0) v1 -- ?+0 0x5586373ec1c0 con 0x558637157f80 
 2017-11-08 10:34:01.192 7f082455a700    1 -- 172.21.15.184:0/767749490 <== mon.0 172.21.15.130:6789/0 99 ==== mon_command_ack([{"prefix": "osd crush weight-set create-compat", "format": "json"}]=-1 crush map contains one or more bucket(s) that are not straw2 v17) v1 
  ==== 160+0+0 (1021931112 0 0) 0x5586370ddb00 con 0x558637157f80 
 2017-11-08 10:34:01.192 7f0822556700 10 MonCommandCompletion::finish() 
 2017-11-08 10:34:01.192 7f0822556700 20 mgr Gil Switched to new thread state 0x55863732b080 
 2017-11-08 10:34:01.192 7f0822556700 20 mgr ~Gil Destroying new thread state 0x55863732b080 
 2017-11-08 10:34:01.192 7f0822556700 10 mgr notify_all notify_all: notify_all command 
 2017-11-08 10:34:01.192 7f081a754700    0 mgr[balancer] Error creating compat weight-set 
 2017-11-08 10:34:01.192 7f081a754700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'balancer' while running on mgr.x: 'NoneType' object has no attribute 'iteritems' 
 2017-11-08 10:34:01.192 7f081a754700 -1 balancer.serve: 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr Gil Switched to new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr ~Gil Destroying new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr Gil Switched to new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081cf99700    1 mgr[restful] Unknown request '' 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr ~Gil Destroying new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr Gil Switched to new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081cf99700 20 mgr ~Gil Destroying new thread state 0x55863732b1e0 
 2017-11-08 10:34:01.192 7f081a754700 -1 Traceback (most recent call last): 
   File "/usr/lib/ceph/mgr/balancer/module.py", line 359, in serve 
     if self.optimize(plan): 
   File "/usr/lib/ceph/mgr/balancer/module.py", line 596, in optimize 
     return self.do_crush_compat(plan) 
   File "/usr/lib/ceph/mgr/balancer/module.py", line 659, in do_crush_compat 
     orig_ws = { a: b for a, b in orig_ws.iteritems() if a >= 0 } 
 AttributeError: 'NoneType' object has no attribute 'iteritems' 

 </pre> 
 /a/sage-2017-11-08_06:17:14-rados-wip-sage-testing-2017-11-07-2228-distro-basic-smithi/1826109 

Back