You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.
Currently, providing autoinstall user-data in the ubuntu-desktop-installer results in a Traceback in curtin during jsonschema validation.
This Traceback is caused be cause of an incompatibility with cloud-init's jsonschema extended strict schema validation that specifically affects jsonschema 2.6.0.
In debugging this issue on ubuntu-desktop-installer. I noticed various stale and duplicated python library dependencies in ubuntu-desktop-installer snap which are no present in the subiquity snap.
Looking at a file manifest for ubuntu-desktop-installer we can see duplicated and older versions of the following python libraries present in site-packages(site.udi.txt) which also already exist in dist-packages(dist.udi.txt):
PyYAML-5.3.1
bson
certifi
charset_normalizer
idna
jsonschema-2.6.0
oauthlib
pyrsistent
pyudev
requests
six
urllib
The extra libs add to bloat in the snap, version inconsistencies depending on which utilities and environments are invoking them and Tracebacks currently due to some older versions of libraries which cloud-init is incompatible with.
Ideally we can ensure that unnecessary duplicate python libraries are not staged in site-packages if a comparable dist-package is already available.
See some subiquity commits which made these changes:
Currently, providing autoinstall user-data in the ubuntu-desktop-installer results in a Traceback in curtin during jsonschema validation.
This Traceback is caused be cause of an incompatibility with cloud-init's jsonschema extended strict schema validation that specifically affects jsonschema 2.6.0.
In debugging this issue on ubuntu-desktop-installer. I noticed various stale and duplicated python library dependencies in ubuntu-desktop-installer snap which are no present in the subiquity snap.
Looking at a file manifest for ubuntu-desktop-installer we can see duplicated and older versions of the following python libraries present in site-packages(site.udi.txt) which also already exist in dist-packages(dist.udi.txt):
The extra libs add to bloat in the snap, version inconsistencies depending on which utilities and environments are invoking them and Tracebacks currently due to some older versions of libraries which cloud-init is incompatible with.
Ideally we can ensure that unnecessary duplicate python libraries are not staged in site-packages if a comparable dist-package is already available.
See some subiquity commits which made these changes:
canonical/subiquity@cada41d
canonical/subiquity@ceff8a6
The text was updated successfully, but these errors were encountered: