Skip to content

Instantly share code, notes, and snippets.

@0X1A
Created May 16, 2016 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0X1A/fd19baf8e8db7586e8d5e753b54589fc to your computer and use it in GitHub Desktop.
Save 0X1A/fd19baf8e8db7586e8d5e753b54589fc to your computer and use it in GitHub Desktop.
Juju Ceph mon/osd hook fail
alberto@0X1AA ~> juju status
[Services]
NAME STATUS EXPOSED CHARM
ceph-mon maintenance false cs:xenial/ceph-mon-0
ceph-osd blocked false cs:xenial/ceph-osd-0
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
ceph-mon ceph-mon mon peer
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ceph-mon/0 maintenance executing 2.0-beta6 6 10.151.171.166 Bootstrapping MON cluster
ceph-mon/1 maintenance executing 2.0-beta6 7 10.151.171.174 Bootstrapping MON cluster
ceph-mon/2 maintenance executing 2.0-beta6 8 10.151.171.62 Bootstrapping MON cluster
ceph-osd/0 blocked idle 2.0-beta6 3 10.151.171.173 Missing relation: monitor
ceph-osd/1 blocked idle 2.0-beta6 4 10.151.171.16 Missing relation: monitor
ceph-osd/2 blocked idle 2.0-beta6 5 10.151.171.181 Missing relation: monitor
[Machines]
ID STATE DNS INS-ID SERIES AZ
3 started 10.151.171.173 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-3 xenial
4 started 10.151.171.16 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-4 xenial
5 started 10.151.171.181 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-5 xenial
6 started 10.151.171.166 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-6 xenial
7 started 10.151.171.174 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-7 xenial
8 started 10.151.171.62 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-8 xenial
alberto@0X1AA ~> juju add-relation ceph-mon ceph-osd
[Services]
NAME STATUS EXPOSED CHARM
ceph-mon active false cs:xenial/ceph-mon-0
ceph-osd error false cs:xenial/ceph-osd-0
[Relations]
SERVICE1 SERVICE2 RELATION TYPE
ceph-mon ceph-mon mon peer
ceph-mon ceph-osd mon regular
[Units]
ID WORKLOAD-STATUS JUJU-STATUS VERSION MACHINE PORTS PUBLIC-ADDRESS MESSAGE
ceph-mon/0 active idle 2.0-beta6 6 10.151.171.166 Unit is ready and clustered
ceph-mon/1 active idle 2.0-beta6 7 10.151.171.174 Unit is ready and clustered
ceph-mon/2 active idle 2.0-beta6 8 10.151.171.62 Unit is ready and clustered
ceph-osd/0 error idle 2.0-beta6 3 10.151.171.173 hook failed: "mon-relation-changed" for ceph-mon:osd
ceph-osd/1 error idle 2.0-beta6 4 10.151.171.16 hook failed: "mon-relation-changed" for ceph-mon:osd
ceph-osd/2 error idle 2.0-beta6 5 10.151.171.181 hook failed: "mon-relation-changed" for ceph-mon:osd
[Machines]
ID STATE DNS INS-ID SERIES AZ
3 started 10.151.171.173 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-3 xenial
4 started 10.151.171.16 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-4 xenial
5 started 10.151.171.181 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-5 xenial
6 started 10.151.171.166 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-6 xenial
7 started 10.151.171.174 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-7 xenial
8 started 10.151.171.62 juju-df6e27bc-3d64-4d3f-8805-7b051caa1a27-machine-8 xenial
alberto@0X1AA ~/Repositories> cat ceph.yaml
ceph-mon:
fsid: 4e9bb874-1b81-11e6-9939-5f316e470c2a
monitor-secret: AQD18jlXPi+0IRAACVqtXL1HVkSSBZJYACmOOg==
ceph-osd:
osd-devices: /mnt/ceph0 /mnt/ceph1 /mnt/ceph2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment