To answer:

> How are you running Python 3.9 in Focal?

We installed Python 3.9 from Focal's upstream. No third party.

> Are you using the cloud-init package provided by Apt?

Yes, because we started to see the issue after the OS update. We switch
AMIs, thinking that the OS update was problematic (which is was, but not
the way we thought)

> Your error shows a crash due to the jinja2 library not existing, but
jinja2 is a dependency of cloud-init. The python3-jinja2 package should
have been installed when you installed cloud-init. Up until now, cloud-
init could still run without this dependency installed, but that doesn't
change that it has been a dependency, so I don't see evidence of a
problem here.

We wouldn't know that python3-jinja2 is required, as we don't usually
manage cloud-init - we generally left it alone - at least until the
issue began. We can test to see if installing python3-jinja2 moved us
forward. Standby.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066066

Title:
  cloud-init startup failure with Python 3.9.5, Ubuntu Focal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2066066/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to