Project

General

Profile

Actions

Bug #22268

open

Image set in the compute profile is not being applied when creating a new VM

Added by Imri Zvik over 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Tested on 1.13.3, but it seems this is still valid in later version (although, I am not sure).
It seems that the culprit is in app/assets/javascripts/host_edit.js -
When you select a compute profile, it will call computeResourceSelected, which will return the right image selected, but then, down the flow, it will call update_capabilities() which will call update_provisioning_image() which will empty the image selection and repopulate it with a call to foreman_url('/compute_resources/'+compute_id+'/images'), thus forgetting the selected image from the profile.

No data to display

Actions

Also available in: Atom PDF