bugcrmsh - Bugs: bug #39013, unable to find shadow cib with...

 
 

bug #39013: unable to find shadow cib with crmsh 1.2.5-55.3 on CentOS6.4 with Pacemaker 1.1.8-7.el6

Submitter:  None
Submitted:  Fri 17 May 2013 12:35:28 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 18 Sep 2013 02:05:19 PM UTC, comment #4: 

I'll be working on our CentOS64 cluster over the next week or so and will try out the v1.2.6 RC3. We'd switched over to pcs in the meantime.
Thanks Dejan

- <_91422>
Fri 13 Sep 2013 08:55:02 AM UTC, comment #3: 

The situation should have improved in the meantime. Does the latest build from OBS work for you now?

Dejan Muhamedagic <dejanm>
Group administrator
Fri 17 May 2013 04:51:36 PM UTC, comment #2: 

Many thanks for the analysis and the correct title :)

Unfortunately, our OBS contains only pacemaker 1.1.7 against which crmsh is built and, as explained in the other bug report you referenced, directories moved around since pacemaker 1.1.8. Well, there'll be crmsh v1.2.6 in a week or two and this issue will need to be fixed before that. Somehow.

Dejan Muhamedagic <dejanm>
Group administrator
Fri 17 May 2013 12:57:22 PM UTC, comment #1: 

Whoops, hadn't logged in when I raised this.

- <_91422>
Fri 17 May 2013 12:35:28 PM UTC, original submission:  

Hi,
I installed crmsh-1.2.5-55.3.x86_64 from the OpenSUSE repo on CentOS 6.4 with Pacemaker 1.2.5-55.3 and get the following error when attempting to create a new shadow (Note all the following commands run as root):

crm(live)cib# new test
INFO: test shadow CIB created
ERROR: test: no such shadow CIB

If I then try to create that same shadow again I get the following:

crm(live)cib# new test
A shadow instance 'test' already exists.
  To prevent accidental destruction of the cluster, the --force flag is required in order to proceed.

Trying to create the same shadow with crm_shadow also throws the same error:

[root@node crmsh]# crm_shadow -c test
A shadow instance 'test' already exists.
  To prevent accidental destruction of the cluster, the --force flag is required in order to proceed.

I looked at comment #21 in bug #37760 (http://savannah.nongnu.org/bugs/index.php?37760#comment21) and comparing with a CentOS6.3/Pacemaker 1.1.7 install I could see that the directories used to store the cib had indeed changed as you suggested. Creating a symlink to map the 1.1.8 directory to the old 1.1.7 location allowed crm to again work with the shadow cibs.

ln -s /var/lib/pacemaker/cib /var/lib/heartbeat/crm

I didn't consider the other changed directories so there may still be issues related to the changes.

Regards,
John

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dejanm (Posted a comment)
  • -email is unavailable- added by _91422 (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-09-13 dejanm StatusNone Need Info

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code