apache / apache/cloudstack

UEFI Settings from Template Not Inherited on VM Launch

Open
#13,665 1 comment 0 reactions 0 assignees View on GitHub
component:templates component:XenServer
Dominant language
Java
Stars
3.1k
Forks
1.4k
Avg merge
6d 19h
Merged PRs (30d)
32

Description

### problem

A template was created with UEFI Secure Boot enabled, and its firmware setting is correctly configured as UEFI SECURE. However, when launching an instance from this template, the boot mode defaults to BIOS instead of inheriting the UEFI Secure setting from the template.

The boot mode need to be manually changed to UEFI Secure for every instance deployment.

### versions

CLOUDSTACK VERSION
4.22.1.0

HYPERVISOR
XCP-ng 8.3

### The steps to reproduce the bug

1.Create A template with UEFI Enabled and Update Settings
Image

2. Lunch VM using Template
3. Boot Settings are Defaulted to BIOS

Image

...

### What to do about it?

The deployment wizard default Boot Option should be chosen based on template settings.

Contributor guide

Open the contributing guide

Research direction

Start by tracing the template settings through the VM deployment wizard for the XCP-ng path, comparing the saved UEFI Secure setting with the launch-time boot option. Reproduce with CloudStack 4.22.1.0 and XCP-ng 8.3, then verify that a VM launched from a UEFI-enabled template defaults to UEFI Secure rather than BIOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.