cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Girish Shilamkar (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-5188) Password reset of vm on Xen and VMware does not work on first reboot
Date Sat, 16 Nov 2013 13:07:20 GMT
Girish Shilamkar created CLOUDSTACK-5188:
--------------------------------------------

             Summary: Password reset of vm on Xen and VMware does not work on first reboot
                 Key: CLOUDSTACK-5188
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5188
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Test
    Affects Versions: 4.2.1, 4.3.0
         Environment: VMware and Xen
            Reporter: Girish Shilamkar
            Priority: Blocker


The issue was uncovered as test_vm_passwdenabled.py was consistently failing on Vmware and
Xen. Note this issue is not seen on KVM.

Procedure:
1. Create a vm
2. Enable password management. In vm do following:

$ cd /etc/init.d
$ wget http://people.apache.org/~tsp/cloud-set-guest-password
$ chmod +x /etc/init.d/cloud-set-guest-password
$ chkconfig --add cloud-set-guest-password
3. Stop vm
4. Create template from vm's volume
5. Delete vm
6. Create new vm from template created in step 4
7. Stop vm
8. Reset password
9. Start vm
10. Ssh to vm using password obtained in step 8

The ssh to vm using new password will fail but ssh with old password works

Now if vm is stopped and started again, the new password will work. Thus password is reset
only on the second boot.




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message