yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #25689
[Bug 1403544] [NEW] Empty string in key_name treated as None but gets into DB
Public bug reported:
When creating instance, it is possible to specify "'key_name': ''".
This empty string is treated as None by
nova.compute.api._validate_and_build_base_options(), but gets written to
DB. Then it breaks Horizon when it creates the "Decrypt Password"
button for instance details view, because 'key_name' is checked to be
not None.
** Affects: nova
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1403544
Title:
Empty string in key_name treated as None but gets into DB
Status in OpenStack Compute (Nova):
New
Bug description:
When creating instance, it is possible to specify "'key_name': ''".
This empty string is treated as None by
nova.compute.api._validate_and_build_base_options(), but gets written
to DB. Then it breaks Horizon when it creates the "Decrypt Password"
button for instance details view, because 'key_name' is checked to be
not None.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1403544/+subscriptions
Follow ups
References