[openstack-dev] [nova] reset key pair during rebuilding
liuyulong.xa at gmail.com
Thu Sep 28 01:55:03 UTC 2017
On Wed, Sep 27, 2017 at 5:15 PM, Marcus Furlong <furlongm at gmail.com> wrote:
> On 27 September 2017 at 09:23, Michael Still <mikal at stillhq.com> wrote:
> > Operationally, why would I want to inject a new keypair? The scenario I
> > think of is that there's data in that instance that I want, and I've lost
> > the keypair somehow. Unless that data is on an ephemeral, its gone if we
> > a rebuild.
> This is quite a common scenario - staff member who started the
> instance leaves, and you want to access data on the instance, or
> maintain/debug the service running on the instance.
I can think of several ways to solve this problem：
1) reset the password by using the admin_pass API (if available)
2) libguestfs the instance dist directly
> Hitherto, I have used direct db calls to update the key, so it would
> be nice if there was an API call to do so.
These are some tricks for unusual scenarios. Nova API needs to stay robust
> Marcus Furlong
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev