[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507814#comment-16507814
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10381:
---------------------------------------------

fmaximus commented on issue #2705: CLOUDSTACK-10381: Fix password reset / reset 
ssh key with ConfigDrive
URL: https://github.com/apache/cloudstack/pull/2705#issuecomment-396167313
 
 
   I've used the same code as is used in VRElement, when VR is stopped.
   There it's delayed to when the VM is starting, as by then the VR is running.
   
   We've looked at removing the password from the config drive, it soon becomes 
complex.
   - As you can't be certain that the password has been requested (like in VR), 
     you don't know for sure when to remove it. 
   - The only way to remove it is to build a new iso, and change the config 
drive disk.
     This can only be done safely when the VM is stopped.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> [ConfigDrive] Password is missing after reset password sequence
> ---------------------------------------------------------------
>
>                 Key: CLOUDSTACK-10381
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10381
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.11.1.0
>            Reporter: Frank Maximus
>            Priority: Blocker
>
> Failing Scenario:
> {quote}*Given* a network offering specifying ConfigDrive as UserData provider
> *And* a network using this offering
> *And* a VM in this network
> *When* I stop the VM
> *and* I reset the password of the VM
> *and* I start the VM
> *Then* I can login with the password returned by the reset password api call
> *And* the password is found on the config drive disk.
> {quote}
> Actual behavior:
> {quote}Password file is missing on config drive disk.
> Password of root on the VM didn't change
> {quote}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to