Comment 5 for bug 1403544

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (master)

Reviewed: https://review.openstack.org/142752
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=2ad3009f3595e701a866f265263ca3a0a8ef09dc
Submitter: Jenkins
Branch: master

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.

    Change-Id: Ib67b124e6480f3435d31c983f1bfca769899c8e7
    Closes-Bug: #1403544