diff options
| author | Hui Kang <kangh@us.ibm.com> | 2015-12-28 08:03:25 +0000 |
|---|---|---|
| committer | Hui Kang <kangh@us.ibm.com> | 2015-12-29 06:39:35 -0500 |
| commit | 047dbf12e04554c24ee9245284e0880d594ce68a (patch) | |
| tree | 586747ade685de27b7ec6e0960348e5dc0f4dabb /doc | |
| parent | 9e9225d8e6f3ea98734a9627cd2d787a5d1dae84 (diff) | |
| download | kolla-047dbf12e04554c24ee9245284e0880d594ce68a.tar.gz kolla-047dbf12e04554c24ee9245284e0880d594ce68a.zip | |
Enable nova fake driver in nova containers
- See instructions in doc/nova-fake-driver.rst
Implements: blueprint nova-fake-driver
Change-Id: I553a40c2df39bdcc391eb1b8b2b8fd5f4ed48c33
Signed-off-by: Hui Kang <kangh@us.ibm.com>
Signed-off-by: Marcio D. Silva <marcios@us.ibm.com>
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/nova-fake-driver.rst | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/nova-fake-driver.rst b/doc/nova-fake-driver.rst new file mode 100644 index 000000000..33f46bead --- /dev/null +++ b/doc/nova-fake-driver.rst @@ -0,0 +1,34 @@ +Nova Fake Driver +================ + +One common question from OpenStack operators is that "how does the control plane +(e.g., database, messaging queue, nova-scheduler ) scales?". To answer this +question, operators setup Rally to drive workload to the OpenStack cloud. +However, without a large number of nova-compute nodes, it becomes difficult to +exercise the control performance. + +Given the built-in feature of Docker container, Kolla enables standing up many +many of nova-compute nodes with nova fake driver on a single host. For example, +we can create 100 nova-compute containers on a real host to simulate the +100-hypervisor workload to the nova-conductor and the messaging queue. + +Use nova-fake driver +--------------------- + +Nova fake driver can not work with all-in-one deployment. This is because the +fake neutron-openvswitch-agent for the fake nova-compute container conflicts +with neutron-openvswitch-agent on the compute nodes. Therefore, in the inventory +the network node must be different than the compute node. + +By default, Kolla uses libvirt driver on the compute node. To use nova-fake +driver, edit the following parameters in ansible/group_vars or in the +command line options. + +:: + + enable_nova_fake: "yes" + num_nova_fake_per_node: 5 + +Each compute nodes will run 5 nova-compute containers and 5 +neutron-plugin-agent containers. When booting instance, there will be no +real instances created. But "nova list" shows the fake instances. |
