You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by "sadhu suresh (JIRA)" <ji...@apache.org> on 2013/02/15 12:45:12 UTC

[jira] [Created] (CLOUDSTACK-1293) resetpasswordforVm shows "passsd reset to undefined"

sadhu suresh created CLOUDSTACK-1293:
----------------------------------------

             Summary: resetpasswordforVm shows "passsd reset to undefined"
                 Key: CLOUDSTACK-1293
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1293
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Management Server
    Affects Versions: 4.1.0
            Reporter: sadhu suresh
            Priority: Critical
         Attachments: screenshot_reset_password.jpg



1.create password enabled template
2.deploy a vm using above tempalte.
3.Check  whether it pop-up the password or not
4.stop the VM
5.perform the resetpasswordforVM

Actual result:


Step3:No pop-up displayed and also no password generated on router.

Step5 :Status message says Password reset to Undefined and in the router new password is generated but it fail to display.

For step 5 on router:

root@r-50-VM:/var/cache/cloud# cat passwords 
10.1.1.238=sE8kggkfk

On router,it shows newly generated password but it fail to display on the UI





Please check Job response below:



http://10.147.38.236:8080/client/api?command=resetPasswordForVirtualMachine&id=3c7331a0-be5c-45fa-96e7-4a67ead54d3c&response=json&sessionkey=pZyDqZ7aEuvdRgOnWVsDziB0duQ%3D&_=1360926932477


{ "queryasyncjobresultresponse" : {"accountid":"52b3c6c0-746f-11e2-b806-064666000076","userid":"52b40fe0-746f-11e2-b806-064666000076","cmd":"org.apache.cloudstack.api.command.user.vm.ResetVMPasswordCmd","jobstatus":1,"jobprocstatus":0,"jobresultcode":0,"jobresulttype":"object","jobresult":{"virtualmachine":{"id":"3c7331a0-be5c-45fa-96e7-4a67ead54d3c","name":"vm99","displayname":"vm99","account":"sadhu","domainid":"52b36478-746f-11e2-b806-064666000076","domain":"ROOT","created":"2013-02-15T18:22:21+0530","state":"Stopped","haenable":false,"zoneid":"a47cec47-5317-479b-96c4-7b1ac7756cd1","zonename":"zone1","templateid":"ebc53206-3a38-40d0-b089-c80184e8fb37","templatename":"temppwd1","templatedisplaytext":"pwdtempvm9","passwordenabled":true,"serviceofferingid":"8d43fe05-803b-4018-b745-c9ebd0c3bd92","serviceofferingname":"Small Instance","cpunumber":1,"cpuspeed":500,"memory":512,"guestosid":"51cddd9a-746f-11e2-b806-064666000076","rootdeviceid":0,"rootdevicetype":"ROOT","securitygroup":[],"nic":[{"id":"5057a903-0419-475d-979f-43b06f94630c","networkid":"aeb0e192-2e74-4fcf-b3df-264a50129dd9","netmask":"255.255.255.0","gateway":"10.1.1.1","ipaddress":"10.1.1.238","traffictype":"Guest","type":"Isolated","isdefault":true,"macaddress":"02:00:12:dc:00:08"}],"hypervisor":"XenServer","instancename":"i-3-117-VM","tags":[],"keypair":"k9","jobstatus":0}},"created":"2013-02-15T22:12:38+0530","jobid":"67ac6030-3aa9-4d4a-983f-b25ce36ee12f"} }

Please check the attached screenshot








--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira