← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1669675] Re: support strict cloud platform identification and warnings [ds-identify]

 

This bug was fixed in the package cloud-init -
0.7.9-48-g1c795b9-0ubuntu1~16.04.1

---------------
cloud-init (0.7.9-48-g1c795b9-0ubuntu1~16.04.1) xenial-proposed; urgency=medium

  * debian/rules: install Z99-cloudinit-warnings.sh to /etc/profile.d
  * debian/patches/ds-identify-behavior-xenial.patch: adjust default
    behavior of ds-identify for SRU (LP: #1669675, #1660385).
  * New upstream snapshot.
    - Support warning if the used datasource is not in ds-identify's list
      (LP: #1669675).
    - DatasourceEc2: add warning message when not on AWS. (LP: #1660385)
    - Z99-cloudinit-warnings: Add profile.d script for showing warnings on
    - Z99-cloud-locale-test.sh: convert tabs to spaces, remove unneccesary
      execute bit in permissions.
    - (RedHat) net: correct errors in cloudinit/net/sysconfig.py
      [Lars Kellogg-Stedman]
    - ec2_utils: fix MetadataLeafDecoder that returned bytes on empty
    - Fix eni rendering of multiple IPs per interface [Ryan Harper]
      (LP: #1657940)
    - Add 3 ecdsa-sha2-nistp* ssh key types now that they are standardized
      [Lars Kellogg-Stedman]
    - EC2: Do not cache security credentials on disk [Andrew Jorgensen]
      (LP: #1638312)
    - OpenStack: Use timeout and retries from config in get_data.
      [Lars Kellogg-Stedman] (LP: #1657130)
    - Fixed Misc issues related to VMware customization. [Sankar Tanguturi]
    - (RedHat) Use dnf instead of yum when available [Lars Kellogg-Stedman]
    - Get early logging logged, including failures of cmdline url.
    - test / doc / build environment changes
      - Remove style checking during build and add latest style checks to
        tox [Joshua Powers]
      - code-style: make master pass pycodestyle (2.3.1) cleanly, currently
        [Joshua Powers]
      - Fix small typo and change iso-filename for consistency
      - tools/mock-meta: support python2 or python3 and ipv6 in both.
      - tests: remove executable bit on test_net, so it runs, and fix it.
      - tests: No longer monkey patch httpretty for python 3.4.2
      - reset httppretty for each test [Lars Kellogg-Stedman]
      - build: fix running Make on a branch with tags other than master
      - doc: Fix typos and clarify some aspects of the part-handler
        [Erik M. Bray]
      - doc: add some documentation on OpenStack datasource.
      - Fix minor docs typo: perserve > preserve [Jeremy Bicha]
      - validate-yaml: use python rather than explicitly python3

 -- Scott Moser <smoser@xxxxxxxxxx>  Mon, 06 Mar 2017 16:34:10 -0500

** Changed in: cloud-init (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1669675

Title:
  support strict cloud platform identification and warnings [ds-
  identify]

Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Xenial:
  Fix Released
Status in cloud-init source package in Yakkety:
  Fix Released

Bug description:
  === Begin SRU Template ===
  [Impact]
  Cloud-init searches through each of its datasources until it finds one.
  This can be slow or error prone leading to timeouts or other problems
  in boot.  It also makes cloud-init not suitable to be installed in an
  image as it is very much not 'inert' even when it is not necessary.

  The changes covered in this bug add code that runs in a systemd generator
  that quickly determines which datasource should be used.  That code
  (ds-identify) can be configured to disable cloud-init if no source is found.
  By doing so, no cloud-init python code is even executed making for faster
  boot.

  The changes in behavior in this first phase are:
   * 16.10 : Attempt a search.  If a positive result is found, enable only
     that datasource in cloud-init.  If no result is found, keep cloud-init
     enabled.  cloud-init will search its normal list and issue warnings.

   * 16.04 : report only mode.
     Attempt a search, but in report only mode.  Warnings are issued
     by cloud-init if it uses a datasource not in the result list.

  [Test Case]
  a.) forced fail
      1.) launch instance on KVM OpenStack. enable proposed, upgrade.
      2.) rm -Rf /var/lib/cloud /var/log/cloud-init* ;
      3.) modify /usr/lib/cloud-init/ds-identify to
             return $DS_NOT_FOUND
          in the first line of 'dscheck_OpenStack'
      4.) reboot
      5.) ssh in.  You should see a warning on stderr on ssh connection.
      
  b.) forced fail with warnings disabled.
      follow 'a' above, but launch instance with user-data of
        #cloud-config
        warnings:
          dsid_missing_source: off
      Upon ssh in in step 5, no warnings should be seen.

  c.) normal instance
      1.) launch instance, enable proposed, upgrade
      2.) rm -Rf /var/lib/cloud /var/log/cloud-init*
      3.) reboot
      4.) expect that same datasource is found.

  [Other Information]
  See also: https://lists.ubuntu.com/archives/ubuntu-devel/2017-February/039697.html
  === End SRU Template ===

  Related bugs:
   * bug 1660385: Alert user of Ec2 Datasource on lookalike cloud

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: cloud-init 0.7.9-38-g83606ae-0ubuntu1
  ProcVersionSignature: Ubuntu 4.9.0-15.16-generic 4.9.5
  Uname: Linux 4.9.0-15-generic x86_64
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  Date: Fri Mar  3 04:25:51 2017
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=C.UTF-8
  SourcePackage: cloud-init
  UpgradeStatus: No upgrade log present (probably fresh install)

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