Is it possible to run a multi node architecture in a single server for dev testing purpose ?

asked 2016-07-02 10:47:57 -0600

razgort gravatar image


Like i said in the title, i'd like to build a high availibity architecture with open stack / dev stack only on one server for testing purpose right now. I just want to emulate the high availibilty to be able to replicate that process late with multiple physical networks

Is it possible ? Do you guys know some good tutorial on how to achieve that ? A fast and easy way plz ^^ I don't have a lot of time to make my proof of concept.

Thx in advance,


edit retag flag offensive close merge delete


Not sure your original intend will be satisfied :-

A fast and easy way plz ^^ I don't have a lot of time to make my proof of concept.
For now it is fastest way of getting POC, for persons having some background with Ansible and heat nested stacks trobleshooting

dbaxps gravatar imagedbaxps ( 2016-07-03 10:15:41 -0600 )edit

3 answers

Sort by ยป oldest newest most voted

answered 2016-07-03 10:02:01 -0600

dbaxps gravatar image

updated 2016-07-03 16:06:35 -0600

Regarding POC for 3 Node Pacemaker/Corosync HA Controller's Cluster try TripleO Quickstart ( works only on CentOS 7.2, RHEL 7.2, 32 GB Ram)
Sample of deployment template

# Deploy an HA openstack environment.
control_memory: 6144
compute_memory: 6144
undercloud_memory: 8192

# Giving the undercloud additional CPUs can greatly improve heat's
# performance (and result in a shorter deploy time).
undercloud_vcpu: 4
# Create three controller nodes and one compute node.
  - name: control_0
    flavor: control
  - name: control_1
    flavor: control
  - name: control_2
    flavor: control

  - name: compute_0
    flavor: compute
  - name: compute_1
    flavor: compute
# We don't need introspection in a virtual environment (because we are
# creating all the "hardware" we really know the necessary
# information).
introspect: false

# Tell tripleo about our environment.
network_isolation: true
extra_args: >-
  --control-scale 3 --compute-scale 2 --neutron-network-type vxlan
  --neutron-tunnel-types vxlan
test_tempest: false
test_ping: true
enable_pacemaker: true

Then proceed from workstation

$ git clone
$ cd tripleo-quickstart
$ sudo bash --install-deps
$ sudo yum -y  install redhat-rpm-config
$export VIRTHOST= #put your own IP here
$ ssh-keygen
$ssh-copy-id root@$VIRTHOST
$ssh root@$VIRTHOST uname -a # no root login prompt

Then run under tripleo-quickstart

$ bash --config ./config/general_config/ha.yml  $VIRTHOST

Check report if undercloud VM has been set up :-

Access the undercloud by:
 ssh -F /home/boris/.quickstart/ssh.config.ansible undercloud

There are scripts in the home directory to continue the deploy: will deploy the overcloud will do any post-deploy configuration will run post-deploy validation

Details here :-

image description

See also

image description

You might find this blog very handy working on TripleO Quickstart

edit flag offensive delete link more

answered 2016-07-03 15:33:47 -0600

james-denton gravatar image

You may also want to try deploying OpenStack on a single host with OpenStack-Ansible using affinity. It will enable you to configure most of the services in a highly-available fashion using containers and haproxy. You can also run VMs on the same node or other nodes if you'd like. OSA uses LinuxBridge and not OVS for the time being.

More info can be found at:

edit flag offensive delete link more

answered 2016-07-03 16:19:05 -0600

razgort gravatar image

Ty for all these answers guys i'll try that tomorrow and tell you what i've succeed to achieve.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2016-07-02 10:46:07 -0600

Seen: 293 times

Last updated: Jul 03 '16