commit 2ad3009f3595e701a866f265263ca3a0a8ef09dc
Author: Alexey I. Froloff <email address hidden>
Date: Thu Dec 18 15:19:05 2014 +0300
Do not treat empty key_name as None
When running instance, empty ("") key_name is treated as None and
keypair lookup does not happen. However, empty string is written to
key_name field in instance's database record. When horizon renders
instance info, it looks up keypair if key_name is not None. Having
empty string in this property generates error and instance info is not
displayed.
Reviewed: https:/ /review. openstack. org/142752 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=2ad3009f359 5e701a866f26526 3ca3a0a8ef09dc
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2ad3009f3595e70 1a866f265263ca3 a0a8ef09dc
Author: Alexey I. Froloff <email address hidden>
Date: Thu Dec 18 15:19:05 2014 +0300
Do not treat empty key_name as None
When running instance, empty ("") key_name is treated as None and
keypair lookup does not happen. However, empty string is written to
key_name field in instance's database record. When horizon renders
instance info, it looks up keypair if key_name is not None. Having
empty string in this property generates error and instance info is not
displayed.
Change-Id: Ib67b124e6480f3 435d31c983f1bfc a769899c8e7
Closes-Bug: #1403544