← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1747705] Re: "ssh_pwauth" always true on CloudStack datasource with password

 

Tracked in Github Issues as https://github.com/canonical/cloud-
init/issues/3113

** Bug watch added: github.com/canonical/cloud-init/issues #3113
   https://github.com/canonical/cloud-init/issues/3113

** Changed in: cloud-init
       Status: Confirmed => Expired

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

Title:
  "ssh_pwauth" always true on CloudStack datasource with password

Status in cloud-init:
  Expired
Status in cloud-init package in Ubuntu:
  Confirmed

Bug description:
  ssh_pwauth is set forcefully to true when
  - Using CloudStack datasource
  - Using VM template supports password reset feature.

  When cloud-init obtain password from virtual router, cloud-init set ssh_pwauth to true nevertheless originall ssh_pwauth value is No/unchanged.
  I read the code and found this behavior is in https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L148 .

  I'd like to use password for only virtual console and forbid ssh password authentication.
  The easiest solution is remove the code https://github.com/cloud-init/cloud-init/blob/master/cloudinit/sources/DataSourceCloudStack.py#L150 but I'm not sure about side effect.

  How do you think this?
  The version of cloud-init is 17.1-46-g7acc9e68-0ubuntu1~16.04.1, on ubuntu 16.04.

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



References