2016-09-13 14:43:16 |
Scott Moser |
description |
On Ubuntu 14.04 LTS when re-configuring the cloud-init package by running dpkg-reconfigure, the OpenStack data source is incorrectly written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg
From a default install:
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
After running dpkg-reconfigure, selecting all options.
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, Openstack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
Note that it reads "Openstack" instead of "OpenStack". |
==== Begin SRU Template ====
[Impact]
When re-configuring cloud-init package by running dpkg-reconfigure, the OpenStack data source is incorrectly written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg.
The result is that dpkg-reconfigure and selecting OpenStack results in non-functional openstack datasource.
[Test Case]
# launch a container
$ lxc launch ubuntu-daily:xenial x1
$ lxc exec x1 dpkg-reconfigure cloud-init
## Note that 'OpenStack' is not checked.
## Select OpenStack, hit enter
$ lxc exec x1 cat /etc/cloud/cloud.cfg.d/90_dpkg.cfg
# to update this file, run dpkg-reconfigure cloud-init
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, Openstack, CloudSigma, SmartOS, Ec2, CloudStack, None ]
Note, the reconfigured file was written, but contains 'Openstack' (lower case s), when OpenStack is what is needed.
When fixed, this will have 'OpenStack'.
[Regression Potential]
Regression potential would be limited to people running dpkg-reconfigure for cloud-init.
==== End SRU Template ====
On Ubuntu 14.04 LTS when re-configuring the cloud-init package by running dpkg-reconfigure, the OpenStack data source is incorrectly written to the configuration file /etc/cloud/cloud.cfg.d/90_dpkg.cfg
From a default install:
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, OpenStack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
After running dpkg-reconfigure, selecting all options.
datasource_list: [ NoCloud, ConfigDrive, OpenNebula, Azure, AltCloud, OVF, MAAS, GCE, Openstack, CloudSigma, Ec2, CloudStack, SmartOS, None ]
Note that it reads "Openstack" instead of "OpenStack". |
|