You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Brian Smith <bm...@gmail.com> on 2016/04/30 17:50:29 UTC

Issue Joining host to Cluster

Hello,
I am setting up a new proof of concept for deployment. I am hitting a few
snags here and there but thanks to some users in the IRC chat, I have made
some progress.

I have tried to deploy this cluster about 5 times now. I am having a
problem where I did not have a problem before.

I am trying to join my first KVM host into "Cluster1."

The KVM and Management hosts are all on 10.32.0.0/24.

When I use the Web GUI to add the host, I see this in the management server
logs:

Trying to add a new host at http://node01.clt.bigbrainglobal.net in data
center 1
Executing cmd: lsmod|grep kvm
lsmod|grep kvm output:kvm_intel              55656  0
kvm                   345659  1 kvm_intel

2016-04-30 11:47:45,135 DEBUG [c.c.u.s.SSHCmdHelper]
(catalina-exec-22:ctx-4374bac7 ctx-d5ac14f7) (logid:71d7250d) Executing
cmd: cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm


Executing cmd: cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm



cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm output:Starting to configure your
system:
Configure Cgroup ...          [OK]
Configure SElinux ...         [OK]
Configure Network ...         [OK]
Configure Libvirt ...         [OK]
Configure Firewall ...        [OK]
Configure Nfs ...             [OK]
Configure cloudAgent ...      [OK]
CloudStack Agent setup is done

I did noticed that when I kick off the add cluster prompt in the web gui,
IPTables seems to start up, even if it is disabled. Perhaps this is a
script on the cloudstack-agent setup.

Any help would be greatly appreciated.

Re: Issue Joining host to Cluster

Posted by Brian Smith <bm...@gmail.com>.
Simon,
I appreciate your assistance with this. As it turns out, I deployed this
last night (half asleep) and I did not run YUM UPDATE on my management
host. In doing so, several packages updated and rebooted the host. Once
rebooted, everything connected up just fine. Now, I just need to work on
the networking portion which I am deathly afraid of.

Again, thank you.

On Sat, Apr 30, 2016 at 1:59 PM, Simon Weller <sw...@ena.com> wrote:

> I'm mobile currently...but it looks like libvirtd isn't running. Can you
> start it with systemctl start libvirtd?
>
> - Si
>
> Simon Weller/ENA
> (615) 312-6068
>
> -----Original Message-----
> From: Brian Smith [bmsmithvb@gmail.com]
> Received: Saturday, 30 Apr 2016, 12:19PM
> To: users@cloudstack.apache.org [users@cloudstack.apache.org]
> Subject: Re: Issue Joining host to Cluster
>
> Pardon me: I should have also added the rest of the log. Here is where it
> failed to start: http://pastebin.com/U1bjQd10
>
> On Sat, Apr 30, 2016 at 1:10 PM, Brian Smith <bm...@gmail.com> wrote:
>
> > Thank you Simon.
> >
> > I corrected the typo from the guest network interface.
> >
> > On the hypervisor:
> > [root@node01 ~]# service cloudstack-agent status
> > cloudstack-agent dead but subsys locked
> >
> > I have run the command for place the agent in debug mode. When I try to
> > manually start the agent this appears - > http://prntscr.com/ayqts0
> >
> > Logs from the agent on a "cloudstack-agent restart" command on the KVM
> > host - > http://pastebin.com/EeLqP0Vw
> >
> >
> >
>

RE: Issue Joining host to Cluster

Posted by Simon Weller <sw...@ena.com>.
I'm mobile currently...but it looks like libvirtd isn't running. Can you start it with systemctl start libvirtd?

- Si

Simon Weller/ENA
(615) 312-6068

-----Original Message-----
From: Brian Smith [bmsmithvb@gmail.com]
Received: Saturday, 30 Apr 2016, 12:19PM
To: users@cloudstack.apache.org [users@cloudstack.apache.org]
Subject: Re: Issue Joining host to Cluster

Pardon me: I should have also added the rest of the log. Here is where it
failed to start: http://pastebin.com/U1bjQd10

On Sat, Apr 30, 2016 at 1:10 PM, Brian Smith <bm...@gmail.com> wrote:

> Thank you Simon.
>
> I corrected the typo from the guest network interface.
>
> On the hypervisor:
> [root@node01 ~]# service cloudstack-agent status
> cloudstack-agent dead but subsys locked
>
> I have run the command for place the agent in debug mode. When I try to
> manually start the agent this appears - > http://prntscr.com/ayqts0
>
> Logs from the agent on a "cloudstack-agent restart" command on the KVM
> host - > http://pastebin.com/EeLqP0Vw
>
>
>

Re: Issue Joining host to Cluster

Posted by Brian Smith <bm...@gmail.com>.
Pardon me: I should have also added the rest of the log. Here is where it
failed to start: http://pastebin.com/U1bjQd10

On Sat, Apr 30, 2016 at 1:10 PM, Brian Smith <bm...@gmail.com> wrote:

> Thank you Simon.
>
> I corrected the typo from the guest network interface.
>
> On the hypervisor:
> [root@node01 ~]# service cloudstack-agent status
> cloudstack-agent dead but subsys locked
>
> I have run the command for place the agent in debug mode. When I try to
> manually start the agent this appears - > http://prntscr.com/ayqts0
>
> Logs from the agent on a "cloudstack-agent restart" command on the KVM
> host - > http://pastebin.com/EeLqP0Vw
>
>
>

Re: Issue Joining host to Cluster

Posted by Brian Smith <bm...@gmail.com>.
Thank you Simon.

I corrected the typo from the guest network interface.

On the hypervisor:
[root@node01 ~]# service cloudstack-agent status
cloudstack-agent dead but subsys locked

I have run the command for place the agent in debug mode. When I try to
manually start the agent this appears - > http://prntscr.com/ayqts0

Logs from the agent on a "cloudstack-agent restart" command on the KVM host
- > http://pastebin.com/EeLqP0Vw

Re: Issue Joining host to Cluster

Posted by Simon Weller <sw...@ena.com>.
Hi Brian,

Firstly, I noticed a possible type in your guest network interface - --guestNic=cloubr1 .

Can you provide some additional logs from the management server and also from your host under /var/log/cloudstack/agent/agent.log

It looks to me as if your agent isn't starting on your host. You can also place the agent in debug mode by running sed -i 's/INFO/DEBUG/g' /etc/cloudstack/agent/log4j-cloud.xml on the host.

- Si

________________________________________
From: Brian Smith <bm...@gmail.com>
Sent: Saturday, April 30, 2016 10:50 AM
To: users@cloudstack.apache.org
Subject: Issue Joining host to Cluster

Hello,
I am setting up a new proof of concept for deployment. I am hitting a few
snags here and there but thanks to some users in the IRC chat, I have made
some progress.

I have tried to deploy this cluster about 5 times now. I am having a
problem where I did not have a problem before.

I am trying to join my first KVM host into "Cluster1."

The KVM and Management hosts are all on 10.32.0.0/24.

When I use the Web GUI to add the host, I see this in the management server
logs:

Trying to add a new host at http://node01.clt.bigbrainglobal.net in data
center 1
Executing cmd: lsmod|grep kvm
lsmod|grep kvm output:kvm_intel              55656  0
kvm                   345659  1 kvm_intel

2016-04-30 11:47:45,135 DEBUG [c.c.u.s.SSHCmdHelper]
(catalina-exec-22:ctx-4374bac7 ctx-d5ac14f7) (logid:71d7250d) Executing
cmd: cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm


Executing cmd: cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm



cloudstack-setup-agent  -m 10.32.0.97 -z 1 -p 1 -c 1 -g
c8a7b6d9-f24f-3725-bc00-9151d14a0239 -a --pubNic=cloudbr1 --prvNic=cloudbr0
--guestNic=cloubr1 --hypervisor=kvm output:Starting to configure your
system:
Configure Cgroup ...          [OK]
Configure SElinux ...         [OK]
Configure Network ...         [OK]
Configure Libvirt ...         [OK]
Configure Firewall ...        [OK]
Configure Nfs ...             [OK]
Configure cloudAgent ...      [OK]
CloudStack Agent setup is done

I did noticed that when I kick off the add cluster prompt in the web gui,
IPTables seems to start up, even if it is disabled. Perhaps this is a
script on the cloudstack-agent setup.

Any help would be greatly appreciated.