Re: Unable to login into UI
Plz search on net . It may be a problem re On 8 Jun 2013 20:43, Nehal J. Wani nehaljw.k...@gmail.com wrote: I successfully installed cloudstack 4.0.2 on CentOS 6.4. When I opened localhost:8080/client and entered admin:password, I got the error: Invalid username/password. The file /var/log/cloud/management/access_log.2013-06-08.txt says: 10.1.39.195 - - [08/Jun/2013:20:34:52 +0530] POST /client/api HTTP/1.1 404 1057 When I visit the URL localhost:8080/client/api, I get the error: HTTP Status 404 - Servlet apiServlet is not available -- *type* Status report *message* *Servlet apiServlet is not available* *description* *The requested resource (Servlet apiServlet is not available) is not available.* -- Apache Tomcat/6.0.24 and in the very beginning, when I restart my cloud-management-service, I get the error: HTTP Status 500 - -- *type* Exception report *message*** *description* *The server encountered an internal error () that prevented it from fulfilling this request.* *exception* javax.servlet.ServletException: Error instantiating servlet class com.cloud.api.ApiServlet org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) java.lang.Thread.run(Thread.java:722) *root cause* com.cloud.utils.exception.CloudRuntimeException: ApiServer not initialized com.cloud.api.ApiServlet.init(ApiServlet.java:55) sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57) sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) java.lang.reflect.Constructor.newInstance(Constructor.java:525) java.lang.Class.newInstance0(Class.java:372) java.lang.Class.newInstance(Class.java:325) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298) org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889) org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721) org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2274) java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) java.lang.Thread.run(Thread.java:722) *note* *The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.* -- Apache Tomcat/6.0.24 I have tried executing the command cloud-setup-databases and cloud-setup-management and also checked in the cloud database, user table that the md5 hash of password is indeed that of 'password'. Where am I going wrong? Thanking You, Nehal J. Wani UG2, BTech CS+MS(CL) IIIT-Hyderabad http://commanlinewani.blogspot.com
Re: unable to add host
Ahmad, I have restarted clod-agent and the log is as follows: at this time I have not tried to add the host from management server: This log is just after cloud-agent restart: 2013-06-06 11:41:03,225 INFO [utils.component.ComponentLocator] (main:null) Unable to find components.xml 2013-06-06 11:41:03,226 INFO [utils.component.ComponentLocator] (main:null) Skipping configuration using components.xml 2013-06-06 11:41:03,226 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 4.0.2.20130501180711 2013-06-06 11:41:03,226 INFO [cloud.agent.AgentShell] (main:null) agent.properties found at /etc/cloud/agent/agent.properties 2013-06-06 11:41:03,227 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage 2013-06-06 11:41:03,228 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm 2013-06-06 11:41:03,350 INFO [cloud.agent.Agent] (main:null) id is 2013-06-06 11:41:03,352 ERROR [cloud.resource.ServerResourceBase] (main:null) Nics are not configured! 2013-06-06 11:41:03,355 INFO [cloud.resource.ServerResourceBase] (main:null) Designating private to be nic eth2 2013-06-06 11:41:03,420 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm 2013-06-06 11:41:03,961 INFO [kvm.resource.LibvirtComputingResource] (main:null) No libvirt.vif.driver specififed. Defaults to BridgeVifDriver. 2013-06-06 11:41:04,016 INFO [cloud.agent.Agent] (main:null) Agent [id = new : type = LibvirtComputingResource : zone = default : pod = default : workers = 5 : host = localhost : port = 8250 2013-06-06 11:41:04,034 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2013-06-06 11:41:04,036 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2013-06-06 11:41:09,041 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2013-06-06 11:41:09,042 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote I am first time using java and cloudstack so pls help me to set the log4j properties to debug or trace level. How to do it, I dont know. I have used repositories to install the cloudagent packages. pls tell me which file I need to make what entries and how to restart it ? Krishna On Wed, Jun 5, 2013 at 10:22 PM, Ahmad Emneina aemne...@gmail.com wrote: Can you restart the cloud-agent service on the hypervisor host and post the output from those logs? Also ensure log4j is set to TRACE or DEBUG level logging before the restart. Ahmad On Jun 5, 2013, at 9:35 AM, Er Krishna erkris...@gmail.com wrote: On 5 Jun 2013 21:59, Ahmad Emneina aemne...@gmail.com wrote: Looks like there was a timeout connecting to the host. What hypervisor are you using? Kvm Ahmad On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote: Host and management Server are seperated and both have Ubuntu 12.0.4 and cloudstack version on both node is 4.0.2 . I have exported primary and secondry directory via NFS from management to host. On secondry node VM templates are there. I have configured NTP on both but still the problem persist. I have pasted management server log at following location: http://apaste.info/in3l Krishna On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote: How about we start with what platform and what version of CloudStack. Also - your agent.log timestamp and management server log timestamps have a 30 minute skew, and the management server logs are remotely related to adding an agent - can we see the actual time period that you tried to add a host - preferably several hundred lines - apaste.info that and share a link. --David On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote: I am not able to add host. Pls help me to debug this. My host machine agent.log is: 2016-11-02 18:46:56,633 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2016-11-02 18:46:56,732 INFO [cloud.agent.Agent] (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill Management server log is : 2013-06-04 17:18:14,118 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet 2013-06-04 17:18:14,157 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Running Capacity Checker ... 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) recalculating system capacity 2013-06-04 17:18:14,545 DEBUG
Re: unable to add host
Hi Prasanna, On third point I followed the link. But I have only: ls -l /etc/cloud/agent/log4j-cloud.xml file. There is no directory like /etc/clodstack. So I made a change in this file like : sed -i 's/INFO/DEBUG/g' log4j-cloud.xml and below mentioned one line log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true Will it be fine ? Krishna On Thu, Jun 6, 2013 at 12:35 PM, Prasanna Santhanam t...@apache.org wrote: On Thu, Jun 06, 2013 at 12:29:32PM +0530, Er Krishna wrote: Prasanna, Thanks for the mail. here is my inline reply: Before that - 1. Is port 8250 open on the management server and listening for connections? |yes : O/P on Management server is : |root@krishna-S1200RP:~# lsof -i | grep -Rin 8250 |45:jsvc 1201 cloud 150u IPv6 12925 0t0 TCP *:8250 (LISTEN) |Pls confirm above is fine or not ? In case if it need any change, let me know. This is good. 2. On your ubuntu host what is the output of lsmod | grep kvm |root@krishna-S1200RP:~# lsmod | grep -Rin KVM |39:kvm_intel 137888 0 |40:kvm 422160 1 kvm_intel root@krishna-S1200RP:~# Good here! On the agent go to /etc/cloudstack/agent/log4j-*. xml. Within that s/DEBUG/TRACE/g and that should turn on TRACE for all components. |I found log4j-cloud.xml file in /etc/cloud/agent directory and change below line. Is it fine ? Will it make debug enable ? |log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=false |to |log4j:configuration xmlns:log4j=http://jakarta.apache.org/log4j/; debug=true Sorry, the log should be set as explained in #3 at https://cwiki.apache.org/confluence/x/FgPMAQ -- Prasanna., Powered by BigRock.com
Re: unable to add host
I have pasted the log after doing trace enable and agent restart. One confusion : I have not configured xenbr0 and cloud 0 or cloudbr0 . I think if I am using on same network (mean to say host and management server are on same subnet), so xenbr0 is required or not ? Although I have not configured cloud0 but some times it appears on ifconfig and some time it disappears from ifconfig automatically. Is it a problem ? Do I need to configure xenbridge and cloudbridge on host via /etc/network/interfaces file and is it required ? Link for the log: http://apaste.info/kB4Y My ifconfig is as follows: root@krishna-S1400RP:/var/log/cloud/agent# ifconfig cloud0Link encap:Ethernet HWaddr d2:a3:d7:58:ec:d9 inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::d0a3:d7ff:fe58:ecd9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:71 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:11405 (11.4 KB) eth2 Link encap:Ethernet HWaddr 00:1e:67:4d:06:84 inet addr:10.223.169.166 Bcast:10.223.169.255 Mask:255.255.255.0 inet6 addr: fe80::21e:67ff:fe4d:684/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:120393 errors:0 dropped:0 overruns:0 frame:0 TX packets:54959 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:53992336 (53.9 MB) TX bytes:8380555 (8.3 MB) Memory:c090-c0a0 eth3 Link encap:Ethernet HWaddr 00:1e:67:4d:06:83 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Memory:c0b0-c0c0 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8818 errors:0 dropped:0 overruns:0 frame:0 TX packets:8818 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:442416 (442.4 KB) TX bytes:442416 (442.4 KB) virbr0Link encap:Ethernet HWaddr b2:92:ad:9d:e9:2e inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) On Thu, Jun 6, 2013 at 2:19 PM, Prasanna Santhanam t...@apache.org wrote: On Thu, Jun 06, 2013 at 01:58:51PM +0530, Er Krishna wrote: Ahmad You mean to say in same file I should replace info from Trace? And what about first line : debug = true is fine or shall I replace debug to trace and should do trace=true ? First line doesn't matter. Just replace the instances of INFO with TRACE and share the info post agent restart via a pastebin. -- Prasanna., Powered by BigRock.com
Re: unable to add host
Venketa, I have checked it and it is already set to management IP address. Krishna On Thu, Jun 6, 2013 at 7:34 PM, Venkata SwamyBabu Budumuru venkataswamybabu.budum...@citrix.com wrote: Hi, Can you quickly check for the following global setting on your management server? I am doubting that the following could be the reason for the errors. Go to - Global Settings - search setting called host = Make sure that it is not set to localhost instead, it should be set to your mgmt server IP address. Once the above is done then please restart your mgmt server and /etc/init.d/cloudstack-agent restart. Thanks, SWAMY On 06/06/13 5:54 PM, Er Krishna erkris...@gmail.com wrote: I have pasted the log after doing trace enable and agent restart. One confusion : I have not configured xenbr0 and cloud 0 or cloudbr0 . I think if I am using on same network (mean to say host and management server are on same subnet), so xenbr0 is required or not ? Although I have not configured cloud0 but some times it appears on ifconfig and some time it disappears from ifconfig automatically. Is it a problem ? Do I need to configure xenbridge and cloudbridge on host via /etc/network/interfaces file and is it required ? Link for the log: http://apaste.info/kB4Y My ifconfig is as follows: root@krishna-S1400RP:/var/log/cloud/agent# ifconfig cloud0Link encap:Ethernet HWaddr d2:a3:d7:58:ec:d9 inet addr:169.254.0.1 Bcast:169.254.255.255 Mask:255.255.0.0 inet6 addr: fe80::d0a3:d7ff:fe58:ecd9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:71 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:11405 (11.4 KB) eth2 Link encap:Ethernet HWaddr 00:1e:67:4d:06:84 inet addr:10.223.169.166 Bcast:10.223.169.255 Mask:255.255.255.0 inet6 addr: fe80::21e:67ff:fe4d:684/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:120393 errors:0 dropped:0 overruns:0 frame:0 TX packets:54959 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:53992336 (53.9 MB) TX bytes:8380555 (8.3 MB) Memory:c090-c0a0 eth3 Link encap:Ethernet HWaddr 00:1e:67:4d:06:83 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Memory:c0b0-c0c0 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:8818 errors:0 dropped:0 overruns:0 frame:0 TX packets:8818 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:442416 (442.4 KB) TX bytes:442416 (442.4 KB) virbr0Link encap:Ethernet HWaddr b2:92:ad:9d:e9:2e inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) On Thu, Jun 6, 2013 at 2:19 PM, Prasanna Santhanam t...@apache.org wrote: On Thu, Jun 06, 2013 at 01:58:51PM +0530, Er Krishna wrote: Ahmad You mean to say in same file I should replace info from Trace? And what about first line : debug = true is fine or shall I replace debug to trace and should do trace=true ? First line doesn't matter. Just replace the instances of INFO with TRACE and share the info post agent restart via a pastebin. -- Prasanna., Powered by BigRock.com
Re: unable to add host
Host and management Server are seperated and both have Ubuntu 12.0.4 and cloudstack version on both node is 4.0.2 . I have exported primary and secondry directory via NFS from management to host. On secondry node VM templates are there. I have configured NTP on both but still the problem persist. I have pasted management server log at following location: http://apaste.info/in3l Krishna On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote: How about we start with what platform and what version of CloudStack. Also - your agent.log timestamp and management server log timestamps have a 30 minute skew, and the management server logs are remotely related to adding an agent - can we see the actual time period that you tried to add a host - preferably several hundred lines - apaste.info that and share a link. --David On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote: I am not able to add host. Pls help me to debug this. My host machine agent.log is: 2016-11-02 18:46:56,633 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2016-11-02 18:46:56,732 INFO [cloud.agent.Agent] (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill Management server log is : 2013-06-04 17:18:14,118 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet 2013-06-04 17:18:14,157 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Running Capacity Checker ... 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) recalculating system capacity 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Executing cpu/ram capacity update 2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Done executing cpu/ram capacity update Krishna
Re: unable to add host
Yes ssh is fine and i have disabled firewall too. On 5 Jun 2013 22:00, Ahmad Emneina aemne...@gmail.com wrote: Sorry just noticed the agent.log. Can you ssh to the agent host from the management server? Ahmad On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote: Host and management Server are seperated and both have Ubuntu 12.0.4 and cloudstack version on both node is 4.0.2 . I have exported primary and secondry directory via NFS from management to host. On secondry node VM templates are there. I have configured NTP on both but still the problem persist. I have pasted management server log at following location: http://apaste.info/in3l Krishna On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote: How about we start with what platform and what version of CloudStack. Also - your agent.log timestamp and management server log timestamps have a 30 minute skew, and the management server logs are remotely related to adding an agent - can we see the actual time period that you tried to add a host - preferably several hundred lines - apaste.info that and share a link. --David On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote: I am not able to add host. Pls help me to debug this. My host machine agent.log is: 2016-11-02 18:46:56,633 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2016-11-02 18:46:56,732 INFO [cloud.agent.Agent] (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill Management server log is : 2013-06-04 17:18:14,118 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet 2013-06-04 17:18:14,157 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Running Capacity Checker ... 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) recalculating system capacity 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Executing cpu/ram capacity update 2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Done executing cpu/ram capacity update Krishna
Re: unable to add host
On 5 Jun 2013 21:59, Ahmad Emneina aemne...@gmail.com wrote: Looks like there was a timeout connecting to the host. What hypervisor are you using? Kvm Ahmad On Jun 5, 2013, at 7:14 AM, Er Krishna erkris...@gmail.com wrote: Host and management Server are seperated and both have Ubuntu 12.0.4 and cloudstack version on both node is 4.0.2 . I have exported primary and secondry directory via NFS from management to host. On secondry node VM templates are there. I have configured NTP on both but still the problem persist. I have pasted management server log at following location: http://apaste.info/in3l Krishna On Tue, Jun 4, 2013 at 6:04 PM, David Nalley da...@gnsa.us wrote: How about we start with what platform and what version of CloudStack. Also - your agent.log timestamp and management server log timestamps have a 30 minute skew, and the management server logs are remotely related to adding an agent - can we see the actual time period that you tried to add a host - preferably several hundred lines - apaste.info that and share a link. --David On Tue, Jun 4, 2013 at 7:56 AM, Er Krishna erkris...@gmail.com wrote: I am not able to add host. Pls help me to debug this. My host machine agent.log is: 2016-11-02 18:46:56,633 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2016-11-02 18:46:56,732 INFO [cloud.agent.Agent] (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill Management server log is : 2013-06-04 17:18:14,118 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet 2013-06-04 17:18:14,157 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Running Capacity Checker ... 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) recalculating system capacity 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Executing cpu/ram capacity update 2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Done executing cpu/ram capacity update Krishna
unable to add host
I am not able to add host. Pls help me to debug this. My host machine agent.log is: 2016-11-02 18:46:56,633 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to localhost:8250 2016-11-02 18:46:56,633 ERROR [utils.nio.NioConnection] (Agent-Selector:null) Unable to connect to remote 2016-11-02 18:46:56,732 INFO [cloud.agent.Agent] (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill Management server log is : 2013-06-04 17:18:14,118 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 2 is not ready to launch secondary storage VM yet 2013-06-04 17:18:14,157 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Running Capacity Checker ... 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) recalculating system capacity 2013-06-04 17:18:14,545 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Executing cpu/ram capacity update 2013-06-04 17:18:14,547 DEBUG [cloud.alert.AlertManagerImpl] (CapacityChecker:null) Done executing cpu/ram capacity update Krishna
pls help in clod stack setup
Hi All, I have following problems in cloudstack setup. Pls help me here. 1. I am unable to generate the key coz my domain id is not correct. How to know what is the correct domain id of mine ? 2. I am not able to add the host ? Is it due to above problem ? 3. Is the version of tomcat 6.0.35 having some problem? Please clear me on this, below is the snippet for this problem. root@krishna:~# curl --globoff http://localhost:8096/?command=createSSHKeyPairname=keypair-docaccount=admindomainid=5163440e-c44b-42b5-9109-ad75cae8e8a2 ?xml version=1.0 encoding=UTF-8?createsshkeypairresponse cloud-stack-version=4.0.2.20130501180711errorcode431/errorcodecserrorcode/cserrorcodeerrortextUnable to execute API command createsshkeypair due to invalid value. Object domain(uuid: 5163440e-c44b-42b5-9109-ad75cae8e8a2) does not exist./errortext/createsshkeypairresponseroot@krishna-S1200RP:~#