[Pacemaker] Problem on creating CIB entry in CRM - shadow cannot be created
Donna Livingstone
donna.livingstone at shaw.ca
Wed Mar 27 22:49:01 UTC 2013
Andrew - Thanks. The "crm_shadow -c name" works.
- does the crm shell need to be fixed ?
Thanks
On Wed, Mar 27, 2013 at 8:00 AM, Donna Livingstone
<donna.livingstone at shaw.ca> wrote:
> We are attempting to move our rhel 6.3 pacemaker/drbd environment to a rhel 6.4 pacemaker environment
> and as you can see below we cannot create a shadow CIB. crm_shadow -w also core dumps. On 6.3 everything works.
>
>
> Versions are given below.
>
>
> [root at vccstest1 ~]# crm
> crm(live)# cib new ills
> INFO: ills shadow CIB created
> ERROR: ills: no such shadow CIB
> crm(live)#
>
> This did create a shadow.ills in /var/lib/pacemaker/cib ie
> [root at vccstest1 cib]# pwd
> /var/lib/pacemaker/cib
> [root at vccstest1 cib]# ls -al shadow.il*
> 8 -rw------- 1 root root 6984 Mar 26 10:09 shadow.ills
> [root at vccstest1 cib]#
>
> - Same bug is reported here : http://comments.gmane.org/gmane.linux.highavailability.pacemaker/16636
Yep, looks like a shell issue (which you can confirm by running
"crm_shadow -c name" by hand).
>
> Also :
> [root at vccstest1 cib]# crm_shadow -w
> Segmentation fault (core dumped)
> [root at vccstest1 cib]#
Looks like its segfaulting because CIB_shadow is not defined in the
environment (a side effect of "crm cib new" failing).
I'll fix the segfault, in the meantime, perhaps try "crm_shadow -c
name" and then run the crm commands as normal.
>
>
>
> Versions on 6.4(as loaded from rhn) :
>
> [root at vccstest1 bin]# rpm -qa|grep -i pacemaker
> pacemaker-cli-1.1.8-7.el6.x86_64
> pacemaker-cts-1.1.8-7.el6.x86_64
> pacemaker-libs-devel-1.1.8-7.el6.x86_64
> pacemaker-libs-1.1.8-7.el6.x86_64
> pacemaker-1.1.8-7.el6.x86_64
> drbd-pacemaker-8.3.15-2.el6.x86_64
> pacemaker-cluster-libs-1.1.8-7.el6.x86_64
> [root at vccstest1 bin]# rpm -qa|grep -i corosync
> corosynclib-devel-1.4.1-15.el6.x86_64
> corosynclib-1.4.1-15.el6.x86_64
> corosync-1.4.1-15.el6.x86_64
> [root at vccstest1 bin]# rpm -qa|grep -i drbd
> drbd-bash-completion-8.3.15-2.el6.x86_64
> drbd-udev-8.3.15-2.el6.x86_64
> drbd-rgmanager-8.3.15-2.el6.x86_64
> drbd-xen-8.3.15-2.el6.x86_64
> drbd-utils-8.3.15-2.el6.x86_64
> kmod-drbd-8.3.15_2.6.32_279.14.1-2.el6.x86_64
> drbd-pacemaker-8.3.15-2.el6.x86_64
> drbd-8.3.15-2.el6.x86_64
> drbd-heartbeat-8.3.15-2.el6.x86_64
> [root at vccstest1 bin]#
>
> Versions on 6.3 :
>
> [root at wimpas1 ~]# rpm -qa|grep pacemaker
> pacemaker-libs-devel-1.1.7-6.el6.x86_64
> pacemaker-cli-1.1.7-6.el6.x86_64
> pacemaker-libs-1.1.7-6.el6.x86_64
> pacemaker-cluster-libs-1.1.7-6.el6.x86_64
> drbd-pacemaker-8.3.15-2.el6.x86_64
> pacemaker-1.1.7-6.el6.x86_64
> [root at wimpas1 ~]# rpm -qa|grep corosync
> corosynclib-1.4.1-7.el6_3.1.x86_64
> corosync-1.4.1-7.el6_3.1.x86_64
> corosynclib-devel-1.4.1-7.el6_3.1.x86_64
> [root at wimpas1 ~]# rpm -qa|grep drbd
> drbd-bash-completion-8.3.15-2.el6.x86_64
> drbd-udev-8.3.15-2.el6.x86_64
> drbd-rgmanager-8.3.15-2.el6.x86_64
> drbd-xen-8.3.15-2.el6.x86_64
> drbd-utils-8.3.15-2.el6.x86_64
> kmod-drbd-8.3.15_2.6.32_279.14.1-2.el6.x86_64
> drbd-pacemaker-8.3.15-2.el6.x86_64
> drbd-8.3.15-2.el6.x86_64
> drbd-heartbeat-8.3.15-2.el6.x86_64
> [root at wimpas1 ~]#
>
More information about the Pacemaker
mailing list