[ClusterLabs] Got pacemaker into a hung state

2024-09-15 Thread Madison Kelly
Hi all,   I was working on our OCF RA, and had a bug where the RA hung. (specifically, a DNS query returned a fake IP, probably a search engine after entering an invalid domain, and the RA hung checking if the target was in ~/.ssh/known_hosts). Specifically, I was trying to do a migration, wh

Re: [ClusterLabs] substitute vmware

2024-09-11 Thread Madison Kelly
qua., 11 de set. de 2024 às 14:02, Madison Kelly escreveu: On 2024-09-09 09:29, Paulo Ricardo Bruck wrote: Hello guys I have been using high availability since heartbeat and its a rock. One of my clients ask me if I could help then to substitute vmware in this cenario

Re: [ClusterLabs] substitute vmware

2024-09-11 Thread Madison Kelly
On 2024-09-09 09:29, Paulo Ricardo Bruck wrote: Hello guys I have been using high availability since heartbeat and its a rock. One of my clients ask me if I could help then to substitute vmware in this cenario 2 server 1 storage with DAS 4 virtual linux machines 2 virtual windows server all

[ClusterLabs] Detecting pacemaker version incompatibility during node rebuild

2024-06-13 Thread Madison Kelly
Hi all,   I'm working on a tool to rebuild a node that was lost. Given this scenario, upgrading the surviving node is not viable (at least, not until after the rebuild is completed and the services can be migrated).   I ran into a problem where 'pcs cluster start' exits with RC 0, and it _lo

[ClusterLabs] When did the CIB change how it reports in_ccm and crmd?

2024-01-20 Thread Madison Kelly
I'm sure it was announced and I missed it, but I just tripped over my pants when an update changed 'in_ccm' and 'crmd' in the CIB from 'true/false' to timestamps... When did that happen? Is there an announcement marking other changes that happened at the same time? Cheers, Madi -- wiki - h

Re: [ClusterLabs] Planning for Pacemaker 3

2024-01-03 Thread Madison Kelly
On 2024-01-03 12:06, Ken Gaillot wrote: Hi all, I'd like to release Pacemaker 3.0.0 around the middle of this year. I'm gathering proposed changes here: https://projects.clusterlabs.org/w/projects/pacemaker/pacemaker_3.0_changes/ Please review for anything that might affect you, and reply he

Re: [ClusterLabs] The Linux-HA site is down.

2023-05-03 Thread Madison Kelly
On 2023-05-03 05:26, 黃暄皓 wrote: As the title said,is it still in maintenance? I'm not sure who even owns or maintains that old domain. I don't think it's been used or maintained for a long time. -- Madison Kelly Alteeve's Ni

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-12 Thread Madison Kelly
'setsid --wait virsh '. Thanks! 2023年1月12日(木) 15:36 Madison Kelly : On 2023-01-12 01:26, Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:21 PM Madison Kelly wrote: On 2023-01-12 01:12, Reid Wahl wrote: On Wed, Jan 11, 2023 at 8:11 PM Madison Kelly wrote: Hi all, There wa

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't) - SOLVED!

2023-01-12 Thread Madison Kelly
On 2023-01-11 23:10, Madison Kelly wrote: Hi all,   There was a lot of sub-threads, so I figured it's helpful to start a new thread with a summary so far. For context; I have a super simple perl script that pretends to be an RA for the sake of debugging. https://pastebin.com/9z3

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-12 Thread Madison Kelly
On 2023-01-12 01:32, Vladislav Bogdanov wrote: What would be the reason of running that command without redirecting its output somewhere? In the real RA I am. I made a super stripped down test script to figure out how to make any call to virsh that didn't end up with it hanging. -- Ma

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-11 Thread Madison Kelly
On 2023-01-12 01:28, Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:27 PM Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:26 PM Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:21 PM Madison Kelly wrote: On 2023-01-12 01:12, Reid Wahl wrote: On Wed, Jan 11, 2023 at 8:11 PM Madison Kelly wrote

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-11 Thread Madison Kelly
On 2023-01-12 01:26, Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:21 PM Madison Kelly wrote: On 2023-01-12 01:12, Reid Wahl wrote: On Wed, Jan 11, 2023 at 8:11 PM Madison Kelly wrote: Hi all, There was a lot of sub-threads, so I figured it's helpful to start a new thread w

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-11 Thread Madison Kelly
On 2023-01-12 01:12, Reid Wahl wrote: On Wed, Jan 11, 2023 at 10:12 PM Reid Wahl wrote: On Wed, Jan 11, 2023 at 8:11 PM Madison Kelly wrote: Hi all, There was a lot of sub-threads, so I figured it's helpful to start a new thread with a summary so far. For context; I have a

Re: [ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-11 Thread Madison Kelly
On 2023-01-12 01:12, Reid Wahl wrote: On Wed, Jan 11, 2023 at 8:11 PM Madison Kelly wrote: Hi all, There was a lot of sub-threads, so I figured it's helpful to start a new thread with a summary so far. For context; I have a super simple perl script that pretends to be an RA for the

[ClusterLabs] Failed 'virsh' call when test RA run by crm_resource (con't)

2023-01-11 Thread Madison Kelly
resource triggered run of the test RA: - https://pastebin.com/vBiLVejW Still absolutely stumped. -- Madison Kelly Alteeve's Niche! Chief Technical Officer c: +1-647-471-0951 https://alteeve.com/ ___ Manage your subscription: https://lis

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
-> [none] Environment: [PCMK_service] -> [crm_resource] Environment: [_] -> [/usr/sbin/crm_resource] 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

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

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, Ma

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

2023-01-11 Thread Madison Kelly
ning 2.1.5 on CS8, so I'm already on the latest release. Looking at git, 2.1.5 is the latest tagged release... Are you running newer than that? 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,

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
k-to-back with consistent results. I've not built pacemaker in ages. Is there a src.rpm that's likely to build against centos stream 8 I could try? If not, do you know the command off and hand to create the rpm's from source? If not, I'll grab the source and read the docs for

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 absol

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

2023-01-10 Thread Madison Kelly
On January 11, 2023 2:26:57 a.m. EST, Ulrich Windl wrote: >>>> Madison Kelly schrieb am 11.01.2023 um 06:21 in >>>> Nachricht ><74df2c8e-1cff-ba07-7f4a-070be296b...@alteeve.com>: >> On 2023-01-11 00:14, Madison Kelly wrote: >>> Hi all, >&

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 calle

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

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

2023-01-10 Thread Madison Kelly
= Calling: [/usr/bin/virsh dumpxml --inactive srv04-test 2>&1; /usr/bin/echo return_code:0 |] Then nothing else. The strace output is: https://pastebin.com/raw/UCEUdBeP Environment; * selinux is permissive * Pacemaker 2.1.5-4.el8 * pcs 0.10.15 * 4.18.0-408.el8.x86_64 * CentOS S

[ClusterLabs] RA hangs when called by crm_resource

2023-01-10 Thread Madison Kelly
nt; * selinux is permissive * Pacemaker 2.1.5-4.el8 * pcs 0.10.15 * 4.18.0-408.el8.x86_64 * CentOS Stream release 8 Any help is appreciated, I am stumped. :/ -- Madison Kelly Alteeve's Ni

Re: [ClusterLabs] Preventing a resource from migrating to / starting on a node

2022-11-29 Thread Madison Kelly
On 2022-11-29 00:31, Reid Wahl wrote: On Mon, Nov 28, 2022 at 8:21 PM Madison Kelly wrote: This question builds on questions I was talking to kgaillot on IRC. I am try to prevent a resource from being allowed to migrate to or start on a given node

Re: [ClusterLabs] Antw: [EXT] Preventing a resource from migrating to / starting on a node

2022-11-29 Thread Madison Kelly
plain location constraint? Madison Kelly schrieb am 29.11.2022 um 05:21 in Nachricht -- Madison Kelly Alteeve's Niche! Chief Technical Officer c: +1-647-471-0951

[ClusterLabs] Preventing a resource from migrating to / starting on a node

2022-11-28 Thread Madison Kelly
v01-sql    (ocf::alteeve:server):     Started mk-a01n02 I feel like this shouldn't be so complicated, so I am likely over-thinking this, or missing something obvious... -- Madison Kelly Alteeve's Niche! Chief Technical Officer c: +1-647-471-0951 https://alteev

[ClusterLabs] HA Summit 2023

2022-11-23 Thread Madison Kelly
? Any preference for location, timing, etc? Madi -- Madison Kelly Alteeve's Niche! Chief Technical Officer c: +1-647-471-0951 https://alteeve.com/ ___ Manage your subscription: https://lists.clusterlabs.org/mailman

Re: [ClusterLabs] DRBD and SQL Server

2022-09-28 Thread Madison Kelly
On 2022-09-28 04:36, Jehan-Guillaume de Rorthais wrote: On Wed, 28 Sep 2022 02:33:59 -0400 Madison Kelly wrote: ... I'm happy to go into more detail, but I'll stop here until/unless you have more questions. Otherwise I'

Re: [ClusterLabs] DRBD and SQL Server

2022-09-27 Thread Madison Kelly
to the standby server and then the MySQL service is started on it. Does it work the same way with MSQL?      -Eric     From: Madison Kelly Sent: Monday, S

Re: [ClusterLabs] DRBD and SQL Server

2022-09-26 Thread Madison Kelly
through to the latest 9.1. What's your question? Madi -- Madison Kelly Alteeve's Niche! Chief Technical Officer c: +1-647-471-0951 https://alteeve.com/ ___ Manage your subscription: https://lists.clusterlabs.org/ma