Upstart Resource Agent Plugin is not installed

Bug #659510 reported by Andres Rodriguez
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
cluster-glue (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: cluster-glue

Cluster Glue's Upstart Resource Agent is being built in the package, however, it is not being installed causing Pacemaker not to recognize resources configured to use this resource agent.

This is currently affecting the Cluster Stack in Maverick, which is breaking the possibility of managing resources that use upstart scripts.

TEST CASE:
 - Install an Standalone cluster at as specified at [1].
 - Once installed, try to configure a resource using the Upstart Resource Agent:

sudo crm configure
primitive mysql upstart:mysql

And you will see the following error:

crm(live)configure# primitive mysql upstart:mysql
ERROR: upstart:mysql: could not parse meta-data:
ERROR: upstart:mysql: no such resource agent

[1]: https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker, standalone

Once the proposed fix is applied, Pacemaker will recognize the Upstart RA and the configuration will be successful. I have personally tested this fix and everything works as expected.

Build logs can be found at:
https://launchpad.net/~andreserl/+archive/ha/+build/1995468/+files/buildlog_ubuntu-maverick-i386.cluster-glue_1.0.6-1ubuntu1.1_BUILDING.txt.gz

Changed in cluster-glue (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Andres Rodriguez (andreserl)
description: updated
Changed in cluster-glue (Ubuntu):
importance: Medium → High
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Attaching debdiff

Changed in cluster-glue (Ubuntu Maverick):
importance: Undecided → High
importance: High → Medium
Changed in cluster-glue (Ubuntu):
importance: High → Medium
Changed in cluster-glue (Ubuntu Maverick):
status: New → In Progress
Changed in cluster-glue (Ubuntu):
status: In Progress → Confirmed
description: updated
Changed in cluster-glue (Ubuntu Maverick):
status: In Progress → New
Changed in cluster-glue (Ubuntu):
assignee: Andres Rodriguez (andreserl) → nobody
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted cluster-glue into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in cluster-glue (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Martin,

I've just tested the fix in a clean install, and it works as expected!!

Thank you.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Andres thanks for testing. Any chance you have a setup ready to test bug 585468 in lucid too ?

I'm marking this one as verification-done

tags: added: verification-done
removed: verification-needed
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Jean-Baptiste,

Sorry for the late reply. I have to SRU a couple of fixes for RHCS in Lucid. Once I done with that I'll test bug 585468.

Regards.

Revision history for this message
Martin Pitt (pitti) wrote :

Copied to natty as well.

Changed in cluster-glue (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cluster-glue - 1.0.6-1ubuntu1.1

---------------
cluster-glue (1.0.6-1ubuntu1.1) maverick-proposed; urgency=low

  * SRU: Really install Upstart Resource Agent (LP: #659510)
 -- Andres Rodriguez <email address hidden> Tue, 12 Oct 2010 17:23:02 -0400

Changed in cluster-glue (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
flashydave (dave-opensourcesolutions) wrote :

Since upgrading to Maverick and installing cluster-glue 1.0.6-1ubuntu1.1 I am getting repeats of

crmd: WARN: lrm_signon: can not initiate connection
crmd: [4963]: WARN: do_lrm_control: Failed to sign on to the LRM 29 (30 max) time

on a system that previously was working on lucid (except for upstart which is why I upgraded)
netstat -anp shows
unix 2 [ ] DGRAM 22204 4546/lrmd
ps auxf shows:

root 4539 0.0 0.0 0 0 ? Z 00:04 0:00 \_ [lrmd] <defunct>
root 4546 0.0 0.0 36424 1344 ? S 00:04 0:00 \_ /usr/lib/heartbeat/lrmd

Anyone seen this or know how best to debug this?
A rapid response would be helpful as I have a production HA cluster down!

Revision history for this message
flashydave (dave-opensourcesolutions) wrote :

crm_mon -1 shows

============
Last updated: Wed Nov 17 00:13:25 2010
Stack: openais
Current DC: NONE
2 Nodes configured, 2 expected votes
2 Resources configured.
============

OFFLINE: [ node1 node2 ]

Revision history for this message
flashydave (dave-opensourcesolutions) wrote :

I've just tried downgrading to cluster-glue 1.0.6-1ubuntu1 and this is showing the same symptom.
Dont want to mis-post so should I raise separate ticket for this. It maybe something wrong with the upgrade although I have tried removing and reinstalling all the associated packages corosync, pacemaker etc and lrmd is in cluster-glue!

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi,

I have not seen this behavior, however, you might wanna refer to this thread [0].

Since I believe this is an unrelated issue, would you please file a new bug report and steps to reproduce? Thank you.

[0]: http://oss.clusterlabs.org/pipermail/pacemaker/2010-February/004765.html

Revision history for this message
Damian Friedli (damian-friedli) wrote :

Hello

What about upstart support fix in Lucid? Will this be fixed soon?

Package: cluster-glue
New: yes
State: installed
Automatically installed: yes
Version: 1.0.5-1

***
TEST CASE:
 - Install an Standalone cluster at as specified at [1].
 - Once installed, try to configure a resource using the Upstart Resource Agent:

sudo crm configure
primitive mysql upstart:mysql

And you will see the following error:

crm(live)configure# primitive mysql upstart:mysql
ERROR: upstart:mysql: could not parse meta-data:
ERROR: upstart:mysql: no such resource agent

[1]: https://wiki.ubuntu.com/ClusterStack/LucidTesting#Pacemaker, standalone
***

- without upstart support it's no fun (or just useless crm)
- and since Lucid server LTS is supported until 2015 its pretty uncool to update to maverick just to fix that cluster-glue upstart support issue :P

best regards,
damian

Revision history for this message
Ante Karamatić (ivoks) wrote :

Damian you might want to use this PPA which has packages built for Lucid:

https://launchpad.net/~ubuntu-ha-maintainers/+archive/ppa

tags: added: testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.