I still see sgdisk hanging in D state. The command line is correct now:
3642 ? Ssl 0:00 /var/lib/juju/tools/unit-ceph-1/jujud unit --data-dir /var/lib/juju --unit-name ceph/1 --debug
23810 ? S 0:02 \_ /usr/bin/python /var/lib/juju/agents/unit-ceph-1/charm/hooks/mon-relation-changed
27816 ? S 0:00 \_ /bin/sh /usr/sbin/ceph-disk-prepare --fs-type xfs --zap-disk /dev/sdb
27818 ? S 0:00 \_ /usr/bin/python /usr/sbin/ceph-disk prepare --fs-type xfs --zap-disk /dev/sdb
27833 ? D 0:00 \_ /sbin/sgdisk --zap-all -- /dev/sdb
The unit log is stuck in:
2015-09-02 18:57:54 INFO mon-relation-changed Warning! One or more CRCs don't match. You should repair the disk!
2015-09-02 18:57:54 INFO mon-relation-changed
I still see sgdisk hanging in D state. The command line is correct now: juju/tools/ unit-ceph- 1/jujud unit --data-dir /var/lib/juju --unit-name ceph/1 --debug juju/agents/ unit-ceph- 1/charm/ hooks/mon- relation- changed ceph-disk- prepare --fs-type xfs --zap-disk /dev/sdb
3642 ? Ssl 0:00 /var/lib/
23810 ? S 0:02 \_ /usr/bin/python /var/lib/
27816 ? S 0:00 \_ /bin/sh /usr/sbin/
27818 ? S 0:00 \_ /usr/bin/python /usr/sbin/ceph-disk prepare --fs-type xfs --zap-disk /dev/sdb
27833 ? D 0:00 \_ /sbin/sgdisk --zap-all -- /dev/sdb
The unit log is stuck in: changed Warning! One or more CRCs don't match. You should repair the disk! changed
2015-09-02 18:57:54 INFO mon-relation-
2015-09-02 18:57:54 INFO mon-relation-