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 4015C10270 for ; Fri, 30 Aug 2013 04:31:17 +0000 (UTC) Received: (qmail 18383 invoked by uid 500); 30 Aug 2013 04:31:16 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 18356 invoked by uid 500); 30 Aug 2013 04:31:15 -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 18348 invoked by uid 99); 30 Aug 2013 04:31:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 04:31:15 +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 (athena.apache.org: domain of mike.tutkowski@solidfire.com designates 209.85.219.49 as permitted sender) Received: from [209.85.219.49] (HELO mail-oa0-f49.google.com) (209.85.219.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Aug 2013 04:31:11 +0000 Received: by mail-oa0-f49.google.com with SMTP id i7so1720246oag.8 for ; Thu, 29 Aug 2013 21:30:50 -0700 (PDT) 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:date :message-id:subject:from:to:content-type; bh=+jHna1YrUtvIlkNFe5S4xXs5uJnG+SKyDwkXVnD4kGg=; b=JzMP35j5E84+Q67wSXpDDu+SV1l/NzMWLy62uF5EqHbtwpShFUq5S+dnXwnaTQx9Nd ov8bdl91gEhku6jXA6b1sQfA2WnejPfAEyBzgmCHXiQsEWfmMHetP4fdF8yiD12acMZm +WJIIxcZJPaGKxmQDkfoMVf7MlBJSUgXHXEI+jrNHhrELwu2cGa3yMnecjENgqDAm6Dm fMe9Mxg3zD5Y7EnAWNVhhqs4wpvfyhkadUAiyyogrWsHiI3q14jw4kmjLqM/UG5M6sYf RsdCnDAh02Tgxo+nY40PB5jDgk0hQL1r2/tT3Sre8ZlBbpng0HUB5r0UOYC8sXicC4e1 pnXw== X-Gm-Message-State: ALoCoQmAyc7Bi1J860yTfuPCGkhy45P8EgdbFbTCMH+9vTGm0i6mkj1rukeBBggaoC/aen3hTZlG MIME-Version: 1.0 X-Received: by 10.60.51.41 with SMTP id h9mr5311248oeo.49.1377837050403; Thu, 29 Aug 2013 21:30:50 -0700 (PDT) Received: by 10.182.18.228 with HTTP; Thu, 29 Aug 2013 21:30:50 -0700 (PDT) In-Reply-To: References: Date: Thu, 29 Aug 2013 22:30:50 -0600 Message-ID: Subject: Re: KVM Assistance From: Mike Tutkowski To: "dev@cloudstack.apache.org" Content-Type: multipart/alternative; boundary=001a11c300daf2adce04e522af1d X-Virus-Checked: Checked by ClamAV on apache.org --001a11c300daf2adce04e522af1d Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Yeah, I wanted to use root, but got the following when trying to SSH in: mtutkowski-LT:~ mtutkowski$ ssh root@172.16.140.5 root@172.16.140.5's password: Permission denied, please try again. On Thu, Aug 29, 2013 at 10:28 PM, Marcus Sorensen wrot= e: > I've only ever seen it work with root. Do the docs say otherwise? Maybe > your user credentials will work if you have it set with sudo privileges a= nd > privileges to libvirtd. > On Aug 29, 2013 10:25 PM, "Mike Tutkowski" > wrote: > > > By the way, I've been supplying the username I log into Ubuntu with: > > mtutkowski (not root). I think that's correct for Ubuntu. > > > > After the script executes, I get the following back in the CSMS log: > > > > { Ans: , MgmtId: 1, via: 2, Ver: v1, Flags: 100010, > > [{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] } > > > > > > On Thu, Aug 29, 2013 at 10:20 PM, Mike Tutkowski < > > mike.tutkowski@solidfire.com> wrote: > > > > > I don't see a process by either name in System Monitor. > > > > > > Is that SSH call supposed to have started such a process running? > > > > > > > > > On Thu, Aug 29, 2013 at 10:15 PM, Marcus Sorensen > >wrote: > > > > > >> Is the agent running? Or perhaps cloud-setup-agent? > > >> On Aug 29, 2013 10:13 PM, "Mike Tutkowski" < > > mike.tutkowski@solidfire.com> > > >> wrote: > > >> > > >> > Interesting...there is an agent folder, but no files in it. > > >> > > > >> > > > >> > On Thu, Aug 29, 2013 at 10:10 PM, Mike Tutkowski < > > >> > mike.tutkowski@solidfire.com> wrote: > > >> > > > >> > > Thanks! > > >> > > > > >> > > By the way, these are the parameters I pass into > > >> cloudstack-setup-agent > > >> > > (just in case something looks odd to you there): > > >> > > > > >> > > -m 172.16.140.1 -z 1 -p 1 -c 3 -g > > >> 8bd34de8-783c-387f-a043-aa53ee31df6b -a > > >> > > --pubNic=3Dcloudbr0 --prvNic=3Dcloudbr0 --guestNic=3Dcloudbr0 > > >> > > > > >> > > > > >> > > On Thu, Aug 29, 2013 at 10:07 PM, Marcus Sorensen < > > >> shadowsor@gmail.com > > >> > >wrote: > > >> > > > > >> > >> /var/log/cloudstack/agent/agent.log ... There is also a setup l= og > > in > > >> > that > > >> > >> location to see if something in the agent setup went awry. > > >> > >> On Aug 29, 2013 10:05 PM, "Mike Tutkowski" < > > >> > mike.tutkowski@solidfire.com> > > >> > >> wrote: > > >> > >> > > >> > >> > Thanks, Marcus > > >> > >> > > > >> > >> > I'm not used to playing around in a KVM environment. Can you > tell > > >> me > > >> > >> where > > >> > >> > our agent logs are on KVM? > > >> > >> > > > >> > >> > Originally I didn't have SSH installed, but I noticed that > > problem > > >> > while > > >> > >> > stepping through the debugger. After I installed it, the SSH > call > > >> went > > >> > >> > through just fine as far as the CSMS was concerned, so - as y= ou > > >> say - > > >> > I > > >> > >> was > > >> > >> > thinking I should take a look on the KVM side and see if mayb= e > an > > >> > error > > >> > >> > occurred that it didn't report back. > > >> > >> > > > >> > >> > > > >> > >> > On Thu, Aug 29, 2013 at 9:57 PM, Marcus Sorensen < > > >> shadowsor@gmail.com > > >> > >> > >wrote: > > >> > >> > > > >> > >> > > Normally the agent service starts and connects up. The mgmt > > >> server > > >> > >> uses > > >> > >> > ssh > > >> > >> > > to start the agent and set it up for the first time. You wi= ll > > >> > probably > > >> > >> > need > > >> > >> > > to look at the agent logs and see if it is having trouble > > >> connecting > > >> > >> to > > >> > >> > the > > >> > >> > > mgmt server or something (firewall?). > > >> > >> > > On Aug 29, 2013 9:55 PM, "Mike Tutkowski" < > > >> > >> mike.tutkowski@solidfire.com> > > >> > >> > > wrote: > > >> > >> > > > > >> > >> > > > So, now I'm trying to add a KVM host to CS and am having = a > > bit > > >> of > > >> > >> > trouble > > >> > >> > > > with LibvirtServerDiscoverer finding it (this line below: > > >> > >> List > > >> > >> > > > hosts =3D > > >> _resourceMgr.listAllUpAndEnabledHosts(Host.Type.Routing, > > >> > >> > > clusterId, > > >> > >> > > > podId, dcId);). > > >> > >> > > > > > >> > >> > > > private HostVO waitForHostConnect(long dcId, long > podId, > > >> > >> > > > longclusterId, String guid) { > > >> > >> > > > > > >> > >> > > > for (int i =3D 0; i < _waitTime * 2; i++) { > > >> > >> > > > > > >> > >> > > > List hosts =3D _resourceMgr > > >> > >> > > > .listAllUpAndEnabledHosts(Host.Type.Routing, clusterId, > > podId, > > >> > >> dcId); > > >> > >> > > > > > >> > >> > > > for (HostVO host : hosts) { > > >> > >> > > > > > >> > >> > > > if (host.getGuid().equalsIgnoreCase(guid)= ) > { > > >> > >> > > > > > >> > >> > > > return host; > > >> > >> > > > > > >> > >> > > > } > > >> > >> > > > > > >> > >> > > > } > > >> > >> > > > Any thoughts on how I might debug this? Is there a log on > the > > >> KVM > > >> > >> host > > >> > >> > I > > >> > >> > > > should be looking at? I don't see a relevant entry in my > > >> > cloud.host > > >> > >> > > table. > > >> > >> > > > > > >> > >> > > > Thanks! > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > On Thu, Aug 29, 2013 at 7:56 PM, Mike Tutkowski < > > >> > >> > > > mike.tutkowski@solidfire.com> wrote: > > >> > >> > > > > > >> > >> > > > > Thanks, Marty - that solved the problem! > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > On Thu, Aug 29, 2013 at 4:56 PM, Marty Sweet < > > >> > >> msweet.dev@gmail.com> > > >> > >> > > > wrote: > > >> > >> > > > > > > >> > >> > > > >> Hi Mike, > > >> > >> > > > >> > > >> > >> > > > >> Something like this should help: > > >> > >> > > > >> > > >> > http://en.kioskea.net/faq/809-debian-apt-get-no-pubkey-gpg-error > > >> > >> > > > >> > > >> > >> > > > >> Marty > > >> > >> > > > >> > > >> > >> > > > >> On Thursday, August 29, 2013, Mike Tutkowski wrote: > > >> > >> > > > >> > > >> > >> > > > >> > Any thoughts on this, Wei? > > >> > >> > > > >> > > > >> > >> > > > >> > W: GPG error: http://cloudstack.apt-get.eu precise > > >> Release: > > >> > >> The > > >> > >> > > > >> following > > >> > >> > > > >> > signatures couldn't be verified because the public k= ey > > is > > >> not > > >> > >> > > > available: > > >> > >> > > > >> > NO_PUBKEY BBFCFE5386C278E3 > > >> > >> > > > >> > > > >> > >> > > > >> > > > >> > >> > > > >> > > > >> > >> > > > >> > On Thu, Aug 29, 2013 at 4:21 PM, Mike Tutkowski < > > >> > >> > > > >> > mike.tutkowski@solidfire.com> wrote: > > >> > >> > > > >> > > > >> > >> > > > >> > > Thanks for the repo info, Wei! > > >> > >> > > > >> > > > > >> > >> > > > >> > > > > >> > >> > > > >> > > On Thu, Aug 29, 2013 at 4:19 PM, Wei ZHOU < > > >> > >> > ustcweizhou@gmail.com> > > >> > >> > > > >> wrote: > > >> > >> > > > >> > > > > >> > >> > > > >> > >> You need to add a repo, or download the deb files > and > > >> > >> install > > >> > >> > > them. > > >> > >> > > > >> > >> > > >> > >> > > > >> > >> for CentOS/RHEL, > > >> http://cloudstack.apt-get.eu/rhel/4.1/ > > >> > >> > > > >> > >> for Ubuntu, > > >> > >> > > > >> > > http://cloudstack.apt-get.eu/ubuntu/dists/precise/4.1/pool/ > > >> > >> > > > >> > >> > > >> > >> > > > >> > >> > > >> > >> > > > >> > >> 2013/8/29 Mike Tutkowski < > > mike.tutkowski@solidfire.com > > >> > > > >> > >> > > > >> > >> > > >> > >> > > > >> > >> > Maybe I need to add a repo for CloudStack? I > didn't > > >> see > > >> > >> that > > >> > >> > in > > >> > >> > > > the > > >> > >> > > > >> > KVM > > >> > >> > > > >> > >> > section, but perhaps it was earlier in the > > >> > documentation. > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > On Thu, Aug 29, 2013 at 3:35 PM, Mike Tutkowski= < > > >> > >> > > > >> > >> > mike.tutkowski@solidfire.com> wrote: > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > Hi, > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > For the past nine months that I've been worki= ng > > >> with > > >> > >> > > > CloudStack, > > >> > >> > > > >> > I've > > >> > >> > > > >> > >> > > exclusively used XenServer and ESXi as my > hosts. > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > I am now trying out KVM and following the > > >> instruction > > >> > >> here: > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > >> > >> > > > >> > > > >> > >> > > > >> > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > >> > > >> > > > >> > > > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.1/html/Inst= allation_Guide/hypervisor-kvm-install-flow.html > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > I am unable to install the cloudstack-agent > > >> package on > > >> > >> my > > >> > >> > KVM > > >> > >> > > > >> host > > >> > >> > > > >> > >> > (Ubuntu > > >> > >> > > > >> > >> > > 12.04.1), however. > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > mtutkowski@ubuntu:~$ sudo apt-get install > > >> > >> cloudstack-agent > > >> > >> > > > >> > >> > > Reading package lists... Done > > >> > >> > > > >> > >> > > Building dependency tree > > >> > >> > > > >> > >> > > Reading state information... Done > > >> > >> > > > >> > >> > > E: Unable to locate package cloudstack-agent > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > Any thoughts on this? > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > Thanks! > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > -- > > >> > >> > > > >> > >> > > *Mike Tutkowski* > > >> > >> > > > >> > >> > > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > >> > >> > > e: mike.tutkowski@solidfire.com > > >> > >> > > > >> > >> > > o: 303.746.7302 > > >> > >> > > > >> > >> > > Advancing the way the world uses the cloud< > > >> > >> > > > >> > >> > > http://solidfire.com/solution/overview/?video=3Dplay > > > > > >> > >> > > > >> > >> > > *=99* > > >> > >> > > > >> > >> > > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > -- > > >> > >> > > > >> > >> > *Mike Tutkowski* > > >> > >> > > > >> > >> > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > >> > >> > e: mike.tutkowski@solidfire.com > > >> > >> > > > >> > >> > o: 303.746.7302 > > >> > >> > > > >> > >> > Advancing the way the world uses the > > >> > >> > > > >> > >> > cloud< > > >> > http://solidfire.com/solution/overview/?video=3Dplay> > > >> > >> > > > >> > >> > *=99* > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > >> > >> > > > >> > > > > >> > >> > > > >> > > > > >> > >> > > > >> > > > > >> > >> > > > >> > > -- > > >> > >> > > > >> > > *Mike Tutkowski* > > >> > >> > > > >> > > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > >> > > e: mike.tutkowski@solidfire.com > > >> > >> > > > >> > > o: 303.746.7302 > > >> > >> > > > >> > > Advancing the way the world uses the cloud< > > >> > >> > > > >> > http://solidfire.com/solution/overview/?video=3Dplay= > > > >> > >> > > > >> > > *=99* > > >> > >> > > > >> > > > > >> > >> > > > >> > > > >> > >> > > > >> > > > >> > >> > > > >> > > > >> > >> > > > >> > -- > > >> > >> > > > >> > *Mike Tutkowski* > > >> > >> > > > >> > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > >> > e: mike.tutkowski@solidfire.com > > >> > >> > > > >> > o: 303.746.7302 > > >> > >> > > > >> > Advancing the way the world uses the > > >> > >> > > > >> > cloud< > > http://solidfire.com/solution/overview/?video=3Dplay > > >> > >> > > > >> > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > > > >> > >> > > > > -- > > >> > >> > > > > *Mike Tutkowski* > > >> > >> > > > > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > > e: mike.tutkowski@solidfire.com > > >> > >> > > > > o: 303.746.7302 > > >> > >> > > > > Advancing the way the world uses the cloud< > > >> > >> > > > http://solidfire.com/solution/overview/?video=3Dplay> > > >> > >> > > > > *=99* > > >> > >> > > > > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > > > >> > >> > > > -- > > >> > >> > > > *Mike Tutkowski* > > >> > >> > > > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > > > e: mike.tutkowski@solidfire.com > > >> > >> > > > o: 303.746.7302 > > >> > >> > > > Advancing the way the world uses the > > >> > >> > > > cloud > > >> > >> > > > *=99* > > >> > >> > > > > > >> > >> > > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > -- > > >> > >> > *Mike Tutkowski* > > >> > >> > *Senior CloudStack Developer, SolidFire Inc.* > > >> > >> > e: mike.tutkowski@solidfire.com > > >> > >> > o: 303.746.7302 > > >> > >> > Advancing the way the world uses the > > >> > >> > cloud > > >> > >> > *=99* > > >> > >> > > > >> > >> > > >> > > > > >> > > > > >> > > > > >> > > -- > > >> > > *Mike Tutkowski* > > >> > > *Senior CloudStack Developer, SolidFire Inc.* > > >> > > e: mike.tutkowski@solidfire.com > > >> > > o: 303.746.7302 > > >> > > Advancing the way the world uses the cloud< > > >> > http://solidfire.com/solution/overview/?video=3Dplay> > > >> > > *=99* > > >> > > > > >> > > > >> > > > >> > > > >> > -- > > >> > *Mike Tutkowski* > > >> > *Senior CloudStack Developer, SolidFire Inc.* > > >> > e: mike.tutkowski@solidfire.com > > >> > o: 303.746.7302 > > >> > Advancing the way the world uses the > > >> > cloud > > >> > *=99* > > >> > > > >> > > > > > > > > > > > > -- > > > *Mike Tutkowski* > > > *Senior CloudStack Developer, SolidFire Inc.* > > > e: mike.tutkowski@solidfire.com > > > o: 303.746.7302 > > > Advancing the way the world uses the cloud< > > http://solidfire.com/solution/overview/?video=3Dplay> > > > *=99* > > > > > > > > > > > -- > > *Mike Tutkowski* > > *Senior CloudStack Developer, SolidFire Inc.* > > e: mike.tutkowski@solidfire.com > > o: 303.746.7302 > > Advancing the way the world uses the > > cloud > > *=99* > > > --=20 *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkowski@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud *=99* --001a11c300daf2adce04e522af1d--