Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 14:49, Ken Gaillot wrote: On Wed, 2023-01-11 at 14:09 -0500, Madison Kelly wrote: On 2023-01-11 14:01, Madison Kelly wrote: On 2023-01-11 01:59, Reid Wahl wrote: On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user.

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 16:23, Vladislav Bogdanov wrote: And, one more thing can affect that - selinux. I doubt, but that's worth checking. selinux is permissive, and nothing written to audit.log. Side note; I checked GID and effective GID and well as UID and EUID, all 0. I recorded environment variab

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Vladislav Bogdanov
And, one more thing can affect that - selinux. I doubt, but that's worth checking. Vladislav Bogdanov 11 января 2023 г. 22:21:03 написал: Then I would suggest to log all env vars and compare them, probably something is missing in validate for virsh to be happy. Madison Kelly 11 января 2023

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Vladislav Bogdanov
Then I would suggest to log all env vars and compare them, probably something is missing in validate for virsh to be happy. Madison Kelly 11 января 2023 г. 22:06:45 написал: On 2023-01-11 01:13, Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. I modified

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Reid Wahl
On Wed, Jan 11, 2023 at 1:08 PM Madison Kelly wrote: > > On 2023-01-11 15:55, Reid Wahl wrote: > > On Wed, Jan 11, 2023 at 12:48 PM Madison Kelly wrote: > >> > >> On 2023-01-11 01:59, Reid Wahl wrote: > >>> On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov > >>> wrote: > > I suspect

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 15:55, Reid Wahl wrote: On Wed, Jan 11, 2023 at 12:48 PM Madison Kelly wrote: On 2023-01-11 01:59, Reid Wahl wrote: On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. As far as I know, both the direct command

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 01:13, Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. I modified the script to log the real and effective UIDs and it's running as root in both instances. Madison Kelly 11 января 2023 г. 07:06:55 написал: On 2023-01-11 00:21, Madison Kel

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Reid Wahl
On Wed, Jan 11, 2023 at 12:48 PM Madison Kelly wrote: > > On 2023-01-11 01:59, Reid Wahl wrote: > > On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov > > wrote: > >> > >> I suspect that valudate action is run as a non-root user. > > > > As far as I know, both the direct command and crm_resource

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 01:59, Reid Wahl wrote: On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. As far as I know, both the direct command and crm_resource **should** be running the agent as the same user, as long as Madison is runnin

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Ken Gaillot
On Wed, 2023-01-11 at 14:09 -0500, Madison Kelly wrote: > On 2023-01-11 14:01, Madison Kelly wrote: > > On 2023-01-11 01:59, Reid Wahl wrote: > > > On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov > > > wrote: > > > > I suspect that valudate action is run as a non-root user. > > > > > > As far

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Steven Levine
I think if we have another cluster summit we can schedule a debug party! Bring your tricky configs! On Wed, Jan 11, 2023 at 1:09 PM Madison Kelly wrote: > On 2023-01-11 14:01, Madison Kelly wrote: > > On 2023-01-11 01:59, Reid Wahl wrote: > >> On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 14:01, Madison Kelly wrote: On 2023-01-11 01:59, Reid Wahl wrote: On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. As far as I know, both the direct command and crm_resource **should** be running the agent as

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 01:59, Reid Wahl wrote: On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: I suspect that valudate action is run as a non-root user. As far as I know, both the direct command and crm_resource **should** be running the agent as the same user, as long as Madison is runnin

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Madison Kelly
On 2023-01-11 07:46, Bob Peterson wrote: On 1/11/23 1:06 AM, Madison Kelly wrote: On 2023-01-11 00:21, Madison Kelly wrote: On 2023-01-11 00:14, Madison Kelly wrote: Hi all, Edit: Last message was in HTML format, sorry about that.    I've got a hell of a weird problem, and I am absolutely st

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-11 Thread Bob Peterson
On 1/11/23 1:06 AM, Madison Kelly wrote: On 2023-01-11 00:21, Madison Kelly wrote: On 2023-01-11 00:14, Madison Kelly wrote: Hi all, Edit: Last message was in HTML format, sorry about that.    I've got a hell of a weird problem, and I am absolutely stumped on what's going on.    The short

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-10 Thread Reid Wahl
On Tue, Jan 10, 2023 at 10:14 PM Vladislav Bogdanov wrote: > > I suspect that valudate action is run as a non-root user. As far as I know, both the direct command and crm_resource **should** be running the agent as the same user, as long as Madison is running both commands as the same user. For

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-10 Thread Vladislav Bogdanov
I suspect that valudate action is run as a non-root user. Madison Kelly 11 января 2023 г. 07:06:55 написал: On 2023-01-11 00:21, Madison Kelly wrote: On 2023-01-11 00:14, Madison Kelly wrote: Hi all, Edit: Last message was in HTML format, sorry about that. I've got a hell of a weird pro

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-10 Thread Madison Kelly
On 2023-01-11 00:21, Madison Kelly wrote: On 2023-01-11 00:14, Madison Kelly wrote: Hi all, Edit: Last message was in HTML format, sorry about that.    I've got a hell of a weird problem, and I am absolutely stumped on what's going on.    The short of it is; if my RA is called from the comm

Re: [ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-10 Thread Madison Kelly
On 2023-01-11 00:14, Madison Kelly wrote: Hi all, Edit: Last message was in HTML format, sorry about that.   I've got a hell of a weird problem, and I am absolutely stumped on what's going on.   The short of it is; if my RA is called from the command line, it's fine. If a resource exists,

[ClusterLabs] RA hangs when called by crm_resource (resending text format)

2023-01-10 Thread Madison Kelly
Hi all, Edit: Last message was in HTML format, sorry about that. I've got a hell of a weird problem, and I am absolutely stumped on what's going on. The short of it is; if my RA is called from the command line, it's fine. If a resource exists, monitor, enable, disable, all that stuff wo