Instance resize crash when cookie "horizon_language" is set
Bug #1732941 reported by
Mateo Boudet
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Hello,
I have this bug in the newton release, but it might have persisted in further releases.
When the cookie "horizon_language" is set (after the user changed his options for instance), the instance resize workflow hang at the selection of the new flavor with a JSON.parse error.
Looking at the code, horizon tries to access the value of the cookie with
*var lang = horizon.
However, since the cookie value is a simple string (ex : "en"), the function hangs when trying to convert it to JSON.
The function getRaw() should be called instead.
The file shoud be "horizon.quota.js" in both newton and following releases.
Apologies if it was already fixed.
To post a comment you must log in.
I cannot reproduce this in horizon queens. I changed the language to Japanese and resized my instance from m1.tiny to m1.small. The code has not been changed for a while and we confirmed resize works in Newton during translation check.
Let me mark it as Incomplete.