[Pacemaker] Cannot Create Primitive in CRM Shell

Rasto Levrinc rasto.levrinc at gmail.com
Mon Jan 9 19:12:54 UTC 2012


On Mon, Jan 9, 2012 at 3:34 PM, Andrew Martin <amartin at xes-inc.com> wrote:
> Hi Florian,
>
> Thanks for the quick response. This is a fresh install of
> pacemaker/heartbeat on two VMs so it should not have any previous/corrupted
> configuration (Ubuntu 10.04 amd64). I had previously deployed pacemaker on
> alternative copies of these VM images, but both of those have since been
> deleted. I am using the versions of these packages from the Ubuntu HA
> PPA because the Lucid version does not appear to contain
> ocf:heartbeat:exportfs.
>
> Here's the output of "crm_mon -1", which appears normal:
> # crm_mon -1
> ============
> Last updated: Mon Jan  9 07:56:23 2012
> Last change: Fri Jan  6 12:20:20 2012 via cibadmin on host1
> Stack: Heartbeat
> Current DC: host1 (e7dd6b7b-83ee-45bd-9768-bf576260ff15) - partition with
> quorum
> Version: 1.1.6-9971ebba4494012a93c03b40a2c58ec0eb60f50c
> 2 Nodes configured, unknown expected votes
> 0 Resources configured.
> ============
>
> Online: [ host1 host2 ]
>
> I issued "crm configure erase" and then performed the following operations
> after running "crm configure":
> property stonith-enabled="false"
> property no-quorum-policy="ignore"
> rsc_defaults resource-stickiness="200"
> commit
> primitive p_exportfs_drive \
> ocf:heartbeat:exportfs \
> params fsid=1 \
> directory="/tmp" \
> options="rw,mountpoint" \
> clientspec="10.10.0.0/255.255.0.0" \
> wait_for_leasetime_on_stop=true \
> op monitor interval="30s"
>
> I have attached the syslog from these operations as well as a copy of the
> configuration as exported via "cibadmin --query >
> /tmp/pacemaker_config.xml". I am also including a copy of the portion of the
> strace from when I entered 'op monitor interval="30s"' at the end of the
> exportfs primitive and then hit the Enter key (and the crm shell remains
> frozen).

My knee-jerk reaction: That's unfortunately true, CRM shell hangs there.
Luckily LCMC (the Pacemaker GUI) still works on Lucid.

Rasto

-- 
Dipl.-Ing. Rastislav Levrinc
rasto.levrinc at gmail.com
Linux Cluster Management Console
http://lcmc.sf.net/




More information about the Pacemaker mailing list