2024-01-24 16:27:32 |
Alberto Contreras |
bug |
|
|
added bug |
2024-01-24 16:28:58 |
Alberto Contreras |
nominated for series |
|
Ubuntu Jammy |
|
2024-01-24 16:28:58 |
Alberto Contreras |
bug task added |
|
cloud-init (Ubuntu Jammy) |
|
2024-01-24 16:28:58 |
Alberto Contreras |
nominated for series |
|
Ubuntu Mantic |
|
2024-01-24 16:28:58 |
Alberto Contreras |
bug task added |
|
cloud-init (Ubuntu Mantic) |
|
2024-01-24 16:28:58 |
Alberto Contreras |
nominated for series |
|
Ubuntu Focal |
|
2024-01-24 16:28:58 |
Alberto Contreras |
bug task added |
|
cloud-init (Ubuntu Focal) |
|
2024-01-24 16:29:35 |
Alberto Contreras |
cloud-init (Ubuntu): status |
New |
In Progress |
|
2024-01-24 18:39:35 |
Alberto Contreras |
cloud-init (Ubuntu): assignee |
|
Brett Holman (holmanb) |
|
2024-01-24 20:42:16 |
James Falcon |
description |
# Bug report
In Image Builder images, the datasource_list in /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg is:
datasource_list:
\- Azure
which cannot be parsed by cloud-init.
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Steps to reproduce the problem
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Actual results
cloud-init service fails to start(logs are in the description)
If change the
datasource_list:
\- Azure
to:
datasource_list: [ Azure ]
Then cloud-init clean && reboot, the cloud-init service and start successfully.
## Environment details
- Cloud-init version: cloud-init-23.4
- Operating System Distribution: RHEL
- Cloud provider, platform or installer type: Azure
## cloud-init logs
1. $ sudo cat /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg
datasource_list:
\- Azure
2. cloud-init.log
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Additional info:
1. No such issue in cloud-init-23.1.1, just met this issue after rebase to 23.4, so could you please help to address which commit did this change between 23.1.1 and 23.4?
2. RHEL was using ds-identify before 23.1.1
3. I am afraid users who were using the format "- Azure" in config file will meet this issue after upgrade, so could you please help to check if there is a way to be compatible with this format? Thanks
---
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797 |
[ Impact ]
When an invalid configuration in /etc/cloud/cloud.cfg.d/ includes an invalid (empty) datasource_list, ds-identify will identify the wrong datasource.
While the datasource_list is invalid, it does represent a regression because previous ds-identify behavior was to silently ignore the invalid configuration and now it needlessly prevents cloud-init from running rather than identifying the correct datasource like it used to.
[ Test Plan ]
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Bug results
cloud-init service fails to start.
[ Where problems could occur ]
This is a revert of a commit added this cycle, so it's possible we could bring back any other undiscovered bugs we didn't know about in the old code.
[ Other Info ]
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797
[ Original Description ]
In Image Builder images, the datasource_list in /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg is:
datasource_list:
\- Azure
which cannot be parsed by cloud-init.
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Steps to reproduce the problem
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Actual results
cloud-init service fails to start(logs are in the description)
If change the
datasource_list:
\- Azure
to:
datasource_list: [ Azure ]
Then cloud-init clean && reboot, the cloud-init service and start successfully.
## Environment details
- Cloud-init version: cloud-init-23.4
- Operating System Distribution: RHEL
- Cloud provider, platform or installer type: Azure
## cloud-init logs
1. $ sudo cat /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg
datasource_list:
\- Azure
2. cloud-init.log
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Additional info:
1. No such issue in cloud-init-23.1.1, just met this issue after rebase to 23.4, so could you please help to address which commit did this change between 23.1.1 and 23.4?
2. RHEL was using ds-identify before 23.1.1
3. I am afraid users who were using the format "- Azure" in config file will meet this issue after upgrade, so could you please help to check if there is a way to be compatible with this format? Thanks
---
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797 |
|
2024-01-24 20:42:29 |
James Falcon |
description |
[ Impact ]
When an invalid configuration in /etc/cloud/cloud.cfg.d/ includes an invalid (empty) datasource_list, ds-identify will identify the wrong datasource.
While the datasource_list is invalid, it does represent a regression because previous ds-identify behavior was to silently ignore the invalid configuration and now it needlessly prevents cloud-init from running rather than identifying the correct datasource like it used to.
[ Test Plan ]
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Bug results
cloud-init service fails to start.
[ Where problems could occur ]
This is a revert of a commit added this cycle, so it's possible we could bring back any other undiscovered bugs we didn't know about in the old code.
[ Other Info ]
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797
[ Original Description ]
In Image Builder images, the datasource_list in /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg is:
datasource_list:
\- Azure
which cannot be parsed by cloud-init.
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Steps to reproduce the problem
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Actual results
cloud-init service fails to start(logs are in the description)
If change the
datasource_list:
\- Azure
to:
datasource_list: [ Azure ]
Then cloud-init clean && reboot, the cloud-init service and start successfully.
## Environment details
- Cloud-init version: cloud-init-23.4
- Operating System Distribution: RHEL
- Cloud provider, platform or installer type: Azure
## cloud-init logs
1. $ sudo cat /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg
datasource_list:
\- Azure
2. cloud-init.log
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Additional info:
1. No such issue in cloud-init-23.1.1, just met this issue after rebase to 23.4, so could you please help to address which commit did this change between 23.1.1 and 23.4?
2. RHEL was using ds-identify before 23.1.1
3. I am afraid users who were using the format "- Azure" in config file will meet this issue after upgrade, so could you please help to check if there is a way to be compatible with this format? Thanks
---
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797 |
[ Impact ]
When an invalid configuration in /etc/cloud/cloud.cfg.d/ includes an invalid (empty) datasource_list, ds-identify will identify the wrong datasource.
While the datasource_list is invalid, it does represent a regression because previous ds-identify behavior was to silently ignore the invalid configuration and now it needlessly prevents cloud-init from running rather than identifying the correct datasource like it used to.
[ Test Plan ]
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Bug results
cloud-init service fails to start.
[ Where problems could occur ]
This is a revert of a commit added this cycle, so it's possible we could bring back any other undiscovered bugs we didn't know about in the old code.
[ Other Info ]
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797
[ Original Description ]
In Image Builder images, the datasource_list in /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg is:
datasource_list:
\- Azure
which cannot be parsed by cloud-init.
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Steps to reproduce the problem
1. Create a VM on Azure, change the /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg to:
datasource:
Azure:
apply_network_config: false
datasource_list:
\- Azure
2. Clean cloud-init and reboot VM
$sudo cloud-init clean
$sudo reboot
Expected results
cloud-init service can start successfully.
Actual results
cloud-init service fails to start(logs are in the description)
If change the
datasource_list:
\- Azure
to:
datasource_list: [ Azure ]
Then cloud-init clean && reboot, the cloud-init service and start successfully.
## Environment details
- Cloud-init version: cloud-init-23.4
- Operating System Distribution: RHEL
- Cloud provider, platform or installer type: Azure
## cloud-init logs
1. $ sudo cat /etc/cloud/cloud.cfg.d/91-azure_datasource.cfg
datasource_list:
\- Azure
2. cloud-init.log
2024-01-18 10:27:12,433 - stages.py[DEBUG]: Using distro class <class 'cloudinit.distros.rhel.Distro'>
2024-01-18 10:27:12,441 - _{_}init{_}_.py[DEBUG]: Looking for data source in: [\\{'datasource_list': None}, 'None'], via packages ['', 'cloudinit.sources'] that matches dependencies ['FILESYSTEM', 'NETWORK']
2024-01-18 10:27:12,441 - util.py[WARNING]: failed stage init
2024-01-18 10:27:12,441 - util.py[DEBUG]: failed stage init
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 781, in status_wrapper
ret = functor(name, args)
File "/usr/lib/python3.6/site-packages/cloudinit/cmd/main.py", line 394, in main_init
init.fetch(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 493, in fetch
return self._get_data_source(existing=existing)
File "/usr/lib/python3.6/site-packages/cloudinit/stages.py", line 367, in _get_data_source
self.reporter,
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1001, in find_source
ds_list = list_sources(cfg_list, ds_deps, pkg_list)
File "/usr/lib/python3.6/site-packages/cloudinit/sources/_{_}init{_}_.py", line 1047, in list_sources
ds_name = importer.match_case_insensitive_module_name(ds)
File "/usr/lib/python3.6/site-packages/cloudinit/importer.py", line 40, in match_case_insensitive_module_name
if "nocloud-net" == mod_name.lower():
AttributeError: 'dict' object has no attribute 'lower'
## Additional info:
1. No such issue in cloud-init-23.1.1, just met this issue after rebase to 23.4, so could you please help to address which commit did this change between 23.1.1 and 23.4?
2. RHEL was using ds-identify before 23.1.1
3. I am afraid users who were using the format "- Azure" in config file will meet this issue after upgrade, so could you please help to check if there is a way to be compatible with this format? Thanks
---
Upstream bug: https://github.com/canonical/cloud-init/issues/4794
This issue was introduced as a fix for https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2030729 in https://github.com/canonical/cloud-init/pull/4327
PR reverting and fixing the issue: https://github.com/canonical/cloud-init/pull/4797 |
|
2024-01-24 21:25:15 |
Chad Smith |
cloud-init (Ubuntu): status |
In Progress |
Fix Committed |
|
2024-01-24 21:32:08 |
Chad Smith |
cloud-init (Ubuntu): status |
Fix Committed |
Fix Released |
|
2024-01-25 16:40:03 |
James Falcon |
tags |
|
regression-proposed |
|
2024-02-01 22:16:40 |
Andreas Hasenack |
cloud-init (Ubuntu Mantic): status |
New |
Fix Committed |
|
2024-02-01 22:16:42 |
Andreas Hasenack |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-02-01 22:16:44 |
Andreas Hasenack |
bug |
|
|
added subscriber SRU Verification |
2024-02-01 22:16:47 |
Andreas Hasenack |
tags |
regression-proposed |
regression-proposed verification-needed verification-needed-mantic |
|
2024-02-01 22:17:52 |
Andreas Hasenack |
cloud-init (Ubuntu Jammy): status |
New |
Fix Committed |
|
2024-02-01 22:17:57 |
Andreas Hasenack |
tags |
regression-proposed verification-needed verification-needed-mantic |
regression-proposed verification-needed verification-needed-jammy verification-needed-mantic |
|
2024-02-01 22:18:45 |
Andreas Hasenack |
cloud-init (Ubuntu Focal): status |
New |
Fix Committed |
|
2024-02-01 22:18:51 |
Andreas Hasenack |
tags |
regression-proposed verification-needed verification-needed-jammy verification-needed-mantic |
regression-proposed verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic |
|
2024-02-12 12:50:42 |
Alberto Contreras |
attachment added |
|
lp2051147.tar.xz https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2051147/+attachment/5745909/+files/lp2051147.tar.xz |
|
2024-02-15 17:53:25 |
James Falcon |
tags |
regression-proposed verification-needed verification-needed-focal verification-needed-jammy verification-needed-mantic |
regression-proposed verification-done verification-done-focal verification-done-jammy verification-done-mantic |
|
2024-02-22 20:47:38 |
Launchpad Janitor |
cloud-init (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|
2024-02-22 20:47:54 |
Andreas Hasenack |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2024-02-22 20:49:51 |
Launchpad Janitor |
cloud-init (Ubuntu Jammy): status |
Fix Committed |
Fix Released |
|
2024-02-22 20:50:09 |
Launchpad Janitor |
cloud-init (Ubuntu Focal): status |
Fix Committed |
Fix Released |
|