[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-05-30 Thread Norbert B.
Update:
Problem is still present in:

Ubuntu 20.04.4 LTS
Kernel: Linux 5.13.0-1030-oracle

OCFS2-Modules were gone after upgrade and had to be reinstalled with
apt install linux-modules-extra-5.13.0-1030-oracle

Problem is (after current upgrades) still NOT present in:

Ubuntu 18.04.6 LTS
Kernel: Linux 5.4.0-1071-oracle

Oracle Linux Server 7.9
Kernel: Linux 5.4.17-2136.307.3.5.el7uek.x86_64

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-05-05 Thread Norbert B.
Hello Mauricio,

thank you for picking up the problem.
I confirm your understanding and attach setup steps and logs.

I can give you more details if needed - just ask me.
I'm in office from Monday to Thursday.

Best regards

** Attachment added: "setup steps.txt"
   
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+attachment/5587023/+files/setup%20steps.txt

** Changed in: ocfs2-tools (Ubuntu)
   Status: Incomplete => New

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-05-05 Thread Norbert B.
I hope, that this will work.

What irritates me:
I did tests with deactivated quotas on system and disk, but the problem 
remained.
We don't have the problem with Oracle Linux (RHEL), which uses regular kernels 
too, afaik.

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-05-02 Thread Norbert B.
Unfortunately the problem is back in:

Ubuntu 20.04.4 LTS
Kernel: Linux 5.13.0-1027-oracle
ocfs2-tools 1.8.6-2ubuntu1
open-iscsi 2.0.874-7.1ubuntu6.2
... or was never solved an the solution before was just a lucky accident.

Meanwhile I have two servers, who never can mount an OCFS2 volume at the same 
time.
Each single server can mount it, when it's not mounted on the other one.
I did tests with all possible virtual machine shapes (AMD/Intel) and network 
adapters including hardware-assisted (SR-IOV) networking. The problem remained.

The bug appears in Debian bug reports too:
https://groups.google.com/g/linux.debian.bugs.dist/c/0xf2QXZOpE4

I tested the solution offered there and disabled all quotas on system
and volume, but it had no effect. The problem remained.

===

A second problem appeared:

It seems, that needed OCFS2 modules are no more present in in regular Ubuntu 
kernels for Oracle Cloud.
After apt upgrades osfs2 and o2cb service do no more start:
Apr 27 10:05:06 trans2 modprobe[759]: FATAL: Module ocfs2_stackglue not found 
in directory /lib/modules/5.13.0-1027-oracle
Apr 27 10:05:06 trans2 modprobe[773]: FATAL: Module ocfs2_dlmfs not found in 
directory /lib/modules/5.13.0-1027-oracle

Solution:
apt install linux-modules-extra-5.13.0-1027-oracle

Not really good in production environments, where upgrades can run 
automatically.
Was this done by Oracle or by the Canonical team that builds the Images for 
Oracle?
As far as I know, Oracle gets ready Images from Canonical.



** Changed in: ocfs2-tools (Ubuntu)
   Status: Incomplete => New

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-03-17 Thread Norbert B.
** Changed in: samba (Ubuntu)
   Status: Incomplete => New

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-03-17 Thread Norbert B.
Hello Paride,

there's no package from 2.23 left, all is 2.28 again.

Meanwhile the issue is present again and behaviour is same as in first problem 
descrition.
I did the workaround in /etc/logrotate.d/winbind again.

What else could I do to help you finding the problem?

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-03-09 Thread Norbert B.
Hello Lucas,

thank you for the detailed description - it did work now.

Result:
In 2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1 the error is not present or at 
least currently not triggerable. I think it is not present, because it began 
with the later versions.

So I upgraded again back to 2:4.7.6+dfsg~ubuntu-0ubuntu2.28.

Now it becomes strange: Currently (2.28) the error ist not triggerable too.
Before the down- and upgrade it war triggerable with every /usr/bin/smbcontrol 
winbindd reload-config.
But: In the past the error didn't happen on every logrotate calling 
/usr/bin/smbcontrol winbindd reload-config too, but on some.

So I can only wait if or when it happens again in 2.28.
Logrotate runs on each Sunday.
Between 2.23 and 2.28 there was the big security fix CVE-2020-25717.
Can there be a reason for this behaviour?

I'm sorry, that I can't give you an expicit result.

** CVE added: https://cve.mitre.org/cgi-bin/cvename.cgi?name=2020-25717

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-03-07 Thread Norbert B.
Hello Paride & all,

sorry for the late reply but I was on vacation last week.
I found a solution/workaround now but it's a little bit strange.

Background: Oracle is offering different shapes of virtual machines.
In the OCFS2 cluster we are using:
VM.Standard.E4.Flex (AMD)
VM.Standard3.Flex (Intel)

These machines use different virtual NICs too.

I did upgrades to kernel Ubuntu-oracle-5.13.0.1018.22~20.04.1 (and some
other packages).

After these upgrades the problem was gone in our testing cluster, where
both VMs run on VM.Standard.E4.Flex (AMD).

In the (planned) production cluster, which runs on mixed VMs 
(VM.Standard.E4.Flex / VM.Standard3.Flex) the problem was still present.
So I changed the shape from the 2nd VM from Intel to AMD  - same as in testing 
environment - and the problem was gone too.

In summary:
Upgrade to Ubuntu-oracle-5.13.0.1018 solves the problem, but only when all 
cluster machines have same VM shape (and/or possibly same type of NIC).
For the case that the machines run on different VM shapes (and NICs?) the 
problem remains the same.

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-03-07 Thread Norbert B.
Hello Lena,

sorry for the late reply but I was on vacation last week.

Thanks for the repository - very nice of you.
Curently it's not working because of some missing dependencies.
Is it much work, to put the missing modules to the testing repository?

apt install samba=2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1 samba-
common=2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1 samba-common-
bin=2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1 samba-
libs=2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1

The following packages have unmet dependencies:
 samba : Depends: python-samba but it is not going to be installed
 Recommends: samba-dsdb-modules but it is not going to be installed
 Recommends: samba-vfs-modules but it is not going to be installed
 samba-common-bin : Depends: python-samba but it is not going to be installed
 samba-libs : Depends: libwbclient0 (= 
2:4.7.6+dfsg~ubuntu-0ubuntu2.23test~ppa1) but 2:4.7.6+dfsg~ubuntu-0ubuntu2.28 
is to be installed

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-28 Thread Norbert B.
Hello Lucas,

I don't really want to compile an older Samba version or install
multiple single binaries, because I'm testing on our second production
fallback node and we need it in productive and stable condition at any
time.

So do you know any backport repositories with these versions?
With this solution I could downgrade and later upgrade again without the risk 
of destroying my productive environment.

(Why doesn't Oracle keep older versions in their repositories?)

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-28 Thread Norbert B.
Hello Paride,

thank you for the detailed instruction - very helpful!
I hope it will work in Oracle environment, because they have their own Oracle 
repositories.

For the moment I'm testing with current updates and new kernel 
5.13.0-1018-oracle.
The error didn't happen immediately after the update (as it did last time).
So I will test for one or two days before trying to upgrade.

I'll post results as soon as I have such ones.

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-24 Thread Norbert B.
...and it worked with same users till January

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-23 Thread Norbert B.
Over all < 500 Users (300-400)

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-21 Thread Norbert B.
For further tests I could downgrade samba to 2:4.7.6+dfsg~ubuntu-0ubuntu2.23, 
but this package is no more present in Oracle repositories.
Is there a backport for these packages?

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-21 Thread Norbert B.
Meanwhile I did a test with only one domain (parent domain):
The problem stays, there'n no difference to multiple domains.

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-21 Thread Norbert B.
Hello Paride,

thank you for the effort with the downgrade version.
The problem stays the same in open-iscsi 2.0.874-5ubuntu2.10~focal2.

Should we try a downgrade of ocfs2?

Do you know a description somewhere, how to upgrade an Oracle Focal LTS version 
to Impish Indri?
It would be helpful for me and I would like to try it.

Best regards, Norbert

** Changed in: ocfs2-tools (Ubuntu)
   Status: Incomplete => New

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-21 Thread Norbert B.
Hello Andreas,

the problem came up the first time on 2022-01-16 and is present till now.
Winbind updates before were:

2021-05-01 06:23:05 upgrade winbind:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.21 
2:4.7.6+dfsg~ubuntu-0ubuntu2.23
2021-12-08 07:00:42 upgrade winbind:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.23 
2:4.7.6+dfsg~ubuntu-0ubuntu2.26
2021-12-14 06:59:55 upgrade winbind:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.26 
2:4.7.6+dfsg~ubuntu-0ubuntu2.27
2022-02-02 06:01:10 upgrade winbind:amd64 2:4.7.6+dfsg~ubuntu-0ubuntu2.27 
2:4.7.6+dfsg~ubuntu-0ubuntu2.28

In 2.23 it was definitely not present.
In 2.26 there has been one log rotation with reload without problems.
In 2.27 there were some log rotations without problem, but then it started on 
January, 16

On Jan, 13 we had lots of upgrades.
Could it be caused by another upgraded package?


winbind max domain connections = 10
didn't solve the problem.


Winbind does not recover for hours.
We restarted it at the first occurrence after 2-3 hours with hanging services.

** Changed in: samba (Ubuntu)
   Status: Incomplete => New

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-16 Thread Norbert B.
Thanks @all for not leaving me alone with this issue!

Open-iscsi versions:

Ubuntu 20.04.3 LTS: 2.0.874-7.1ubuntu6.2

Ubuntu 18.04.6 LTS: 2.0.874-5ubuntu2.10

(Oracle Linux Server 7.9: 6.2.0.874-22)

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1960821] Re: Winbind can no more connect to Windows domain after reload

2022-02-15 Thread Norbert B.
Additional:
Disabling "min domain uid = 0" does not solve the problem.

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

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1960821] [NEW] Winbind can no more connect to Windows domain after reload

2022-02-14 Thread Norbert B.
Public bug reported:

Problem description:

After a reload winbind can no more connect to Windows domain and slows down 
other services on the system (maybe only authentication services).
It happened for the first time on January 13, 2022
Then it happend mostly once per week, so we found out, that it came up with log 
rotation and reload of winbind.
It is reproducable on our systems with:
/usr/bin/smbcontrol winbindd reload-config
(as it is done in logrotate).


Effect:

1. Winbind loses Windows domain connection, starts to log:
[2022/02/14 11:00:13.872687,  1] 
../source3/winbindd/winbindd_cm.c:1258(cm_prepare_connection)
  Failed to prepare SMB connection to DC2-CHILD1.child1.parent.cloud: 
NT_STATUS_IO_TIMEOUT
[2022/02/14 11:00:33.147954,  1] 
../source3/winbindd/winbindd_cm.c:1229(cm_prepare_connection)
  failed tcon_X with NT_STATUS_IO_TIMEOUT

2. Side effect:
- SSH authentication is very slow (SSH login needs minutes or fails)
- SFTP connections run in timeout
- Other services (like Apache) slow down or are not reachable (timeout)

3. The problem disappears after restart of winbind, but in this case the 
restart takes very long time:
time systemctl restart winbind
real1m30.285s


Currently we have a workaround in /etc/logrotate.d/winbind:
#/usr/bin/smbcontrol winbindd reload-config
/bin/systemctl restart winbind


Operating System: Ubuntu 18.04.6 LTS
Kernel: Linux 5.4.0-1063-oracle
Samba: Version 4.7.6-Ubuntu 2:4.7.6+dfsg~ubuntu-0ubuntu2.28
(The problem happened in 4.7.6+dfsg~ubuntu-0ubuntu2.27 too)

Samba config (relevant parts):

[global]
   workgroup = PARENT
   security = ADS
   realm = PARENT.CLOUD

   idmap config * : backend = tdb
   idmap config * : range = 3000-9

   idmap config PARENT : backend = rid
   idmap config PARENT : range = 10-19

   idmap config CHILD1 : backend = rid
   idmap config CHILD1 : range = 20-29

   idmap config CHILD2 : backend = rid
   idmap config CHILD2 : range = 30-39

   idmap config CHILD3 : backend = rid
   idmap config CHILD3 : range = 40-49

   min domain uid = 0
   username map = /etc/samba/user.map

   winbind refresh tickets = Yes
   vfs objects = acl_xattr
   map acl inherit = Yes
   store dos attributes = Yes

   dedicated keytab file = /etc/krb5.keytab
   kerberos method = secrets and keytab

** Affects: samba (Ubuntu)
 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/1960821

Title:
  Winbind can no more connect to Windows domain after reload

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


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-14 Thread Norbert B.
Hello Athos, here is the result:

Ubuntu 20.04 Cluster 1: -
Ubuntu 20.04 Cluster 2: -

Ubuntu 18.04: mlocate 0.26-2ubuntu3.1

PRUNE_BIND_MOUNTS="yes"
# PRUNENAMES=".git .bzr .hg .svn"
PRUNEPATHS="/tmp /var/spool /media /var/lib/os-prober /var/lib/ceph 
/home/.ecryptfs /var/lib/schroot"
PRUNEFS="NFS nfs nfs4 rpc_pipefs afs binfmt_misc proc smbfs autofs iso9660 
ncpfs coda devpts ftpfs devfs devtmpfs fuse.mfs shfs sysfs cifs lustre tmpfs 
usbfs udf fuse.glusterfs fuse.sshfs curlftpfs ceph fuse.ceph fuse.rozofs 
ecryptfs fusesmb"


Oracle Linux Server 7.9: mlocate.x86_64 0.26-8.el7

PRUNE_BIND_MOUNTS = "yes"
PRUNEFS = "9p afs anon_inodefs auto autofs bdev binfmt_misc cgroup cifs coda 
configfs cpuset debugfs devpts ecryptfs exofs fuse fuse.sshfs fusectl gfs gfs2 
gpfs hugetlbfs inotifyfs iso9660 jffs2 lustre mqueue ncpfs nfs nfs4 nfsd pipefs 
proc ramfs rootfs rpc_pipefs securityfs selinuxfs sfs sockfs sysfs tmpfs ubifs 
udf usbfs fuse.glusterfs ceph fuse.ceph"
PRUNENAMES = ".git .hg .svn"
PRUNEPATHS = "/afs /media /mnt /net /sfs /tmp /udev /var/cache/ccache 
/var/lib/yum/yumdb /var/spool/cups /var/spool/squid /var/tmp /var/lib/ceph"

The nodes are identical.

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-08 Thread Norbert B.
After Sergio didn't find any corresponding change in OCFS2 tools delta I
could imagine, that there was a change in ISCSI adaption whicht could be
the reason in combination with OCFS2?

Unfortunately Oracle Cloud (OCI) does not offer Impish Indri as cloud image.
They only support the LTS versions 18/20 as oracle build.

What we could offer you, is access to a sandbox installation.
You would not have access to console, but with SSH.
If it could help, I would build such one and would need public keys for the 
people, that do the tests.
For details like the public IPs we should use a private communication channel 
(email).

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-03 Thread Norbert B.
OK, the test with the new kernel went fast.
The problem appeared at the first boot with the new kernel.

Here some console output while trying to reboot:

# @ first shutdown with new kernel
[**] A stop job is running for Login to …SCSI targets (3min 36s / 4min 30s)
[  605.284682] INFO: task mount.ocfs2:1036 blocked for more than 483 seconds.
[  605.285814]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[  605.287107] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  605.289340] INFO: task (sd-sync):1828 blocked for more than 120 seconds.
[  605.292876]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[  605.295340] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  605.296958] INFO: task sync:2228 blocked for more than 120 seconds.
[  605.299587]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[   ***] A stop job is running for Login to …iSCSI targets (5min 37s / 6min 1s)
[  726.113776] INFO: task mount.ocfs2:1036 blocked for more than 604 seconds.
[  726.114855]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[  726.115754] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  726.117146] INFO: task (sd-sync):1828 blocked for more than 241 seconds.
[  726.121041]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[  726.122251] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  726.123522] INFO: task sync:2228 blocked for more than 241 seconds.
[  726.124481]   Not tainted 5.11.0-1028-oracle #31~20.04.1-Ubuntu
[  OK  ] Stopped Login to default iSCSI targets.
 Stopping iSCSI initiator daemon (iscsid)...
[  OK  ] Stopped iSCSI initiator daemon (iscsid).
[  OK  ] Stopped target Network is Online.
[  OK  ] Stopped target Network.
[  OK  ] Closed Open-iSCSI iscsid Socket.
[  OK  ] Stopped target System Initialization.
[  OK  ] Stopped target Local Encrypted Volumes.
[  OK  ] Stopped Dispatch Password …ts to Console Directory Watch.
[  OK  ] Stopped Forward Password R��uests to Wall Directory Watch.
[  OK  ] Stopped Initial cloud-init…ob (metadata service crawler).
[  OK  ] Stopped Wait for Network to be Configured.
 Stopping Network Name Resolution...
 Stopping Network Time Synchronization...
 Stopping Update UTMP about System Boot/Shutdown...
[  OK  ] Stopped Network Time Synchronization.
[  OK  ] Stopped Update UTMP about System Boot/Shutdown.
[  OK  ] Stopped Network Name Resolution.
 Stopping Network Service...
[  OK  ] Stopped Create Volatile Files and Directories.
[  OK  ] Stopped Network Service.
[  OK  ] Stopped target Network (Pre).
[  OK  ] Stopped Initial cloud-init job (pre-networking).
 Stopping netfilter persistent configuration...
[  OK  ] Stopped Apply Kernel Variables.
[  OK  ] Stopped netfilter persistent configuration.
[  OK  ] Stopped target Local File Systems.
 Unmounting /boot/efi...
 Unmounting /dlm...
 Unmounting /run/snapd/ns/lxd.mnt...
 Unmounting Mount unit for core18, revision 2253...
 Unmounting Mount unit for core18, revision 2284...
 Unmounting Mount unit for core20, revision 1270...
 Unmounting Mount unit for core20, revision 1328...
 Unmounting Mount unit for lxd, revision 21545...
 Unmounting Mount unit for lxd, revision 21835...
 Unmounting Mount unit for …le-cloud-agent, revision 28...
 Unmounting Mount unit for …le-cloud-agent, revision 30...
 Unmounting Mount unit for snapd, revision 14295...
 Unmounting Mount unit for snapd, revision 14549...
[  OK  ] Stopped Load Kernel Modules.
[  OK  ] Unmounted /boot/efi.
[  OK  ] Unmounted /dlm.
[  OK  ] Unmounted /run/snapd/ns/lxd.mnt.
[  OK  ] Unmounted Mount unit for core18, revision 2253.
 Unmounting /run/snapd/ns...
[  OK  ] Stopped File System Check on /dev/disk/by-label/UEFI.
[  OK  ] Removed slice system-systemd\x2dfsck.slice.
[  OK  ] Unmounted /run/snapd/ns.
[  OK  ] Stopped target Swap.
[  OK  ] Unmounted Mount unit for core18, revision 2284.
[  OK  ] Unmounted Mount unit for core20, revision 1270.
[  OK  ] Unmounted Mount unit for core20, revision 1328.
[  OK  ] Unmounted Mount unit for lxd, revision 21545.
[  OK  ] Unmounted Mount unit for lxd, revision 21835.
[  OK  ] Unmounted Mount unit for oracle-cloud-agent, revision 28.
[  OK  ] Unmounted Mount unit for oracle-cloud-agent, revision 30.
[  OK  ] Unmounted Mount unit for snapd, revision 14295.
[  OK  ] Unmounted Mount unit for snapd, revision 14549.
[  OK  ] Stopped target Local File Systems (Pre).
[  OK  ] Reached target Unmount All Filesystems.
 Stopping Monitoring of LVM���meventd or progress polling...
 Stopping Device-Mapper Multipath Device Controller...
[  OK  ] Stopped Create Static Device Nodes in /dev.
[  OK  ] Stopped Create System Users.
[  OK  ] Stopped Remount Root and Kernel File Systems.
[  OK  ] Stopped Device-Mapper Multipath De

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-03 Thread Norbert B.
Hello Sergio,

thank you for picking up this bug.
I realize that this is a very difficult problem.

Regarding the possibilty of an upstream bug:

Meanwhile there is a new kernel available: Linux 5.11.0-1028-oracle
I will install it and do tests again.
This can need some days, because the bug does not always occur.
I will inform you as soon as I have results.


The offered solution in 
https://support.oracle.com/knowledge/Oracle%20Linux%20and%20Virtualization/2375753_1.html
 looks like this:

###
Cause
The server is running with incorrect system configurations and not following 
Oracle's Best Practices for OCFS2.

Solution
Make sure that /usr/bin/updatedb (aka /usr/bin/locate, slocate) does not run 
against OCFS2 partitions since updatedb, a file indexer, will reduce OCFS2 file 
I/O performance.

To prevent updatedb from indexing OCFS2 partitions, add 'ocfs2' to the
PRUNEFS= and/or list OCFS2 volumes specifically in the PRUNEPATHS list
in /etc/updatedb.conf e.g.

[/etc/updatedb.conf]
PRUNEFS="devpts NFS nfs afs proc smbfs autofs auto iso9660 ocfs2"
PRUNEPATHS="/tmp /usr/tmp /var/tmp /afs /net /ocfs2-data /ocfs2-index /quorum"
export PRUNEFS
export PRUNEPATHS

References
NOTE:237997.1 - Linux OCFS - Best Practices
###

I tried to find the related settings, but:

ll /etc/updatedb.conf
ls: cannot access '/etc/updatedb.conf': No such file or directory

ll /usr/bin/locate
ls: cannot access '/usr/bin/locate': No such file or directory

find / -name "*updatedb*"
/usr/share/vim/vim81/syntax/updatedb.vim
/usr/share/vim/vim81/ftplugin/updatedb.vim

find / -name "*locate*"
=> result contains only entries belonging to "allocate" or "fallocate"


The general settings on the affected systems are the same as on the (working) 
Ubuntu 18 and Qracle Linux systems.

Thanks for helping me!

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

Title:
  OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3
  LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ocfs2-tools/+bug/1959581/+subscriptions


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

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-02-01 Thread Norbert B.
** Description changed:

  Environment:
  
  Oracle Cloud Infrastructure (OCI)
  2 Nodes + ISCSI block volume with OCFS2
  Operating System: Ubuntu 20.04.3 LTS
  Kernel: Linux 5.11.0-1027-oracle
  ocfs2-tools: 1.8.6-2ubuntu1
  
  Problem:
  
  OCFS2 is intermittently not mountable on a second Node.
  Sometimes it works for hours and many reboots.
  Sometimes it hangs for hours, even after reboot.
  In case of error: If OCFS2 is umounted from first node, mount on second node 
works.
  But sometimes unmount from first node is not possible (hangs and sometimes 
whole current SSH shell hangs).
  
  ISCSI volume is attached and visible.
  O2CB runs without errors.
  
  In older Ubuntu/OCFS2 version this does not happen, e. g.:
  Operating System: Ubuntu 18.04.6 LTS
  Kernel: Linux 5.4.0-1061-oracle
  ocfs2-tools: 1.8.5-3ubuntu1
+ 
+ Also in current Oracle Linux version this does not happen:
+ Operating System: Oracle Linux Server 7.9
+ Kernel: Linux 5.4.17-2136.302.7.2.2.el7uek.x86_64
+ ocfs2-tools.x86_64: 1.8.6-14.el7
+ 
  
  Some error and log messages:
  
  Boot screen on no error:
  # console (good, mounted after reboot)
  [  OK  ] Started Disk Manager.
  [  OK  ] Finished Load o2cb Modules.
   Starting Mount ocfs2 Filesystems...
  [  OK  ] Found device BlockVolume ubuntu20-ocfs.
   Mounting /ocfs2volume...
  
  Boot screen on error:
  [  OK  ] Found device BlockVolume ubuntu20-ocfs.
   Mounting /ocfs2volume...
  [FAILED] Failed to mount /ocfs2volume.
  See 'systemctl status ocfs2volume.mount' for details.
  [DEPEND] Dependency failed for Remote File Systems.
  ...
  node2 login: [  242.574617] INFO: task mount.ocfs2:1000 blocked for more than 
120 seconds.
  [  242.576764]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  242.578017] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  363.405225] INFO: task mount.ocfs2:1000 blocked for more than 241 seconds.
  [  363.407645]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  363.410559] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  484.230345] INFO: task mount.ocfs2:1000 blocked for more than 362 seconds.
  [  484.232416]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  484.233670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  
  # systemctl status ocfs2volume.mount
  ● ocfs2volume.mount - /ocfs2volume
   Loaded: loaded (/etc/fstab; generated)
   Active: failed (Result: timeout) since Wed 2022-01-19 13:02:04 CET; 8min 
ago
    Where: /ocfs2volume
     What: /dev/disk/by-uuid/7da60327-fd56-4abd-8f96-4c96260bb2c7
     Docs: man:fstab(5)
   man:systemd-fstab-generator(8)
    Tasks: 1 (limit: 19138)
   Memory: 756.0K
   CGroup: /system.slice/ocfs2volume.mount
   └─1000 /sbin/mount.ocfs2 /dev/sdb /ocfs2volume -o rw,acl,_netdev
  Jan 19 13:00:34 node2 systemd[1]: Mounting /ocfs2volume...
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mounting timed out. 
Terminating.
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mount process exited, 
code=killed, status=15/TERM
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Failed with result 
'timeout'.
  Jan 19 13:02:04 node2 systemd[1]: Failed to mount /ocfs2volume.
  
  # systemctl status ocfs2
  ● ocfs2.service - Mount ocfs2 Filesystems
   Loaded: loaded (/lib/systemd/system/ocfs2.service; enabled; vendor 
preset: enabled)
   Active: active (exited) since Wed 2022-01-19 13:00:31 CET; 11min ago
     Docs: man:ocfs2(7)
   man:mount.ocfs2(8)
  Process: 934 ExecStart=/usr/lib/ocfs2-tools/ocfs2 start (code=exited, 
status=0/SUCCESS)
     Main PID: 934 (code=exited, status=0/SUCCESS)
  Jan 19 13:00:31 node2 systemd[1]: Starting Mount ocfs2 Filesystems...
  Jan 19 13:00:31 node2 ocfs2[934]: Starting Oracle Cluster File System (OCFS2)
  Jan 19 13:00:31 node2 ocfs2[939]: mount: /ocfs2volume: can't find 
UUID=7da60327-fd56-4abd-8f96-4c96260bb2c7.
  Jan 19 13:00:31 node2 systemd[1]: Finished Mount ocfs2 Filesystems.
  Jan 19 13:00:31 node2 ocfs2[934]: Failed
  # INFO: UUID=7da60327-fd56-4abd-8f96-4c96260bb2c7 was present
  # But errors differ in differnent runs
  
  # iscsiadm -m session -P 3
  
  Attached SCSI devices:
  
  Host Number: 3  State: running
  scsi3 Channel 00 Id 0 Lun: 0
  scsi3 Channel 00 Id 0 Lun: 2
    Attached scsi disk sdb  State: running
  
  # dmesg
  [1.337891] scsi 2:0:0:1: Direct-Access ORACLE   BlockVolume  1.0  
PQ: 0 ANSI: 6
  ...
  [7.886896] scsi host3: scsi_eh_3: sleeping
  [7.897819] scsi host3: iSCSI Initiator over TCP/IP
  [8.198102] ocfs2: Registered cluster interface o2cb
  [8.244150] OCFS2 User DLM kernel interface loaded
  [8.272364] o2hb: Heartbeat mode set to local
  [8.355866] scsi 3:0:0:0: RAID  IET  Controller   0001 
PQ: 0 ANS

[Bug 1959581] Re: OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-01-31 Thread Norbert B.
** Description changed:

  Environment:
  
  Oracle Cloud Infrastructure (OCI)
  2 Nodes + ISCSI block volume with OCFS2
  Operating System: Ubuntu 20.04.3 LTS
  Kernel: Linux 5.11.0-1027-oracle
  ocfs2-tools: 1.8.6-2ubuntu1
  
  Problem:
  
  OCFS2 is intermittently not mountable on a second Node.
  Sometimes it works for hours and many reboots.
  Sometimes it hangs for hours, even after reboot.
  In case of error: If OCFS2 is umounted from first node, mount on second node 
works.
  But sometimes unmount from first node is not possible (hangs and sometimes 
whole current SSH shell hangs).
  
  ISCSI volume is attached and visible.
  O2CB runs without errors.
  
- 
  In older Ubuntu/OCFS2 version this does not happen, e. g.:
  Operating System: Ubuntu 18.04.6 LTS
  Kernel: Linux 5.4.0-1061-oracle
  ocfs2-tools: 1.8.5-3ubuntu1
- 
  
  Some error and log messages:
  
  Boot screen on no error:
  # console (good, mounted after reboot)
  [  OK  ] Started Disk Manager.
  [  OK  ] Finished Load o2cb Modules.
-  Starting Mount ocfs2 Filesystems...
+  Starting Mount ocfs2 Filesystems...
  [  OK  ] Found device BlockVolume ubuntu20-ocfs.
-  Mounting /ocfs2volume...
- 
+  Mounting /ocfs2volume...
  
  Boot screen on error:
  [  OK  ] Found device BlockVolume ubuntu20-ocfs.
-  Mounting /ocfs2volume...
+  Mounting /ocfs2volume...
  [FAILED] Failed to mount /ocfs2volume.
  See 'systemctl status ocfs2volume.mount' for details.
  [DEPEND] Dependency failed for Remote File Systems.
  ...
  node2 login: [  242.574617] INFO: task mount.ocfs2:1000 blocked for more than 
120 seconds.
  [  242.576764]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  242.578017] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  363.405225] INFO: task mount.ocfs2:1000 blocked for more than 241 seconds.
  [  363.407645]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  363.410559] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  [  484.230345] INFO: task mount.ocfs2:1000 blocked for more than 362 seconds.
  [  484.232416]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
  [  484.233670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables 
this message.
  
- 
  # systemctl status ocfs2volume.mount
  ● ocfs2volume.mount - /ocfs2volume
-  Loaded: loaded (/etc/fstab; generated)
-  Active: failed (Result: timeout) since Wed 2022-01-19 13:02:04 CET; 8min 
ago
-   Where: /ocfs2volume
-What: /dev/disk/by-uuid/7da60327-fd56-4abd-8f96-4c96260bb2c7
-Docs: man:fstab(5)
-  man:systemd-fstab-generator(8)
-   Tasks: 1 (limit: 19138)
-  Memory: 756.0K
-  CGroup: /system.slice/ocfs2volume.mount
-  └─1000 /sbin/mount.ocfs2 /dev/sdb /ocfs2volume -o rw,acl,_netdev
+  Loaded: loaded (/etc/fstab; generated)
+  Active: failed (Result: timeout) since Wed 2022-01-19 13:02:04 CET; 8min 
ago
+   Where: /ocfs2volume
+    What: /dev/disk/by-uuid/7da60327-fd56-4abd-8f96-4c96260bb2c7
+    Docs: man:fstab(5)
+  man:systemd-fstab-generator(8)
+   Tasks: 1 (limit: 19138)
+  Memory: 756.0K
+  CGroup: /system.slice/ocfs2volume.mount
+  └─1000 /sbin/mount.ocfs2 /dev/sdb /ocfs2volume -o rw,acl,_netdev
  Jan 19 13:00:34 node2 systemd[1]: Mounting /ocfs2volume...
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mounting timed out. 
Terminating.
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mount process exited, 
code=killed, status=15/TERM
  Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Failed with result 
'timeout'.
  Jan 19 13:02:04 node2 systemd[1]: Failed to mount /ocfs2volume.
  
- 
  # systemctl status ocfs2
  ● ocfs2.service - Mount ocfs2 Filesystems
-  Loaded: loaded (/lib/systemd/system/ocfs2.service; enabled; vendor 
preset: enabled)
-  Active: active (exited) since Wed 2022-01-19 13:00:31 CET; 11min ago
-Docs: man:ocfs2(7)
-  man:mount.ocfs2(8)
- Process: 934 ExecStart=/usr/lib/ocfs2-tools/ocfs2 start (code=exited, 
status=0/SUCCESS)
-Main PID: 934 (code=exited, status=0/SUCCESS)
+  Loaded: loaded (/lib/systemd/system/ocfs2.service; enabled; vendor 
preset: enabled)
+  Active: active (exited) since Wed 2022-01-19 13:00:31 CET; 11min ago
+    Docs: man:ocfs2(7)
+  man:mount.ocfs2(8)
+ Process: 934 ExecStart=/usr/lib/ocfs2-tools/ocfs2 start (code=exited, 
status=0/SUCCESS)
+    Main PID: 934 (code=exited, status=0/SUCCESS)
  Jan 19 13:00:31 node2 systemd[1]: Starting Mount ocfs2 Filesystems...
  Jan 19 13:00:31 node2 ocfs2[934]: Starting Oracle Cluster File System (OCFS2)
  Jan 19 13:00:31 node2 ocfs2[939]: mount: /ocfs2volume: can't find 
UUID=7da60327-fd56-4abd-8f96-4c96260bb2c7.
  Jan 19 13:00:31 node2 systemd[1]: Finished Mount ocfs2 Filesystems.
  Jan 19 13:00:31 node2 ocfs2[934]: Failed
  # INFO: UUID=7da60327-fd56-4abd-8f96-4c

[Bug 1959581] [NEW] OCFS2 intermittently not mountable on a second Node in Ubuntu 20.04.3 LTS

2022-01-31 Thread Norbert B.
Public bug reported:

Environment:

Oracle Cloud Infrastructure (OCI)
2 Nodes + ISCSI block volume with OCFS2
Operating System: Ubuntu 20.04.3 LTS
Kernel: Linux 5.11.0-1027-oracle
ocfs2-tools: 1.8.6-2ubuntu1

Problem:

OCFS2 is intermittently not mountable on a second Node.
Sometimes it works for hours and many reboots.
Sometimes it hangs for hours, even after reboot.
In case of error: If OCFS2 is umounted from first node, mount on second node 
works.
But sometimes unmount from first node is not possible (hangs and sometimes 
whole current SSH shell hangs).

ISCSI volume is attached and visible.
O2CB runs without errors.


In older Ubuntu/OCFS2 version this does not happen, e. g.:
Operating System: Ubuntu 18.04.6 LTS
Kernel: Linux 5.4.0-1061-oracle
ocfs2-tools: 1.8.5-3ubuntu1


Some error and log messages:

Boot screen on no error:
# console (good, mounted after reboot)
[  OK  ] Started Disk Manager.
[  OK  ] Finished Load o2cb Modules.
 Starting Mount ocfs2 Filesystems...
[  OK  ] Found device BlockVolume ubuntu20-ocfs.
 Mounting /ocfs2volume...


Boot screen on error:
[  OK  ] Found device BlockVolume ubuntu20-ocfs.
 Mounting /ocfs2volume...
[FAILED] Failed to mount /ocfs2volume.
See 'systemctl status ocfs2volume.mount' for details.
[DEPEND] Dependency failed for Remote File Systems.
...
node2 login: [  242.574617] INFO: task mount.ocfs2:1000 blocked for more than 
120 seconds.
[  242.576764]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
[  242.578017] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  363.405225] INFO: task mount.ocfs2:1000 blocked for more than 241 seconds.
[  363.407645]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
[  363.410559] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.
[  484.230345] INFO: task mount.ocfs2:1000 blocked for more than 362 seconds.
[  484.232416]   Not tainted 5.11.0-1027-oracle #30~20.04.1-Ubuntu
[  484.233670] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this 
message.


# systemctl status ocfs2volume.mount
● ocfs2volume.mount - /ocfs2volume
 Loaded: loaded (/etc/fstab; generated)
 Active: failed (Result: timeout) since Wed 2022-01-19 13:02:04 CET; 8min 
ago
  Where: /ocfs2volume
   What: /dev/disk/by-uuid/7da60327-fd56-4abd-8f96-4c96260bb2c7
   Docs: man:fstab(5)
 man:systemd-fstab-generator(8)
  Tasks: 1 (limit: 19138)
 Memory: 756.0K
 CGroup: /system.slice/ocfs2volume.mount
 └─1000 /sbin/mount.ocfs2 /dev/sdb /ocfs2volume -o rw,acl,_netdev
Jan 19 13:00:34 node2 systemd[1]: Mounting /ocfs2volume...
Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mounting timed out. 
Terminating.
Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Mount process exited, 
code=killed, status=15/TERM
Jan 19 13:02:04 node2 systemd[1]: ocfs2volume.mount: Failed with result 
'timeout'.
Jan 19 13:02:04 node2 systemd[1]: Failed to mount /ocfs2volume.


# systemctl status ocfs2
● ocfs2.service - Mount ocfs2 Filesystems
 Loaded: loaded (/lib/systemd/system/ocfs2.service; enabled; vendor preset: 
enabled)
 Active: active (exited) since Wed 2022-01-19 13:00:31 CET; 11min ago
   Docs: man:ocfs2(7)
 man:mount.ocfs2(8)
Process: 934 ExecStart=/usr/lib/ocfs2-tools/ocfs2 start (code=exited, 
status=0/SUCCESS)
   Main PID: 934 (code=exited, status=0/SUCCESS)
Jan 19 13:00:31 node2 systemd[1]: Starting Mount ocfs2 Filesystems...
Jan 19 13:00:31 node2 ocfs2[934]: Starting Oracle Cluster File System (OCFS2)
Jan 19 13:00:31 node2 ocfs2[939]: mount: /ocfs2volume: can't find 
UUID=7da60327-fd56-4abd-8f96-4c96260bb2c7.
Jan 19 13:00:31 node2 systemd[1]: Finished Mount ocfs2 Filesystems.
Jan 19 13:00:31 node2 ocfs2[934]: Failed
# INFO: UUID=7da60327-fd56-4abd-8f96-4c96260bb2c7 was present
# But errors differ in differnent runs


# iscsiadm -m session -P 3

Attached SCSI devices:

Host Number: 3  State: running
scsi3 Channel 00 Id 0 Lun: 0
scsi3 Channel 00 Id 0 Lun: 2
Attached scsi disk sdb  State: running


# dmesg
[1.337891] scsi 2:0:0:1: Direct-Access ORACLE   BlockVolume  1.0  
PQ: 0 ANSI: 6
...
[7.886896] scsi host3: scsi_eh_3: sleeping
[7.897819] scsi host3: iSCSI Initiator over TCP/IP
[8.198102] ocfs2: Registered cluster interface o2cb
[8.244150] OCFS2 User DLM kernel interface loaded
[8.272364] o2hb: Heartbeat mode set to local
[8.355866] scsi 3:0:0:0: RAID  IET  Controller   0001 
PQ: 0 ANSI: 5
[8.358478] scsi 3:0:0:0: Attached scsi generic sg1 type 12
[8.360633] scsi 3:0:0:2: Direct-Access ORACLE   BlockVolume  1.0  
PQ: 0 ANSI: 6
[8.361620] sd 3:0:0:2: Attached scsi generic sg2 type 0
[8.373937] sd 3:0:0:2: [sdb] 2147483648 512-byte logical blocks: (1.10 
TB/1.00 TiB)
[8.373941] sd 3:0:0:2: [sdb] 4096-byte physical blocks
[8.374114] sd

[Bug 1953729] Re: Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

2021-12-09 Thread Norbert B.
Found the time to test it today:
-> gensec:require_pac=true
brought no effect on desribed problem. Access is not possible.

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

Title:
  Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

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


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

[Bug 1953729] Re: Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

2021-12-09 Thread Norbert B.
I will try the workarounds like

Setting "gensec:require_pac=true" in the smb.conf makes the
DOMAIN\user lookup succeed, due to a cache prime in winbind, provided
nss_winbind is in use and no error paths are hit.

within the next week and report here.

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

Title:
  Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

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


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

[Bug 1953729] Re: Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

2021-12-09 Thread Norbert B.
It was my suspicion too.

Additional information:

In our environmant we have two domain controllers: DC1 and DC2
PAC patch for Windows as described in 
https://support.microsoft.com/en-us/topic/kb5008380-authentication-updates-cve-2021-42287-9dafac11-e0d0-4cb8-959a-143bd0201041
 is currently installed only on DC2, but only in log level (not enforced).

Currently the samba server authenticates against DC1 without this patch.

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

Title:
  Fixed user mapping broken in Samba 2:4.7.6+dfsg~ubuntu-0ubuntu2.26

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


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