← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1440265] Re: CloudStack sshkey reset

 

** Also affects: cloud-init
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to cloud-init.
https://bugs.launchpad.net/bugs/1440265

Title:
  CloudStack sshkey reset

Status in Init scripts for use on cloud images:
  New
Status in cloud-init package in Ubuntu:
  New

Bug description:
  CloudStack provide capability to reset SSH keys for an existing VM
  with the API: resetSSHKeyForVirtualMachine [1]

  creating an Instance with SSHkey currently work with cloud-init. But,
  CloudStack have the capability to reset it, the VM must be shutdown,
  sshkey replaced then the vm restart, current cloud-init does not
  update the user sshkey using the new one available from the dhcp
  server.

  tested with cloud-init-0.7.7

  current method to mitigate this behavior is to use cloudstack scripts
  into the /var/lib/cloud/scripts/per-boot/  which does not benefit from
  cloud-init configuration capabilities.

  
  [1] http://cloudstack.apache.org/docs/api/apidocs-4.5/root_admin/resetSSHKeyForVirtualMachine.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-init/+bug/1440265/+subscriptions