← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1465389] [NEW] Functions that require guest disk modification not working

 

Public bug reported:

Problem:
Anything that involves modification of a guest's disk at boot fails. Two examples of this are public key injection and setting the root password. I don't see errors in any of the nova logs, but the changes are not made on the guest.

Version:
nova-compute 1:2014.2.3-0ubuntu1~cloud0
nova-api	1:2014.2.2-0ubuntu1~cloud0
nova-cert	1:2014.2.2-0ubuntu1~cloud0
nova-common	1:2014.2.2-0ubuntu1~cloud0
nova-conductor	1:2014.2.2-0ubuntu1~cloud0
nova-consoleauth	1:2014.2.2-0ubuntu1~cloud0
nova-novncproxy	1:2014.2.2-0ubuntu1~cloud0
nova-scheduler	1:2014.2.2-0ubuntu1~cloud0
All running on Ubuntu 14.04

Also tested using Mirantis Openstack Juno (ubuntu 12.04). When tested on
Havana install, all functions worked.

Steps to reproduce:
1) Import public key using horizon
2) Launch instance (tested using personal ubuntu and centos images. Also used CentOS-7-x86_64-GenericCloud) with key pair selected
3) Attempt to SSH using private key, and have key rejected. Login via console or using password and find no key in /root/.ssh/authorized_keys

Similar issue when setting root/admin pass. The shadow file remains
unmodified


I've set many combinations of the following variables on the controller and compute services:
enable_instance_password=true
inject_password=true
inject_key=true
inject_partition=1

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1465389

Title:
  Functions that require guest disk modification not working

Status in OpenStack Compute (Nova):
  New

Bug description:
  Problem:
  Anything that involves modification of a guest's disk at boot fails. Two examples of this are public key injection and setting the root password. I don't see errors in any of the nova logs, but the changes are not made on the guest.

  Version:
  nova-compute 1:2014.2.3-0ubuntu1~cloud0
  nova-api	1:2014.2.2-0ubuntu1~cloud0
  nova-cert	1:2014.2.2-0ubuntu1~cloud0
  nova-common	1:2014.2.2-0ubuntu1~cloud0
  nova-conductor	1:2014.2.2-0ubuntu1~cloud0
  nova-consoleauth	1:2014.2.2-0ubuntu1~cloud0
  nova-novncproxy	1:2014.2.2-0ubuntu1~cloud0
  nova-scheduler	1:2014.2.2-0ubuntu1~cloud0
  All running on Ubuntu 14.04

  Also tested using Mirantis Openstack Juno (ubuntu 12.04). When tested
  on Havana install, all functions worked.

  Steps to reproduce:
  1) Import public key using horizon
  2) Launch instance (tested using personal ubuntu and centos images. Also used CentOS-7-x86_64-GenericCloud) with key pair selected
  3) Attempt to SSH using private key, and have key rejected. Login via console or using password and find no key in /root/.ssh/authorized_keys

  Similar issue when setting root/admin pass. The shadow file remains
  unmodified

  
  I've set many combinations of the following variables on the controller and compute services:
  enable_instance_password=true
  inject_password=true
  inject_key=true
  inject_partition=1

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


Follow ups

References