Comment 2 for bug 1746118

Revision history for this message
Christian Reis (kiko) wrote :

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