kwargs in create_server should support key_name parameter

Bug #993632 reported by Chris Fattarsi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tempest
Fix Released
Undecided
Chris Fattarsi

Bug Description

As used in the nova client to specify a keypair that already exists so that it will be injected before the image is booted.

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

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

Changed in tempest:
assignee: nobody → Chris Fattarsi (chris-fattarsi)
status: New → In Progress
Revision history for this message
David Kranz (david-kranz) wrote :

What about the other arguments that are allowed when creating a server? Looking at the source there are some others but I don't know where the spec for this is. The docs don't have even this argument as far as I could see.

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

Reviewed: https://review.openstack.org/7049
Committed: http://github.com/openstack/tempest/commit/a6c2a73f38a29a62e66bb8ce35b1ace7a373d2f5
Submitter: Jenkins
Branch: master

commit a6c2a73f38a29a62e66bb8ce35b1ace7a373d2f5
Author: chris fattarsi <email address hidden>
Date: Wed May 2 17:00:19 2012 -0700

    Adds key_name parameter in create_server

    Fixes bug 993632

    Change-Id: I2c7915b09367934fcaf69a27a2361ec413ddf3f9

Changed in tempest:
status: In Progress → Fix Committed
Revision history for this message
Daryl Walleck (dwalleck) wrote :

Echoing David, I would love it if someone could better document what the other params are. It would be nice to finish it out.

Revision history for this message
David Kranz (david-kranz) wrote :

Also note this comment in the code. Are these really optional?

        # optional openstack extensions:
        key_name = server_dict.get('key_name')
        user_data = server_dict.get('user_data')

Jay Pipes (jaypipes)
Changed in tempest:
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.