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

Re: Cloud-init delay - sometimes



On Tue, Sep 28, 2021 at 09:48:15AM -0700, Ross Vandegrift 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.

`cloud-init analyze blame` is also helpful for analyzing cloud-init's
logs.

How often does this happen?  What instance types are you using when you
experience this issue?

noah

Attachment: signature.asc
Description: PGP signature


Reply to: