Re: [ClusterLabs] can't start pacemaker resources
yup. I can't believe thats all it was... that change was made over a year ago and no one even noticed. Thanks for pointing that out On Fri, Feb 22, 2019 at 12:42 AM Jan Pokorný wrote: > On 21/02/19 18:15 -0800, solarflow99 wrote: > > I have tried to create NFS shares using the ceph backend, but I can't > seem > > to get the resources to start. It doesn't show me much as to why, does > > anyone have an idea? > > > > [...] > > > > Feb 21 15:11:42 cephmgr101.corp.mydomain.com rbd.in(p_rbd_map_1)[10962]: >^^ > I'd recommend to checkout and build-configure the Ceph > project properly (with do_cmake.sh?), rather than using raw > (to-be-parameter-interpolated) rbd.in with ad-hoc hand edits > (otherwise it might not serve you well, I guess). > > If you consume Ceph through downstream packages, perhaps they > ship this file in a usable state like that already. > > > ERROR: error: unknown option 'device map rbd/nfs1' usage: rbd > ... > ^^^ > Looks like "rbd" executable got swapped for "rbdmap": > > > https://github.com/ceph/ceph/commit/6a57358add1157629a6d1f72ae48777e134c99e6#diff-2e4ba39659222c9c6cf778e2a1b77180 > > and that change was just accidentally missed at src/ocf/rbd.in > in that very commit. > > -- > Hope this helps, > Poki > ___ > Users mailing list: Users@clusterlabs.org > https://lists.clusterlabs.org/mailman/listinfo/users > > Project Home: http://www.clusterlabs.org > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf > Bugs: http://bugs.clusterlabs.org > ___ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
Re: [ClusterLabs] can't start pacemaker resources
On 21/02/19 18:15 -0800, solarflow99 wrote: > I have tried to create NFS shares using the ceph backend, but I can't seem > to get the resources to start. It doesn't show me much as to why, does > anyone have an idea? > > [...] > > Feb 21 15:11:42 cephmgr101.corp.mydomain.com rbd.in(p_rbd_map_1)[10962]: ^^ I'd recommend to checkout and build-configure the Ceph project properly (with do_cmake.sh?), rather than using raw (to-be-parameter-interpolated) rbd.in with ad-hoc hand edits (otherwise it might not serve you well, I guess). If you consume Ceph through downstream packages, perhaps they ship this file in a usable state like that already. > ERROR: error: unknown option 'device map rbd/nfs1' usage: rbd ... ^^^ Looks like "rbd" executable got swapped for "rbdmap": https://github.com/ceph/ceph/commit/6a57358add1157629a6d1f72ae48777e134c99e6#diff-2e4ba39659222c9c6cf778e2a1b77180 and that change was just accidentally missed at src/ocf/rbd.in in that very commit. -- Hope this helps, Poki pgpqtpB7rLgA0.pgp Description: PGP signature ___ Users mailing list: Users@clusterlabs.org https://lists.clusterlabs.org/mailman/listinfo/users Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://bugs.clusterlabs.org
[ClusterLabs] can't start pacemaker resources
I have tried to create NFS shares using the ceph backend, but I can't seem to get the resources to start. It doesn't show me much as to why, does anyone have an idea? Feb 21 15:11:40 cephmgr101.corp.mydomain.com crmd[10306]: warning: Input I_DC_TIMEOUT received in state S_PENDING from crm_timer_popped Feb 21 15:11:40 cephmgr101.corp.mydomain.com crmd[10306]: notice: State transition S_ELECTION -> S_PENDING Feb 21 15:11:40 cephmgr101.corp.mydomain.com crmd[10306]: notice: State transition S_PENDING -> S_NOT_DC Feb 21 15:11:42 cephmgr101.corp.mydomain.com lrmd[10303]: notice: p_rbd_map_1_monitor_0:10835:stderr [ error: unknown option 'device list' ] Feb 21 15:11:42 cephmgr101.corp.mydomain.com lrmd[10303]: notice: p_rbd_map_1_monitor_0:10835:stderr [ ] Feb 21 15:11:42 cephmgr101.corp.mydomain.com crmd[10306]: notice: Result of probe operation for p_rbd_map_1 on cephmgr101.corp.mydomain.com: 7 (not running) Feb 21 15:11:42 cephmgr101.corp.mydomain.com crmd[10306]: notice: cephmgr101.corp.mydomain.com-p_rbd_map_1_monitor_0:5 [ error: unknown option 'device list'\n\n ] Feb 21 15:11:42 cephmgr101.corp.mydomain.com exportfs(p_nfs_export_root_1)[10911]: INFO: Directory /mnt/nfsroot is not exported to * (stopped). Feb 21 15:11:42 cephmgr101.corp.mydomain.com crmd[10306]: notice: Result of probe operation for p_nfs_export_root_1 on cephmgr101.corp.mydomain.com: 7 (not running) Feb 21 15:11:42 cephmgr101.corp.mydomain.com nfsserver(p_nfs_server)[10951]: INFO: Status: rpcbind Feb 21 15:11:42 cephmgr101.corp.mydomain.com nfsserver(p_nfs_server)[10958]: INFO: Status: nfs-mountd Feb 21 15:11:42 cephmgr101.corp.mydomain.com rbd.in(p_rbd_map_1)[10962]: ERROR: error: unknown option 'device map rbd/nfs1' usage: rbd ... Command-line interface for managing Ceph RBD images. Positional arguments: bench Simple benchmark. children Display children of snapshot. clone Clone a snapshot into a COW child image. copy (cp) Copy src image to dest. create Create an empty image. diff Print extents that differ since a previous snap, or image creation. disk-usage (du) Show disk usage stats for pool, image or snapshot export Export image to file. export-diff Export incremental diff to file. feature disable Disable the specified image feature. feature enable Enable the specified image feature. flatten Fill clone with parent data (make it independent). image-meta get Image metadata get the value associated with the key. image-meta list Image metadata list keys with values. image-meta remove Image metadata remove the key and value associated. image-meta set Image metadata set key with value. import Import image from file. import-diff Import an incremental diff. info Show information about image size, striping, etc. journal client disconnect Flag image journal client as disconnected. journal export Export image journal. journal import Import image journal. journal info Show information about image journal. journal inspect Inspect image journal for structural errors. journal reset Reset image journal. journal status Show status of image journal. list (ls) List rbd images. lock add Take a lock on an image. lock list (lock ls) Show locks held on an image. lock remove (lock rm) Release a lock on an image. map Map image to a block device using the kernel. merge-diff Merge two diff exports together. mirror image demote Demote an image to non-primary for RBD mirroring. mirror image disable Disable RBD mirroring for an image. mirror image enable Enable RBD mirroring for an image. mirror image promote Promote an image to primary for RBD mirroring. mirror image resync Force resync to primary image for RBD mirroring. mirror image status Show RDB mirroring status for an image. mirror pool demote Demote all primary images in the pool. mirror pool disable Disable RBD mirroring by default within a pool. mirror pool enable Enable RBD mirroring by default within a pool. mirror pool info Show information about the pool mirroring configuration. mirror pool peer add Add a mirroring peer to a pool. mirror pool peer remove Remove a mirroring peer from a pool. mirror pool peer set Update mirroring peer settings. mirror pool promote Promote all non-primary images in the pool. mirror pool status Show status for all mirrored images in the pool. nbd list (nbd ls) List the nbd devices already used. nbd map Map image to a nbd device. nbd unmap Unmap a nbd device. object-map check Verify the object map is correct. object-map rebuild Rebuild an invalid object map. pool init Initialize pool for use by RBD. remove (rm) Delete an image. rename (mv) Rename image within pool. resize Resize (expand or shrink) image. showmapped Show the rbd images mapped by the kernel. snap create (snap add) Create a snapshot. snap limit clear Remove snapshot limit. snap limit set Limit the number of snapshots. snap list (snap ls) Dump list of image snapshots. snap protect Prevent a snapshot from being deleted. snap purge Delete all snapshots. snap remove (snap rm) Delete a snapshot.