settingsLogin | Registersettings

[openstack-dev] [devstack] Devstack Multinode on CentOS

0 votes

Hello, everyone!

I've been trying to install a multinode Devstack on CentOS. I ran stack.sh
on both controller and compute node. The controller works fine, but the
compute node is not working properly as a host. Looks like it's just
pointing to the controller, once I run "nova host-list" and I only get the
the controller host.

I've folowed all the steps described on the guide (
http://devstack.org/guides/multinode-lab.html) and it worked on Ubuntu
Server, but not on CentOS.

Can anyone help me?

Thanks!

--
--
Henrique Truta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openstack.org/pipermail/openstack-dev/attachments/20140519/3fd5c7a4/attachment.html

asked May 19, 2014 in openstack-dev by henriquecostatruta_a (900 points)   1 2
retagged Feb 25, 2015 by admin

6 Responses

0 votes

On Mon, May 19, 2014 at 04:44:05PM EDT, Henrique Truta wrote:
Hello, everyone!

I've been trying to install a multinode Devstack on CentOS. I ran stack.sh
on both controller and compute node. The controller works fine, but the
compute node is not working properly as a host. Looks like it's just
pointing to the controller, once I run "nova host-list" and I only get the
the controller host.

Are you setting SERVICEHOST, MYSQLHOST, RABBIT_HOST correctly? Are you
able to post your configs for compute and control nodes?

--
Sean M. Collins

responded May 19, 2014 by Collins,_Sean (4,400 points)   4 4
0 votes

Yes, I am.

Controller localrc: http://paste.openstack.org/show/80953/

Compute node localrc: http://paste.openstack.org/show/80955/

2014-05-19 17:51 GMT-03:00 Collins, Sean :

On Mon, May 19, 2014 at 04:44:05PM EDT, Henrique Truta wrote:

Hello, everyone!

I've been trying to install a multinode Devstack on CentOS. I ran
stack.sh
on both controller and compute node. The controller works fine, but the
compute node is not working properly as a host. Looks like it's just
pointing to the controller, once I run "nova host-list" and I only get
the
the controller host.

Are you setting SERVICEHOST, MYSQLHOST, RABBIT_HOST correctly? Are you
able to post your configs for compute and control nodes?

--
Sean M. Collins


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
--
?talo Henrique Costa Truta
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded May 19, 2014 by henriquecostatruta_a (900 points)   1 2
0 votes

On Mon, May 19, 2014 at 05:00:26PM EDT, Henrique Truta wrote:
Controller localrc: http://paste.openstack.org/show/80953/

Compute node localrc: http://paste.openstack.org/show/80955/

These look backwards. The first pastebin link has no enabled services,
while the pastebin you say is the compute node appears to have API
services running in the enabled_services list.

So - here's an example from my lab:

Controller localrc:

Nova

disableservice n-net
enable
service n-cpu

Neutron

ENABLED_SERVICES+=,neutron,q-svc,q-dhcp,q-meta,q-agt

Compute localrc:

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt

--
Sean M. Collins

responded May 19, 2014 by Collins,_Sean (4,400 points)   4 4
0 votes

Hello, Sean!

I'm trying to use Nova Network instead of Neutron due to its simplicity,
that's why I didn't specify any of this on the controller.

On the compute node, I enabled "n-cpu,n-net,n-api,c-sch,c-api,c-vol",
because that's what I thought were needed to become a Host... I'll try to
disable the Cinder API.

The most strange part is that I run stack.sh on the compute node, and ir
runs ok, but it doesn't create anything. Appearantly, it only uses the API
on the Controller :/

2014-05-19 18:10 GMT-03:00 Collins, Sean :

On Mon, May 19, 2014 at 05:00:26PM EDT, Henrique Truta wrote:

These look backwards. The first pastebin link has no enabled services,
while the pastebin you say is the compute node appears to have API
services running in the enabled_services list.

So - here's an example from my lab:

Controller localrc:

Nova

disableservice n-net
enable
service n-cpu

Neutron

ENABLED_SERVICES+=,neutron,q-svc,q-dhcp,q-meta,q-agt

Compute localrc:

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt

--
Sean M. Collins


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
--
?talo Henrique Costa Truta
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded May 20, 2014 by henriquecostatruta_a (900 points)   1 2
0 votes

API should only be on the controller. You only want compute services
(n-cpu, n-net, c-vol) on the computes.

You also need to set MULTI_HOST="True" for nova network. Some examples
of working config at -
https://github.com/sdague/devstack-vagrant/blob/master/puppet/modules/devstack/templates/local.erb

Somewhere on my large TODO is to get this info back into the devstack
README (it used to be there).

-Sean

On 05/20/2014 10:15 AM, Henrique Truta wrote:
Hello, Sean!

I'm trying to use Nova Network instead of Neutron due to its simplicity,
that's why I didn't specify any of this on the controller.

On the compute node, I enabled "n-cpu,n-net,n-api,c-sch,c-api,c-vol",
because that's what I thought were needed to become a Host... I'll try
to disable the Cinder API.

The most strange part is that I run stack.sh on the compute node, and ir
runs ok, but it doesn't create anything. Appearantly, it only uses the
API on the Controller :/

2014-05-19 18:10 GMT-03:00 Collins, Sean
>:

On Mon, May 19, 2014 at 05:00:26PM EDT, Henrique Truta wrote:
> Controller localrc: http://paste.openstack.org/show/80953/
>
> Compute node localrc: http://paste.openstack.org/show/80955/

These look backwards. The first pastebin link has no enabled services,
while the pastebin you say is the compute node appears to have API
services running in the enabled_services list.

So - here's an example from my lab:

Controller localrc:

# Nova
disable_service n-net
enable_service n-cpu

# Neutron
ENABLED_SERVICES+=,neutron,q-svc,q-dhcp,q-meta,q-agt

Compute localrc:

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt


--
Sean M. Collins
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
--
?talo Henrique Costa Truta


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Sean Dague
http://dague.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 482 bytes
Desc: OpenPGP digital signature
URL:

responded May 20, 2014 by Sean_Dague (66,200 points)   4 12 22
0 votes

Hello, Dague!

Thanks for the support, but it's still not working. Have you tested it on
CentOS?

Do you have the controller config example? The one in the Multinode page
didn't work for me.

2014-05-20 11:35 GMT-03:00 Sean Dague :

API should only be on the controller. You only want compute services
(n-cpu, n-net, c-vol) on the computes.

You also need to set MULTI_HOST="True" for nova network. Some examples
of working config at -

https://github.com/sdague/devstack-vagrant/blob/master/puppet/modules/devstack/templates/local.erb

Somewhere on my large TODO is to get this info back into the devstack
README (it used to be there).

    -Sean

On 05/20/2014 10:15 AM, Henrique Truta wrote:

Hello, Sean!

I'm trying to use Nova Network instead of Neutron due to its simplicity,
that's why I didn't specify any of this on the controller.

On the compute node, I enabled "n-cpu,n-net,n-api,c-sch,c-api,c-vol",
because that's what I thought were needed to become a Host... I'll try
to disable the Cinder API.

The most strange part is that I run stack.sh on the compute node, and ir
runs ok, but it doesn't create anything. Appearantly, it only uses the
API on the Controller :/

2014-05-19 18:10 GMT-03:00 Collins, Sean
<SeanCollins2 at cable.comcast.com <mailto:SeanCollins2 at cable.comcast.com

:

On Mon, May 19, 2014 at 05:00:26PM EDT, Henrique Truta wrote:
> Controller localrc: http://paste.openstack.org/show/80953/
>
> Compute node localrc: http://paste.openstack.org/show/80955/

These look backwards. The first pastebin link has no enabled

services,
while the pastebin you say is the compute node appears to have API
services running in the enabled_services list.

So - here's an example from my lab:

Controller localrc:

# Nova
disable_service n-net
enable_service n-cpu

# Neutron
ENABLED_SERVICES+=,neutron,q-svc,q-dhcp,q-meta,q-agt

Compute localrc:

ENABLED_SERVICES=n-cpu,rabbit,neutron,q-agt


--
Sean M. Collins
_______________________________________________
OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
<mailto:OpenStack-dev at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
--
?talo Henrique Costa Truta


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
Sean Dague
http://dague.net


OpenStack-dev mailing list
OpenStack-dev at lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

--
--
?talo Henrique Costa Truta
-------------- next part --------------
An HTML attachment was scrubbed...
URL:

responded May 21, 2014 by henriquecostatruta_a (900 points)   1 2
...