← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1894119] Re: stuck "running" on DataSourceNone

 

[Expired for cloud-init because there has been no activity for 60 days.]

** Changed in: cloud-init
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1894119

Title:
  stuck "running" on DataSourceNone

Status in cloud-init:
  Expired

Bug description:
  On a bare-metal machine with `None` datasource:

  ```
  datasource_list:
    - None
  datasource:
    None:
  ```

  The 'config' module does not terminate:

  ```
  $ sudo cloud-init modules
  Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~16.04.1 running 'modules:config' at Thu, 03 Sep 2020 14:01:22 +0000. Up 5526.72 seconds.
  ```

  My cloud-init file seems valid:

  ```
  $ cloud-init devel schema --config-file /etc/cloud/cloud.cfg
  Valid cloud-config file /etc/cloud/cloud.cfg
  ```

  Setting `cloud_config_modules` to an empty list `cloud_config_modules:
  []` gives:

  ```
  $ sudo cloud-init modules 
  Cloud-init v. 20.2-45-g5f7825e2-0ubuntu1~16.04.1 running 'modules:config' at Thu, 03 Sep 2020 15:16:31 +0000. Up 150.15 seconds.
  No 'config' modules to run under section 'cloud_config_modules'
  ```

  Possibly related to https://bugs.launchpad.net/cloud-init/+bug/1694399
  but uncertain.

  This is my `status.json`:

  ```
  {
   "v1": {
    "datasource": "DataSourceNone",
    "init": {
     "errors": [],
     "finished": 1599134018.9847271,
     "start": 1599134018.7709196
    },
    "init-local": {
     "errors": [],
     "finished": 1599133970.417612,
     "start": 1599133970.1241682
    },
    "modules-config": {
     "errors": [],
     "finished": 1599134019.5227249,
     "start": 1599134019.4342222
    },
    "modules-final": {
     "errors": [],
     "finished": null,
     "start": null
    },
    "modules-init": {
     "errors": [],
     "finished": null,
     "start": null
    },
    "stage": null
   }
  }
  ```

  My apport is:

  ```
  ProblemType: Bug
  ApportVersion: 2.20.1-0ubuntu2.24
  Architecture: amd64
  Date: Thu Sep  3 14:09:34 2020
  Dependencies:
   adduser 3.113+nmu3ubuntu4
   apt 1.2.32ubuntu0.1
   apt-utils 1.2.32ubuntu0.1
   ca-certificates 20190110~16.04.1
   cloud-guest-utils 0.27-0ubuntu25.1
   coreutils 8.25-2ubuntu3~16.04
   cron 3.0pl1-128ubuntu2
   dbus 1.10.6-1ubuntu3.6
   debconf 1.5.58ubuntu2
   debconf-i18n 1.5.58ubuntu2
   debianutils 4.7
   dh-python 2.20151103ubuntu1.2
   distro-info-data 0.28ubuntu0.14
   dpkg 1.18.4ubuntu1.6
   e2fslibs 1.42.13-1ubuntu1.2
   e2fsprogs 1.42.13-1ubuntu1.2
   eatmydata 105-3
   file 1:5.25-2ubuntu1.4
   gcc-5-base 5.4.0-6ubuntu1~16.04.12
   gcc-6-base 6.0.1-0ubuntu1
   gdisk 1.0.1-1build1
   gir1.2-glib-2.0 1.46.0-3ubuntu1
   gnupg 1.4.20-1ubuntu3.3
   gpgv 1.4.20-1ubuntu3.3
   groff-base 1.22.3-7
   ifupdown 0.8.10ubuntu1.4
   init-system-helpers 1.29ubuntu4
   initscripts 2.88dsf-59.3ubuntu2
   insserv 1.14.0-5ubuntu3
   iproute2 4.3.0-1ubuntu3.16.04.5
   isc-dhcp-client 4.3.3-5ubuntu12.10
   isc-dhcp-common 4.3.3-5ubuntu12.10
   iso-codes 3.65-1
   krb5-locales 1.13.2+dfsg-5ubuntu2.1
   libacl1 2.2.52-3
   libapparmor1 2.10.95-0ubuntu2.11
   libapt-inst2.0 1.2.32ubuntu0.1
   libapt-pkg5.0 1.2.32ubuntu0.1
   libasn1-8-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libattr1 1:2.4.47-2
   libaudit-common 1:2.4.5-1ubuntu2.1
   libaudit1 1:2.4.5-1ubuntu2.1
   libblkid1 2.27.1-6ubuntu3.10
   libbz2-1.0 1.0.6-8ubuntu0.2
   libc6 2.23-0ubuntu11.2
   libcap-ng0 0.7.7-1
   libcomerr2 1.42.13-1ubuntu1.2
   libcurl3-gnutls 7.47.0-1ubuntu2.16
   libdb5.3 5.3.28-11ubuntu0.2
   libdbus-1-3 1.10.6-1ubuntu3.6
   libdbus-glib-1-2 0.106-1
   libdns-export162 1:9.10.3.dfsg.P4-8ubuntu1.17
   libeatmydata1 105-3
   libexpat1 2.1.0-7ubuntu0.16.04.5
   libfdisk1 2.27.1-6ubuntu3.10
   libffi6 3.2.1-4
   libgcc1 1:6.0.1-0ubuntu1
   libgcrypt20 1.6.5-2ubuntu0.6
   libgirepository-1.0-1 1.46.0-3ubuntu1
   libglib2.0-0 2.48.2-0ubuntu4.6
   libglib2.0-data 2.48.2-0ubuntu4.6
   libgmp10 2:6.1.0+dfsg-2
   libgnutls30 3.4.10-4ubuntu1.8
   libgpg-error0 1.21-2ubuntu1
   libgpm2 1.20.4-6.1
   libgssapi-krb5-2 1.13.2+dfsg-5ubuntu2.1
   libgssapi3-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libhcrypto4-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libheimbase1-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libheimntlm0-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libhogweed4 3.2-1ubuntu0.16.04.1
   libhx509-5-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libicu55 55.1-7ubuntu0.5
   libidn11 1.32-3ubuntu1.2
   libisc-export160 1:9.10.3.dfsg.P4-8ubuntu1.17
   libk5crypto3 1.13.2+dfsg-5ubuntu2.1
   libkeyutils1 1.5.9-8ubuntu1
   libkrb5-26-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libkrb5-3 1.13.2+dfsg-5ubuntu2.1
   libkrb5support0 1.13.2+dfsg-5ubuntu2.1
   libldap-2.4-2 2.4.42+dfsg-2ubuntu3.9
   liblocale-gettext-perl 1.07-1build1
   liblz4-1 0.0~r131-2ubuntu2
   liblzma5 5.1.1alpha+20120614-2ubuntu2
   libmagic1 1:5.25-2ubuntu1.4
   libmnl0 1.0.3-5
   libmount1 2.27.1-6ubuntu3.10
   libmpdec2 2.4.2-1
   libncurses5 6.0+20160213-1ubuntu1
   libncursesw5 6.0+20160213-1ubuntu1
   libnettle6 3.2-1ubuntu0.16.04.1
   libp11-kit0 0.23.2-5~ubuntu16.04.1
   libpam-modules 1.1.8-3.2ubuntu2.1
   libpam-modules-bin 1.1.8-3.2ubuntu2.1
   libpam-runtime 1.1.8-3.2ubuntu2.1
   libpam0g 1.1.8-3.2ubuntu2.1
   libpcre3 2:8.38-3.1
   libpopt0 1.16-10
   libprocps4 2:3.3.10-4ubuntu2.5
   libpython-stdlib 2.7.12-1~16.04
   libpython2.7-minimal 2.7.12-1ubuntu0~16.04.12
   libpython2.7-stdlib 2.7.12-1ubuntu0~16.04.12
   libpython3-stdlib 3.5.1-3
   libpython3.5-minimal 3.5.2-2ubuntu0~16.04.11
   libpython3.5-stdlib 3.5.2-2ubuntu0~16.04.11
   libreadline6 6.3-8ubuntu2
   libroken18-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   librtmp1 2.4+20151223.gitfa8646d-1ubuntu0.1
   libsasl2-2 2.1.26.dfsg1-14ubuntu0.2
   libsasl2-modules 2.1.26.dfsg1-14ubuntu0.2
   libsasl2-modules-db 2.1.26.dfsg1-14ubuntu0.2
   libselinux1 2.4-3build2
   libsemanage-common 2.3-1build3
   libsemanage1 2.3-1build3
   libsepol1 2.4-2
   libsmartcols1 2.27.1-6ubuntu3.10
   libsqlite3-0 3.11.0-1ubuntu1.5
   libss2 1.42.13-1ubuntu1.2
   libssl1.0.0 1.0.2g-1ubuntu4.16
   libstdc++6 5.4.0-6ubuntu1~16.04.12
   libsystemd0 229-4ubuntu21.28
   libtasn1-6 4.7-3ubuntu0.16.04.3
   libtext-charwidth-perl 0.04-7build5
   libtext-iconv-perl 1.7-5build4
   libtext-wrapi18n-perl 0.06-7.1
   libtinfo5 6.0+20160213-1ubuntu1
   libudev1 229-4ubuntu21.28
   libusb-0.1-4 2:0.1.12-28
   libustr-1.0-1 1.0.4-5
   libuuid1 2.27.1-6ubuntu3.10
   libwind0-heimdal 1.7~git20150920+dfsg-4ubuntu1.16.04.1
   libxml2 2.9.3+dfsg1-1ubuntu0.7
   libxtables11 1.6.0-2ubuntu3
   libyaml-0-2 0.1.6-3
   lsb-base 9.20160110ubuntu0.2
   lsb-release 9.20160110ubuntu0.2
   mime-support 3.59ubuntu1
   mount 2.27.1-6ubuntu3.10
   multiarch-support 2.23-0ubuntu11.2
   openssl 1.0.2g-1ubuntu4.16
   passwd 1:4.2-3.1ubuntu5.4
   perl-base 5.22.1-9ubuntu0.6
   powermgmt-base 1.31+nmu1
   procps 2:3.3.10-4ubuntu2.5
   psmisc 22.21-2.1ubuntu0.1
   python 2.7.12-1~16.04
   python-apt-common 1.1.0~beta1ubuntu0.16.04.9
   python-minimal 2.7.12-1~16.04
   python2.7 2.7.12-1ubuntu0~16.04.12
   python2.7-minimal 2.7.12-1ubuntu0~16.04.12
   python3 3.5.1-3
   python3-apt 1.1.0~beta1ubuntu0.16.04.9
   python3-blinker 1.3.dfsg2-1build1
   python3-chardet 2.3.0-2
   python3-configobj 5.0.6-2
   python3-cryptography 1.2.3-1ubuntu0.2
   python3-dbus 1.2.0-3
   python3-gi 3.20.0-0ubuntu1
   python3-idna 2.0-3
   python3-jinja2 2.8-1ubuntu0.1
   python3-json-pointer 1.9-3
   python3-jsonpatch 1.19-3
   python3-jwt 1.3.0-1ubuntu0.1
   python3-markupsafe 0.23-2build2
   python3-minimal 3.5.1-3
   python3-oauthlib 1.0.3-1
   python3-pkg-resources 20.7.0-1
   python3-pyasn1 0.1.9-1
   python3-pycurl 7.43.0-1ubuntu1
   python3-requests 2.9.1-3ubuntu0.1
   python3-serial 3.0.1-1
   python3-six 1.10.0-3
   python3-software-properties 0.96.20.10
   python3-urllib3 1.13.1-2ubuntu0.16.04.3
   python3-yaml 3.11-3build1
   python3.5 3.5.2-2ubuntu0~16.04.11
   python3.5-minimal 3.5.2-2ubuntu0~16.04.11
   readline-common 6.3-8ubuntu2
   sed 4.2.2-7
   sensible-utils 0.0.9ubuntu0.16.04.1
   sgml-base 1.26+nmu4ubuntu1
   shared-mime-info 1.5-2ubuntu0.2
   software-properties-common 0.96.20.10
   sysv-rc 2.88dsf-59.3ubuntu2
   sysvinit-utils 2.88dsf-59.3ubuntu2
   tar 1.28-2.1ubuntu0.1
   ubuntu-keyring 2012.05.19.1
   ucf 3.0036
   unattended-upgrades 1.1ubuntu1.18.04.7~16.04.6
   update-motd 3.6-0ubuntu1
   util-linux 2.27.1-6ubuntu3.10
   uuid-runtime 2.27.1-6ubuntu3.10
   xdg-user-dirs 0.15-2ubuntu6.16.04.1
   xml-core 0.13+nmu2
   xz-utils 5.1.1alpha+20120614-2ubuntu2
   zlib1g 1:1.2.8.dfsg-2ubuntu4.3
  DistroRelease: Ubuntu 16.04
  InstallationDate: Installed on 2016-04-11 (1606 days ago)
  InstallationMedia: Ubuntu-Server 14.04.2 LTS "Trusty Tahr" - Release amd64 (20150218.1)
  Package: cloud-init 20.2-45-g5f7825e2-0ubuntu1~16.04.1
  PackageArchitecture: all
  ProcCpuinfoMinimal:
   processor	: 11
   vendor_id	: GenuineIntel
   cpu family	: 6
   model		: 63
   model name	: Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
   stepping	: 2
   microcode	: 0x43
   cpu MHz		: 1933.980
   cache size	: 15360 KB
   physical id	: 0
   siblings	: 12
   core id		: 5
   cpu cores	: 6
   apicid		: 11
   initial apicid	: 11
   fpu		: yes
   fpu_exception	: yes
   cpuid level	: 15
   wp		: yes
   flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb invpcid_single ssbd ibrs ibpb stibp kaiser tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc dtherm ida arat pln pts md_clear flush_l1d
   bugs		: cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit
   bogomips	: 6598.53
   clflush size	: 64
   cache_alignment	: 64
   address sizes	: 46 bits physical, 48 bits virtual
   power management:
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 4.4.0-189.219-generic 4.4.232
  SourcePackage: cloud-init
  Tags:  xenial uec-images
  Uname: Linux 4.4.0-189-generic x86_64
  UpgradeStatus: Upgraded to xenial on 2018-09-12 (721 days ago)
  _MarkForUpload: True
  logs.tgz: Error: [Errno 2] No such file or directory: '/tmp/cloud-init-logs.tgz'
  modified.conffile..etc.cloud.cloud.cfg: [modified]
  mtime.conffile..etc.cloud.cloud.cfg: 2020-09-03T11:52:01.102495
  ```

  Unfortunately I cannot attach cloud-init.tar because it contains
  sensitive infos (not my machines).

  Any tips on how to further explore and/or fix this bug are much
  appreciated.

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


References