Florian/Team Please find an updated version for the 'lxc resource agent'
As Florian pointed out, I had not properly initialised/set the new "use_screen" parameter. The attached file includes that correction. PS (OK I'm a complete newbie and I know this should be obvious but) I had attempted to update the original in GITHUB (by forking) but am now unable to edit it to add this missing attribute, How do I re-edit my change to include a second change???? Darren On Mon, 2011-06-06 at 12:36 +0930, Darren Thompson wrote: > Florian > > I have done some "live fire" testing of the updated lxc resource. > > I noted that "screens" has been depreciated in favour of running the > lxc as a daemon, with output going to a new log file > > Unfortunately when i used it in this configuration I cannot connect to > the running container and all the log output shows is" > more processes left in this runlevel for 5 minutesstty: standard > input: Inappropriate ioctl for device > Master Resource Control: previous runlevel: N, switching to runlevel: > 3 > tcgetattr: Inappropriate ioctl for device > Master Resource Control: runlevel 3 has been reached > stty: standard input: Inappropriate ioctl for device". > > The cluster show the container as running, but I cannot ping the IP > address that the container should be using so cannot confirm that it > is running correctly. > > I suspect that the container is having trouble running as there is not > a "root console" device when run as a daemon. > > Without the "root console" available "via screens" it's very very > difficult to diagnose the issue with the container to be certain as to > what is casing the problem. > > I may create a modified version with the "screens" re-added as an > "option", as that is my personal preference and will also help > diagnose the error I'm currently getting with the lxc resource. > > I'll sen out the updated version as an attachment to this list (I > still have no idea how to create patches/submissions on GIT hub). > > I'm also now getting errors on the original links to your fork on > GitHub, I'm assuming it's because the driver it's now been pulled into > the core (or something) making your fork redundant. > > Darren > > > On Mon, 2011-05-30 at 15:45 +0200, Florian Haas wrote: > > > Hello, > > > > after much useful testing from Christoph Mitasch and a number of > > necessary changes highlighted by ocf-tester, I've now merged and pushed > > the lxc resource agent that was originally contributed by Darren Thompson. > > > > The resource agent is here: > > > > https://github.com/ClusterLabs/resource-agents/blob/master/heartbeat/lxc > > > > Its commit history up to this point can be reviewed here: > > > > https://github.com/ClusterLabs/resource-agents/commits/master/heartbeat/lxc > > > > Hope this is useful. > > > > Cheers, > > Florian > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/
lxc
Description: application/shellscript
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
