cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Asmita Vagyani <Asmita.Vagy...@sigma-systems.com>
Subject RE: Issue in Creating instance on Cloudstack 4
Date Fri, 18 Jan 2013 13:18:39 GMT
Hi Sailaja,

I have finally been able to setup the CS4 environment up and running.
I was able to resolve the VM instance issue with all you hints provided and it worked.
Cant thankyou enough for all your time and support. U rock :)

Here goes the solution - As per CS 599. 
I logged into the Router VM and pinged the gateway or the guest IP that it failed to connect
with and then tried to create instance and it worked.


Thanks and Regards.

Asmita Patil Vagyani.


-----Original Message-----
From: Sailaja Mada [mailto:sailaja.mada@citrix.com] 
Sent: 17 January 2013 PM 02:49
To: cloudstack-users@incubator.apache.org
Subject: RE: Issue in Creating instance on Cloudstack 4

Hi ,

Can you check the bug if it is similar to the issue reported by you @ https://issues.apache.org/jira/browse/CLOUDSTACK-599


Thanks,
Sailaja.M

-----Original Message-----
From: Asmita Vagyani [mailto:Asmita.Vagyani@sigma-systems.com] 
Sent: Thursday, January 17, 2013 2:23 PM
To: 'cloudstack-users@incubator.apache.org'
Subject: Issue in Creating instance on Cloudstack 4

Hi all,

I am trying to create an instance on cloudstack 4 using a default template CentoS that comes
with Cloudstack4 for VmWare.

I get the following error:

2013-01-17 03:30:06,558 DEBUG [vmware.resource.VmwareResource] (DirectAgent-145:torvms04lx.sigmasys.net)
In Basic zone mode, use router's guest IP for SSH control. guest IP : 10.0.100.87
2013-01-17 03:30:06,561 ERROR [vmware.resource.VmwareResource] (DirectAgent-145:torvms04lx.sigmasys.net)
DhcpEntryCommand failed due to Exception: java.io.IOException
Message: There was a problem while connecting to 10.0.100.87:3922
java.io.IOException: There was a problem while connecting to 10.0.100.87:3922
        at com.trilead.ssh2.Connection.connect(Connection.java:792)
        at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:132)
        at com.cloud.utils.ssh.SshHelper.sshExecute(SshHelper.java:37)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:1658)
        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:347)
        at com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:191)
        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$201(ScheduledThreadPoolExecutor.java:178)
        at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
        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:722)
Caused by: java.net.ConnectException: Connection refused
        at java.net.PlainSocketImpl.socketConnect(Native Method)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:391)
       at java.net.Socket.connect(Socket.java:579)
        at com.trilead.ssh2.transport.TransportManager.establishConnection(TransportManager.java:346)
        at com.trilead.ssh2.transport.TransportManager.initialize(TransportManager.java:454)
        at com.trilead.ssh2.Connection.connect(Connection.java:732)
        ... 13 more
2013-01-17 03:30:06,567 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-145:null) Seq
1-518783999: Response Received:
2013-01-17 03:30:06,568 DEBUG [agent.transport.Request] (DirectAgent-145:null) Seq 1-518783999:
Processing:  { Ans: , MgmtId: 345051758635, via: 1, Ver: v1, Flags: 110, [{"Answer":{"result":false,"details":"DhcpEntryCommand
failed due to Exception: java.io.IOException\nMessage: There was a problem while connecting
to 10.0.100.87:3922\n","wait":0}}] }
2013-01-17 03:30:06,568 DEBUG [agent.manager.AgentAttache] (DirectAgent-145:null) Seq 1-518783999:
No more commands found
2013-01-17 03:30:06,568 DEBUG [agent.transport.Request] (Job-Executor-4:job-19) Seq 1-518783999:
Received:  { Ans: , MgmtId: 345051758635, via: 1, Ver: v1, Flags: 110, { Answer } }
2013-01-17 03:30:06,568 INFO  [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-4:job-19)
Unable to contact resource.
com.cloud.exception.ResourceUnavailableException: Resource [Pod:1] is unreachable: Unable
to apply dhcp entry on router
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyRules(VirtualNetworkApplianceManagerImpl.java:3133)
        at com.cloud.network.router.VirtualNetworkApplianceManagerImpl.applyDhcpEntry(VirtualNetworkApplianceManagerImpl.java:2396)
        at com.cloud.network.element.VirtualRouterElement.addDhcpEntry(VirtualRouterElement.java:786)
        at com.cloud.network.NetworkManagerImpl.prepareElement(NetworkManagerImpl.java:2062)
        at com.cloud.network.NetworkManagerImpl.prepareNic(NetworkManagerImpl.java:2172)
        at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:2113)
        at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:752)
        at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2929)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2601)
        at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2589)
        at co


Thanks and Regards.

Asmita Patil Vagyani.




Mime
View raw message