Public bug reported:

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.

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

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

Status in cloud-init:
  New

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to