[Bug 722201] Re: CTDB port is not aware of Ubuntu-specific NFS Settings

Rafael David Tinoco rafaeldtinoco at kernelpath.com
Mon Jul 15 12:44:27 UTC 2019


I need sponsorship for:

https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+ref/lp1831381
-disco-devel-ctdb

So this SRU is done. Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/722201

Title:
  CTDB port is not aware of Ubuntu-specific NFS Settings

Status in samba package in Ubuntu:
  Fix Released
Status in samba source package in Bionic:
  Won't Fix
Status in samba source package in Cosmic:
  Won't Fix
Status in samba source package in Disco:
  In Progress
Status in samba source package in Eoan:
  Fix Released
Status in ctdb package in Debian:
  Fix Released

Bug description:
  [Impact]

   * SAMBA CTDB cluster suite does not work for High Available NFS setups
   * LP: #1821775 - ctdb cannot create PID file
   * LP: #1828799 - Package ctdb does not create directories in /var/lib/ctdb

  [Test Case]

   * Installing CTDB and trying to start the service (check /var/log/ctdb/ctdb.log):
     - no /etc/ctdb/nodes file, can't start
     - /var/lib/ctdb/volatile does not exist
     - and some other errors addressed in here

  [Regression Potential]

   * very small chances of causing issues to other parts of samba
   * ctdb app is placed in a specific directory and is not working nowadays

  [Other Info]
   
   * Documentation on how to enable this SRU: https://discourse.ubuntu.com/t/ctdb-create-a-3-node-nfs-ha-backed-by-a-clustered-filesystem/11608

  ORIGINAL DESCRIPTION:

   * Anything else you think is useful to include
   * Anticipate questions from users, SRU, +1 maintenance, security teams and the Technical Board
   * and address these questions in advance

  Binary package hint: ctdb

  CTDB suppose to detect distro-specific Samba/NFS/Apache settings, or
  at least provide the way to manual tweaking/config of ctdb. In the
  current state looks like ctdb has been ported from RH-based
  distribution and its partially aware of some Debian-specific
  settings/files/scripts locations, but completely unaware of Ubuntu.
  For examle: ctdb is able to control NFS daemons, but it never looks
  for /etc/init.d/nfs-kernel-server for startup or /etc/default/nfs-
  kernel-server for settings.

  1) Found on Ubuntu 10.04
  2) CTDB version: 1.0.108-3ubuntu3
  3) Expected: ability of ctdb to control nfs-kernel-server
  4) Happened: without significant ctdb script changes (adding sections, aware of ubuntu-specific nfs- and samba- config- and startup scripts locations) ctdb is not able to function properly

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



More information about the Ubuntu-sponsors mailing list