I am getting this following error while trying to deploye OLE 8.9 custom image in barematal server,
“Marking node failed - Missing kernel image custom/amd64/ga-22.04/ol-8.9.”
FYI:
Uploaded custom OLE 8.9 with os type custom/ol-8.9
Deploy custom OLE 8.9 image with distro_series value custom/ol-8.9
I have tried with ol/version, I am getting this following error from canonical -maas
[400 Bad Request] during [POST] to [http://10.0.0.2:5240/MAAS/api/2.0/machines/767at4/op-deploy] [IRestCanonicalMaas#deployMachine(HttpHeaders,String,String)]: [{“distro_series”: [“‘8.9’ is not a valid distro_series. It should be one of: ‘’, ‘custom/ol-8.9’, ‘rhel/9.4’, ‘ubuntu/jammy’, ‘esxi/7.0U3i_20842708-20230504’, ‘esxi/8.0U3_24022510_20240807’.”]}]
As per the following link, I have tried in this way,
It’s failed and in server , i got invalid magic number error.
As per your comment, I have reupload the image and got the following error at the time of os deployment.
[400 Bad Request] during [POST] to [http://10.0.0.2:5240/MAAS/api/2.0/machines/767at4/op-deploy] [IRestCanonicalMaas#deployMachine(HttpHeaders,String,String)]: [{“distro_series”: [“‘8.9’ is not a valid distro_series. It should be one of: ‘’, ‘custom/ol-8.9’, ‘rhel/9.4’, ‘ubuntu/jammy’, ‘esxi/7.0U3i_20842708-20230504’, ‘esxi/8.0U3_24022510_20240807’.”]}]
[/quote]
This is how someone can upload an Oracle Linux 8.8 image and deploy a machine with it.
$ maas local boot-resources create name='ol/8.8' title='Oracle Linux 8.8' architecture='amd64/generic' filetype='tgz' content@=ol8.tar.gz
$ maas local machine deploy rqew4t distro_series=8.8
or
$ maas local machine deploy rqew4t distro_series=ol/8.8
or
$ maas local machine deploy rqew4t distro_series=ol/8
but not
$ maas local machine deploy rqew4t distro_series=ol8.8
{"distro_series": ["'ol8.8' is not a valid distro_series. It should be one of: '', 'custom/alma9', 'custom/9-stream-custom', 'custom/9-stream-custom-two', 'ol/8.8', 'ubuntu/bionic', 'ubuntu/jammy', 'ubuntu/lunar', 'ubuntu/noble'."]}
Since Oracle Linux is a supported OS, it is no longer a custom/ but ol/.
distro_series is a matcher that will try to get the first match of all images with the given value. If the ol/ part is omitted, then 8.8 will try to match any OS of that version. If the .8 is omitted, then the first match of any Oracle Linux 8 will be picked. If both are omitted, then the first match of any OS of major version 8 will be picked. This is the beginning of the logic: maas/src/maasserver/forms/__init__.py at master · canonical/maas · GitHub