* Tempest configuration relies on having other services such as
Glance and Nova running and accepting requests. Previously,
configuration was happening before these services were started.
This change ensures that Tempest configuration is performed
after the necessary services have been started.
Change-Id: If0b6753dd51671fbc2a2cf6ad32ce9303d0a0479
| ... | ... |
@@ -935,9 +935,6 @@ fi |
| 935 | 935 |
if is_service_enabled cinder; then |
| 936 | 936 |
configure_cinder |
| 937 | 937 |
fi |
| 938 |
-if is_service_enabled tempest; then |
|
| 939 |
- configure_tempest |
|
| 940 |
-fi |
|
| 941 | 938 |
if is_service_enabled ryu || (is_service_enabled quantum && [[ "$Q_PLUGIN" = "ryu" ]]); then |
| 942 | 939 |
setup_develop $RYU_DIR |
| 943 | 940 |
fi |
| ... | ... |
@@ -2055,6 +2052,13 @@ if is_service_enabled g-reg; then |
| 2055 | 2055 |
fi |
| 2056 | 2056 |
|
| 2057 | 2057 |
|
| 2058 |
+# Configure Tempest last to ensure that the runtime configuration of |
|
| 2059 |
+# the various OpenStack services can be queried. |
|
| 2060 |
+if is_service_enabled tempest; then |
|
| 2061 |
+ configure_tempest |
|
| 2062 |
+fi |
|
| 2063 |
+ |
|
| 2064 |
+ |
|
| 2058 | 2065 |
# Run local script |
| 2059 | 2066 |
# ================ |
| 2060 | 2067 |
|