Re: [ClusterLabs] pcsd communications redundancy

2015-11-25 Thread Tomas Jelinek
Hi Devin, pcs communicates with pcsd on other nodes using ring0 addresses only. Pcsd and web UI has the same issue. We want to change this and make pcs use other node's addresses in a case where a node is not available using ring0 address. It is however not in our short-term plan currently.

Re: [ClusterLabs] Cluster administration from non-root users

2016-06-13 Thread Tomas Jelinek
Dne 13.6.2016 v 13:57 Auer, Jens napsal(a): Hi, I am trying to give admin rights to my clusters to non-root users. I have two users which need to be able to control the cluster. Both are members of the haclient group, and I have created acl roles granting write-access. I can query the cluster

Re: [ClusterLabs] Bundler Error while building PCSD

2016-06-23 Thread Tomas Jelinek
Dne 22.6.2016 v 13:06 Anup Halarnkar napsal(a): *OS*: RHEL 7.2* Arch*: PPC64LE* uname -a :*Linux x 3.10.0-229.ael7b.ppc64le _#1_ SMP Fri Jan 30 12:03:50 EST 2015 ppc64le ppc64le ppc64le GNU/Linux *Versions of installed ruby packages:*

Re: [ClusterLabs] eventmachine gem in pcsd

2016-06-28 Thread Tomas Jelinek
Dne 27.6.2016 v 20:53 Valentin Vidic napsal(a): Hi, Is it safe to drop eventmachine as a dependency? I see it's only mentioned in the makefiles and not used by any of the ruby code: pcsd/Makefile: vendor/cache/eventmachine-1.2.0.1.gem \ pcsd/Gemfile:gem 'eventmachine' pcsd/Gemfile.lock:

Re: [ClusterLabs] Antw: Re: Q: Resource balancing opration

2016-04-21 Thread Tomas Jelinek
Dne 21.4.2016 v 08:56 Ulrich Windl napsal(a): Ken Gaillot schrieb am 20.04.2016 um 16:44 in Nachricht <571795e5.4090...@redhat.com>: On 04/20/2016 01:17 AM, Ulrich Windl wrote: Hi! I'm wondering: If you boot a node on a cluster, most resources will go to another node

Re: [ClusterLabs] pcs testsuite fail: test_run_all_workers

2016-07-26 Thread Tomas Jelinek
Dne 25.7.2016 v 20:43 Valentin Vidic napsal(a): FAIL: test_run_all_workers (pcs.test.test_utils.RunParallelTest) -- Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pcs/test/test_utils.py", line 1800,

Re: [ClusterLabs] Users Digest, Vol 19, Issue 3

2016-08-03 Thread Tomas Jelinek
Dne 3.8.2016 v 12:50 Maciej Kopczyński napsal(a): Thanks! I ran into more problems though. When configuring a stonith resource using pcs with stonith:external/libvirt I am geeting "Unable to create resource (...), it is not installed on this system." I have installed cluster_glue RPM package (I

Re: [ClusterLabs] Clusvcadm -Z substitute in Pacemaker

2016-07-11 Thread Tomas Jelinek
Dne 9.7.2016 v 06:39 jaspal singla napsal(a): Hello Everyone, I need little help, if anyone can give some pointers, it would help me a lot. In RHEL-7.x: There is concept of pacemaker and when I use the below command to freeze my resource group operation, it actually stops all of the resources

Re: [ClusterLabs] Minimal metadata for fencing agent

2016-08-05 Thread Tomas Jelinek
Dne 5.8.2016 v 13:16 Maciej Kopczyński napsal(a): Thanks for your answer Thomas and sorry for messing up the layout of messages - I was trying to write from a mobile phone using gmail... I was able to put something up using what I found on the web and my own writing. My agent seems to do what it

Re: [ClusterLabs] Corosync 2.4.0 is available at corosync.org!

2016-07-01 Thread Tomas Jelinek
Dne 30.6.2016 v 18:31 Digimer napsal(a): On 30/06/16 12:28 PM, Jan Friesse wrote: I am pleased to announce the latest release of Corosync 2.4.0 available immediately from our website at http://build.clusterlabs.org/corosync/releases/. This release is mostly about long awaited QDevice feature

Re: [ClusterLabs] pcs testsuite status

2016-06-28 Thread Tomas Jelinek
Dne 28.6.2016 v 14:06 Valentin Vidic napsal(a): I'm trying to run pcs tests on Debian unstable, but there are some strange failures like diffs failing due to an additional space at the end of the line or just with "Error: cannot load cluster status, xml does not conform to the schema" Any idea

Re: [ClusterLabs] How to change the name of one cluster resource and resource group ?

2017-02-01 Thread Tomas Jelinek
Dne 1.2.2017 v 16:13 Jihed M'selmi napsal(a): The only thing that I found is to create a backup with pcs config Modify it and then restore. I was hoping to use a simple command Pcs doesn't have a command for renaming resources, unfortunately. You don't need to backup and restore the

Re: [ClusterLabs] pcsd 99% CPU

2017-02-06 Thread Tomas Jelinek
Dne 3.2.2017 v 22:08 Scott Greenlese napsal(a): Hi all.. Over the past few days, I noticed that pcsd and ruby process is pegged at 99% CPU, and commands such as pcs status pcsd take up to 5 minutes to complete. On all active cluster nodes, top shows: PID USER PR NI VIRT RES SHR S %CPU %MEM

Re: [ClusterLabs] Problems with corosync and pacemaker with error scenarios

2017-01-17 Thread Tomas Jelinek
Dne 16.1.2017 v 18:18 Gerhard Wiesinger napsal(a): Hello Ken, thank you for the answers. On 16.01.2017 16:43, Ken Gaillot wrote: On 01/16/2017 08:56 AM, Gerhard Wiesinger wrote: Hello, I'm new to corosync and pacemaker and I want to setup a nginx cluster with quorum. Requirements: - 3

Re: [ClusterLabs] Live Guest Migration timeouts for VirtualDomain resources

2017-01-18 Thread Tomas Jelinek
Dne 18.1.2017 v 16:32 Ken Gaillot napsal(a): On 01/17/2017 04:45 PM, Scott Greenlese wrote: Ken and Co, Thanks for the useful information. I bumped the migrate-to timeout value from 1200ms to 360s , which should be more than enough time to successfully migrate the resource (i.e. the KVM

Re: [ClusterLabs] unable to add removed node to cluster

2016-09-06 Thread Tomas Jelinek
Hi, Dne 6.9.2016 v 08:12 Omar Jaber napsal(a): Hi, I create cluster contain three nodes when I remove one of the node by run "pcs cluster destroy" command This is the root cause of your problem. "pcs cluster destroy" only wipes out cluster configuration from a node but it does not tell

Re: [ClusterLabs] Pacemaker quorum behavior

2016-09-29 Thread Tomas Jelinek
Dne 29.9.2016 v 00:14 Ken Gaillot napsal(a): On 09/28/2016 03:57 PM, Scott Greenlese wrote: A quick addendum... After sending this post, I decided to stop pacemaker on the single, Online node in the cluster, and this effectively killed the corosync daemon: [root@zs93kl VD]# date;pcs cluster

Re: [ClusterLabs] Change permissions from command line

2016-10-27 Thread Tomas Jelinek
Dne 26.10.2016 v 12:37 Auer, Jens napsal(a): Hi, is it possible to change user permissions from the command line? I am Hi Jens, Using the web interface is the only option currently. I filed a bug for adding permissions management to cli. https://bugzilla.redhat.com/show_bug.cgi?id=1389214

Re: [ClusterLabs] Rename option group resource id with pcs

2017-04-11 Thread Tomas Jelinek
Dne 11.4.2017 v 08:53 SAYED, MAJID ALI SYED AMJAD ALI napsal(a): Hello, Is there any option in pcs to rename group resource id? Hi, No, there is not. Pacemaker doesn't really cover the concept of renaming a resource. From pacemaker's point of view one resource gets removed and another one

Re: [ClusterLabs] Rename option group resource id with pcs

2017-04-11 Thread Tomas Jelinek
Dne 11.4.2017 v 11:43 Dejan Muhamedagic napsal(a): Hi, On Tue, Apr 11, 2017 at 10:50:56AM +0200, Tomas Jelinek wrote: Dne 11.4.2017 v 08:53 SAYED, MAJID ALI SYED AMJAD ALI napsal(a): Hello, Is there any option in pcs to rename group resource id? Hi, No, there is not. Pacemaker doesn't

[ClusterLabs] pcs 0.9.157 released

2017-04-11 Thread Tomas Jelinek
drej Mular and Tomas Jelinek. Cheers, Tomas [CVE-2017-2661]: https://access.redhat.com/security/cve/CVE-2017-2661 [rhbz#1303969]: https://bugzilla.redhat.com/show_bug.cgi?id=1303969 [rhbz#1315627]: https://bugzilla.redhat.com/show_bug.cgi?id=1315627 [rhbz#1328882]: https://bugzilla.redhat.com/sh

Re: [ClusterLabs] How to force remove a cluster node?

2017-04-18 Thread Tomas Jelinek
Dne 17.4.2017 v 17:28 Ken Gaillot napsal(a): On 04/13/2017 01:11 PM, Scott Greenlese wrote: Hi, I need to remove some nodes from my existing pacemaker cluster which are currently unbootable / unreachable. Referenced

Re: [ClusterLabs] How to force remove a cluster node?

2017-04-19 Thread Tomas Jelinek
Dne 18.4.2017 v 19:52 Scott Greenlese napsal(a): My thanks to both Ken Gaillot and Tomas Jelinek for the workaround. The procedure(s) worked like a champ. I just have a few side comments / observations ... First - Tomas, in the bugzilla you show this error message on your cluster remove

Re: [ClusterLabs] PCSD Certificate

2017-07-10 Thread Tomas Jelinek
Dne 6.7.2017 v 07:41 BUVI napsal(a): Hi, I would like to know, why certiticate is created in pacemaker Hi, The certificate is not created by pacemaker. It's created by pcsd. It serves for encrypting network communication with pcsd, that is access to web UI and node-to-node communication.

Re: [ClusterLabs] PCSD - Change Port 2224

2017-07-10 Thread Tomas Jelinek
Dne 6.7.2017 v 10:47 philipp.achmuel...@arz.at napsal(a): Hi, I would like to change default Port for webaccess - actually this is "hardcoded" to 2224 - any plans to integrate this into any config file so this could be changed more easy? Hi, Yes, we plan to make the port configurable. The

[ClusterLabs] pcs 0.9.159 released

2017-06-30 Thread Tomas Jelinek
9.158 it was enabled by default, in 0.9.157 and older it was disabled) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [rhbz#1165821]: https://bugzilla.redhat.com/show_bug.cgi?id=1165821 [rhbz#1176018]: https:/

Re: [ClusterLabs] Unable to add 'NodeX' to cluster: node is already in a cluster

2017-06-29 Thread Tomas Jelinek
Hi Scott, It looks like some of cluster configuration files still exist on your node 'zs95KLpcs1'. Try running "pcs cluster destroy" on that node. This will delete all cluster config files on the node. So make sure it is the right node before running the command. Then you should be able to

Re: [ClusterLabs] resource group vs colocation

2017-04-28 Thread Tomas Jelinek
Dne 27.4.2017 v 23:13 Ken Gaillot napsal(a): On 04/27/2017 02:02 PM, lejeczek wrote: hi everyone I have a group and I'm trying to colocate - sounds strange - order with the group is not how I want it. I was hoping that with colocation set I can reorder the resources - can I? Because ..

[ClusterLabs] pcs 0.9.158 released

2017-05-26 Thread Tomas Jelinek
]) Thanks / congratulations to everyone who contributed to this release, including elpetak, Ivan Devat, Jan Pokorný, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghissue#98]: https://github.com/ClusterLabs/pcs/issues/98 [ghissue#134]: https://github.com/ClusterLabs/pcs/issues/134 [rhbz#1176018

Re: [ClusterLabs] can't create master/slave resource

2017-09-20 Thread Tomas Jelinek
Hi, systemd resources cannot be used as master/slave resources. In order to use a resource as a master/slave, the resource must support promote and demote actions [1], which systemd resources don't. # pcs resource create test systemd:postfix # pcs resource master test # pcs cluster verify -V

Re: [ClusterLabs] can't create master/slave resource

2017-09-20 Thread Tomas Jelinek
Dne 20.9.2017 v 09:03 Tomas Jelinek napsal(a): Hi, systemd resources cannot be used as master/slave resources. In order to use a resource as a master/slave, the resource must support promote and demote actions [1], which systemd resources don't. # pcs resource create test systemd:postfix

[ClusterLabs] pcs 0.9.160 released

2017-10-11 Thread Tomas Jelinek
. Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Jan Pokorný, Ondrej Mular, Tomas Jelinek and Valentin Vidic. Cheers, Tomas [ghissue#118]: https://github.com/ClusterLabs/pcs/issues/118 [ghissue#132]: https://github.com/ClusterLabs/pcs/issues/132 [rhbz#12139

Re: [ClusterLabs] building from source

2017-11-30 Thread Tomas Jelinek
Dne 29.11.2017 v 16:03 Ken Gaillot napsal(a): On Tue, 2017-11-28 at 11:23 -0800, Aaron Cody wrote: I'm trying to build all of the pacemaker/corosync components from source instead of using the redhat rpms - I have a few questions. I'm building on redhat 7.2 and so far I have been able to

Re: [ClusterLabs] Antw: Re: questions about startup fencing

2017-12-05 Thread Tomas Jelinek
Dne 4.12.2017 v 17:21 Jehan-Guillaume de Rorthais napsal(a): On Mon, 4 Dec 2017 16:50:47 +0100 Tomas Jelinek <tojel...@redhat.com> wrote: Dne 4.12.2017 v 14:21 Jehan-Guillaume de Rorthais napsal(a): On Mon, 4 Dec 2017 12:31:06 +0100 Tomas Jelinek <tojel...@redhat.com> wro

Re: [ClusterLabs] Antw: Re: questions about startup fencing

2017-12-05 Thread Tomas Jelinek
Dne 4.12.2017 v 23:17 Ken Gaillot napsal(a): On Mon, 2017-12-04 at 22:08 +0300, Andrei Borzenkov wrote: 04.12.2017 18:47, Tomas Jelinek пишет: Dne 4.12.2017 v 16:02 Kristoffer Grönlund napsal(a): Tomas Jelinek <tojel...@redhat.com> writes: * how is it shutting down the cluster when i

Re: [ClusterLabs] pcs remove command doesn't work to remove monitor operations

2017-11-20 Thread Tomas Jelinek
Hi, pcs is a separate package not included in pacemaker, so pacemaker versions are mostly irrelevant here. Maybe the operation doesn't exist. What is the output of "pcs resource show FSCheck"? Regards, Tomas Dne 19.11.2017 v 16:19 jaspal singla napsal(a): Hello Community, Need some

[ClusterLabs] pcs 0.9.161 released

2017-11-03 Thread Tomas Jelinek
to this release, including Bruno Travouillon, Ivan Devat, Ondrej Mular, Tomas Jelinek and Valentin Vidic. Cheers, Tomas [ghissue#145]: https://github.com/ClusterLabs/pcs/issues/145 [ghissue#151]: https://github.com/ClusterLabs/pcs/issues/151 [rhbz#1230919]: https://bugzilla.redhat.com/show_bug.cgi?id

Re: [ClusterLabs] Antw: Re: questions about startup fencing

2017-12-04 Thread Tomas Jelinek
Dne 4.12.2017 v 16:02 Kristoffer Grönlund napsal(a): Tomas Jelinek <tojel...@redhat.com> writes: * how is it shutting down the cluster when issuing "pcs cluster stop --all"? First, it sends a request to each node to stop pacemaker. The requests are sent in parallel which pr

Re: [ClusterLabs] Antw: Re: questions about startup fencing

2017-12-04 Thread Tomas Jelinek
Dne 4.12.2017 v 14:21 Jehan-Guillaume de Rorthais napsal(a): On Mon, 4 Dec 2017 12:31:06 +0100 Tomas Jelinek <tojel...@redhat.com> wrote: Dne 4.12.2017 v 10:36 Jehan-Guillaume de Rorthais napsal(a): On Fri, 01 Dec 2017 16:34:08 -0600 Ken Gaillot <kgail...@redhat.com> wrote:

Re: [ClusterLabs] 答复: How to change the "pcs constraint colocation set"

2018-05-15 Thread Tomas Jelinek
straint colocation --full" and find the constraint you want to remove. -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Tomas Jelinek 发送时间: 2018年5月15日 15:42 收件人: users@clusterlabs.org 主题: Re: [ClusterLabs] How to change the "pcs constraint colocation set" Dne 15.5.2

Re: [ClusterLabs] How to change the "pcs constraint colocation set"

2018-05-15 Thread Tomas Jelinek
Dne 15.5.2018 v 05:25 范国腾 napsal(a): Hi, We have two VIP resources and we use the following command to make them in different node. pcs constraint colocation set pgsql-slave-ip1 pgsql-slave-ip2 setoptions score=-1000 Now we add a new node into the cluster and we add a new VIP too. We want

Re: [ClusterLabs] pcsd processes using 100% CPU

2018-05-23 Thread Tomas Jelinek
Dne 22.5.2018 v 18:47 Shobe, Casey napsal(a): Not really enough info to debug... And I don't think I encountered this myself. Is there something more I can do to gather more information when this happens? I'm not very familiar with strace, just ran it on the PID and saw the screen fill up

Re: [ClusterLabs] How to set up fencing/stonith

2018-05-23 Thread Tomas Jelinek
Dne 22.5.2018 v 23:24 Casey & Gina napsal(a): On May 18, 2018, at 1:29 PM, Ken Gaillot wrote: Perhaps there is a bug in the packaging? It sounds like it, or perhaps a portability issue in the agent itself. There were missing dependencies. I've resolved that, so now am

Re: [ClusterLabs] How to set up fencing/stonith

2018-05-21 Thread Tomas Jelinek
Dne 18.5.2018 v 21:29 Ken Gaillot napsal(a): On Fri, 2018-05-18 at 12:01 -0600, Casey & Gina wrote: pcmk_host_list="" - not sure about this one - I'm guessing this would actually be the same input as the list I was inputting to the HOSTLIST parameter with the external/vcenter approach? port=""

Re: [ClusterLabs] How to set up fencing/stonith

2018-05-21 Thread Tomas Jelinek
Dne 18.5.2018 v 17:40 Casey & Gina napsal(a): Thank you - I hadn't seen the "releases" link on github before and somehow missed that. Sorry for that. I thought there would be download links somewhere on the clusterlabs website. I will try compiling this today to try. I finally managed to

Re: [ClusterLabs] pcsd processes using 100% CPU

2018-05-21 Thread Tomas Jelinek
Dne 18.5.2018 v 22:04 Shobe, Casey napsal(a): On a couple clusters that have been running for a little while (without fencing), I'm seeing runaway server.rb processes using 100% of a single CPU core each. When I look at ps, I can see that these have something to do with pcsd: USER PID

Re: [ClusterLabs] pcs 0.9.165 released

2018-06-26 Thread Tomas Jelinek
Dne 25.6.2018 v 21:29 Jan Pokorný napsal(a): On 25/06/18 12:08 +0200, Tomas Jelinek wrote: I am happy to announce the latest release of pcs, version 0.9.165. What a mighty patch/micro version component ;-) With several pacemaker 2.0 release candidates out, it would be perhaps welcome

[ClusterLabs] pcs 0.9.165 released

2018-06-25 Thread Tomas Jelinek
to everyone who contributed to this release, including Bruno Travouillon, Ivan Devat, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghpull#166]: https://github.com/ClusterLabs/pcs/pull/166 [rhbz#1427273]: https://bugzilla.redhat.com/show_bug.cgi?id=1427273 [rhbz#1462248]: https://bugzilla.redhat.com

Re: [ClusterLabs] “pcs --debug” does not work

2018-01-22 Thread Tomas Jelinek
Hello, the --debug option is supposed to be used as an additional option for a pcs command, for example: pcs status --debug pcs --debug resource create dummy ocf:pacemaker:Dummy It writes what a command is doing in the background - running other commands, communicating over network.

Re: [ClusterLabs] “pcs --debug” does not work

2018-01-22 Thread Tomas Jelinek
Dne 22.1.2018 v 11:01 Klaus Wenninger napsal(a): On 01/22/2018 10:46 AM, Tomas Jelinek wrote: Hello, the --debug option is supposed to be used as an additional option for a pcs command, for example: pcs status --debug pcs --debug resource create dummy ocf:pacemaker:Dummy It writes what

Re: [ClusterLabs] pcs cluster setup removes /etc/pacemaker/authkey

2018-02-23 Thread Tomas Jelinek
Hi, Since upstream version 0.9.158, pcs takes care of the pacemaker authkey itself [1] (Pacemaker version doesn't matter in this case). That means: * pcs wipes out the authkey on "cluster destroy" * pcs creates and distributes the authkey on "cluster setup" * pcs distributes the authkey when

[ClusterLabs] pcs 0.9.163 released

2018-02-21 Thread Tomas Jelinek
ory. The original functionality is available in the `pcs resource|stonith refresh` command. ([rhbz#1508351], [rhbz#1508350]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Jan Pokorný, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghissue#153]: ht

Re: [ClusterLabs] How to configure to make each slave resource has one VIP

2018-02-23 Thread Tomas Jelinek
Dne 23.2.2018 v 08:17 范国腾 napsal(a): Hi, Our system manages the database (one master and multiple slave). We use one VIP for multiple Slave resources firstly. Now I want to change the configuration that each slave resource has a separate VIP. For example, I have 3 slave nodes and my VIP

Re: [ClusterLabs] 答复: How to configure to make each slave resource has one VIP

2018-02-23 Thread Tomas Jelinek
n -邮件原件- 发件人: Users [mailto:users-boun...@clusterlabs.org] 代表 Tomas Jelinek 发送时间: 2018年2月23日 17:02 收件人: users@clusterlabs.org 主题: Re: [ClusterLabs] How to configure to make each slave resource has one VIP Dne 23.2.2018 v 08:17 范国腾 napsal(a): Hi, Our system manages the database (

Re: [ClusterLabs] Stonith stops after vSphere restart

2018-02-22 Thread Tomas Jelinek
Try this: pcs resource meta vmware_soap failure-timeout= Tomas Dne 22.2.2018 v 14:55 j...@disroot.org napsal(a): Hi, I am trying to configure the failure-timeout for stonith, but I only can do it for the other resources. When try to enable it for stonith, I get this error: "Error:

Re: [ClusterLabs] Fence agent executing thousands of API calls per hour

2018-08-03 Thread Tomas Jelinek
It does not show anything new because your command `pcs resource op monitor interval=15m vmware_fence` is not a valid pcs command. There is a bug in pcs so when this command is executed, pcs does nothing and exits with 0. It should report the command does not exist. I think you meant: pcs

[ClusterLabs] pcs 0.10.0.alpha.1 available

2018-07-17 Thread Tomas Jelinek
, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghpull#166]: https://github.com/ClusterLabs/pcs/pull/166 [rhbz#1158816]: https://bugzilla.redhat.com/show_bug.cgi?id=1158816 [rhbz#1183103]: https://bugzilla.redhat.com/show_bug.cgi?id=1183103 [rhbz#1427273]: https://bugzilla.redhat.com/show_bug.cgi?id

[ClusterLabs] pcs 0.9.164 released

2018-04-10 Thread Tomas Jelinek
]) - CVE-2018-1000119 rack-protection: Timing attack in authenticity_token.rb ([rhbz#1534027]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Ondrej Famera, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [rhbz#1534027]: https://bugzilla.redhat.com

Re: [ClusterLabs] pcs cluster setup fails after pcs cluster auth suceeds

2018-04-19 Thread Tomas Jelinek
Can you run those two commands with the --debug flag and post the output? Also it would be nice to know what pcs version you have. Regards, Tomas Dne 18.4.2018 v 23:25 Casey & Gina napsal(a): What would cause this situation? I'm following the same process as I have previously, and don't

Re: [ClusterLabs] pcs cluster setup fails after pcs cluster auth suceeds

2018-04-23 Thread Tomas Jelinek
This is a known issue. Take a look at https://github.com/ClusterLabs/pcs/issues/153#issuecomment-346849207 for more details and steps to fix it. Regards, Tomas Dne 20.4.2018 v 02:06 Casey & Gina napsal(a): On Apr 19, 2018, at 12:37 AM, Tomas Jelinek <tojel...@redhat.com> wrote: C

Re: [ClusterLabs] pcs cluster setup fails after pcs cluster auth suceeds

2018-04-24 Thread Tomas Jelinek
I'm sorry I missed that. The log after deleting corosync.conf states: "I, [2018-04-19T23:59:15.690007 #19357] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n", "I, [2018-04-19T23:59:15.690021 #19357] INFO -- : CIB USER: hacluster, groups: \n", "D,

Re: [ClusterLabs] pcs cluster setup removes /etc/pacemaker/authkey

2018-02-27 Thread Tomas Jelinek
h the chicken-and-egg problem with distributing authkey? Olaf P. Faaland Livermore Computing From: Users <users-boun...@clusterlabs.org> on behalf of Tomas Jelinek <tojel...@redhat.com> Sent: Friday, February 23, 2018 12:44 AM To: users@clus

[ClusterLabs] pcs 0.9.166 released

2018-10-05 Thread Tomas Jelinek
bly provide such information ([rhbz#1475318]) - Instance attributes setting for fence agents `fence_compute` and `fence_evacuate` ([rhbz#1623181]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Ondrej Mular, Tomas Jelinek and Valentin Vidic. Cheers, To

[ClusterLabs] pcs 0.10.0.alpha.6 available

2018-09-19 Thread Tomas Jelinek
lations to everyone who contributed to this milestone, including Ivan Devat, Jan Pokorný, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghpull#166]: https://github.com/ClusterLabs/pcs/pull/166 [rhbz#1158816]: https://bugzilla.redhat.com/show_bug.cgi?id=1158816 [rhbz#1183103]: https://bugzilla.red

Re: [ClusterLabs] pcs API / python module

2018-09-21 Thread Tomas Jelinek
Dne 20. 09. 18 v 17:37 Ken Gaillot napsal(a): On Thu, 2018-09-20 at 17:51 +0300, George Melikov wrote: Hello all, are there any official API for pacemaker/pcs? I'm interested in python integration especially. There are pcs module, but looks like it doesn't have stable API? http

Re: [ClusterLabs] meatware stonith

2018-09-26 Thread Tomas Jelinek
Dne 26. 09. 18 v 17:11 Patrick Whitney napsal(a): Hey everyone, I'm doing some pacemaker/corosync/dlm/clvm testing.  I'm without a power fencing solution at the moment, so I wanted to utilize meatware, but it doesn't show when I list available stonith devices (pcs stonith list). Hi Pat,

Re: [ClusterLabs] pcs 0.10.1 released

2018-12-07 Thread Tomas Jelinek
Dne 27. 11. 18 v 0:48 Jan Pokorný napsal(a): Congratulations for the release. On 26/11/18 17:26 +0100, Tomas Jelinek wrote: Main changes compared to 0.9 branch: [...] * Python 3.6+ and Ruby 2.2+ is now required Out of curiosity, what's the driver for such a steep Python version lower bound

Re: [ClusterLabs] VirtualDomain & parallel shutdown

2018-11-27 Thread Tomas Jelinek
Dne 26. 11. 18 v 21:41 Ken Gaillot napsal(a): On Mon, 2018-11-26 at 14:24 +0200, Klecho wrote: Hi again, Just made one simple "parallel shutdown" test with a strange result, confirming the problem I've described. Created a few dummy resources, each of them taking 60s to stop. No constraints

[ClusterLabs] pcs 0.10.1 released

2018-11-26 Thread Tomas Jelinek
who contributed to this release, including Bruno Travouillon, Ivan Devat, Jan Pokorný, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghpull#166]: https://github.com/ClusterLabs/pcs/pull/166 [rhbz#1158816]: https://bugzilla.redhat.com/show_bug.cgi?id=1158816 [rhbz#1183103]: https://bugzilla.redhat.

Re: [ClusterLabs] (no subject)

2019-03-12 Thread Tomas Jelinek
Dne 11. 03. 19 v 22:18 Full Name napsal(a): I have done pcs resource agents which returns a long list of resources. Unfortunately, it does not tell you what standard they are associated with. 'pcs resource list --nodesc' prints a list of resource agents with their full names, i.e.

Re: [ClusterLabs] Interface confusion

2019-03-15 Thread Tomas Jelinek
Dne 15. 03. 19 v 12:32 Adam Budziński napsal(a): Hello Folks, __ __ Tow node active/passive VMware VM cluster. __ __ /etc/hosts __ __ 10.116.63.83    srv1 10.116.63.84    srv2 172.16.21.12    srv2cr1 172.16.22.12    srv2cr2 172.16.21.11    srv1cr1

Re: [ClusterLabs] Question about fencing

2019-04-18 Thread Tomas Jelinek
Dne 17. 04. 19 v 23:17 JCA napsal(a): Here is what I did: # pcs stonith create disk_fencing fence_scsi pcmk_host_list="one two" pcmk_monitor_action="metadata" pcmk_reboot_action="off" devices="/dev/disk/by-id/ata-VBOX_HARDDISK_VBaaa429e4-514e8ecb" meta provides="unfencing" Why did you set

Re: [ClusterLabs] Interface confusion

2019-03-15 Thread Tomas Jelinek
g for your cluster. Tomas Thank you! pt., 15.03.2019, 13:14 użytkownik Tomas Jelinek <mailto:tojel...@redhat.com>> napisał: Dne 15. 03. 19 v 12:32 Adam Budziński napsal(a): > Hello Folks, > > __ __ > > Tow nod

[ClusterLabs] pcs 0.10.2 released

2019-06-13 Thread Tomas Jelinek
`pcs resource show`, removed in pcs-0.10.1, has been readded as deprecated to ease transition to its replacements. It will be removed again in future. [rhbz#1661059] Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Ondrej Mular, Tomas Jelinek and V

Re: [ClusterLabs] shutdown of 2-Node cluster when power outage

2019-04-23 Thread Tomas Jelinek
Dne 21. 04. 19 v 15:46 Andrei Borzenkov napsal(a): 21.04.2019 16:32, Lentes, Bernd пишет: - Am 21. Apr 2019 um 6:51 schrieb Andrei Borzenkov arvidj...@gmail.com: 20.04.2019 22:29, Lentes, Bernd пишет: - Am 18. Apr 2019 um 16:21 schrieb kgaillot kgail...@redhat.com: Simply

Re: [ClusterLabs] Question on permissions for pcsd ghost files

2019-04-23 Thread Tomas Jelinek
The files are listed as ghost files in order to let rpm know they belong to pcs but are not distributed in rpm packages. Those files are created by pcsd in runtime. I guess the 000 permissions come from the fact those files are not present in rpm packages. The real permissions you have look

Re: [ClusterLabs] Antw: Re: Question on permissions for pcsd ghost files

2019-04-23 Thread Tomas Jelinek
Dne 23. 04. 19 v 13:26 Ulrich Windl napsal(a): Tomas Jelinek schrieb am 23.04.2019 um 12:36 in Nachricht : The files are listed as ghost files in order to let rpm know they belong to pcs but are not distributed in rpm packages. Those files are created by pcsd in runtime. I guess the 000

Re: [ClusterLabs] Adding HAProxy as a Resource

2019-07-15 Thread Tomas Jelinek
Hi, Do you have a systemd unit file for haproxy installed? Does 'crm_resource --list-standards' print 'systemd'? Does 'crm_resource --list-agents systemd' print 'haproxy'? Note that when you use full agent name (that is including : ) it is case sensitive in pcs. Regards, Tomas Dne 11. 07.

Re: [ClusterLabs] "node is unclean" leads to gratuitous reboot

2019-07-15 Thread Tomas Jelinek
Dne 09. 07. 19 v 14:54 Michael Powell napsal(a): ... Here’s the configuration, from the first node – [root@mgraid-16201289RN00023-0 bin]# pcs config Cluster Name: Corosync Nodes: mgraid-16201289RN00023-0 mgraid-16201289RN00023-1 Pacemaker Nodes: mgraid-16201289RN00023-0

Re: [ClusterLabs] [EXTERNAL] What's the best practice to scale-out/increase the cluster size?

2019-07-15 Thread Tomas Jelinek
Dne 11. 07. 19 v 16:01 Michael Powell napsal(a): Thanks again for the feedback. As a novice to Pacemaker, I am learning a great deal and have a great deal more to learn. I'm afraid I was not precise in my choice of the term "stand-alone". As you point out, our situation is really case b)

Re: [ClusterLabs] PCSD - High Memory Usage

2019-06-27 Thread Tomas Jelinek
Hi, We (pcs developers) do not have any statistics regarding pcsd memory consumption on a cluster with that many nodes and resources. So I cannot confirm if this is normal or not. That being said, it seems to me the memory usage is higher than it should be. Over the time, there has been

[ClusterLabs] pcs 0.9.168 released

2019-08-13 Thread Tomas Jelinek
ions to everyone who contributed to this release, including Ivan Devat, Ondrej Mular and Tomas Jelinek Cheers, Tomas [rhbz#1466088]: https://bugzilla.redhat.com/show_bug.cgi?id=1466088 [rhbz#1500012]: https://bugzilla.redhat.com/show_bug.cgi?id=1500012 [rhbz#1551663]: https://bugzilla.redhat.com/show_bug.

Re: [ClusterLabs] Command to show location constraints?

2019-08-28 Thread Tomas Jelinek
Dne 28. 08. 19 v 6:07 Andrei Borzenkov napsal(a): 27.08.2019 18:24, Casey & Gina пишет: Hi, I'm looking for a way to show just location constraints, if they exist, for a cluster. I'm looking for the same data shown in the output of `pcs config` under the "Location Constraints:" header, but

[ClusterLabs] pcs 0.10.3 released

2019-08-26 Thread Tomas Jelinek
- Command `pcs resource bundle reset` no longer accepts the container type ([rhbz#1657166]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Michal Pospisil, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [ghissue#206]: https://github.com/ClusterLabs/pcs

Re: [ClusterLabs] Q: The effect of using "default" attribute in RA metadata

2019-09-05 Thread Tomas Jelinek
Dne 03. 09. 19 v 11:27 Ulrich Windl napsal(a): Hi! Reading the RA API metadata specification, there is a "default" attribute for "parameter". I wonder what the effect of specifying a default is: Is it purely documentation (and the RA has to take care it uses the same default value as in the

Re: [ClusterLabs] Adding HAProxy as a Resource

2019-07-25 Thread Tomas Jelinek
is available for haproxy but the pcs resource standard command does not list systemd standard . Also I am not using the pacemaker packages from redhat. I am using the packages downloaded from clusterlabs. With Regards Somanath Thilak J -Original Message- From: Tomas Jelinek Sent

Re: [ClusterLabs] "pcs resource show --full" equivalent

2019-10-29 Thread Tomas Jelinek
Hi, The command has been deprecated. It still works with the most recent pcs: $ pcs resource show --full Warning: This command is deprecated and will be removed. Please use 'pcs resource config' instead. Resource: d3 (class=ocf provider=pacemaker type=Dummy) Operations: migrate_from

[ClusterLabs] pcs 0.10.4 released

2019-11-28 Thread Tomas Jelinek
are present in the corosync.conf file ([rhbz#1741586]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Michal Pospisil, Miroslav Lisik, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [rhbz#1442116]: https://bugzilla.redhat.com/show_bug.cgi?id=1442116 [rhbz

Re: [ClusterLabs] pacemaker certificate is not generated with SubjectAlternativeName

2020-03-02 Thread Tomas Jelinek
Dne 28. 02. 20 v 8:06 S Sathish S napsal(a): Hi Team, We have found that the Pacemaker certificate is not generated with SubjectAlternativeName. You are right, SubjectAlternativeName is not specified. Minor correction though, it's pcsd certificate, not pacemaker. Please find the general

Re: [ClusterLabs] PCS cluster auth fails

2020-02-07 Thread Tomas Jelinek
Hi, I haven't seen such a traceback before. It looks like there are pcsd files missing (/usr/lib/pcsd/vendor/bundle/ruby/gems/rack-1.6.10/lib/rack/multipart/parser.rb). Is this the case? If so, can you try reinstalling pcs packages on your nodes? Regards, Tomas Dne 07. 02. 20 v 7:39

Re: [ClusterLabs] pcs cluster auth succeeds but pcs cluster setup failed with"error checking node availability: Unable to authenticate ..."

2020-03-09 Thread Tomas Jelinek
Hi Ken, It looks like you are hitting this bug: https://bugs.launchpad.net/ubuntu/+source/pcs/+bug/1640923 Try removing /etc/corosync/corosync.conf on both your nodes and run the commands again. More info regarding the bug: https://bugzilla.redhat.com/show_bug.cgi?id=1517333

Re: [ClusterLabs] Off-line build-time cluster configuration

2020-04-16 Thread Tomas Jelinek
Hi Craig, Currently, there is no support in RHEL8 for an equivalent of the --local option of the 'pcs cluster setup' command from RHEL7. We were focusing higher priority tasks related to supporting the new major version of corosync and knet. As a part of this, the 'pcs cluster setup' command

Re: [ClusterLabs] Integrate external alerts with pcs cluster

2020-04-14 Thread Tomas Jelinek
Hi Ajay, Dne 11. 04. 20 v 13:04 Ajay Srivastava napsal(a): Hi, In my environment I have a pacemaker cluster running which has various software services as resource agents. These services have dependency on some hardware components. There is a service which monitors the hardware and sends

[ClusterLabs] pcs 0.9.169 released

2020-04-14 Thread Tomas Jelinek
resources for `pcs (resource | stonith) (cleanup | refresh)` ([rhbz#1759269]) ### Changed - Pcsd no longer sends Server HTTP header ([rhbz#1765606]) Thanks / congratulations to everyone who contributed to this release, including Ivan Devat, Ondrej Mular and Tomas Jelinek. Cheers, Tomas [rhbz

Re: [ClusterLabs] Off-line build-time cluster configuration

2020-04-24 Thread Tomas Jelinek
built unofficial packages, they are not guaranteed to work flawlessly. Regards, Tomas Dne 16. 04. 20 v 14:00 Tomas Jelinek napsal(a): Hi Craig, Currently, there is no support in RHEL8 for an equivalent of the --local option of the 'pcs cluster setup' command from RHEL7. We were focusing

Re: [ClusterLabs] Missing or Permissive Content-Security-Policy frameancestors HTTP Response Header in pcsd

2020-05-19 Thread Tomas Jelinek
Hi, Even if you disable the pcsd GUI, the daemon is still running and listening on port 2224. It is needed for pcs to be able to communicate with and manage cluster nodes. The fact the page is accessible is expected. What pcs version are you running? Regards, Tomas Dne 18. 05. 20 v 9:25

Re: [ClusterLabs] Missing or Permissive Content-Security-Policy frameancestors HTTP Response Header in pcsd

2020-05-22 Thread Tomas Jelinek
Hi, We added sending the Content-Security-Policy in commits: https://github.com/ClusterLabs/pcs/commit/d76924fda6574cdcdac4fc75f433dd58ae48cb2e and https://github.com/ClusterLabs/pcs/commit/76aa72a67d2f89c3f725a6e9187631c270e5bb0c Regards, Tomas Dne 19. 05. 20 v 10:06 Tomas Jelinek napsal

[ClusterLabs] pcs 0.10.7 released

2020-10-02 Thread Tomas Jelinek
including Ivan Devat, Miroslav Lisik, Ondrej Mular, Reid Wahl and Tomas Jelinek. Cheers, Tomas [ghissue#241]: https://github.com/ClusterLabs/pcs/issues/241 [rhbz#1222691]: https://bugzilla.redhat.com/show_bug.cgi?id=1222691 [rhbz#1741056]: https://bugzilla.redhat.com/show_bug.cgi?id=1741056 [

Re: [ClusterLabs] Antw: [EXT] Re: Format of '--lifetime' in 'pcs resource move'

2020-08-25 Thread Tomas Jelinek
Hi all, The lifetime value is indeed expected to be ISO 8601 duration. I updated pcs documentation to clarify that: https://github.com/ClusterLabs/pcs/commit/1e9650a8fd5b8a0a22911ddca1010de582684971 Please note constraints are not removed from CIB when their lifetime expires. They are

Re: [ClusterLabs] Adding a node to an active cluster

2020-10-22 Thread Tomas Jelinek
Hi, Have you reloaded corosync configuration after modifying corosync.conf? I don't see it in your procedure. Modifying the config file has no effect until you reload it with 'corosync-cfgtool -R'. It should not be needed to modify CIB and add the new node manually. If everything is done

  1   2   >