Re: [ClusterLabs] Location not working [FIXED]

2023-04-12 Thread Klaus Wenninger
On Wed, Apr 12, 2023 at 9:27 AM Andrei Borzenkov wrote: > On Tue, Apr 11, 2023 at 6:27 PM Ken Gaillot wrote: > > > > On Tue, 2023-04-11 at 17:31 +0300, Miro Igov wrote: > > > I fixed the issue by changing location definition from: > > > > > > location intranet-ip_on_any_nginx intranet-ip \ > >

Re: [ClusterLabs] Location not working [FIXED]

2023-04-12 Thread Andrei Borzenkov
On Tue, Apr 11, 2023 at 6:27 PM Ken Gaillot wrote: > > On Tue, 2023-04-11 at 17:31 +0300, Miro Igov wrote: > > I fixed the issue by changing location definition from: > > > > location intranet-ip_on_any_nginx intranet-ip \ > > rule -inf: opa-nginx_1_active eq 0 \ > > rule -inf:

Re: [ClusterLabs] Location not working [FIXED]

2023-04-11 Thread Miro Igov
labs.org On Behalf Of Miro Igov= t; Sent: 10 April 2023 14:19 To: users@clusterlabs.org Subj= ect: [ClusterLabs] Location not working Hello, I = have a resource with location constraint set to: location= intranet-ip_on_any_nginx intranet-ip \ rule -inf: opa-ngin= x_1_active eq 0 \

Re: [ClusterLabs] Location not working [FIXED]

2023-04-11 Thread Ken Gaillot
are mandatory, so you may want to go back to that and just specify it as "ne 1". > > > > From: Users On Behalf Of Miro Igov > Sent: 10 April 2023 14:19 > To: users@clusterlabs.org > Subject: [ClusterLabs] Location not working > > Hello, > I have a

Re: [ClusterLabs] Location not working [FIXED]

2023-04-11 Thread Miro Igov
\ rule opa-nginx_2_active eq 1 Now it works fine and shows the constraint with: crm res constraint intranet-ip From: Users On Behalf Of Miro Igov Sent: 10 April 2023 14:19 To: users@clusterlabs.org Subject: [ClusterLabs] Location not working Hello, I have a resource

Re: [ClusterLabs] Location not working

2023-04-10 Thread Miro Igov
Subject: Re: [ClusterLabs] Location not working On Mon, 2023-04-10 at 16:33 +0300, Andrei Borzenkov wrote: > On Mon, Apr 10, 2023 at 4:26 PM Ken Gaillot > wrote: > > On Mon, 2023-04-10 at 14:18 +0300, Miro Igov wrote: > > > Hello, > > > I have a resourc

Re: [ClusterLabs] Location not working

2023-04-10 Thread Ken Gaillot
On Mon, 2023-04-10 at 16:33 +0300, Andrei Borzenkov wrote: > On Mon, Apr 10, 2023 at 4:26 PM Ken Gaillot > wrote: > > On Mon, 2023-04-10 at 14:18 +0300, Miro Igov wrote: > > > Hello, > > > I have a resource with location constraint set to: > > > > > > location intranet-ip_on_any_nginx

Re: [ClusterLabs] Location not working

2023-04-10 Thread Andrei Borzenkov
On Mon, Apr 10, 2023 at 4:26 PM Ken Gaillot wrote: > > On Mon, 2023-04-10 at 14:18 +0300, Miro Igov wrote: > > Hello, > > I have a resource with location constraint set to: > > > > location intranet-ip_on_any_nginx intranet-ip \ > > rule -inf: opa-nginx_1_active eq 0 \ > > rule

Re: [ClusterLabs] Location not working

2023-04-10 Thread Ken Gaillot
On Mon, 2023-04-10 at 14:18 +0300, Miro Igov wrote: > Hello, > I have a resource with location constraint set to: > > location intranet-ip_on_any_nginx intranet-ip \ > rule -inf: opa-nginx_1_active eq 0 \ > rule -inf: opa-nginx_2_active eq 0 You haven't specified a score for the

Re: [ClusterLabs] Location not working

2023-04-10 Thread Miro Igov
Labs - All topics related to open-source clustering welcomed Subject: Re: [ClusterLabs] Location not working

Re: [ClusterLabs] Location not working

2023-04-10 Thread Andrei Borzenkov
On Mon, Apr 10, 2023 at 2:19 PM Miro Igov wrote: > Hello, > > I have a resource with location constraint set to: > > > > location intranet-ip_on_any_nginx intranet-ip \ > > rule -inf: opa-nginx_1_active eq 0 \ > > rule -inf: opa-nginx_2_active eq 0 > > > > In syslog I see the

[ClusterLabs] Location not working

2023-04-10 Thread Miro Igov
Hello, I have a resource with location constraint set to: location intranet-ip_on_any_nginx intranet-ip \ rule -inf: opa-nginx_1_active eq 0 \ rule -inf: opa-nginx_2_active eq 0 In syslog I see the attribute transition: Apr 10 12:11:02 intranet-test2