launch vm can not choose flavor
Bug #1482507 reported by
Sun Jing
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Raga lahari |
Bug Description
when launch instance "instance boot source " choose "Boot from image",
then "Flavor" will show tips: "Some flavors not meeting minimum image requirements have been disabled."
and some flavor can not be choosed.
then "instance boot source " choose "Boot from volume",the disabled flavors
also can not be choosed.
Infact the disabled flavor should turn to be enabled.
Changed in horizon: | |
assignee: | nobody → Raga lahari (raga-lahari) |
summary: |
- launch vm can choose flavor + launch vm can not choose flavor |
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → ongoing |
Changed in horizon: | |
milestone: | ongoing → next |
tags: | added: newton-backport-potential |
Changed in horizon: | |
milestone: | next → ocata-2 |
To post a comment you must log in.
Hi,
Proposing following change in /opt/stack/ horizon/ static/ horizon/ js/horizon. instances. js to fix this bug.
// Handle field toggles for the Launch Instance source type field launch_ source_ displayed_ fields (field) { closest( ".form- group") .nextAll( ).hide( ); Quota.resetFlav ors(); Quota.disableFl avorsForImage( ); base_type) {
function update_
...
...
$this.
+if (base_type != "image_id" ) {
+ horizon.
+}
+else {
+ horizon.
+}
switch(
...
...
As static folder is under .gitignore, Can some one from horizon development team help us to commit this file.