← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1592505] Re: stack trace on reboot with NoCloud datasource on reboot

 

** Changed in: cloud-init
       Status: Fix Committed => Fix Released

-- 
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/1592505

Title:
  stack trace on reboot with NoCloud datasource on reboot

Status in cloud-init:
  Fix Released
Status in cloud-init package in Ubuntu:
  Fix Released

Bug description:
  initially found when recreating bug 1591181.
  But the NoCloud datasource will stacktrace on reboot, with something like:

  failed stage init-local#012Traceback (most recent call last):
    File "/usr/bin/cloud-init", line 536, in status_wrapper ret = functor(name, args)
    File "/usr/bin/cloud-init", line 250, in main_init
    init.fetch(existing=existing)
    File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 357, in fetch
    return self._get_data_source(existing=existing)
    File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 252, in _get_data_source
    ds, desc = self._restore_from_checked_cache(existing)
    File "/usr/lib/python3/dist-packages/cloudinit/stages.py", line 238, in _restore_from_checked_cache
    ds.check_instance_id(self.cfg)):
    File "/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceNoCloud.py", line 197, in check_instance_id
    quick_id = _quick_read_instance_id(cmdline_id=self.cmdline_id,
   AttributeError: 'DataSourceNoCloud' object has no attribute

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: cloud-init 0.7.7~bzr1227-0ubuntu1 [modified: usr/lib/python3/dist-packages/cloudinit/sources/DataSourceNoCloud.py]
  ProcVersionSignature: Ubuntu 4.4.0-24.43-generic 4.4.10
  Uname: Linux 4.4.0-24-generic x86_64
  ApportVersion: 2.20.1-0ubuntu4
  Architecture: amd64
  Date: Tue Jun 14 17:58:25 2016
  PackageArchitecture: all
  ProcEnviron:
   TERM=linux
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: cloud-init
  UpgradeStatus: No upgrade log present (probably fresh install)

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