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

2019-04-04 Thread Oproma Inc.
Good Morning,

We have just received this error while trying to upgrade from Ubuntu 16.04.6 
LTS  to 18.04.2 LTS
```**
# A new feature in cloud-init identified possible datasources for#
# this system as:#
#   ['Ec2', 'None']  #
# However, the datasource used was: CloudStack   #
##
# In the future, cloud-init will only attempt to use datasources that#
# are identified or specifically configured. #
# For more information see   #
#   https://bugs.launchpad.net/bugs/1669675  #
##
# If you are seeing this message, please file a bug against  #
# cloud-init at  #
#https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid  #
# Make sure to include the cloud provider your instance is   #
# running on.#
##
# After you have filed a bug, you can disable this warning by launching  #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg#
##
# #cloud-config  #
# warnings:  #
#   dsid_missing_source: off #
**

Disable the warnings above by:
  touch /home/pcutrone/.cloud-warnings.skip
or
  touch /var/lib/cloud/instance/warnings/.skip
```

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2019-02-28 Thread jpp
+filebug?.field.tags=dsid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-03-16 Thread Scott Moser
Kurt, I've moved your comments into a new bug 1756471 and have asked a
question there.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-03-16 Thread Kurt Garloff
... Alternatively, the UUID looks also suspiciously like OpenStack ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2018-03-16 Thread Kurt Garloff
The OpenStack detection fails on the 1st gen compute hosts (using Xen
hypervisor) in the Open Telekom Cloud.

Handle 0x0100, DMI type 1, 27 bytes
System Information
 Manufacturer: Xen
 Product Name: HVM domU
 Version: 4.1.2_115-908.762.
 Serial Number: 3c569b61-463d-49e0-ad09-c5e2235ce658
 UUID: 3C569B61-463D-49E0-AD09-C5E2235CE658
 Wake-up Type: Power Switch
 SKU Number: Not Specified
 Family: Not Specified

Handle 0x0300, DMI type 3, 13 bytes
Chassis Information
 Manufacturer: Xen
 Type: Other
 Lock: Not Present
 Version: Not Specified
 Serial Number: Not Specified
 Asset Tag: OpenTelekomCloud
 Boot-up State: Safe
 Power Supply State: Safe
 Thermal State: Safe
 Security Status: Unknown

Detection in ds-identify could look for Xen (HVM domU) and the Asset
Tag.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

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

2017-04-25 Thread kay
I use cloudinit for VM provisioning which doesn't use any cloud
providers. I just put the data into the /mnt/var/lib/cloud/seed/nocloud
directory.

And here is the message I get:

**
# A new feature in cloud-init identified possible datasources for#
# this system as:#
#   ['ConfigDrive', 'None']  #
# However, the datasource used was: NoCloud  #
##
# In the future, cloud-init will only attempt to use datasources that#
# are identified or specifically configured. #
# For more information see   #
#   https://bugs.launchpad.net/bugs/1669675  #
##
# If you are seeing this message, please file a bug against  #
# cloud-init at  #
#https://bugs.launchpad.net/cloud-init/+filebug?field.tags=dsid  #
# Make sure to include the cloud provider your instance is   #
# running on.#
##
# After you have filed a bug, you can disable this warning by launching  #
# your instance with the cloud-config below, or putting that content #
# into /etc/cloud/cloud.cfg.d/99-warnings.cfg#
##
# #cloud-config  #
# warnings:  #
#   dsid_missing_source: off #
**

Is it a bug? How can I resolve it without ignoring these warnings?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-16 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init -
0.7.9-48-g1c795b9-0ubuntu1~16.10.1

---
cloud-init (0.7.9-48-g1c795b9-0ubuntu1~16.10.1) yakkety; urgency=medium

  * debian/rules: install Z99-cloudinit-warnings.sh to /etc/profile.d
  * debian/patches/ds-identify-behavior-yakkety.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   Mon, 06 Mar 2017 16:37:28 -0500

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-16 Thread Launchpad Bug Tracker
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   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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-09 Thread Scott Moser
I have walked through the 3 test cases on 3 different instances in
an OpenStack installation with yakkety images.

There was a difference in behavior from what was listed in the description
for item 'b'.  That is by design,  and I just didn't realize it when writing
the test case.

On xenial, where ds-identify is set to 'report' mode, you will see the
warning.  But on yakkety, where ds-identify is enabled, the system does
not warn as it goes on and uses the Ec2 metadata service.  So instead
you see a warning that this system is using the Ec2 metadata service
and it should not be.

** Tags removed: verification-needed-yakkety
** Tags added: verification-done-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-08 Thread Scott Moser
I've walked through the test case description above for xenial and
verified it functioned as expected using 3 different instances on
openstack cloud.

** Tags removed: verification-needed
** Tags added: verification-done-xenial verification-needed-yakkety

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-07 Thread Chris Halse Rogers
Hello Scott, or anyone else affected,

Accepted cloud-init into yakkety-proposed. The package will build now
and be available at https://launchpad.net/ubuntu/+source/cloud-
init/0.7.9-48-g1c795b9-0ubuntu1~16.10.1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: cloud-init (Ubuntu Yakkety)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-07 Thread Chris Halse Rogers
Hello Scott, or anyone else affected,

Accepted cloud-init into xenial-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/cloud-
init/0.7.9-48-g1c795b9-0ubuntu1~16.04.1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

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

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


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

2017-03-03 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init -
0.7.9-47-gc81ea53-0ubuntu1

---
cloud-init (0.7.9-47-gc81ea53-0ubuntu1) zesty; urgency=medium

  * debian/rules: install Z99-cloudinit-warnings.sh to /etc/profile.d
  * New upstream snapshot.
- Support warning if the used datasource is not in ds-identify's list
  (LP: #1669675)
- Z99-cloudinit-warnings: Add profile.d script for showing warnings on
  login.
- Z99-cloud-locale-test.sh: convert tabs to spaces, remove unneccesary
  execute bit in permissions.
- tools/ds-identify: look at cloud.cfg when looking for ec2 strict_id.
- tools/ds-identify: fix bug that would mistakingly enable vmware guest
  customization.

 -- Scott Moser   Fri, 03 Mar 2017 01:56:19 -0500

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1669675

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs