cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Tutkowski <mike.tutkow...@solidfire.com>
Subject Re: KVM Assistance
Date Fri, 30 Aug 2013 05:16:54 GMT
I'm going to call it a night on this. :)

Thanks for all the help, Marcus!

If you have a sec, maybe you can tell me if you spot something odd in my
interfaces file:

auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
    address 172.16.140.5
    netmask 255.255.255.0
    gateway 172.16.140.1
    dns-nameservers 8.8.8.8 8.8.4.4
    dns-domain lab.example.org

# Public network
auto cloudbr0
iface cloudbr0 inet manual
    bridge_ports eth0.200
    bridge_fd 5
    bridge_stp off
    bridge_maxwait 1

# Private network
auto cloudbr1
iface cloudbr1 inet manual
    bridge_ports eth0.300
    bridge_fd 5
    bridge_stp off
    bridge_maxwait 1


On Thu, Aug 29, 2013 at 11:03 PM, Mike Tutkowski <
mike.tutkowski@solidfire.com> wrote:

> I figured out how to assign a password to root on Ubuntu, but that didn't
> solve the problem.
>
> As I thought about it more, I'm actually running the 4.2 CSMS, but the 4.1
> version of the agent code on the KVM host.
>
> I'm not sure how to deploy the newest agent code from the 4.2 branch to
> the KVM host, though. Would you be able to tell me how to do that, Marcus?
>
> Is there any Java code of ours on the KVM host or is it all in the form of
> scripts?
>
> Thanks!
>
>
> On Thu, Aug 29, 2013 at 10:30 PM, Mike Tutkowski <
> mike.tutkowski@solidfire.com> wrote:
>
>> 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 <shadowsor@gmail.com>wrote:
>>
>>> 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
>>> and
>>> privileges to libvirtd.
>>> On Aug 29, 2013 10:25 PM, "Mike Tutkowski" <mike.tutkowski@solidfire.com
>>> >
>>> 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 <
>>> shadowsor@gmail.com
>>> > >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=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0
>>> > >> > >
>>> > >> > >
>>> > >> > > 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
>>> log
>>> > 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
>>> 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
<
>>> > >> 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
>>> 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.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<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.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
>>> key
>>> > 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
>>> 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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@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.tutkowski@solidfire.com
o: 303.746.7302
Advancing the way the world uses the
cloud<http://solidfire.com/solution/overview/?video=play>
*™*

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message