[Bug 1990585] Re: cloud-net fails when DHCP slow
Greg Lee
1990585 at bugs.launchpad.net
Mon Oct 10 16:10:20 UTC 2022
Hi James,
I was able to get the logs from an attempt today. Here they are.
Greg
On Mon, Oct 3, 2022 at 10:20 AM James Falcon <1990585 at bugs.launchpad.net>
wrote:
> Thanks for the additional info Greg. Based on what you've said, yes, it
> sounds like this is a duplicate of https://bugs.launchpad.net/cloud-
> init/+bug/1990149 <https://bugs.launchpad.net/cloud-init/+bug/1990149> .
> Since we don't have logs though, I'm going to leave
> this incomplete. #1990149 is on the docket to be fixed soon, so
> hopefully at the point this will resolve itself without the need for
> additional logs.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1990585
>
> Title:
> cloud-net fails when DHCP slow
>
> Status in cloud-init package in Ubuntu:
> Incomplete
> Status in subiquity package in Ubuntu:
> Invalid
>
> Bug description:
> During a cloud-init autoinstall with Ubunutu Focal Server 20.04, the
> attempts to retrieve the meta-data file fail immediately with no
> timeout as indicated in the cloud-init.log. According to the system
> logs, the network does not receive an IP address until after the
> attempt to retrieve the meta-data file. The DHCP in the facility is
> known to be a little slow.
>
> It is possible to retrieve the file by switching to a second virtual
> terminal and downloading it with wget (after the failure of the cloud-
> init). It appears that the url_helper.py function reporting the
> failure to retrieve the files does not wait for any timeout period
> when the network is not yet present.
>
> Possible solution? Adding a check with a timeout of a few seconds for
> the network being available before moving to download the meta-data
> and user-data files.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1990585/+subscriptions
>
>
** Attachment added: "logs.tgz"
https://bugs.launchpad.net/bugs/1990585/+attachment/5622771/+files/logs.tgz
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to subiquity in Ubuntu.
https://bugs.launchpad.net/bugs/1990585
Title:
cloud-net fails when DHCP slow
Status in cloud-init package in Ubuntu:
Incomplete
Status in subiquity package in Ubuntu:
Invalid
Bug description:
During a cloud-init autoinstall with Ubunutu Focal Server 20.04, the
attempts to retrieve the meta-data file fail immediately with no
timeout as indicated in the cloud-init.log. According to the system
logs, the network does not receive an IP address until after the
attempt to retrieve the meta-data file. The DHCP in the facility is
known to be a little slow.
It is possible to retrieve the file by switching to a second virtual
terminal and downloading it with wget (after the failure of the cloud-
init). It appears that the url_helper.py function reporting the
failure to retrieve the files does not wait for any timeout period
when the network is not yet present.
Possible solution? Adding a check with a timeout of a few seconds for
the network being available before moving to download the meta-data
and user-data files.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/1990585/+subscriptions
More information about the foundations-bugs
mailing list