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
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp