Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AD19310AC9 for ; Mon, 3 Feb 2014 06:40:05 +0000 (UTC) Received: (qmail 61850 invoked by uid 500); 3 Feb 2014 06:40:04 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 61818 invoked by uid 500); 3 Feb 2014 06:40:02 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 61807 invoked by uid 99); 3 Feb 2014 06:40:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 06:40:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [74.125.82.53] (HELO mail-wg0-f53.google.com) (74.125.82.53) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Feb 2014 06:39:54 +0000 Received: by mail-wg0-f53.google.com with SMTP id y10so11608934wgg.32 for ; Sun, 02 Feb 2014 22:39:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=SAXxLIAqCiyO47RhAPYt5NKXwPWrUO4Gh5qwvKRb8ks=; b=WggysMEoj6GohwiNOGS46m5fxWoN7nJ0Y7ljQy6TxQsGte6e2bkbGsYwBiKDUVysHN 6ax1R9a7Nd45h++/JW/qN/rJNLUwwvo1Dx9BYfwWuRy+LiiB9fMj4qzagEnPsBrzlDnl fYtH8+lrJ9XOYvyOZwTCylwVEN/9mLbrWMWUZMr9B1yFmYr9vryEPwLz8K54iNkZhP4g 6ufAP4dyouVeO5htdS1Te7d8yLEcee1/gL05L55n+IuM8Eg0Rztq/J0XxzjmnLGOffnt fhJjnHqvFpMYvIwJ56R1Q+bO8Dhax/gtt2S4t+fEVZ87Qn4SI8Etvt4gBj7wO6DB/mMQ OSug== X-Gm-Message-State: ALoCoQkfQfEaBvuKk332Xnw9BRfbcqx+BT2Cdz+dREWw4m6cz+cwHGgpdnCU1Q6B/zsABVM1n5ZS X-Received: by 10.195.13.113 with SMTP id ex17mr22919253wjd.0.1391409573867; Sun, 02 Feb 2014 22:39:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.58.39 with HTTP; Sun, 2 Feb 2014 22:39:13 -0800 (PST) X-Originating-IP: [115.113.153.226] In-Reply-To: <50F0EED3-6606-4E70-BA9B-57A36D98EE07@juniper.net> References: <7307FFED-3971-4D29-B3EC-977B31558C98@juniper.net> <50F0EED3-6606-4E70-BA9B-57A36D98EE07@juniper.net> From: Gaurav Aradhye Date: Mon, 3 Feb 2014 12:09:13 +0530 Message-ID: Subject: Re: cloudstack-agent on ubuntu To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=047d7bfcf00a634e6704f17ac91c X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfcf00a634e6704f17ac91c Content-Type: text/plain; charset=ISO-8859-1 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 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 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 > > > >> 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 > >> > > > --047d7bfcf00a634e6704f17ac91c--