← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1403544] Re: Empty string in key_name treated as None but gets into DB

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-2

-- 
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):
  Fix Released

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


References