This seems to be a UI issue and was reported by a client. I was able to easily reproduce it.
Steps to reproduce:
1. Set Commissioning OS/Kernel to: Focal/hwe-20.04-edge.
2. Set Default Deployment image to a custom Ubuntu image.
3. Select a machine and perform "Deploy" action.
4. The screen is rendered with Custom Ubuntu image selected (As set in Step 2).
5. Click "Deploy".
6. An error message will be displayed similar to: "hwe-20.04-edge is not available for ubuntu/jammy on amd64/generic" (Screen shot attached).
If you switch the OS drop down on this screen back to Ubuntu then back to Custom, "Deploy" works.
The assumption here is that the UI is rendering a hidden field setting default kernel to the commissioning kernel and switching the OS drop down causes the kernel field to reset to "No minimum kernel", causing the custom image deployment action work afterwards.
This seems to be a UI issue and was reported by a client. I was able to easily reproduce it.
Steps to reproduce:
1. Set Commissioning OS/Kernel to: Focal/hwe- 20.04-edge.
2. Set Default Deployment image to a custom Ubuntu image.
3. Select a machine and perform "Deploy" action.
4. The screen is rendered with Custom Ubuntu image selected (As set in Step 2).
5. Click "Deploy".
6. An error message will be displayed similar to: "hwe-20.04-edge is not available for ubuntu/jammy on amd64/generic" (Screen shot attached).
If you switch the OS drop down on this screen back to Ubuntu then back to Custom, "Deploy" works.
The assumption here is that the UI is rendering a hidden field setting default kernel to the commissioning kernel and switching the OS drop down causes the kernel field to reset to "No minimum kernel", causing the custom image deployment action work afterwards.
Please let me know if there are any questions.
Thank you.