Public bug reported:
This might be a subtle error which is neither a direct package
dependency nor explicitedly an error in the cloud-init software, but
this in fact leads to problems. Also, it does not seem to be a distro-
specific problem.
Scenario:
1. User of cloud-init is not aware it will use wget to download meta-data
2. There is no direct dependency in the cloud-init package to wget (checked for
Ubuntu and SLES 15)
3. Cloud-init will not work properly as wget is missing
Error output from /etc/cloud-init.log (observed with lastest patch level
for version 19.4 on SLES 15)
2020-10-22 14:08:05,095 - util.py[DEBUG]: Running command ['wget', '--quiet',
'--tries', '3', '--timeout', '20', '--output-document', '-', '--header',
'DomU_Request: send_my_password', '192.168.1.1:8080'] with allowed return codes
[0] (shell=False, capture=True)
FileNotFoundError: [Errno 2] No such file or directory: b'wget': b'wget'
Command: ['wget', '--quiet', '--tries', '3', '--timeout', '20',
'--output-document', '-', '--header', 'DomU_Request: send_my_password',
'192.168.1.1:8080']
Reason: [Errno 2] No such file or directory: b'wget': b'wget'
Suggestion: possibly, cloud-init should exit immediately if wget not
detected in the system, and/or have it as a dependency in distro
packages?
** Affects: cloud-init
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1901054
Title:
cloud-init at sles does not require wget
Status in cloud-init:
New
Bug description:
This might be a subtle error which is neither a direct package
dependency nor explicitedly an error in the cloud-init software, but
this in fact leads to problems. Also, it does not seem to be a distro-
specific problem.
Scenario:
1. User of cloud-init is not aware it will use wget to download meta-data
2. There is no direct dependency in the cloud-init package to wget (checked
for Ubuntu and SLES 15)
3. Cloud-init will not work properly as wget is missing
Error output from /etc/cloud-init.log (observed with lastest patch
level for version 19.4 on SLES 15)
2020-10-22 14:08:05,095 - util.py[DEBUG]: Running command ['wget', '--quiet',
'--tries', '3', '--timeout', '20', '--output-document', '-', '--header',
'DomU_Request: send_my_password', '192.168.1.1:8080'] with allowed return codes
[0] (shell=False, capture=True)
FileNotFoundError: [Errno 2] No such file or directory: b'wget': b'wget'
Command: ['wget', '--quiet', '--tries', '3', '--timeout', '20',
'--output-document', '-', '--header', 'DomU_Request: send_my_password',
'192.168.1.1:8080']
Reason: [Errno 2] No such file or directory: b'wget': b'wget'
Suggestion: possibly, cloud-init should exit immediately if wget not
detected in the system, and/or have it as a dependency in distro
packages?
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1901054/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp