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.tutkow...@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 <shadow...@gmail.com>wrote: > >> Is the agent running? Or perhaps cloud-setup-agent? >> On Aug 29, 2013 10:13 PM, "Mike Tutkowski" <mike.tutkow...@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.tutkow...@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=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 >> > > >> > > >> > > On Thu, Aug 29, 2013 at 10:07 PM, Marcus Sorensen < >> shadow...@gmail.com >> > >wrote: >> > > >> > >> /var/log/cloudstack/agent/agent.log ... There is also a setup log in >> > that >> > >> location to see if something in the agent setup went awry. >> > >> On Aug 29, 2013 10:05 PM, "Mike Tutkowski" < >> > mike.tutkow...@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 you >> say - >> > I >> > >> was >> > >> > thinking I should take a look on the KVM side and see if maybe an >> > error >> > >> > occurred that it didn't report back. >> > >> > >> > >> > >> > >> > On Thu, Aug 29, 2013 at 9:57 PM, Marcus Sorensen < >> shadow...@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 will >> > 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.tutkow...@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<HostVO> >> > >> > > > hosts = >> _resourceMgr.listAllUpAndEnabledHosts(Host.Type.Routing, >> > >> > > clusterId, >> > >> > > > podId, dcId);). >> > >> > > > >> > >> > > > private HostVO waitForHostConnect(long dcId, long podId, >> > >> > > > longclusterId, String guid) { >> > >> > > > >> > >> > > > for (int i = 0; i < _waitTime * 2; i++) { >> > >> > > > >> > >> > > > List<HostVO> hosts = _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.tutkow...@solidfire.com> wrote: >> > >> > > > >> > >> > > > > Thanks, Marty - that solved the problem! >> > >> > > > > >> > >> > > > > >> > >> > > > > On Thu, Aug 29, 2013 at 4:56 PM, Marty Sweet < >> > >> msweet....@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 key is >> not >> > >> > > > available: >> > >> > > > >> > NO_PUBKEY BBFCFE5386C278E3 >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > On Thu, Aug 29, 2013 at 4:21 PM, Mike Tutkowski < >> > >> > > > >> > mike.tutkow...@solidfire.com> wrote: >> > >> > > > >> > >> > >> > > > >> > > Thanks for the repo info, Wei! >> > >> > > > >> > > >> > >> > > > >> > > >> > >> > > > >> > > On Thu, Aug 29, 2013 at 4:19 PM, Wei ZHOU < >> > >> > ustcweiz...@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.tutkow...@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.tutkow...@solidfire.com> wrote: >> > >> > > > >> > >> > >> > >> > > > >> > >> > > Hi, >> > >> > > > >> > >> > > >> > >> > > > >> > >> > > For the past nine months that I've been working >> 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/Installation_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.tutkow...@solidfire.com >> > >> > > > >> > >> > > o: 303.746.7302 >> > >> > > > >> > >> > > Advancing the way the world uses the cloud< >> > >> > > > >> > >> > http://solidfire.com/solution/overview/?video=play> >> > >> > > > >> > >> > > *™* >> > >> > > > >> > >> > > >> > >> > > > >> > >> > >> > >> > > > >> > >> > >> > >> > > > >> > >> > >> > >> > > > >> > >> > -- >> > >> > > > >> > >> > *Mike Tutkowski* >> > >> > > > >> > >> > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > > > >> > >> > e: mike.tutkow...@solidfire.com >> > >> > > > >> > >> > o: 303.746.7302 >> > >> > > > >> > >> > Advancing the way the world uses the >> > >> > > > >> > >> > cloud< >> > http://solidfire.com/solution/overview/?video=play> >> > >> > > > >> > >> > *™* >> > >> > > > >> > >> > >> > >> > > > >> > >> >> > >> > > > >> > > >> > >> > > > >> > > >> > >> > > > >> > > >> > >> > > > >> > > -- >> > >> > > > >> > > *Mike Tutkowski* >> > >> > > > >> > > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > > > >> > > e: mike.tutkow...@solidfire.com >> > >> > > > >> > > o: 303.746.7302 >> > >> > > > >> > > Advancing the way the world uses the cloud< >> > >> > > > >> > http://solidfire.com/solution/overview/?video=play> >> > >> > > > >> > > *™* >> > >> > > > >> > > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > >> > >> > > > >> > -- >> > >> > > > >> > *Mike Tutkowski* >> > >> > > > >> > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > > > >> > e: mike.tutkow...@solidfire.com >> > >> > > > >> > o: 303.746.7302 >> > >> > > > >> > Advancing the way the world uses the >> > >> > > > >> > cloud<http://solidfire.com/solution/overview/?video=play >> > >> > > > >> >> > >> > > > > >> > >> > > > > >> > >> > > > > >> > >> > > > > -- >> > >> > > > > *Mike Tutkowski* >> > >> > > > > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > > > > e: mike.tutkow...@solidfire.com >> > >> > > > > o: 303.746.7302 >> > >> > > > > Advancing the way the world uses the cloud< >> > >> > > > http://solidfire.com/solution/overview/?video=play> >> > >> > > > > *™* >> > >> > > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > >> > > > -- >> > >> > > > *Mike Tutkowski* >> > >> > > > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > > > e: mike.tutkow...@solidfire.com >> > >> > > > o: 303.746.7302 >> > >> > > > Advancing the way the world uses the >> > >> > > > cloud<http://solidfire.com/solution/overview/?video=play> >> > >> > > > *™* >> > >> > > > >> > >> > > >> > >> > >> > >> > >> > >> > >> > >> > -- >> > >> > *Mike Tutkowski* >> > >> > *Senior CloudStack Developer, SolidFire Inc.* >> > >> > e: mike.tutkow...@solidfire.com >> > >> > o: 303.746.7302 >> > >> > Advancing the way the world uses the >> > >> > cloud<http://solidfire.com/solution/overview/?video=play> >> > >> > *™* >> > >> > >> > >> >> > > >> > > >> > > >> > > -- >> > > *Mike Tutkowski* >> > > *Senior CloudStack Developer, SolidFire Inc.* >> > > e: mike.tutkow...@solidfire.com >> > > o: 303.746.7302 >> > > Advancing the way the world uses the cloud< >> > http://solidfire.com/solution/overview/?video=play> >> > > *™* >> > > >> > >> > >> > >> > -- >> > *Mike Tutkowski* >> > *Senior CloudStack Developer, SolidFire Inc.* >> > e: mike.tutkow...@solidfire.com >> > o: 303.746.7302 >> > Advancing the way the world uses the >> > cloud<http://solidfire.com/solution/overview/?video=play> >> > *™* >> > >> > > > > -- > *Mike Tutkowski* > *Senior CloudStack Developer, SolidFire Inc.* > e: mike.tutkow...@solidfire.com > o: 303.746.7302 > Advancing the way the world uses the > cloud<http://solidfire.com/solution/overview/?video=play> > *™* > -- *Mike Tutkowski* *Senior CloudStack Developer, SolidFire Inc.* e: mike.tutkow...@solidfire.com o: 303.746.7302 Advancing the way the world uses the cloud<http://solidfire.com/solution/overview/?video=play> *™*