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
Related bugs:
* bug 1661797: identify lxd-nova platform to enable Openstack datasource
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. cloud-init/ ds-identify --force 2>&1 | grep PLAT unavailable
Also
$ sudo DEBUG_LEVEL=2 DI_LOG=stderr /usr/lib/
PID_1_PLATFORM=
Related bugs:
* bug 1661797: identify lxd-nova platform to enable Openstack datasource