[log snippet]
2016-03-18 11:46:32 INFO mon-relation-changed Creating new GPT entries.
2016-03-18 11:46:32 INFO mon-relation-changed The operation has completed successfully.
2016-03-18 11:46:34 INFO mon-relation-changed The operation has completed successfully.
2016-03-18 11:46:36 INFO mon-relation-changed The operation has completed successfully.
2016-03-18 11:46:37 INFO mon-relation-changed mkfs.xfs: cannot open /dev/sdb1: No such device or address
2016-03-18 11:46:37 INFO mon-relation-changed ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb1']' returned non-zero exit status 1
2016-03-18 11:46:37 ERROR juju-log mon:72: Unable to initialize device: /dev/sdb
2016-03-18 11:46:37 INFO mon-relation-changed Traceback (most recent call last):
2016-03-18 11:46:37 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-2/charm/hooks/mon-relation-changed", line 260, in <module>
2016-03-18 11:46:37 INFO mon-relation-changed hooks.execute(sys.argv)
2016-03-18 11:46:37 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-2/charm/hooks/charmhelpers/core/hookenv.py", line 717, in execute
2016-03-18 11:46:37 INFO mon-relation-changed self._hooks[hook_name]()
2016-03-18 11:46:37 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-2/charm/hooks/mon-relation-changed", line 201, in mon_relation
2016-03-18 11:46:37 INFO mon-relation-changed config('ignore-device-errors'))
2016-03-18 11:46:37 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-2/charm/hooks/ceph.py", line 401, in osdize
2016-03-18 11:46:37 INFO mon-relation-changed osdize_dev(dev, osd_format, osd_journal, reformat_osd, ignore_errors)
2016-03-18 11:46:37 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-osd-2/charm/hooks/ceph.py", line 450, in osdize_dev
2016-03-18 11:46:37 INFO mon-relation-changed raise e
2016-03-18 11:46:37 INFO mon-relation-changed subprocess.CalledProcessError: Command '['ceph-disk', 'prepare', '--fs-type', u'xfs', '--zap-disk', u'/dev/sdb']' returned non-zero exit status 1
2016-03-18 11:46:37 ERROR juju.worker.uniter.operation runhook.go:107 hook "mon-relation-changed" failed: exit status 1
I think I hit another case of this with cs:trusty/ ceph-osd- 120.
This is also from a CI run: https:/ /ci.lscape. net/job/ landscape- system- tests/1441/
The logs will persist for about 20 days.
[log snippet] changed Creating new GPT entries. changed The operation has completed successfully. changed The operation has completed successfully. changed The operation has completed successfully. changed mkfs.xfs: cannot open /dev/sdb1: No such device or address changed ceph-disk: Error: Command '['/sbin/mkfs', '-t', 'xfs', '-f', '-i', 'size=2048', '--', '/dev/sdb1']' returned non-zero exit status 1 changed Traceback (most recent call last): changed File "/var/lib/ juju/agents/ unit-ceph- osd-2/charm/ hooks/mon- relation- changed" , line 260, in <module> changed hooks.execute( sys.argv) changed File "/var/lib/ juju/agents/ unit-ceph- osd-2/charm/ hooks/charmhelp ers/core/ hookenv. py", line 717, in execute changed self._hooks[ hook_name] () changed File "/var/lib/ juju/agents/ unit-ceph- osd-2/charm/ hooks/mon- relation- changed" , line 201, in mon_relation changed config( 'ignore- device- errors' )) changed File "/var/lib/ juju/agents/ unit-ceph- osd-2/charm/ hooks/ceph. py", line 401, in osdize changed osdize_dev(dev, osd_format, osd_journal, reformat_osd, ignore_errors) changed File "/var/lib/ juju/agents/ unit-ceph- osd-2/charm/ hooks/ceph. py", line 450, in osdize_dev changed raise e changed subprocess. CalledProcessEr ror: Command '['ceph-disk', 'prepare', '--fs-type', u'xfs', '--zap-disk', u'/dev/sdb']' returned non-zero exit status 1 uniter. operation runhook.go:107 hook "mon-relation- changed" failed: exit status 1
2016-03-18 11:46:32 INFO mon-relation-
2016-03-18 11:46:32 INFO mon-relation-
2016-03-18 11:46:34 INFO mon-relation-
2016-03-18 11:46:36 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 ERROR juju-log mon:72: Unable to initialize device: /dev/sdb
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 INFO mon-relation-
2016-03-18 11:46:37 ERROR juju.worker.