yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #63544
[Bug 1685810] [NEW] nova-lxd needs to read 'product_name' in environment, not 'platform'
Public bug reported:
It seems that signals were crossed in bug 1661797.
cloud-init implementation reads the environment variable 'platform' from pid1, and nova-lxd implementation exported 'product_name'.
Thus, ssh to nova-lxd provided container, user sees a warning.
Also
$ sudo DEBUG_LEVEL=2 DI_LOG=stderr /usr/lib/cloud-init/ds-identify --force 2>&1 | grep PLAT
PID_1_PLATFORM=unavailable
While:
$ sudo cat /proc/1/environ | tr '\0' '\n'
product_name=OpenStack Nova
container=lxc
Related bugs:
* bug 1661797: identify lxd-nova platform to enable Openstack datasource
** Affects: cloud-init
Importance: High
Assignee: Scott Moser (smoser)
Status: Confirmed
** Tags: dsid
** Description changed:
It seems that signals were crossed in bug 1661797.
cloud-init implementation reads the environment variable 'platform' from pid1, and nova-lxd implementation exported 'product_name'.
Thus, ssh to nova-lxd provided container, user sees a warning.
Also
$ sudo DEBUG_LEVEL=2 DI_LOG=stderr /usr/lib/cloud-init/ds-identify --force 2>&1 | grep PLAT
PID_1_PLATFORM=unavailable
+ While:
+ $ sudo cat /proc/1/environ | tr '\0' '\n'
+ product_name=OpenStack Nova
+ container=lxc
+
Related bugs:
- * bug 1661797: identify lxd-nova platform to enable Openstack datasource
+ * bug 1661797: identify lxd-nova platform to enable Openstack datasource
--
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/1685810
Title:
nova-lxd needs to read 'product_name' in environment, not 'platform'
Status in cloud-init:
Confirmed
Bug description:
It seems that signals were crossed in bug 1661797.
cloud-init implementation reads the environment variable 'platform' from pid1, and nova-lxd implementation exported 'product_name'.
Thus, ssh to nova-lxd provided container, user sees a warning.
Also
$ sudo DEBUG_LEVEL=2 DI_LOG=stderr /usr/lib/cloud-init/ds-identify --force 2>&1 | grep PLAT
PID_1_PLATFORM=unavailable
While:
$ sudo cat /proc/1/environ | tr '\0' '\n'
product_name=OpenStack Nova
container=lxc
Related bugs:
* bug 1661797: identify lxd-nova platform to enable Openstack datasource
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1685810/+subscriptions
Follow ups
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Scott Moser, 2017-09-23
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Launchpad Bug Tracker, 2017-05-17
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Launchpad Bug Tracker, 2017-05-17
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Launchpad Bug Tracker, 2017-05-17
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Scott Moser, 2017-05-05
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Launchpad Bug Tracker, 2017-04-26
-
[Bug 1685810] Re: nova-lxd needs to read 'product_name' in environment, not 'platform'
From: Scott Moser, 2017-04-25