[Yahoo-eng-team] [Bug 1569469] Re: smartos datasource stacktrace if no system-product-name in dmi data

2023-05-10 Thread James Falcon
Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/2647

** Bug watch added: github.com/canonical/cloud-init/issues #2647
   https://github.com/canonical/cloud-init/issues/2647

** Changed in: cloud-init
   Status: Confirmed => 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/1569469

Title:
  smartos datasource stacktrace if no system-product-name in dmi data

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

Bug description:
  if there is no product name in dmi data, cloud-init log will show

  DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via 
dmi data
  util.py[WARNING]: Getting data from  failed
  util.py[DEBUG]: Getting data from  failed#
  Traceback (most recent call last):#
File "/usr/lib/python3/dist-packages/cloudinit/sources/__init__.py", line 
266, in find_source#
  if s.get_data():#
File 
"/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceSmartOS.py", line 
250, in get_data#
  if 'smartdc' not in system_type.lower():#
  AttributeError: 'NoneType' object has no attribute 'lower'

  
  Fix is simple enough.

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


-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp


[Yahoo-eng-team] [Bug 1569469] Re: smartos datasource stacktrace if no system-product-name in dmi data

2016-04-13 Thread Launchpad Bug Tracker
This bug was fixed in the package cloud-init - 0.7.7~bzr1208-0ubuntu1

---
cloud-init (0.7.7~bzr1208-0ubuntu1) xenial; urgency=medium

  * New upstream snapshot.
- phone_home: allow usage of fqdn (LP: #1566824) [Ollie Armstrong]
- chef: straighten out validation_cert and validation_key (LP: #1568940)
- skip bridges when generating fallback networking (LP: #1569974)
- rh_subscription: only check subscription if configured (LP: #1536706)
- SmartOS, CloudSigma: fix error when dmi data is not availble
  (LP: #1569469)
- DataSourceNoCloud: fix check_instance_id when upgraded (LP: #1568150)
- lxd: adds basic support for dpkg based lxd-bridge
  configuration. (LP: #1569018)
- centos: Ensure that a resolve conf object is written as a string.
  (LP: #1479988)

 -- Scott Moser   Wed, 13 Apr 2016 13:19:03 -0400

** Changed in: cloud-init (Ubuntu)
   Status: Confirmed => 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/1569469

Title:
  smartos datasource stacktrace if no system-product-name in dmi data

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

Bug description:
  if there is no product name in dmi data, cloud-init log will show

  DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via 
dmi data
  util.py[WARNING]: Getting data from  failed
  util.py[DEBUG]: Getting data from  failed#
  Traceback (most recent call last):#
File "/usr/lib/python3/dist-packages/cloudinit/sources/__init__.py", line 
266, in find_source#
  if s.get_data():#
File 
"/usr/lib/python3/dist-packages/cloudinit/sources/DataSourceSmartOS.py", line 
250, in get_data#
  if 'smartdc' not in system_type.lower():#
  AttributeError: 'NoneType' object has no attribute 'lower'

  
  Fix is simple enough.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp