← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1422388] Re: Fetch passwords from CloudStack virtual router

 

This bug was fixed in the package cloud-init - 0.6.3-0ubuntu1.17

---------------
cloud-init (0.6.3-0ubuntu1.17) precise; urgency=medium

  * Backport support for fetching passwords in CloudStack (LP: #1422388).
 -- Daniel Watkins <daniel.watkins@xxxxxxxxxxxxx>   Wed, 11 Mar 2015 10:56:20 -0600

** Changed in: cloud-init (Ubuntu Precise)
       Status: Fix Committed => Fix Released

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

Title:
  Fetch passwords from CloudStack virtual router

Status in Init scripts for use on cloud images:
  Fix Committed
Status in cloud-init package in Ubuntu:
  Fix Released
Status in cloud-init source package in Precise:
  Fix Released
Status in cloud-init source package in Trusty:
  Fix Released
Status in cloud-init source package in Utopic:
  Fix Released

Bug description:
  === Begin SRU Information ===

  [Impact]
  Currently, the CloudStack data source will only handle SSH keys.  While SSH keys are the preferred method for authenticating against cloud instances, there are some CloudStack deployments that do not yet support adding SSH keys to instances when creating instances via their web interface.  Ubuntu images are unusable through the web interface for users of these CloudStack deployments.

  [Fix]
  The CloudStack data source has been extended to interface with CloudStack's password server in order to fetch passwords.  These passwords are applied to the ubuntu user.

  [Test Case]
  Create an instance through a CloudStack web interface, which will give you a password.  Confirm that this password can be used to log in to the ubuntu user.

  [Regression Potential]
  The changes are limited to the CloudStack data source so only CloudStack users will be affected.  They are designed so that if they fail, they won't stop the CloudStack data source from functioning as it currently does.

  === End SRU Information ===

  CloudStack supports setting passwords in instances, which it would be
  helpful to support. See [0] for the documentation of this
  functionality, and [1] for their implementation of it.

  [0] https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Admin_Guide/add-password-management-to-templates.html
  [1] https://github.com/shankerbalan/cloudstack-scripts/blob/master/cloud-set-guest-password-ubuntu

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


References