satis egitimisatis
Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

TOPIC: Unable to add KVM host on CloudStack

Unable to add KVM host on CloudStack 1 year 2 months ago #13043

  • anilsingh
  • anilsingh's Avatar
  • Fresh Boarder
  • Posts: 2
  • Karma: 0

I am not able to add kvm host on cloudstack. Please find the details below

System Details:
Ubuntu 12.04 +KVM
root# uname -a
Linux anil-Samsung-Desktop-System 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Downloaded the Cloudstack4 fron hudson: ---->Latest build for ubuntu

1) Installed Management server
2) Installed Database
3) Installed Agent for KVM

Login on CloudStack UI. I am able to add zone, cluster, pod and secondary storage.
But facing the issue while adding KVM host on the cloudstack.

Exception: Unable to add the host
at javax.servlet.http.HttpServlet.service(
at javax.servlet.http.HttpServlet.service(
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
at org.apache.catalina.core.ApplicationFilterChain.doFilter(
at org.apache.catalina.core.StandardWrapperValve.invoke(
at org.apache.catalina.core.StandardContextValve.invoke(
at org.apache.catalina.core.StandardHostValve.invoke(
at org.apache.catalina.valves.ErrorReportValve.invoke(
at org.apache.catalina.valves.AccessLogValve.invoke(
at org.apache.catalina.core.StandardEngineValve.invoke(
at org.apache.catalina.connector.CoyoteAdapter.service(
at org.apache.coyote.http11.Http11NioProcessor.process(
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(
at java.util.concurrent.ThreadPoolExecutor.runWorker(
at java.util.concurrent.ThreadPoolExecutor$
2012-12-24 17:29:31,071 WARN [cloud.api.ApiDispatcher] (catalina-exec-23:null) class : Unable to add the host

I have verified this:

1) ssh is installed on ubuntu system
2) below is the content from the /etc/network/interfaces

auto lo
iface lo inet loopback
face eth0 inet static
bridge_ports eth0
bridge_fd 9
bridge_hello 2
bridge_maxage 12
bridge_stp off

Last Edit: 1 year 2 months ago by anilsingh. Reason: logs file
The administrator has disabled public write access.

Re: Unable to add KVM host on CloudStack 1 year 2 months ago #13044

  • anilsingh
  • anilsingh's Avatar
  • Fresh Boarder
  • Posts: 2
  • Karma: 0
Just missed out to update that I have followed the installation instruction from :

Also I want to update that while agen installation, there is error but its seems agent is getting installed.


Welcome to the Apache CloudStack (Incubating) Installer. What would you like to do?

A) Install the Agent
S) Install the Usage Monitor
U) Upgrade the CloudStack packages installed on this computer
R) Stop any running CloudStack services and remove the CloudStack packages from this computer
E) Remove the MySQL server (will not remove the MySQL databases)
Q) Quit

> A
Installing the Agent...
The following NEW packages will be installed:
cloud-agent cloud-agent-libs{a}
0 packages upgraded, 2 newly installed, 0 to remove and 481 not upgraded.
Need to get 0 B/245 kB of archives. After unpacking 367 kB will be used.
Do you want to continue? [Y/n/?] Y
WARNING: untrusted versions of the following packages will be installed!

Untrusted packages could compromise your system's security.
You should only proceed with the installation if you are certain that
this is what you want to do.


Do you want to ignore this warning and proceed anyway?
To continue, enter "Yes"; to abort, enter "No": Yes
(Reading database ... 145124 files and directories currently installed.)
Unpacking cloud-agent-libs (from .../cloud-agent-libs_4.0.1-incubating_amd64.deb) ...
dpkg: error processing /home/anil/Anil/CloudStack-non-OSS-4.0.1-9/./cloud-agent-libs_4.0.1-incubating_amd64.deb (--unpack):
trying to overwrite '/usr/share/java/cloud-plugin-hypervisor-kvm.jar', which is also in package cloud-server 1:4.0.1-incubating
No apport report written because MaxReports is reached already
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package cloud-agent.
Unpacking cloud-agent (from .../cloud-agent_4.0.1-incubating_amd64.deb) ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of cloud-agent:
cloud-agent depends on cloud-agent-libs (= 1:4.0.1-incubating); however:
Package cloud-agent-libs is not installed.
dpkg: error processing cloud-agent (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:

Current status: 1 broken [+1].


Please correct me if I am doing anything wrong here.

Thanks In Advance
The administrator has disabled public write access.
Time to create page: 0.275 seconds


Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world.