darrent at akurit
May 5, 2011, 5:26 AM
Post #1 of 5
Re: [Openais] An OCF agent for LXC (Linux Containers) - Linux-HA-Dev Digest, Vol 90, Issue 8
On Thu, 2011-05-05 at 05:47 -0600,
linux-ha-dev-request [at] lists wrote:
> can you please subscribe to the list as a normal subscriber rather
> to just the digest, so we can keep this discussion in one thread?
Ok, done... The digest mode was "a good idea at the time"...
> On 2011-05-05 04:47, Darren Thompson wrote:
> > Florian/Team
> > There was an error in the GIT-Hub version that was causing my
> > attempts to fail, so I was forced to try to bring my "last known
> > version to the same configuration (mostly successful).
> > I have since found the error in the GIT-Hub version (the
> > section was wrong, the meta-data error was a 'red herring') so have
> > found and resolved so I have done an actual re-base now based on the
> > GIT-Hub version.
> > Changes:
> > 1. Corrected error in utilisation causing ocf to fail in HB_GUI.
> That is not an error; the Github version is correct. The path to the
> ocf-shellfuncs library was recently changed upstream; your installed
> version is apparently still using the old path. For the Github version
> to work on your system, you will have to apply the attached patch
> you check out.
If I had any idea how to use GIT and apply patches, this whole
conversation would never be happening ;-)
Did I mention that I'm not normally a "coder/developer"?
> Note that normally people would be building the whole resource-agents
> package from a git checkout and use _that_ on their test system, but
> you're not using git, so that option is out for you. Have I mentioned
> that starting to use git would be a good option?
Did I ever claim to be "normal"...
Mind you, if I told my partner... "normally people would be building the
whole resource-agents package from a git checkout and use _that_ on
their test system"... she would laugh her head off... I suppose it
depends on your definition of "normality"... ;-)
Using git would probably be a good option, but "my" requirement is for
this to work under "SLES11SP1 with the HA option pack", none of which is
consistent with "building the whole resource-agent package", although I
do intend to raise a SR with Attachmate/Novell/SuSE for them to come
in-line with these standards; as to support their environment on clients
sites would be a PITA if they vary too much from the agreed standards.
> > 2. Added "information" to stop section, to provide more feedback
> > container shutdown/stop (and to assist with future development of
> > "containers using alternate 'init' systems").
> Applied and pushed to my lxc branch.
Thank you. Yes I can see that in the on-line version.
> Can you confirm that the current version is working for you and passes
> ocf-tester on your system?
What is an ocf-tester???
I have been testing this "the hard way" by actually creating and running
the agents against actual LXC containers in a running cluster... If
there is a simple way of streamlining this testing I'd love to hear more
about it. (Did I mention that I'm not normally a "coder/developer"? -
Yes I know that's getting repetitive ;-) )
But, back on topic... I can confirm that this agent is working correctly
in a "live fire" environment.