b7d70c33d1
Heat allow to update 'allocation_pools' for subnet resource in Change: I26f96f712dfa9405814e26a06668db7a608e84b8, but the patch introduced a problem: if user remove the 'allocation_pools' from template when updating, heat will pass 'allocation_pools=None' to neutron, but neutron doesn't accept the None value for this property, an error will be raised: BadRequest: Invalid input for allocation_pools. Reason: Invalid data format for IP pool: 'None'. This patch will pass [] to neutron to fix this problem. Change-Id: I83e56d4494564de97717da6f6c0a9ae2cd9852dd Closes-Bug: #1511909 |
||
---|---|---|
.. | ||
common | ||
functional | ||
scenario | ||
.gitignore | ||
README.rst | ||
__init__.py | ||
config-generator.conf | ||
heat_integrationtests.conf.sample | ||
post_test_hook.sh | ||
pre_test_hook.sh | ||
prepare_test_env.sh | ||
prepare_test_network.sh | ||
requirements.txt |
README.rst
Heat integration tests
These tests can be run against any heat-enabled OpenStack cloud, however defaults match running against a recent DevStack.
To run the tests against DevStack, do the following:
# source DevStack credentials
source /opt/stack/devstack/openrc
# run the heat integration tests with those credentials
cd /opt/stack/heat
tox -eintegration
If custom configuration is required, copy the following file:
heat_integrationtests/heat_integrationtests.conf.sample
to:
heat_integrationtests/heat_integrationtests.conf
and make any required configuration changes before running:
tox -eintegration