| ... | ... |
@@ -344,7 +344,9 @@ function configure_tempest {
|
| 344 | 344 |
iniset $TEMPEST_CONFIG compute flavor_ref $flavor_ref |
| 345 | 345 |
iniset $TEMPEST_CONFIG compute flavor_ref_alt $flavor_ref_alt |
| 346 | 346 |
iniset $TEMPEST_CONFIG compute ssh_connect_method $ssh_connect_method |
| 347 |
- iniset $TEMPEST_CONFIG compute fixed_network_name $PRIVATE_NETWORK_NAME |
|
| 347 |
+ if ! is_service_enabled n-cell; then |
|
| 348 |
+ iniset $TEMPEST_CONFIG compute fixed_network_name $PRIVATE_NETWORK_NAME |
|
| 349 |
+ fi |
|
| 348 | 350 |
|
| 349 | 351 |
# Compute Features |
| 350 | 352 |
# Run ``verify_tempest_config -ur`` to retrieve enabled extensions on API endpoints |
| ... | ... |
@@ -1213,13 +1213,6 @@ if is_service_enabled q-svc; then |
| 1213 | 1213 |
elif is_service_enabled $DATABASE_BACKENDS && is_service_enabled n-net; then |
| 1214 | 1214 |
NM_CONF=${NOVA_CONF}
|
| 1215 | 1215 |
if is_service_enabled n-cell; then |
| 1216 |
- # Both cells should have the same network uuid for server create |
|
| 1217 |
- if [[ ! "$NETWORK_CREATE_ARGS" =~ "--uuid" ]]; then |
|
| 1218 |
- NETWORK_CREATE_ARGS="$NETWORK_CREATE_ARGS --uuid $(uuidgen)" |
|
| 1219 |
- fi |
|
| 1220 |
- # Create a small network in the API cell |
|
| 1221 |
- $NOVA_BIN_DIR/nova-manage --config-file $NM_CONF network create "$PRIVATE_NETWORK_NAME" $FIXED_RANGE 1 $FIXED_NETWORK_SIZE $NETWORK_CREATE_ARGS |
|
| 1222 |
- # Everything else should go in the child cell |
|
| 1223 | 1216 |
NM_CONF=${NOVA_CELLS_CONF}
|
| 1224 | 1217 |
fi |
| 1225 | 1218 |
|