[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cloud-init delay - sometimes



Hello,

On Tue, Sep 28, 2021 at 06:42:11PM +0200, Dick Visser wrote:
> I'm regularly reinstantiating many AWS instances that run Debian  (bullseye).
> I see some strange behavior, in that instance come up very
> consistently in about 6 seconds (according to
> /var/log/cloud-init-output.log).
> But every now and then it takes much longer, in the order of 40 seconds.
[snip]
> 
> I guess this is not a problem with the Debian image, and I can
> probably configure our deployment to cope with this delay, but I'm
> curious as to why this happens.

When it happens, take a look at /var/log/cloud-init.log - that'll
contain details of cloud-init's actions, and timestamps.  Hopefully the
40s issue will stand out.

Ross


Reply to: