[Expired for cloud-init (Ubuntu Focal) because there has been no
activity for 60 days.]
** Changed in: cloud-init (Ubuntu Focal)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchp
[Expired for cloud-init (Ubuntu) because there has been no activity for
60 days.]
** Changed in: cloud-init (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/
I think that make sense. I think we don't actual need to make the
python3.9 the default for what we are trying to do originally. That
said, even when we didn't make python3.9 the default, it was still
breaking. :confused:
At any event, I'll going to revert the change at some point and get back
to
The version of Python that is shipped with Ubuntu is what is supported
for the system. In the case of Focal, that is 3.8. It is fine to install
and use Python 3.9 for user applications, but when you run `update-
alternatives` to replace the default version of Python, you are now
forcing packages th
What is considered a supported version of Python? Would Python3.9 from
upstream be considered a supported version?
That said, I re-tested today and it appears that the issue no longer
exists. Interestingly enough, there was a new image that was released
yesterday - ami-03e9149278a6f457c (Date 2024
"when we install python3.9, we point /usr/bin/python to 3.9, but not
/usr/bin/python3"
cloud-init does use `python3` and not `python`, though I'm not sure that
would change anything.
$ head -1 /usr/bin/cloud-init
#!/usr/bin/python3
Since we can launch the AMI and cloud-init works ok out of the b
TLDR; when we install python3.9, we point /usr/bin/python to 3.9, but
not /usr/bin/python3
--
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,
To answer your question, we usually installed python3.9 on Ubuntu 20.04
like so:
DEBIAN_FRONTEND=noninteractive apt-get -y install -m -f python3.9
python3.9-distutils
update-alternatives --install /usr/bin/python python /usr/bin/python3.9 10
curl https://bootstrap.pypa.io/get-pip.py -
As it turns out, python3-jinja2 is installed. This is output after the
upgrade to cloud-init
root@IP-INSTANCE-REDACT:~# systemctl status cloud-init
● cloud-init.service - Initial cloud-init job (metadata service crawler)
Loaded: loaded (/lib/systemd/system/cloud-init.service; enabled; vendor
"We can test to see if installing python3-jinja2 moved us forward.
Standby."
That's good if that works, but I'm still not sure how this situation
happened. If I run `apt depends cloud-init`, I see `Depends:
python3-jinja2` as one of the dependencies. That means that even if
python3-jinja2 wasn't p
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
How are you running Python 3.9 in Focal? Are you using the cloud-init
package provided by Apt? 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
** Changed in: cloud-init (Ubuntu)
Importance: Critical => Undecided
--
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 ma
** Changed in: cloud-init (Ubuntu)
Status: New => Triaged
** Changed in: cloud-init (Ubuntu)
Importance: Undecided => Critical
--
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:
** Also affects: cloud-init (Ubuntu Focal)
Importance: Undecided
Status: New
--
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, Ubun
Note: We are running off the official Ubuntu provided image on AWS. Here
is the URL and AMI
https://console.aws.amazon.com/ec2/home?region=us-
east-1#launchAmi=ami-0e3a6d8ff4c8fe246
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
http
16 matches
Mail list logo