I'm still under the impression "lsb" is the only valid primitive in the current 
set of packages I've got installed.
Here's the output you requested, along with a "crm configure edit" when I try 
to replace "lsb" with "upstart".

# crm configure show
node db1 \
        attributes standby="off"
node db3 \
        attributes standby="off"
primitive drbd_mysql ocf:linbit:drbd \
        params drbd_resource="mysql" \
        op monitor interval="15s"
primitive fs_mysql ocf:heartbeat:Filesystem \
        params device="/dev/drbd/by-res/mysql" directory="/mnt/" fstype="ext4"
primitive ip_mysql ocf:heartbeat:IPaddr2 \
        params ip="192.168.0.166" nic="eth0"
primitive mysqld lsb:mysql \
        op start interval="0" timeout="120s" \
        op stop interval="0" timeout="120s" \
        op monitor interval="30s" \
        meta target-role="Started"
group mysql_group fs_mysql ip_mysql mysqld \
        meta target-role="Started"
ms ms_drbd_mysql drbd_mysql \
        meta master-max="1" master-node-max="1" clone-max="2" 
clone-node-max="1" notify="true"
location cli-prefer-mysqld mysqld \
        rule $id="cli-prefer-rule-mysqld" inf: #uname eq db1
colocation mysql_on_drbd inf: mysql_group ms_drbd_mysql:Master
order mysql_after_drbd inf: ms_drbd_mysql:promote mysql_group:start
property $id="cib-bootstrap-options" \
        dc-version="1.0.9-unknown" \
        cluster-infrastructure="openais" \
        expected-quorum-votes="2" \
        no-quorum-policy="ignore" \
        stonith-enabled="false" \
        last-lrm-refresh="1299838408"
rsc_defaults $id="rsc-options" \
        resource-stickiness="100"
        
=================================================================        
        
# crm status
============
Last updated: Tue Mar 22 16:09:44 2011
Stack: openais
Current DC: db3 - partition with quorum
Version: 1.0.9-unknown
2 Nodes configured, 2 expected votes
2 Resources configured.
============

Online: [ db1 db3 ]

 Master/Slave Set: ms_drbd_mysql
     Masters: [ db1 ]
     Slaves: [ db3 ]
 Resource Group: mysql_group
     fs_mysql   (ocf::heartbeat:Filesystem):    Started db1
     ip_mysql   (ocf::heartbeat:IPaddr2):       Started db1
     mysqld     (lsb:mysql):    Started db1
     
=================================================================        
     
As said, when I replace "lsb" with "upstart" and try to save this new config I 
get these errors:
          
# crm configure edit
element primitive: Relax-NG validity error : Invalid sequence in interleave
element primitive: Relax-NG validity error : Element primitive failed to 
validate content
Relax-NG validity error : Extra element primitive in interleave
element primitive: Relax-NG validity error : Element group failed to validate 
content
element master: Relax-NG validity error : Element resources has extra content: 
master
element cib: Relax-NG validity error : Element cib failed to validate content
crm_verify[2267]: 2011/03/22_16:11:04 ERROR: main: CIB did not pass DTD/schema 
validation
Errors found during check: config not valid
ERROR: update:mysql: could not parse meta-data:
ERROR: update:mysql: no such resource agent
Do you still want to commit? n

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/740070

Title:
  No "upstart" support in cluster-glue-1.0.5-1

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to