blob: 353758842b9232333bf4c8aa50d31cccc4ae3335 [file] [log] [blame]
Dmitry Tantsurea9af862018-03-14 16:48:48 +01001Full cloud with the Compute service and flat networking
2=======================================================
3
4This section documents running tempest on a full OpenStack cloud with the
5Compute, Image and Networking services enabled. The Bare Metal Introspection
6service (ironic-inspector) is not enabled. Flat networking is used.
7
8Prerequisite
9------------
10
11* `Create a bare metal flavor`_ in the Compute service in advance
12 and record its ID (``<flavor uuid>`` below).
13
14* `Create an image`_ to use for instances and record its ID (``<image uuid>``).
15 It can be either a whole disk or a partition image.
16
17* Create and record the name or UUID of a flat network to use for bare metal
18 instances (``<network name>``).
19
20* Get the minimum and maximum API versions that you want to test against.
21 Check the `API version history`_ to find the appropriate versions for
22 your deployment.
23
24 .. note:: The minimum version can usually be set to ``1.1``.
25
26* Enroll_ at least one node and make it ``available``.
27
28.. _Create a bare metal flavor: https://docs.openstack.org/ironic/latest/install/configure-nova-flavors.html
29.. _Create an image: https://docs.openstack.org/ironic/latest/install/configure-glance-images.html
30.. _API version history: https://docs.openstack.org/ironic/latest/contributor/webapi-version-history.html
31.. _Enroll: https://docs.openstack.org/ironic/latest/install/enrollment.html
32
33Configuration
34-------------
35
36.. code-block:: ini
37
38 [service_available]
39 # Enable ironic tests.
40 ironic = True
41
42 # Disable ironic-inspector tests.
43 ironic-inspector = False
44
45 [baremetal]
46 # Minimum and maximum API versions to test against.
47 min_microversion = <min API version as X.Y>
48 max_microversion = <max API version as X.Y>
49
50 [compute]
51 # Configure the bare metal flavor so that the Compute services provisions
52 # bare metal instances during the tests.
53 flavor_ref = <flavor uuid>
54 flavor_ref_alt = <flavor uuid>
55
56 # Configure the image to use.
57 image_ref = <image uuid>
58 image_ref_alt = <image uuid>
59
60 # Configure the network to use.
61 fixed_network_name = <network name>
62
63 [compute-feature-enabled]
64 # Ironic does not support this feature.
65 disk_config = False
66
67 # Not supported with flat networking.
68 interface_attach = False
69
70 [auth]
71 # Not supported with flat networking.
72 create_isolated_networks = False
73
74 [network]
75 # Required for flat networking.
76 shared_physical_network = True