canonical / canonical/cloud-init

Missing variable for puppet:aio

Open
#4,034 4 comments 0 reactions 0 assignees View on GitHub
bug launchpad
Dominant language
Python
Stars
3.8k
Forks
1.1k
Avg merge
2d 23h
Merged PRs (30d)
18

Description

This bug was originally filed in Launchpad as [LP: #1992835](https://bugs.launchpad.net/cloud-init/+bug/1992835)

Launchpad details

affected_projects = []

assignee = chad.smith
assignee_name = Chad Smith
date_closed = None
date_created = 2022-10-13T17:07:52.730996+00:00
date_fix_committed = None
date_fix_released = None
id = 1992835
importance = medium
is_complete = False
lp_url = https://bugs.launchpad.net/cloud-init/+bug/1992835
milestone = None
owner = hadmut
owner_name = Hadmut Danisch
private = False
status = in_progress
submitter = hadmut
submitter_name = Hadmut Danisch
tags = []
duplicates = []

_Launchpad user **Hadmut Danisch(hadmut)** wrote on 2022-10-13T17:07:52.730996+00:00_

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://apt.puppet.com/puppet-release-.deb
18:49:44 +0200 INFO: to file /tmp/install.sh.1639.62290/puppet-release-.deb
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://apt.puppet.com/puppet-release-.deb

where obviously the release name is missing, because the correct path is

http://apt.puppet.com/puppet-release-jammy.deb

regards

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.