incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Rich (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-582) Cannot perform password reset for Windows instances on VMWare
Date Thu, 06 Dec 2012 18:13:09 GMT

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

Bill Rich commented on CLOUDSTACK-582:
--------------------------------------

I'm running 3.0.5. Can you post your SavePasswordCommand line from the management log? I'd
like to see how it compares to mine.
                
> Cannot perform password reset for Windows instances on VMWare
> -------------------------------------------------------------
>
>                 Key: CLOUDSTACK-582
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-582
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: Hypervisor Controller, Network Devices, VMware
>    Affects Versions: pre-4.0.0
>         Environment: CentOS6 2.6.32-279.14.1.el6.x86_64
> ESXi 5.1
>            Reporter: Bill Rich
>            Priority: Minor
>
> When I attempt password reset on a Windows instance on ESXi, the job fails because the
management server is attempting to connect to the routing vm on the link local ip address
which is not used for VMWare system VMs. Below are the relevant log entries from the management
log.
> 2012-12-04 12:35:37,651 DEBUG [agent.transport.Request] (Job-Executor-81:job-268) Seq
2-1745947325: Executing:  { Cmd , MgmtId: 161332719936, via: 2, Ver: v1, Flags: 100101, [{"routing.SavePasswordCommand":{"password":"nI9eufdes","vmIpAddress":"198.23.64.87","vmName":"78764853-99a4-40a4-b299-43748f0546b8","accessDetails":{"zone.network.type":"Basic","router.ip":"0.0.0.0","router.name":"r-6-VM"},"wait":0}}]
}
> 2012-12-04 12:35:37,651 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-306:null)
Seq 2-1745947325: Executing request
> 2012-12-04 12:35:37,652 INFO  [vmware.resource.VmwareResource] (DirectAgent-306:10.54.227.25)
Executing resource SavePasswordCommand. vmName: 78764853-99a4-40a4-b299-43748f0546b8, vmIp:
198.23.64.87, password: n********
> 2012-12-04 12:35:37,652 DEBUG [vmware.resource.VmwareResource] (DirectAgent-306:10.54.227.25)
Use router's private IP for SSH control. IP : 0.0.0.0
> 2012-12-04 12:35:37,652 DEBUG [vmware.resource.VmwareResource] (DirectAgent-306:10.54.227.25)
Run command on domain router 0.0.0.0, /root/savepassword.sh  -v 198.23.64.87 -p n********
> 2012-12-04 12:35:37,652 ERROR [vmware.resource.VmwareResource] (DirectAgent-306:10.54.227.25)
SavePasswordCommand failed due to Exception: java.io.IOException
> Message: There was a problem while connecting to 0.0.0.0:3922
> java.io.IOException: There was a problem while connecting to 0.0.0.0:3922
> 	at com.trilead.ssh2.Connection.connect(Connection.java:791)
> 	at com.cloud.hypervisor.vmware.resource.SshHelper.sshExecute(SshHelper.java:127)
> 	at com.cloud.hypervisor.vmware.resource.SshHelper.sshExecute(SshHelper.java:32)
> 	at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1780)
> 	at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:339)
> 	at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
> 	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:679)
> Caused by: java.net.ConnectException: Connection refused
> 	at java.net.PlainSocketImpl.socketConnect(Native Method)
> 	at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:327)
> 	at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:191)
> 	at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:180)
> 	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)
> 	at java.net.Socket.connect(Socket.java:546)
> 	at com.trilead.ssh2.transport.TransportManager.establishConnection(TransportManager.java:341)
> 	at com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.java:449)
> 	at com.trilead.ssh2.Connection.connect(Connection.java:731)
> ...
> 2012-12-04 12:35:37,654 DEBUG [cloud.vm.UserVmManagerImpl] (Job-Executor-81:job-268)
Failed to reset password for the virutal machine; no need to reboot the vm
> 2012-12-04 12:35:37,657 ERROR [cloud.api.ApiDispatcher] (Job-Executor-81:job-268) Exception
while executing ResetVMPasswordCmd:
> com.cloud.utils.exception.CloudRuntimeException: Failed to reset password for the virtual
machine
> 	at com.cloud.vm.UserVmManagerImpl.resetVMPassword(UserVmManagerImpl.java:420)
> 	at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:32)
> 	at com.cloud.api.commands.ResetVMPasswordCmd.execute(ResetVMPasswordCmd.java:110)
> 	at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:235)
> 	at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:427)
> 	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> 	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
> 	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
> 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
> 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
> 	at java.lang.Thread.run(Thread.java:679)

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

Mime
View raw message