Hi Gaurav, Thanks for the pointer. It was indeed cloud-agent, instead of cloudstack-agent.
Anirban On Feb 2, 2014, at 10:39 PM, Gaurav Aradhye <gaurav.arad...@clogeny.com> wrote: > Hi Anirban, > > Are you sure you have used "apt-get install cloudstack-agent" and not > "apt-get install cloud-agent". I had encountered the same issue and then > realized I had installed an outdated version of the agent. The link > displayed in google search results takes you to installation guide of > 4.0.2. If you are installing 4.2.1 then you need to change the command to > "cloudstack-agent". > > I hope that helps. > > Regards, > Gaurav > > > On Fri, Jan 31, 2014 at 11:39 PM, Anirban Chakraborty > <abc...@juniper.net>wrote: > >> I have got past the install issue. However, when I am trying to add a KVM >> host to the management server, I see following message in the >> management-server.log: >> >> ---- >> 2014-01-31 01:15:42,895 DEBUG [c.c.u.s.SSHCmdHelper] >> (catalina-exec-5:ctx-1569065b ctx-65347efa) cloudstack-setup-agent -m >> 10.84.13.16 -z 2 -p 2 -c 2 -g 08fae0c3-30f0-321c-ba06-6960f216e08d -a >> --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 output:bash: >> cloudstack-setup-agent: command not found >> ---- >> >> As I look at the KVM host, I can't find any cloudstack-setup-agent, >> instead there is /usr/bin/cloud-setup-agent (as mentioned in >> http://mail-archives.apache.org/mod_mbox/cloudstack-issues/201303.mbox/%3CJIRA.12637884.1363749652274.49725.1364232315544@arcas%3E >> ) >> >> Should I rename cloud-setup-agent to cloudstack-setup-agent? Is it a bug >> on ubuntu ? I see >> com.cloud.hypervisor.kvm.discoverer.LibVirtServerDiscoverer.java has a hard >> coded name for the script: >> --- >> SSHCmdHelper.sshExecuteCmd(sshConnection, "cloudstack-setup-agent " + >> parameters, 3); >> -- >> >> thanks, >> Anirban >> >> >> On Jan 30, 2014, at 12:51 AM, Wei ZHOU <ustcweiz...@gmail.com> wrote: >> >>> ethtool is used >>> in >> plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/resource/LibvirtComputingResource.java >>> so this package is required in cloudstack-agent installation. >>> If you use "dpkg -i" to install the deb packages and meet error >>> about dependencies, you can use "apt-get install" or "apt-get install >>> ethtool" to fix it. >>> >>> >>> 2014-01-29 Anirban Chakraborty <abc...@juniper.net> >>> >>>> Hi All, >>>> >>>> I am trying to install cloudstack-agent on ubuntu 12.04 and it is >> failing >>>> with openjdk-6-jre dependency. Following is the error message: >>>> ---- >>>> The following packages have unmet dependencies: >>>> cloudstack-agent : Depends: openjdk-6-jre but it is not installable or >>>> openjdk-7-jre but it is not going to be >>>> installed >>>> Depends: cloudstack-common (= 4.2.1) but it is not >>>> going to be installed >>>> Depends: ethtool but it is not installable >>>> E: Unable to correct problems, you have held broken packages. >>>> ---- >>>> Has any one seen this, and if so, how do I get around it? Thanks much. >>>> >>>> Anirban Chakraborty >>>> >> >> >>