← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1443816] [NEW] cells: config drive doesn't work with cells when injecting an ssh key

 

Public bug reported:

To reproduce the problem, build an instance with a config drive
attached, and keypair selected, when the deployment is using cells.

This is the change that caused this issue:
https://github.com/openstack/nova/commit/80aae8fcf45fdc38fcb6c9fea503cecbe42e42b6#diff-567f52edc17aff6c473d69c341a4cb0cR313

The addition of reading the key from the database doesn't work for
cells, where the key is stored in the api cell database.

Ideally we might want to:
* add keypair_type into the instance object, along side keypair_name, etc
* consider sending a message to the parent cell to fetch the keypair
I prefer the first idea.

** Affects: nova
     Importance: High
         Status: Confirmed


** Tags: cells

** Tags added: cells

** Changed in: nova
       Status: New => Confirmed

** Changed in: nova
   Importance: Undecided => High

** Summary changed:

- cells: config drive doesn't work with cells
+ cells: config drive doesn't work with cells when injecting an ssh key

** Description changed:

+ To reproduce the problem, build an instance with a config drive
+ attached, and keypair selected, when the deployment is using cells.
+ 
+ This is the change that caused this issue:
+ https://github.com/openstack/nova/commit/80aae8fcf45fdc38fcb6c9fea503cecbe42e42b6#diff-567f52edc17aff6c473d69c341a4cb0cR313
+ 
  The addition of reading the key from the database doesn't work for
  cells, where the key is stored in the api cell database.
  
- This is the change that caused this issue:
- https://github.com/openstack/nova/commit/80aae8fcf45fdc38fcb6c9fea503cecbe42e42b6#diff-567f52edc17aff6c473d69c341a4cb0cR313
+ Ideally we might want to:
+ * add keypair_type into the instance object, along side keypair_name, etc
+ * consider sending a message to the parent cell to fetch the keypair
+ I prefer the first idea.

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1443816

Title:
  cells: config drive doesn't work with cells when injecting an ssh key

Status in OpenStack Compute (Nova):
  Confirmed

Bug description:
  To reproduce the problem, build an instance with a config drive
  attached, and keypair selected, when the deployment is using cells.

  This is the change that caused this issue:
  https://github.com/openstack/nova/commit/80aae8fcf45fdc38fcb6c9fea503cecbe42e42b6#diff-567f52edc17aff6c473d69c341a4cb0cR313

  The addition of reading the key from the database doesn't work for
  cells, where the key is stored in the api cell database.

  Ideally we might want to:
  * add keypair_type into the instance object, along side keypair_name, etc
  * consider sending a message to the parent cell to fetch the keypair
  I prefer the first idea.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1443816/+subscriptions


Follow ups

References