[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2023-05-11 Thread James Falcon
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3520

** Bug watch added: github.com/canonical/cloud-init/issues #3520
   https://github.com/canonical/cloud-init/issues/3520

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-30 Thread Nicklas
Here is the output of `ls -latr /proc//fd`


root  3377  0.0  0.0  11980  3352 ?DJan24   0:00 blkid -c 
/dev/null -o export
root  6293  0.0  0.0  11980  3316 ?DJan24   0:00 blkid -c 
/dev/null -o export
root 10422  0.0  0.0  11980  3556 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 13020  0.0  0.0  11980  3492 ?DJan24   0:00 blkid -c 
/dev/null -o export
root 13192  0.0  0.0  11980  3752 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 15494  0.0  0.0  11980  3704 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 15506  0.0  0.0  11212  2532 ?DJan23   0:00 blkid -c 
/dev/null -o export
root 15630  0.0  0.0  11980  3456 ?DJan24   0:00 blkid -c 
/dev/null -o export
root 15768  0.0  0.0  11980  3700 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 16282  0.0  0.0  11980  3704 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 18328  0.0  0.0  11980  3616 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 18364  0.0  0.0  11980  3432 ?DJan23   0:00 blkid -c 
/dev/null -o export
root 18549  0.0  0.0  11980  3324 ?DJan24   0:00 blkid -c 
/dev/null -o export
root 18755  0.0  0.0  11980  3620 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 19266  0.0  0.0  11980  3556 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 20480  0.0  0.0  11980  3616 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 21131  0.0  0.0  11980  3504 ?DJan23   0:00 blkid -c 
/dev/null -o export
root 21149  0.0  0.0  11980  3636 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 21378  0.0  0.0  11980  3180 ?DJan24   0:00 blkid -c 
/dev/null -o export
root 21927  0.0  0.0  11980  3624 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 23165  0.0  0.0  11980  3704 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 23795  0.0  0.0  11980  3616 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 23911  0.0  0.0  11980  3456 ?DJan23   0:00 blkid -c 
/dev/null -o export
root 24554  0.0  0.0  11980  3592 ?DJan27   0:00 blkid -c 
/dev/null -o export
root 25672  0.0  0.0  11980  3752 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 28344  0.0  0.0  11980  3704 ?DJan26   0:00 blkid -c 
/dev/null -o export
root 30382  0.0  0.0  11980  3216 ?DJan24   0:00 blkid -c 
/dev/null -o export


dr-xr-xr-x 9 root root  0 Jan 30 06:29 ..
lr-x-- 1 root root 64 Jan 30 15:22 4 -> /proc/partitions
l-wx-- 1 root root 64 Jan 30 15:22 3 -> /run/cloud-init/ds-identify.log
lrwx-- 1 root root 64 Jan 30 15:22 2 -> /dev/null
l-wx-- 1 root root 64 Jan 30 15:22 1 -> 'pipe:[399588299]'
lrwx-- 1 root root 64 Jan 30 15:22 0 -> /dev/null
dr-x-- 2 root root  0 Jan 30 15:22 .


root@ubuntuapp02:/# ls -latr /proc/23795/fd
total 0
dr-xr-xr-x 9 root root  0 Jan 30 06:29 ..
lr-x-- 1 root root 64 Jan 30 15:23 4 -> /proc/partitions
l-wx-- 1 root root 64 Jan 30 15:23 3 -> /run/cloud-init/ds-identify.log
lrwx-- 1 root root 64 Jan 30 15:23 2 -> /dev/null
l-wx-- 1 root root 64 Jan 30 15:23 1 -> 'pipe:[415355377]'
lrwx-- 1 root root 64 Jan 30 15:23 0 -> /dev/null
dr-x-- 2 root root  0 Jan 30 15:23 .

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To ma

[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-14 Thread Nicklas
Affected process
```
root  1166  0.0  0.0  72292  5812 ?Ss2019   0:00 /usr/sbin/sshd 
-D
```

Output of `ls -latr /proc/1166/fd`

total 0
dr-xr-xr-x 9 root root  0 Jan 14 12:00 ..
dr-x-- 2 root root  0 Jan 14 12:31 .
lrwx-- 1 root root 64 Jan 14 12:31 4 -> 'socket:[24485]'
lrwx-- 1 root root 64 Jan 14 12:31 3 -> 'socket:[24483]'
lrwx-- 1 root root 64 Jan 14 12:31 2 -> 'socket:[24455]'
lrwx-- 1 root root 64 Jan 14 12:31 1 -> 'socket:[24455]'
lr-x-- 1 root root 64 Jan 14 12:31 0 -> /dev/null


Should we disable `cloud-init` altogether?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-14 Thread Nicklas
Never mind my last message...

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-09 Thread Dan Watkins
Moved back to New, because this is happening in normal cloud-init
operation.

** Changed in: util-linux (Ubuntu)
   Status: Incomplete => New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-09 Thread Scott Moser
> If someone manually installs Ubuntu Desktop / Server using an installer,
> one should not be installing or using cloud-init as clearly, it will never
> complete without a correct metadata source present. And when it fails to
> complete, it re-attempts to reprovision the machine on every boot.

I'd just like to clarify something.  The above statement is neither true
nor helpful.

cloud-init (since 18.04) does not run unless it is on a cloud or has cloud
platform metadata.  It is perfectly fine to have cloud-init installed on a
desktop or a server that is not running "on a cloud".

In order to accomplish this, cloud-init is only enabled via a generator.
That generator ran 'blkid', and 'blkid' blocked indefinitely.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  Incomplete

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2020-01-09 Thread Dimitri John Ledkov
cloud-init is used to perform first time configuration of cloud-images
using a cloud metadata source. I.e. a generic image is launched by
openstack and provisions per-user keys / packages / etc.

If someone manually installs Ubuntu Desktop / Server using an installer,
one should not be installing or using cloud-init as clearly, it will
never complete without a correct metadata source present. And when it
fails to complete, it re-attempts to reprovision the machine on every
boot.

If you don't know whether or not there is a cloud metadata source, and
whether or not cloud-init should be provisioning the instances on first
boot, or whether a desktop/server installers were used - you need to
sort that out first. Please escalate to your IT/devops team to
understand whether or not it is intentional that cloud-init is installed
and attempted on every boot, and where the metadata for it is suppoed to
come from. Then fix cloud-init/metadata such that it completes, or
remove/disable/uninstall cloud-init.

This is not a bug, but effectively a support issue at this point. The
logs are inconsistent with normal cloud-init usage, and there is no
reproducer.

** Changed in: util-linux (Ubuntu)
   Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  Incomplete

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2019-12-19 Thread Nicklas
Hey,

We have restarted the affect nodes/servers. I will retrieve the output
of `ls -latr /proc//fd` once it starts happening again. Often takes
a few days.

I haven't setup our Ubuntu environments. Our IT/devops team (with no
experience of linux) has installed the Ubuntu-nodes on our VMware
environment.

I don't believe we have made any changes to "cloud.config". It's just a
clean install of 18.04.3, with 5.0.0-36-generic.

Can I provide any other information?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2019-12-19 Thread Dimitri John Ledkov
[0.00] Command line: BOOT_IMAGE=/vmlinuz-5.0.0-32-generic
root=/dev/mapper/ubuntu--vg-ubuntu--lv ro maybe-ubiquity

[0.00] DMI: VMware, Inc. VMware Virtual Platform/440BX Desktop 
Reference Platform, BIOS 6.00 09/21/2015
[0.00] Hypervisor detected: VMware

Could you please expalin what are you doing?

Because everything about this is odd. You are booting of LVM volume?
Running ubiquity desktop installer? And using cloud-init?

It would be interesting for you to describe your setup and suggest how
to reproduce your instance type.

Also you appear to run without a cloud hence nocloud seed.

If you are modifying cloud.config anyway, can you specify that ds-
identify should just use NoCloud?

journal.txt seems to be incomplete, it's not a full journal of boot with
this issue.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2019-12-17 Thread Dimitri John Ledkov
ls -latr /proc//fd

would be nice too, to see what it has open/holding/reading.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2019-12-17 Thread Brian Murray
** Tags added: rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state

2019-12-17 Thread Dan Watkins
Hi Nicklas,

Thanks for the extra info!  This sounds like an issue with blkid (and/or
your system), rather than a cloud-init bug.  I've added a util-linux bug
task (which is the package that ships blkid), and I'm going to mark the
cloud-init bug task Invalid as I don't believe that there's anything we
can do to help you from our perspective.

If you think this is incorrect, please do let us know!


Thanks!

Dan

** Also affects: util-linux (Ubuntu)
   Importance: Undecided
   Status: New

** Changed in: cloud-init
   Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to util-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1856560

Title:
  ds-identify - stuck in uninterruptible sleep state

Status in cloud-init:
  Invalid
Status in util-linux package in Ubuntu:
  New

Bug description:
  We got recurring issues with the cloud-init/ds-identify process. It
  spawns sub-processes "blkid -c /dev/null -o export" which gets stuck
  in the "D" uninterruptible sleep state.

  The processes cannot be killed, so the only solution is to reboot the
  affected server.

  root 3839 0.0 0.0 4760 1840 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 3844 0.0 0.0 11212 2836 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6943 0.0 0.0 4760 1880 ? S Dec05 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6948 0.0 0.0 11212 2844 ? D Dec05 0:00 \_ blkid -c /dev/null -o export
  root 6111 0.0 0.0 4760 1916 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 6149 0.0 0.0 11212 2940 ? D Dec12 0:00 \_ blkid -c /dev/null -o export
  root 8765 0.0 0.3 926528 24968 ? Ssl Dec12 0:12 /usr/lib/snapd/snapd
  root 9179 0.0 0.0 4760 1892 ? S Dec12 0:00 /bin/sh 
/usr/lib/cloud-init/ds-identify
  root 9185 0.0 0.0 11980 3552 ? D Dec12 0:00 \_ blkid -c /dev/null -o export

  Distributor ID: Ubuntu
  Description: Ubuntu 18.04.3 LTS
  Release: 18.04
  Codename: bionic

  5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019
  x86_64 x86_64 x86_64 GNU/Linux

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1856560/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp