← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1689623] [NEW] ds-identify: disable ec-strict for s390x in yaketty

 

Public bug reported:

DS-identify runs with DI_EC2_STRICT_ID_DEFAULT="warn" on s390x using
yakkety. With zesty EC2_STRICT is set to "true".

Having it set to "true" is important, as on s390x the OpenStack
datasource cannot be detected. Each ds-identify run results in ec2-maybe
(if no other detectable ds is present). This could cause problems in
OpenStack environments where only the Openstack metadata service is
available (without ec2 support). In this special case it's important
that the good all "try out everything" algorithm gets enabled. Therefore
the request is to set DI_EC2_STRICT_ID_DEFAULT="true" for yakkety as
well!


# apt install cloud-init
Reading package lists... Done
Building dependency tree       
Reading state information... Done
cloud-init is already the newest version (0.7.9-90-g61eb03fe-0ubuntu1~16.10.1).


# apt-cache show cloud-init
Package: cloud-init
Priority: extra
Section: admin
Installed-Size: 1455
Maintainer: Scott Moser <smoser@xxxxxxxxxx>
Architecture: all
Version: 0.7.9-90-g61eb03fe-0ubuntu1~16.10.1
Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3 (>= 3.2), python3-requests (>= 0.8.2), python3-serial, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-prettytable, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)
Recommends: eatmydata, gdisk, software-properties-common
Filename: pool/main/c/cloud-init/cloud-init_0.7.9-90-g61eb03fe-0ubuntu1~16.10.1_all.deb
Size: 307142
MD5sum: 85dac3c31c9dc1085f814acd2d46b56c
SHA1: a333708d949fa05f296356877a8b7f0ae88da4e6
SHA256: 6051cf4897c1268dbce3c41909734bb54958bfe2fd0e48960cedad92be5599eb
Description-en: Init scripts for cloud instances
 Cloud instances need special scripts to run during initialisation
 to retrieve and install ssh keys and to let the user run various scripts.
Description-md5: 8719ef0e4178017b7147590b1fde082e
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: ubuntu-core, cloud-image, ubuntu-core

Package: cloud-init
Priority: extra
Section: admin
Installed-Size: 1413
Maintainer: Scott Moser <smoser@xxxxxxxxxx>
Architecture: all
Version: 0.7.8-15-g6e45ffb-0ubuntu1
Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3 (>= 3.2), python3-requests (>= 0.8.2), python3-serial, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-prettytable, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)
Recommends: eatmydata, gdisk, software-properties-common
Filename: pool/main/c/cloud-init/cloud-init_0.7.8-15-g6e45ffb-0ubuntu1_all.deb
Size: 281760
MD5sum: 8bd4212c57d3e731c1d93372c2cf13ec
SHA1: 3801b47c2e8afb7a721c9394d7658a7621efd66f
SHA256: f2b87a3db886fb41cb4000f23e88a54b04e5eca890eb3a682c8b154970b838d9
Description-en: Init scripts for cloud instances
 Cloud instances need special scripts to run during initialisation
 to retrieve and install ssh keys and to let the user run various scripts.
Description-md5: 8719ef0e4178017b7147590b1fde082e
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m
Task: ubuntu-core, cloud-image, ubuntu-core


# uname -a
Linux your-host-name 4.8.0-51-generic #54-Ubuntu SMP Tue Apr 25 16:33:55 UTC 2017 s390x s390x s390x GNU/Linux

# cat /etc/*release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.10
DISTRIB_CODENAME=yakkety
DISTRIB_DESCRIPTION="Ubuntu 16.10"
NAME="Ubuntu"
VERSION="16.10 (Yakkety Yak)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.10"
VERSION_ID="16.10"
HOME_URL="http://www.ubuntu.com/";
SUPPORT_URL="http://help.ubuntu.com/";
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
VERSION_CODENAME=yakkety
UBUNTU_CODENAME=yakkety

** Affects: cloud-init
     Importance: Undecided
         Status: New

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

Title:
  ds-identify: disable ec-strict for s390x in yaketty

Status in cloud-init:
  New

Bug description:
  DS-identify runs with DI_EC2_STRICT_ID_DEFAULT="warn" on s390x using
  yakkety. With zesty EC2_STRICT is set to "true".

  Having it set to "true" is important, as on s390x the OpenStack
  datasource cannot be detected. Each ds-identify run results in
  ec2-maybe (if no other detectable ds is present). This could cause
  problems in OpenStack environments where only the Openstack metadata
  service is available (without ec2 support). In this special case it's
  important that the good all "try out everything" algorithm gets
  enabled. Therefore the request is to set
  DI_EC2_STRICT_ID_DEFAULT="true" for yakkety as well!

  
  # apt install cloud-init
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  cloud-init is already the newest version (0.7.9-90-g61eb03fe-0ubuntu1~16.10.1).

  
  # apt-cache show cloud-init
  Package: cloud-init
  Priority: extra
  Section: admin
  Installed-Size: 1455
  Maintainer: Scott Moser <smoser@xxxxxxxxxx>
  Architecture: all
  Version: 0.7.9-90-g61eb03fe-0ubuntu1~16.10.1
  Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3 (>= 3.2), python3-requests (>= 0.8.2), python3-serial, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-prettytable, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)
  Recommends: eatmydata, gdisk, software-properties-common
  Filename: pool/main/c/cloud-init/cloud-init_0.7.9-90-g61eb03fe-0ubuntu1~16.10.1_all.deb
  Size: 307142
  MD5sum: 85dac3c31c9dc1085f814acd2d46b56c
  SHA1: a333708d949fa05f296356877a8b7f0ae88da4e6
  SHA256: 6051cf4897c1268dbce3c41909734bb54958bfe2fd0e48960cedad92be5599eb
  Description-en: Init scripts for cloud instances
   Cloud instances need special scripts to run during initialisation
   to retrieve and install ssh keys and to let the user run various scripts.
  Description-md5: 8719ef0e4178017b7147590b1fde082e
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-core, cloud-image, ubuntu-core

  Package: cloud-init
  Priority: extra
  Section: admin
  Installed-Size: 1413
  Maintainer: Scott Moser <smoser@xxxxxxxxxx>
  Architecture: all
  Version: 0.7.8-15-g6e45ffb-0ubuntu1
  Depends: cloud-guest-utils | cloud-utils, ifupdown (>= 0.6.10ubuntu5), procps, python3 (>= 3.2), python3-requests (>= 0.8.2), python3-serial, debconf (>= 0.5) | debconf-2.0, init-system-helpers (>= 1.18~), python3-configobj, python3-jinja2, python3-jsonpatch, python3-oauthlib, python3-prettytable, python3-six, python3-yaml, python3:any (>= 3.3.2-2~)
  Recommends: eatmydata, gdisk, software-properties-common
  Filename: pool/main/c/cloud-init/cloud-init_0.7.8-15-g6e45ffb-0ubuntu1_all.deb
  Size: 281760
  MD5sum: 8bd4212c57d3e731c1d93372c2cf13ec
  SHA1: 3801b47c2e8afb7a721c9394d7658a7621efd66f
  SHA256: f2b87a3db886fb41cb4000f23e88a54b04e5eca890eb3a682c8b154970b838d9
  Description-en: Init scripts for cloud instances
   Cloud instances need special scripts to run during initialisation
   to retrieve and install ssh keys and to let the user run various scripts.
  Description-md5: 8719ef0e4178017b7147590b1fde082e
  Bugs: https://bugs.launchpad.net/ubuntu/+filebug
  Origin: Ubuntu
  Supported: 9m
  Task: ubuntu-core, cloud-image, ubuntu-core

  
  # uname -a
  Linux your-host-name 4.8.0-51-generic #54-Ubuntu SMP Tue Apr 25 16:33:55 UTC 2017 s390x s390x s390x GNU/Linux

  # cat /etc/*release
  DISTRIB_ID=Ubuntu
  DISTRIB_RELEASE=16.10
  DISTRIB_CODENAME=yakkety
  DISTRIB_DESCRIPTION="Ubuntu 16.10"
  NAME="Ubuntu"
  VERSION="16.10 (Yakkety Yak)"
  ID=ubuntu
  ID_LIKE=debian
  PRETTY_NAME="Ubuntu 16.10"
  VERSION_ID="16.10"
  HOME_URL="http://www.ubuntu.com/";
  SUPPORT_URL="http://help.ubuntu.com/";
  BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/";
  PRIVACY_POLICY_URL="http://www.ubuntu.com/legal/terms-and-policies/privacy-policy";
  VERSION_CODENAME=yakkety
  UBUNTU_CODENAME=yakkety

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


Follow ups