Having centos compute node

asked 2013-06-14 12:32:06 -0500

bv_arvind gravatar image

I am in a situation where controller runs fedora and compute nodes will be running centos. I am wondering if the centos has to be instlled with nova-compute or when adding the compute node to the controller config, it automatically installs it in the compute node. One more q I have is, if the centos based compute node has nova-compute installed in it, would the controlled reinstall it or just establishes connection with the existing agent?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2013-06-15 10:21:48 -0500

sgordon gravatar image

To add a compute node you will need to:

  1. Install the openstack-nova-compute package on the compute node (yum install -y openstack-nova-compute). If you intend to use Cinder volumes then the node will also need the python-cinderclient package.
  2. Update the /etc/nova/nova.conf file ensuring that these keys are set:
    • rpc_backend - RPC backend, usually cinder.openstack.common.rpc.impl_qpid for CentOS and other EL-based distributions.
    • qpid_hostname - IP address or host name of the Qpid message broker. If you have authentication setup for Qpid there are some other qpid_ related keys that will need to be populated.
    • sql_connection - Database connection string (only required on nodes that will run the conductor in Grizzly).

Once this is done start the openstack-nova-compute service (service openstack-nova-compute start) on the node, it will contact the controller using the message broker. If it succeeds then it will appear in the output of the nova-manager list command.

You may find additional hints/guidance in this chapter of the Red Hat documentation (this content is written for Red Hat OpenStack but should largely apply for RDO packages as well):


edit flag offensive delete link more

answered 2013-06-14 23:39:33 -0500

Sagar Ratnakara Nikam gravatar image

nova-compute needs to be installed in CentOS (your compute node)

And there should be a time-sync between controller and compute node. You can do that using ntpdate

If the controller and compute are in time-sync, on starting nova-compute service on compute node, it gets connected to the controller

executing the command nova-manage service list will return a " :) " for the compute node

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-06-14 12:32:06 -0500

Seen: 395 times

Last updated: Jun 15 '13