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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1475247

Title:
  ceph-disk-prepare --zap-disk hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1475247/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to