unit-ceph-2: 2015-02-10 04:05:20 INFO mon-relation-changed #015Reading state information... 0%#015#015Reading state information... 0%#015#015Reading state information... Done
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed ***************************************************************
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed Found invalid GPT and valid MBR; converting MBR to GPT format
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed in memory.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed ***************************************************************
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed Warning: The kernel is still using the old partition table.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed The new table will be used at the next reboot.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed GPT data structures destroyed! You may now partition the disk using fdisk or
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed other utilities.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed Warning: The kernel is still using the old partition table.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed The new table will be used at the next reboot.
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-changed The operation has completed successfully.
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-changed Warning: The kernel is still using the old partition table.
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-changed The new table will be used at the next reboot.
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-changed The operation has completed successfully.
unit-ceph-2: 2015-02-10 04:05:24 INFO mon-relation-changed Error: Partition(s) 5 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes.
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-changed Warning: The kernel is still using the old partition table.
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-changed The new table will be used at the next reboot.
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-changed The operation has completed successfully.
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting.
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed Error: Failed to add partition 1 (Device or resource busy)
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed ceph-disk: Error: partition 1 for /dev/sdb does not appear to exist
unit-ceph-2: 2015-02-10 04:05:26 ERROR juju-log mon:60: Unable to initialize device: /dev/sdb
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed Traceback (most recent call last):
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-2/charm/hooks/mon-relation-changed", line 312, in <module>
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed hooks.execute(sys.argv)
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-2/charm/hooks/charmhelpers/core/hookenv.py", line 508, in execute
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed self._hooks[hook_name]()
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-2/charm/hooks/mon-relation-changed", line 196, in mon_relation
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed reformat_osd(), config('ignore-device-errors'))
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-2/charm/hooks/ceph.py", line 327, in osdize
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed osdize_dev(dev, osd_format, osd_journal, reformat_osd, ignore_errors)
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed File "/var/lib/juju/agents/unit-ceph-2/charm/hooks/ceph.py", line 375, in osdize_dev
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-changed raise e
unit-ceph-2: 2015-02-10 04:05:26 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
unit-ceph-2: 2015-02-10 04:05:26 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
unit-ceph-2: 2015-02-10 04:05:20 INFO mon-relation- changed #015Reading state information... 0%#015#015Reading state information... 0%#015#015Reading state information... Done changed changed ******* ******* ******* ******* ******* ******* ******* ******* ******* changed Found invalid GPT and valid MBR; converting MBR to GPT format changed in memory. changed ******* ******* ******* ******* ******* ******* ******* ******* ******* changed changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed GPT data structures destroyed! You may now partition the disk using fdisk or changed other utilities. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Error: Partition(s) 5 on /dev/sdb have been written, but we have been unable to inform the kernel of the change, probably because it/they are in use. As a result, the old partition(s) will remain in use. You should reboot now before making further changes. changed Warning: The kernel is still using the old partition table. changed The new table will be used at the next reboot. changed The operation has completed successfully. changed Error: Error informing the kernel about modifications to partition /dev/sdb1 -- Device or resource busy. This means Linux won't know about any changes you made to /dev/sdb1 until you reboot -- so you shouldn't mount it or use it in any way before rebooting. changed Error: Failed to add partition 1 (Device or resource busy) changed ceph-disk: Error: partition 1 for /dev/sdb does not appear to exist changed Traceback (most recent call last): changed File "/var/lib/ juju/agents/ unit-ceph- 2/charm/ hooks/mon- relation- changed" , line 312, in <module> changed hooks.execute( sys.argv) changed File "/var/lib/ juju/agents/ unit-ceph- 2/charm/ hooks/charmhelp ers/core/ hookenv. py", line 508, in execute changed self._hooks[ hook_name] () changed File "/var/lib/ juju/agents/ unit-ceph- 2/charm/ hooks/mon- relation- changed" , line 196, in mon_relation changed reformat_osd(), config( 'ignore- device- errors' )) changed File "/var/lib/ juju/agents/ unit-ceph- 2/charm/ hooks/ceph. py", line 327, in osdize changed osdize_dev(dev, osd_format, osd_journal, reformat_osd, ignore_errors) changed File "/var/lib/ juju/agents/ unit-ceph- 2/charm/ hooks/ceph. py", line 375, 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
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:22 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:23 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:24 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:25 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 ERROR juju-log mon:60: Unable to initialize device: /dev/sdb
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 INFO mon-relation-
unit-ceph-2: 2015-02-10 04:05:26 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1