Hello, Can someone kindly help me troubleshoot an issue ?
Running ACS 4.2.1 on Xen 6.2. My 3 hosts are in state disconnected following an issue with cloudstack-management not starting because the hostname was not in the hosts file. Following this, my 3 hosts went into state disconnected. I am now trying to reconnect them but when I run the API command http://10.100.4.20:8099/client/api?command=reconnectHost&id=8f7700ee-6520-47f3-ba0b-6f338dade7e8 I get: <reconnecthostresponse cloud-stack-version="4.2.1"> <jobid>d097b174-59e8-4366-9ac4-9d64f3254a78</jobid> </reconnecthostresponse> In the logs, I get: ERROR [cloud.api.ApiServer] (ApiServer-3:) invalid request, no command sent INFO [cloud.api.ApiServer] (ApiServer-3:) Invalid request, no command sent And if I run: http://10.100.4.20:8099/client/api?command=queryAsyncJobResult&jobid=d097b174-59e8-4366-9ac4-9d64f3254a78 I get: <queryasyncjobresultresponse cloud-stack-version="4.2.1"> <accountid>ccb7049c etc... </accountid> <userid>ccc1596d etc... </userid> <cmd> org.apache.cloudstack.api.command.admin.host.ReconnectHostCmd </cmd> <jobstatus>1</jobstatus> <jobprocstatus>0</jobprocstatus> <jobresultcode>0</jobresultcode> <jobresulttype>object</jobresulttype> <jobresult> <host> <id>8f7700ee-6520-47f3-ba0b-6f338dade7e8</id> <name>ip-compute03</name> <state>Disconnected</state> <disconnected>2014-10-18T14:04:45-0400</disconnected> <type>Routing</type> <ipaddress>10.110.0.32</ipaddress> <zoneid>e4526779-b581-426a-984e-722cc1cabd41</zoneid> <zonename>IP-ProductionZone</zonename> <podid>0bac5f7b-41b4-4268-a10c-021b268eb634</podid> <podname>MyCompany-A233</podname> <version>4.2.1</version> <hypervisor>XenServer</hypervisor> <cpunumber>32</cpunumber> <cpuspeed>2000</cpuspeed> <cpuallocated>0%</cpuallocated> <cpuwithoverprovisioning>128000.0</cpuwithoverprovisioning> <memorytotal>266209332480</memorytotal> <memoryallocated>210587615232</memoryallocated> <capabilities> xen-3.0-x86_64 , xen-3.0-x86_32p , hvm-3.0-x86_32 , hvm-3.0-x86_32p , hvm-3.0-x86_64 </capabilities> <lastpinged>1970-01-16T18:28:42-0500</lastpinged> <clusterid>02dd3171-e9e5-409b-bb19-fce2c54f3bbf</clusterid> <clustername>MyCompany-Prod-Compute</clustername> <clustertype>CloudManaged</clustertype> <islocalstorageactive>true</islocalstorageactive> <created>2014-01-14T11:56:13-0500</created> <events> ManagementServerDown; PingTimeout; AgentConnected; Remove; WaitedTooLong; Ping; AgentDisconnected; HostDown </events> <resourcestate>Enabled</resourcestate> <hypervisorversion>6.2.0</hypervisorversion> <hahost>false</hahost> <jobid>d097b174-59e8-4366-9ac4-9d64f3254a78</jobid> <jobstatus>0</jobstatus> </host> </jobresult> <created>2014-10-23T00:44:07-0400</created> <jobid>d097b174-59e8-4366-9ac4-9d64f3254a78</jobid> </queryasyncjobresultresponse> And the host does not reconnect and nothing else seems to happen. Is the api just ignoring my commands ? Any ideas ? Thanks in advance ! Phil -- [email protected]
