Missing variable for puppet:aio
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Expired
|
Medium
|
Chad Smith |
Bug Description
Hi,
I'm currently testing autoconfiguration in LXD with cloud-init user-data set through LXD profiles. Both the host and the guest run Ubuntu 22.04.
In user-data:
puppet:
exec: false
start_service: false
install_type: aio
fails with error message
18:49:44 +0200 INFO: Version parameter not defined and no agent detected. Assuming latest.
18:49:44 +0200 INFO: Downloading Puppet latest for Ubuntu...
18:49:44 +0200 INFO: Ubuntu platform! Lets get you a DEB...
18:49:44 +0200 INFO: Downloading http://
18:49:44 +0200 INFO: to file /tmp/install.
18:49:44 +0200 INFO: Trying wget...
18:49:44 +0200 INFO: Retrying... [1/5]
18:49:44 +0200 INFO: Return code: 8
18:49:45 +0200 INFO: Retrying... [2/5]
18:49:45 +0200 INFO: Return code: 8
18:49:46 +0200 INFO: Retrying... [3/5]
18:49:46 +0200 INFO: Return code: 8
18:49:47 +0200 INFO: Retrying... [4/5]
18:49:48 +0200 INFO: Return code: 8
18:49:49 +0200 INFO: Retrying... [5/5]
18:49:49 +0200 INFO: Return code: 8
18:49:50 +0200 CRIT: ERROR 404
18:49:50 +0200 CRIT: Unable to retrieve a valid package!
so it tries to download
http://
where obviously the release name is missing, because the correct path is
http://
regards
Confirmed locally:
15:41:51 +0000 INFO: Version parameter not defined and no agent detected. Assuming latest. apt.puppet. com/puppet- release- .deb sh.859. 56092/puppet- release- .deb config. cc_puppet' from '/usr/lib/ python3/ dist-packages/ cloudinit/ config/ cc_puppet. py'>) failed 0ubuntu1~ 22.04.1 finished at Mon, 17 Oct 2022 15:41:57 +0000. Datasource DataSourceLXD. Up 14.46 seconds
15:41:51 +0000 INFO: Downloading Puppet latest for Ubuntu...
15:41:51 +0000 INFO: Ubuntu platform! Lets get you a DEB...
15:41:51 +0000 INFO: Downloading http://
15:41:51 +0000 INFO: to file /tmp/install.
15:41:51 +0000 INFO: Trying wget...
15:41:51 +0000 INFO: Retrying... [1/5]
15:41:51 +0000 INFO: Return code: 8
15:41:52 +0000 INFO: Retrying... [2/5]
15:41:52 +0000 INFO: Return code: 8
15:41:53 +0000 INFO: Retrying... [3/5]
15:41:53 +0000 INFO: Return code: 8
15:41:54 +0000 INFO: Retrying... [4/5]
15:41:55 +0000 INFO: Return code: 8
15:41:56 +0000 INFO: Retrying... [5/5]
15:41:56 +0000 INFO: Return code: 8
15:41:57 +0000 CRIT: ERROR 404
15:41:57 +0000 CRIT: Unable to retrieve a valid package!
2022-10-17 15:41:57,142 - util.py[WARNING]: Running module puppet (<module 'cloudinit.
Cloud-init v. 22.3.4-