canonical / lxd-ui

Easy and accessible container and virtual machine management. A browser interface for LXD
GNU General Public License v3.0
282 stars 34 forks source link

Creating a new VM with custom ISO via UI states VM started, but remains stopped #491

Closed amugofjava closed 1 year ago

amugofjava commented 1 year ago

Required information



# Issue description

When creating a new VM using the LXD UI and a custom ISO, once the creation is complete an info box is displayed to say success and that the instance has been launched; however, the instance is not launched and remains in a stopped state.

A minor issue, but would be great if it could either just say success and leave VM stopped, or if it says launched to really launch it.

# Steps to reproduce

 1. Start creating a new instance via the LXD UI.
 2. Rather than browsing for an available image, upload a custom ISO.
 3. Complete the setup and click Create and start

The VM is created successfully, but not launched.

# Information to attach

Before launching the VM there are no logs, so nothing to attach.

![Screenshot from 2023-10-12 14-20-10](https://github.com/canonical/lxd/assets/5526902/1dbee1ec-29a6-4af1-a98e-e7983ccbebc7)
edlerd commented 1 year ago

Thank you for your report.

When launching from an ISO image, the UI only allows creating without start, because the user is expected to run through the installation steps after creation from the console - as the notification in the screen describes.

We changed the notification in this case recently to say "Created the instance " instead of "Launched the instance ". Expect this change to be available with the next LXD release.