keypair extension doesn't work with xenapi and agent

Bug #1152713 reported by Chris Behrens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Low
Chris Behrens

Bug Description

When using nova-agent with xenapi, if a user specifies a key via keypair extension, it is not injected.

Chris Behrens (cbehrens)
Changed in nova:
status: New → In Progress
assignee: nobody → Chris Behrens (cbehrens)
Chris Behrens (cbehrens)
Changed in nova:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to nova (master)

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

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

Reviewed: https://review.openstack.org/23948
Committed: http://github.com/openstack/nova/commit/fff0f422f647b689bb9a62b1eff2203354a9f885
Submitter: Jenkins
Branch: master

commit fff0f422f647b689bb9a62b1eff2203354a9f885
Author: Chris Behrens <email address hidden>
Date: Fri Mar 8 10:47:39 2013 -0800

    Make ssh key injection work with xenapi agent

    If there's 'key_data' on an instance, and instance is not Windows, use
    file injection to inject /root/.ssh/authorized_keys. If a user
    specifies their own /root/.ssh/authorized_keys via 'injected files',
    that will take precedence.

    Fixes bug 1152713

    Note: Images for Xen that use nova-agent will need to have /root/.ssh
    pre-created with modes 0700 on those directories.

    DocImpact

    Change-Id: I190c6b3f67099061b5316baa45b8bfcd1a5e53f6

Changed in nova:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in nova:
milestone: none → grizzly-rc1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in nova:
milestone: grizzly-rc1 → 2013.1
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.