diff options
author | Brett Holman <brett.holman@canonical.com> | 2023-03-02 10:19:37 -0700 |
---|---|---|
committer | James Falcon <james.falcon@canonical.com> | 2023-03-02 11:26:37 -0600 |
commit | faad547c9c4d9b0202827b9404d736e52cf3b8c0 (patch) | |
tree | 992e90703931b327750c52a518c3b7304ae50e8a /ChangeLog | |
parent | 5d7e747d06d85ac64fa349435bf928c900f25ab4 (diff) | |
download | cloud-init-git-faad547c9c4d9b0202827b9404d736e52cf3b8c0.tar.gz |
source: Force OpenStack when it is only option (#2045)
Running on OpenStack Ironic was broken in 1efa8a0a0,
which prevented a system configured to run on only
Openstack from actually running this ds. This change
also prevents the kernel commandline definition from
working. This change was required to prevent
unnecessarily probing OpenStack on Ec2, and is
therefore still required.
This commit reverts an earlier attempt[1][2] to
automatically detect OpenStack, due to regression
it caused. Additionally, this change allows a
system that defines a datasource list containing
only [OpenStack] or [OpenStack, None] to attempt
running on OpenStack, overriding ds_detect(). A
datasource list that defines [OpenStack, None]
still falls back to DataSourceNone if OpenStack
fails to reach the IMDS.
This change also lays groundwork for the following
future work:
1. Add support for other datasources
2. Also override datasource checking when the kernel
command line defines a datasource. This work needs
to be done manually to support non-systemd systems.
Besides forcing OpenStack to run when it is the only
datasource in the datasource list, this commit also:
[1] 0220295 (it breaks some use cases)
[2] 29faf66 (no longer used)
LP: #2008727
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions