Hello, I can confirm the bug.
The latest GIT version has already fixed that: https://raw.github.com/ClusterLabs/resource-agents/master/heartbeat/lxc Here is the diff: --- lxc.orig 2012-04-17 00:23:21.000000000 +0200 +++ lxc 2012-05-15 19:13:37.882415213 +0200 @@ -239,7 +239,10 @@ } LXC_status() { - S=`lxc-info -n ${OCF_RESKEY_container}` + # run lxc-info with -s option for LXC-0.7.5 or later + local lxc_info_opt="-s" + ocf_version_cmp "`lxc-version | cut -d' ' -f 3`" 0.7.5 && lxc_info_opt="" + S=`lxc-info $lxc_info_opt -n ${OCF_RESKEY_container}` ocf_log debug "State of ${OCF_RESKEY_container}: $S" if [[ "${S##* }" = "RUNNING" ]] ; then return $OCF_SUCCESS Please push to upstream! Thank you, Christoph -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/998136 Title: ocf RA for lxc doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/998136/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
