Compute v2 Keypair has name_attribute and name

Bug #1422041 reported by Brian Curtin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Fix Released
High
Terry Howe

Bug Description

Keypair specifies fingerprint as its name_attribute, yet it sets an explicit name property which makes sense given that Keypairs have an actual name. The name_attribute should be removed.

Tags: resource
description: updated
Revision history for this message
Terry Howe (thowe-g) wrote :

Okay, little bit of a weird situation here for sure. It has name as the id_attribute and fingerprint as the name because keypairs are keyed on name, but the fingerprint makes a good way to identify one. If anything, they should be reversed, but it shoud *not* be removed.

Terry Howe (thowe-g)
Changed in python-openstacksdk:
assignee: nobody → Terry Howe (thowe-g)
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-openstacksdk (master)

Fix proposed to branch: master
Review: https://review.openstack.org/187728

Changed in python-openstacksdk:
status: Confirmed → In Progress
Terry Howe (thowe-g)
Changed in python-openstacksdk:
milestone: none → halfliberty
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-openstacksdk (master)

Reviewed: https://review.openstack.org/187728
Committed: https://git.openstack.org/cgit/stackforge/python-openstacksdk/commit/?id=8e58058eae4a2456192efc1d85ae85fe756d88e6
Submitter: Jenkins
Branch: master

commit 8e58058eae4a2456192efc1d85ae85fe756d88e6
Author: Terry Howe <email address hidden>
Date: Tue Jun 2 13:03:16 2015 -0600

    Remove fingerprint as keypair name

    Remove fingerprint as keypair name. It is confusing.

    Change-Id: I45b804b176a3f72c9092e2a7aa498253dca8eb31
    Closes-Bug: #1422041

Changed in python-openstacksdk:
status: In Progress → Fix Committed
Changed in python-openstacksdk:
importance: Undecided → High
milestone: none → 0.6
tags: added: resource
Changed in python-openstacksdk:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.