2018-01-29 22:36:04 ERROR juju-log mon:43: Unable to initialize device: /dev/sdb 2018-01-29 22:36:04 DEBUG mon-relation-changed Traceback (most recent call last): 2018-01-29 22:36:04 DEBUG mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-5/charm/hooks/mon-relation-changed", line 559, in <module> 2018-01-29 22:36:04 DEBUG mon-relation-changed hooks.execute(sys.argv) 2018-01-29 22:36:04 DEBUG mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-5/charm/hooks/charmhelpers/core/hookenv.py", line 800, in execute 2018-01-29 22:36:04 DEBUG mon-relation-changed self._hooks[hook_name]() 2018-01-29 22:36:04 DEBUG mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-5/charm/hooks/mon-relation-changed", line 486, in mon_relation 2018-01-29 22:36:04 DEBUG mon-relation-changed prepare_disks_and_activate() 2018-01-29 22:36:04 DEBUG mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-5/charm/hooks/mon-relation-changed", line 389, in prepare_disks_and_activate 2018-01-29 22:36:04 DEBUG mon-relation-changed config('bluestore')) 2018-01-29 22:36:04 DEBUG mon-relation-changed File "lib/ceph/utils.py", line 1436, in osdize 2018-01-29 22:36:04 DEBUG mon-relation-changed bluestore) 2018-01-29 22:36:04 DEBUG mon-relation-changed File "lib/ceph/utils.py", line 1504, in osdize_dev 2018-01-29 22:36:04 DEBUG mon-relation-changed subprocess.check_call(cmd) 2018-01-29 22:36:04 DEBUG mon-relation-changed File "/usr/lib/python3.5/subprocess.py", line 581, in check_call 2018-01-29 22:36:04 DEBUG mon-relation-changed raise CalledProcessError(retcode, cmd) 2018-01-29 22:36:04 DEBUG mon-relation-changed subprocess.CalledProcessError: Command '['ceph-disk', 'prepare', '--fs-type', 'xfs', '--zap-disk', '--filestore', '/dev/sdb']' returned non-zero exit status 1 2018-01-29 22:36:04 ERROR juju.worker.uniter.operation runhook.go:114 hook "mon-relation-changed" failed: exit status 1
2018-01-29 22:36:04 ERROR juju-log mon:43: Unable to initialize device: /dev/sdb changed Traceback (most recent call last): changed File "/var/lib/ juju/agents/ unit-ceph- osd-5/charm/ hooks/mon- relation- changed" , line 559, in <module> changed hooks.execute( sys.argv) changed File "/var/lib/ juju/agents/ unit-ceph- osd-5/charm/ hooks/charmhelp ers/core/ hookenv. py", line 800, in execute changed self._hooks[ hook_name] () changed File "/var/lib/ juju/agents/ unit-ceph- osd-5/charm/ hooks/mon- relation- changed" , line 486, in mon_relation changed prepare_ disks_and_ activate( ) changed File "/var/lib/ juju/agents/ unit-ceph- osd-5/charm/ hooks/mon- relation- changed" , line 389, in prepare_ disks_and_ activate changed config( 'bluestore' )) changed File "lib/ceph/ utils.py" , line 1436, in osdize changed bluestore) changed File "lib/ceph/ utils.py" , line 1504, in osdize_dev changed subprocess. check_call( cmd) changed File "/usr/lib/ python3. 5/subprocess. py", line 581, in check_call changed raise CalledProcessEr ror(retcode, cmd) changed subprocess. CalledProcessEr ror: Command '['ceph-disk', 'prepare', '--fs-type', 'xfs', '--zap-disk', '--filestore', '/dev/sdb']' returned non-zero exit status 1 uniter. operation runhook.go:114 hook "mon-relation- changed" failed: exit status 1
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 DEBUG mon-relation-
2018-01-29 22:36:04 ERROR juju.worker.