Comment 2 for bug 1420094

Revision history for this message
Adam Collard (adam-collard) wrote :

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