[ClusterLabs] Cannot connect to the drbdmanaged process using DBus

2017-12-14 Thread Eric Robinson
I'm sure someone has seen this before. What does it mean? ha11a:~ # drbdmanage init 198.51.100.65 You are going to initialize a new drbdmanage cluster. CAUTION! Note that: * Any previous drbdmanage cluster information may be removed * Any remaining resources managed by a previous drbdmanage

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Jan Pokorný
On 14/12/17 20:59 +0300, Andrei Borzenkov wrote: > 14.12.2017 19:25, Jan Pokorný пишет: >> On 14/12/17 10:49 -0500, Julien Semaan wrote: >>> Great success! >>> >>> Adding the following line to /usr/lib/systemd/system/pacemaker.service did >>> it: >>> After=dbus.service >> >> Note, this is not a

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Jan Pokorný
On 14/12/17 17:25 +0100, Jan Pokorný wrote: > Anyway, the change is seemingly straightfoward, but few things > should be answered/investigated first: > - After=dbus.service or rather After=dbus.socket (or both)? In theory, dbus.socket would be more flexible should anyone want to redirect it to a

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Andrei Borzenkov
14.12.2017 19:25, Jan Pokorný пишет: > On 14/12/17 10:49 -0500, Julien Semaan wrote: >> Great success! >> >> Adding the following line to /usr/lib/systemd/system/pacemaker.service did >> it: >> After=dbus.service > > Note, this is not a proper way for overriding the systemd unit files, > which is

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Jan Pokorný
On 14/12/17 17:25 +0100, Jan Pokorný wrote: > On 14/12/17 10:49 -0500, Julien Semaan wrote: >> Great success! >> >> Adding the following line to /usr/lib/systemd/system/pacemaker.service did >> it: >> After=dbus.service > > [...] > > Anyway, the change is seemingly straightfoward, but few

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Julien Semaan
Hi Jan, Good clarification on my ugly systemd unit fix, wrote it a bit too fast and was so happy to finally track that one down. Good to know the bug will get notified through this channel, I'd be happy to provide any details to the maintainers if necessary. Cheers! -- Julien Semaan

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Jan Pokorný
On 14/12/17 10:49 -0500, Julien Semaan wrote: > Great success! > > Adding the following line to /usr/lib/systemd/system/pacemaker.service did > it: > After=dbus.service Note, this is not a proper way for overriding the systemd unit files, which is rather along the lines: - make a copy to

Re: [ClusterLabs] Issue with DRBD + a systemd resource

2017-12-14 Thread Julien Semaan
Hi Andrei, Great success! Adding the following line to /usr/lib/systemd/system/pacemaker.service did it: After=dbus.service Now, the question is, should the unit file shipped in the RPM be adjusted (currently using CentOS 7), if so, is this the best place to get the message going, or