Public bug reported:

Pacemaker on Ubuntu 18.04 is not able to create a resource of type: 
ocf:heartbeat:CTDB.
It seems to be because the command
<code>
ctdb version
</code>
return Ubuntu in the vesion.

The issue is fixed upstream in the commit https://github.com/ClusterLabs
/resource-agents/commit/0c513d16259d94b492f0fe8dd0cbc2e5f98ee912#diff-
6f2dd2a1f5930ef451c54c7bf8df90adc5675aff2e0018552b5f428c66c59060

= To reproduce =

* apt install ctdb pacemaker corosync pcs
* passwd hacluster
* pcs cluster auth localhost -u hacluster
* pcs cluster setup --name test localhost --force --enable
* pcs cluster start --all
* echo "127.0.0.1" > /etc/ctdb/nodes
* touch /etc/default/ctdb
* pcs resource create ctdb ocf:heartbeat:CTDB ctdb_recovery_lock="/tmp/lock"

== Actual result ==
The command
<code>
pcs resource debug-start ctdb
</code>
return
<code>
Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'unknown error' (1)
....

</code>

== Expected result ==

<code>
pcs resource debug-start ctdb
</code>
return
<code>
Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'ok' (0)
....

</code>

** Affects: pacemaker (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  Pacemaker is not able to create a resource of type: ocf:heartbeat:CTDB.
- It seems to be because the command 
+ It seems to be because the command
  ```
  ctdb version
  ```
  return Ubuntu in the vesion.
  
  The issue is fixed upstream in the commit https://github.com/ClusterLabs
  /resource-agents/commit/0c513d16259d94b492f0fe8dd0cbc2e5f98ee912#diff-
  6f2dd2a1f5930ef451c54c7bf8df90adc5675aff2e0018552b5f428c66c59060
  
- # To reproduce
+ = To reproduce =
+ 
  * apt install ctdb pacemaker corosync pcs
  * passwd hacluster
  * pcs cluster auth localhost -u hacluster
  * pcs cluster setup --name test localhost --force --enable
  * pcs cluster start --all
  * echo "127.0.0.1" > /etc/ctdb/nodes
  * touch /etc/default/ctdb
  * pcs resource create ctdb ocf:heartbeat:CTDB ctdb_recovery_lock="/tmp/lock"
  
- 
- ## Actual result
+ == Actual result ==
  The command
- ```
+ <code>
  pcs resource debug-start ctdb
- ```
+ </code>
  return
- ```
+ <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'unknown error' (1)
  ....
  
- ```
+ </code>
  
- ## Expected result
+ == Expected result ==
  
- ```
+ <code>
  pcs resource debug-start ctdb
- ```
+ </code>
  return
- ```
+ <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'ok' (0)
  ....
  
- ```
+ </code>

** Description changed:

  Pacemaker is not able to create a resource of type: ocf:heartbeat:CTDB.
  It seems to be because the command
- ```
+ <code>
  ctdb version
- ```
+ </code>
  return Ubuntu in the vesion.
  
  The issue is fixed upstream in the commit https://github.com/ClusterLabs
  /resource-agents/commit/0c513d16259d94b492f0fe8dd0cbc2e5f98ee912#diff-
  6f2dd2a1f5930ef451c54c7bf8df90adc5675aff2e0018552b5f428c66c59060
  
  = To reproduce =
  
  * apt install ctdb pacemaker corosync pcs
  * passwd hacluster
  * pcs cluster auth localhost -u hacluster
  * pcs cluster setup --name test localhost --force --enable
  * pcs cluster start --all
  * echo "127.0.0.1" > /etc/ctdb/nodes
  * touch /etc/default/ctdb
  * pcs resource create ctdb ocf:heartbeat:CTDB ctdb_recovery_lock="/tmp/lock"
  
  == Actual result ==
  The command
  <code>
  pcs resource debug-start ctdb
  </code>
  return
  <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'unknown error' (1)
  ....
  
  </code>
  
  == Expected result ==
  
  <code>
  pcs resource debug-start ctdb
  </code>
  return
  <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'ok' (0)
  ....
  
  </code>

** Package changed: systemd (Ubuntu) => pacemaker (Ubuntu)

** Description changed:

- Pacemaker is not able to create a resource of type: ocf:heartbeat:CTDB.
+ Pacemaker on Ubuntu 18.04 is not able to create a resource of type: 
ocf:heartbeat:CTDB.
  It seems to be because the command
  <code>
  ctdb version
  </code>
  return Ubuntu in the vesion.
  
  The issue is fixed upstream in the commit https://github.com/ClusterLabs
  /resource-agents/commit/0c513d16259d94b492f0fe8dd0cbc2e5f98ee912#diff-
  6f2dd2a1f5930ef451c54c7bf8df90adc5675aff2e0018552b5f428c66c59060
  
  = To reproduce =
  
  * apt install ctdb pacemaker corosync pcs
  * passwd hacluster
  * pcs cluster auth localhost -u hacluster
  * pcs cluster setup --name test localhost --force --enable
  * pcs cluster start --all
  * echo "127.0.0.1" > /etc/ctdb/nodes
  * touch /etc/default/ctdb
  * pcs resource create ctdb ocf:heartbeat:CTDB ctdb_recovery_lock="/tmp/lock"
  
  == Actual result ==
  The command
  <code>
  pcs resource debug-start ctdb
  </code>
  return
  <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'unknown error' (1)
  ....
  
  </code>
  
  == Expected result ==
  
  <code>
  pcs resource debug-start ctdb
  </code>
  return
  <code>
  Operation start for ctdb (ocf:heartbeat:CTDB) returned: 'ok' (0)
  ....
  
  </code>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1927712

Title:
  The Pacemaker module "ocf:heartbeat:CTDB" does not work on Bionic

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pacemaker/+bug/1927712/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to