[Bug 1856560] Re: ds-identify - stuck in uninterruptible sleep state
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu Jan 9 16:25:49 UTC 2020
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
Foundations Bugs, 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
More information about the foundations-bugs
mailing list