This bug was fixed in the package samba - 2:4.10.0+dfsg-0ubuntu2.3
---
samba (2:4.10.0+dfsg-0ubuntu2.3) disco; urgency=medium
* CTDB enablement for NFS HA (LP: #722201) and needed fixes:
- d/p/ctdb-config-depend-on-etc-default-nodes-file.patch: do not try to
start daemon w
Following https://discourse.ubuntu.com/t/ctdb-create-a-3-node-nfs-ha-
backed-by-a-clustered-filesystem/11608:
(c)inaddy@ctdb01:~$ cat /etc/ctdb/public_addresses
192.168.0.1/24 fakeinternal01
192.168.0.2/24 fakeinternal01
192.168.0.3/24 fakeinternal01
(c)inaddy@ctdb01:~$ cat /etc/ctdb/nodes
172.16
Marking Disco SRU as verified.
** Tags removed: verification-needed verification-needed-disco
** Tags added: verification-done verification-done-disco
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722
I'm verifying Disco SRU and will provide feedback here very soon.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To manage notifi
FYI - this was resolved by a retry, all green now
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To manage notifications about th
Hello Kirill, or anyone else affected,
Accepted samba into disco-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/samba/2:4.10.0+dfsg-
0ubuntu2.3 in a few hours, and then in the -proposed repository.
Please help us by testing this new package. See
htt
Disco Merge request was approved by Canonical Server Team. Waiting
sponsorship for Disco. Thanks a lot for the reviews!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not a
I just re-pushed the same merge request with the changes flagged in MR
review. Thanks a lot Christian and Andreas for the review. I think this
is ready for sponsorship and SRU.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bu
** Description changed:
[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
+ * SAMBA CTDB cluster suite does not work for High Availab
** Package changed: ctdb (Debian) => samba (Debian)
** Bug watch removed: Samba Bugzilla #13860
https://bugzilla.samba.org/show_bug.cgi?id=13860
** Bug watch removed: Samba Bugzilla #13984
https://bugzilla.samba.org/show_bug.cgi?id=13984
** Bug watch removed: Samba Bugzilla #13985
https
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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad
** Changed in: samba (Ubuntu Disco)
Status: Confirmed => In Progress
** Changed in: samba (Ubuntu Eoan)
Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)
** Changed in: samba (Ubuntu Bionic)
Assignee: Rafael David Tinoco (rafaeldtinoco) => (unassigned)
** Changed in:
** Changed in: ctdb (Debian)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To manage no
I have done the SRU for Disco, but, right now I'm facing:
Jul 12 03:03:54 ctdbdisco ctdb-eventd[30929]: 60.nfs: ss: bison bellows (while
parsing filter): "syntax error!" Sorry.
Jul 12 03:03:54 ctdbdisco ctdb-eventd[30929]: 60.nfs: Usage: ss [ OPTIONS ]
Jul 12 03:03:54 ctdbdisco ctdb-eventd[30929]
** Description changed:
+ [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
I'm marking Bionic as won't fix since it has a pretty old CTDB
implementation and the effort in making all changes I've done into
Upstream/Sid/Eoan/Disco is not worth to be done in Bionic, in my
opinion. Opened to discussion if users are relying in Bionic CTDB for
NFS HA and can't make it work w/ o
For my last comment, this was fixed in the following version:
samba (2:4.10.0+dfsg-0ubuntu6) eoan; urgency=medium
* d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
change service name from nfs to nfs-kernel-server in
legacy script 06.nfs.script also (LP: #722201)
-- Rafael David
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+merge/370022
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not awa
Okay, for Eoan merge, I forgot to fix script 06.nfs (just like 60.nfs
was fixed) in the following patch:
* d/p/fix-nfs-service-name-to-nfs-kernel-server.patch:
change nfs service name from nfs to nfs-kernel-server
I'm creating a new MR to include this fix and the SRUs will contain
both.
**
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+merge/370016
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not awa
** Changed in: samba (Ubuntu Cosmic)
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To mana
This bug was fixed in the package samba - 2:4.10.0+dfsg-0ubuntu5
---
samba (2:4.10.0+dfsg-0ubuntu5) eoan; urgency=medium
* debian/rules: Make DEB_HOST_ARCH_CPU initialized through
dpkg-architecture (Closes: #931138)
* d/p/ctdb-scripts-fix-tcp_tw_recycle-existence-check.patch:
Fix (merge request) is being discussed and will (likely) get merged, for
Eoan, soon. I'll work in Bionic and Disco backports right after (SRU).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Tit
Provided documentation in here:
https://discourse.ubuntu.com/t/ctdb-create-a-3-node-nfs-ha-backed-by-a
-clustered-filesystem/11608
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB p
** Changed in: ctdb (Debian)
Status: Unknown => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To manage notific
I have fully tested the PPA for Eoan and the documentation is here:
https://blueprints.launchpad.net/ubuntu-server-ha/+spec/ctdb-enablement-
nfs
And the PPA:
https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1831381
And the git repo:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+sourc
** Merge proposal linked:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba/+merge/368550
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not awa
I have created the following PPA with all fixes:
https://launchpad.net/~rafaeldtinoco/+archive/ubuntu/lp1831381
And the following git repo:
https://code.launchpad.net/~rafaeldtinoco/ubuntu/+source/samba/+git/samba
Contains all commits I'm gonna propose tomorrow.
Because of git-ubuntu, I had to
I just realized bionic-backports has an affected (broken) version of
iproute2 (backported from cosmic). That should also be fixed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB po
CTDB will definitely depend on SRUs of:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1831775/comments/3
For Cosmic and Disco. Eoan will be merged to iproute2 latest.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://
For the iproute2 issue, Marting (samba upstream) and I found out that
iproute2 seems to be broken in Cosmic, Disco and Eoan. I have opened the
following bug:
https://bugs.launchpad.net/ubuntu/+source/iproute2/+bug/1831775
And will bisect iproute2 upstream code to propose a SRU for it.
With that,
For this last "ss" syntax issue, I have opened a bug in samba upstream
project and the most important comment, that explains what is happening,
is this one:
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13985
COMMENT: https://bugzilla.samba.org/show_bug.cgi?id=13985#c4
"""
Hello Martin,
E
For the bad ss syntax in /ctdb/config/functions: update_tickles(), I
have opened the following upstream bug:
https://bugzilla.samba.org/show_bug.cgi?id=13985
And provided the following tested patch:
https://lists.samba.org/archive/samba-technical/2019-June/133701.html
Waiting for upstream accep
Example of appendix to /etc/services to enable CTDB NFS HA:
/etc/services: (append)
rpc.nfsd 2049/tcp # RPC nfsd
rpc.nfsd 2049/udp # RPC nfsd
rpc.nfs-cb 32764/tcp # RPC nfs callback
rpc.nfs-cb 32764/udp # RPC nfs callback
rpc.statd-bc 32765/tcp # RPC statd broadcast
rpc.statd-bc 32765/udp # RPC s
With all those changes, that I'll provide either by suggesting upstream
patches and backporting to Debian Unstable -> Ubuntu Devel, or by
creating changes as regular Debian Package patches, I was able to make
CTDB NFS HA to work flawless:
(k)inaddy@ctdbclient01:~$ sudo mount -t nfs -o vers=3
ctdb
(k)inaddy@ctdbserver02:/etc/sysctl.d$ cat 98-nfs-static-ports.conf
fs.nfs.nfs_callback_tcpport = 32764
fs.nfs.nlm_tcpport = 32768
fs.nfs.nlm_udpport = 32768
TODO:
- provide a /etc/ctdb/98-nfs-static-ports-sysctl.conf.example
- provide instructions to place it as
/etc/sysctl.d/98-n
Example of /etc/default/nfs-kernel file to enable CTDB NFS HA:
## /etc/default/nfs-kernel-server
NFS_HOSTNAME="ctdbserver02.public" <- $HOSTNAME
# rpc.nfsd - user level part of nfs service (kernel: nfsd module)
RPCNFSDPRIORITY=0
RPCNFSDCOUNT=8
RPCNFSDOPTS="-N 4"
# rpc.mountd - server side of nf
Example of /etc/default/nfs-common file to enable CTDB NFS HA:
## /etc/default/nfs-common
NFS_HOSTNAME="ctdbserver02.public" <- $HOSTNAME
# rpc.statd - daemon listening for reboot notifications (locks related)
NEED_STATD="yes"
STATDOPTS="-n ${NFS_HOSTNAME} -p 32765 -o 32766 -H /etc/ctdb/statd-ca
Following error:
019/05/31 18:21:38.648661 ctdbd[1000]: Starting traverse on DB ctdb.tdb (id 806)
2019/05/31 18:21:38.651601 ctdbd[1000]: Ending traverse on DB ctdb.tdb (id
806), records 0
2019/05/31 18:21:40.185388 ctdb-eventd[1002]: 60.nfs: ss: bison bellows (while
parsing filter): "syntax err
(hit enter too fast)
- nfs-kernel-server
- nfs-common
- quota
So the NFS legacy events won't find problems when they are enabled.
Since those are not the only events supported by CTDB:
(k)inaddy@ctdbserver01:/etc/ctdb$ ctdb event script list legacy
* 00.ctdb
* 01.reclock
* 05.system
* 06.nfs
* 1
/etc/ctdb/events/legacy/60.nfs.script: 1: eval: rpc.rquotad: not found
legacy/60.nfs.script needs rpc.rquotad.
ctdb needs to depend on:
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
TODO:
- ctdb has to depend on nfs-common
(/usr/lib/systemd/scripts/nfs-utils_env.sh)
- ctdb has to update /usr/lib/systemd/scripts/nfs-utils_env.sh ->
NFS_HOSTNAME=nodename
- /etc/default/nfs-common has to be updated -> NFS_HOSTNAME=nodename
--
You received this bug noti
/etc/ctdb/nfs-linux-kernel-callout :
TODO:
- place non-upstream (?) patch (DEP3) inside debian/patches (quilt)
# Red Hat
# nfs_service="nfs"
# nfslock_service="nfslock"
# nfs_config="/etc/sysconfig/nfs"
# SUSE
# nfs_service="nfsserver"
TODO:
- ctdb.postinst and ctdbpostrm to create
/var/lib/ctdb{volatile,persistent,state}
- tmpfiles.d to create /run/ctdb
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
Future possible issue while ctdb is not merged to *at least* samba-4.9.8
(in Debian):
commit 49fa08814e2a1032e88353eec42b952316d6ec18
Author: Martin Schwenke
Date: Wed Mar 20 07:22:43 2019
ctdb-scripts: Update statd-callout to try several configuration
files
The alternative seems to b
Future possible issue While ctdb is not merged to *at least* samba-4.9.7
(in Debian):
commit 022b9a6ca7d8cb6f541b1b24b27da4e1a3bea04b
Author: Martin Schwenke
Date: Tue Mar 26 00:49:49 2019
ctdb-scripts: Add test variable CTDB_NFS_DISTRO_STYLE
BUG: https://bugzilla.samba.org/show_bug.c
https://bugzilla.samba.org/show_bug.cgi?id=13984
** Bug watch added: Samba Bugzilla #13984
https://bugzilla.samba.org/show_bug.cgi?id=13984
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Tit
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929931
** Bug watch added: Debian Bug tracker #929931
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=929931
** Changed in: ctdb (Debian)
Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)
--
You received this bug notificati
One of the issues is being addressed upstream:
https://lists.samba.org/archive/samba-technical/2019-June/133694.html
So we can avoid merge diffs about this in the future (and I can refer
upstream patch for this particular fix).
--
You received this bug notification because you are a member of U
Doing the CTDB setup I faced the same issues as:
https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1335540
https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1821775
https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/1828799
I'll merge the fixes (for those and this bug) altogether.
--
You r
** Also affects: samba (Ubuntu)
Importance: Undecided
Status: New
** Changed in: samba (Ubuntu)
Status: New => In Progress
** Changed in: samba (Ubuntu)
Importance: Undecided => Medium
** Changed in: samba (Ubuntu)
Assignee: (unassigned) => Rafael David Tinoco (rafaeldti
Robert,
I'll verify your patch on comment #6, since the nfs-kernel-server:
(k)inaddy@ctdbserver01:/lib/systemd$ systemctl list-dependencies
nfs-kernel-server.service
nfs-kernel-server.service
● ├─auth-rpcgss-module.service
● ├─nfs-config.service
● ├─nfs-idmapd.service
● ├─nfs-mountd.service
● ├─
Yes Robert,
I tried to documented all things needed to have it fully 'Ubuntu aware'.
I do agree with you on the hard dependencies for clustered files
systems, they don't make much sense.
I also see the need for a warn on disabling NFSv4, a warn or to
guarantee NFS RPC services bound to same stati
Please to not create a hard dependency on any of the mentioned cluster
filesystems (and Ceph) as only one of them is needed torun CTDB.
The latest CTDB is also able to store the recovery lock as a RADOS
object in Ceph. In addition with the Ceph VFS module for Samba CephFS is
not needed as a mount
I have reviewed this bug and read all CTDB documentation and my initial
thoughts for a proper CTDB Ubuntu Enablement are:
1)
(not addressed here, should we have a default pkg dependency here ?
there is none nowadays)
There is a mandatory dependency on a clustered file-system to exist,
since all
** Changed in: ctdb (Ubuntu)
Assignee: (unassigned) => Rafael David Tinoco (rafaeldtinoco)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific
There are some additional variables to be set in /etc/default/nfs-
kernel-server
NFS_HOSTNAME="servername"
RQUOTAD_PORT=598
LOCKD_UDPPORT=599
LOCKD_TCPPORT=599
STATD_PORT=595
STATD_OUTGOING_PORT=596
STATD_HOSTNAME="$NFS_HOSTNAME"
--
You received this bug notification because you are a member o
Ubuntu 19.04 comes with ctdb 4.10 which changes the layout of the files.
Attached is a new patch against ctdb 4.10
** Patch added: "ctdb-19.04.patch"
https://bugs.launchpad.net/ubuntu/+source/ctdb/+bug/722201/+attachment/5249508/+files/ctdb-19.04.patch
--
You received this bug notification
** Tags added: server-next
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To manage notifications about this bug go to:
https://b
** Also affects: ctdb (Debian)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
To mana
Additionally it is necessary to create a file /etc/modprobe.d/lockd.conf
with this content:
# Set the TCP port that the NFS lock manager should use.
# port must be a valid TCP port value (1-65535).
options lockd nlm_tcpport=599
# Set the UDP port that the NFS lock manager should use.
# port
The attachment "patch for Ubuntu 17.10" seems to be a patch. If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian
This patch makes nfs-kernel-server work with ctdb.
It rewrites the code to use /etc/default/nfs-kernel-server and the
correct systemd service.
As the is a unit nfs-mountd.service that gets started from nfs-kernel-
server.service as requirement and this unit only uses $RPCMOUNTDARGS the
setting in
There is a related Samba bug #1321369 open to address the second patch I
attached. It seems that my patch is probably the preferred fix for now
as /etc/init.d/samba is still buggy.
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1321369
--
You received this bug notification because you are
I was able to make some tweaks and get it running for Samba. Looks like
these could also apply to upstream Debian.
The service command is in a different path:
root@san1:/etc/ctdb# diff -u functions functions.orig
--- functions 2014-12-19 11:24:12.660339600 -0500
+++ functions.orig 2014-1
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: ctdb (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB p
This seems to be impacting me on 14.04 as well. I am only trying to use
CTDB with Samba:
/var/log/ctdb/log.ctdb:
2014/12/19 10:42:23.770789 [ 1077]: startup event failed
2014/12/19 10:42:28.771410 [ 1077]: Recoveries finished. Running the "startup"
event.
2014/12/19 10:42:28.891893 [ 1077]: 50.
Can you propose a patch?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/722201
Title:
CTDB port is not aware of Ubuntu-specific NFS Settings
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
68 matches
Mail list logo