[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
This bug was fixed in the package cloud-init - 0.7.7~bzr1072-0ubuntu1 --- cloud-init (0.7.7~bzr1072-0ubuntu1) vivid; urgency=medium * d/control: move software-properties-common to Recommends this helps reduce snappy builds * New upstream snapshot. * fix MAAS datasource (LP: #1427263) -- Scott Moser smo...@ubuntu.com Tue, 03 Mar 2015 20:46:41 -0500 ** Changed in: cloud-init (Ubuntu) Status: Confirmed = Fix Released -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
This bug was fixed in the package cloud-init - 0.7.7~bzr1072-0ubuntu1 --- cloud-init (0.7.7~bzr1072-0ubuntu1) vivid; urgency=medium * d/control: move software-properties-common to Recommends this helps reduce snappy builds * New upstream snapshot. * fix MAAS datasource (LP: #1427263) -- Scott Moser smo...@ubuntu.com Tue, 03 Mar 2015 20:46:41 -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/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
https://bugs.launchpad.net/cloud-init/+bug/1427687 is probably also related to this issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
https://bugs.launchpad.net/cloud-init/+bug/1427687 is probably also related to this issue. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
i'll have to finish this tomorrow, but given 'patch-image' at http://paste.ubuntu.com/10507095/ and the deb attached, we'r emuch closer. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
ben, this is fallout of python3. My work-in-progress is at lp:~smoser/cloud-ilp1427263 the maas datasource is busted in [at least] 2 ways a.) get_cmdline_url() was broken (fixed that) b.) oauthlib doesn't seem to be working right http://paste.ubuntu.com/10506162/ $ dpkg-query --show python3-oauthlib python3-oauthlib0.6.1-1 $ python3 -c 'import oauthlib; oauthlib.oauth1.Client(foo, client_secret=foo_bar)' Traceback (most recent call last): File string, line 1, in module AttributeError: 'module' object has no attribute 'oauth1' the use of oauthlib is as described in https://oauthlib.readthedocs.org/en/latest/oauth1/client.html ** Changed in: cloud-init (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
i'll have to finish this tomorrow, but given 'patch-image' at http://paste.ubuntu.com/10507095/ and the deb attached, we'r emuch closer. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
** Attachment added: possible fixed deb https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+attachment/4332650/+files/cloud-init_0.7.7%7Ebzr1072-1_all.deb -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
** Attachment added: possible fixed deb https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+attachment/4332650/+files/cloud-init_0.7.7%7Ebzr1072-1_all.deb -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
ben, this is fallout of python3. My work-in-progress is at lp:~smoser/cloud-ilp1427263 the maas datasource is busted in [at least] 2 ways a.) get_cmdline_url() was broken (fixed that) b.) oauthlib doesn't seem to be working right http://paste.ubuntu.com/10506162/ $ dpkg-query --show python3-oauthlib python3-oauthlib0.6.1-1 $ python3 -c 'import oauthlib; oauthlib.oauth1.Client(foo, client_secret=foo_bar)' Traceback (most recent call last): File string, line 1, in module AttributeError: 'module' object has no attribute 'oauth1' the use of oauthlib is as described in https://oauthlib.readthedocs.org/en/latest/oauth1/client.html ** Changed in: cloud-init (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
** Branch linked: lp:cloud-init -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
** Branch linked: lp:cloud-init -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
Cause is that any instance that returns dmi data will be flags as running on CloudSIgma: From cloudinit/sources/DataSourceCloudSigma.py 45 def is_running_in_cloudsigma(self): 46 47 Uses dmi data to detect if this instance of cloud-init is running 48 in the CloudSigma's infrastructure. 49 50 uname_arch = os.uname()[4] 51 if uname_arch.startswith(arm) or uname_arch == aarch64: 52 # Disabling because dmi data on ARM processors 53 LOG.debug(Disabling CloudSigma datasource on arm (LP: #1243287)) 54 return False 55 56 LOG.debug(determining hypervisor product name via dmi data) 57 sys_product_name = util.read_dmi_data(system-product-name) 58 if not sys_product_name: 59 LOG.warn(failed to get hypervisor product name via dmi data) 60 return False 61 else: 62 LOG.debug(detected hypervisor as {}.format(sys_product_name)) 63 return 'cloudsigma' in sys_product_name.lower() 64 65 LOG.warn(failed to query dmi data for system product name) 66 return False -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
Scratch the prior comment. My analysis is incorrect. Brad can you get /var/log/cloud* and /var/lib/cloud? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
Cause is that any instance that returns dmi data will be flags as running on CloudSIgma: From cloudinit/sources/DataSourceCloudSigma.py 45 def is_running_in_cloudsigma(self): 46 47 Uses dmi data to detect if this instance of cloud-init is running 48 in the CloudSigma's infrastructure. 49 50 uname_arch = os.uname()[4] 51 if uname_arch.startswith(arm) or uname_arch == aarch64: 52 # Disabling because dmi data on ARM processors 53 LOG.debug(Disabling CloudSigma datasource on arm (LP: #1243287)) 54 return False 55 56 LOG.debug(determining hypervisor product name via dmi data) 57 sys_product_name = util.read_dmi_data(system-product-name) 58 if not sys_product_name: 59 LOG.warn(failed to get hypervisor product name via dmi data) 60 return False 61 else: 62 LOG.debug(detected hypervisor as {}.format(sys_product_name)) 63 return 'cloudsigma' in sys_product_name.lower() 64 65 LOG.warn(failed to query dmi data for system product name) 66 return False -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to cloud-init in Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1427263] Re: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data
Scratch the prior comment. My analysis is incorrect. Brad can you get /var/log/cloud* and /var/lib/cloud? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1427263 Title: Vivid: DataSourceCloudSigma.py[WARNING]: failed to get hypervisor product name via dmi data To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1427263/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs