summaryrefslogtreecommitdiff
path: root/heat_integrationtests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Add support for a resource level external_id"Jenkins2016-08-151-0/+83
|\
| * Add support for a resource level external_idricolin2016-08-121-0/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds support for the following to the template: heat_template_version: 2016-10-14 resources: ... res_a: type: OS::Nova::Server external_id: the-new-server-id properties: ... Co-Authored-By: Rico Lin <rico.l@inwinstack.com> blueprint external-resources Change-Id: I8fda1380504d1d8b1e96649bf20b86d6309fdeca
* | Merge "Fix path_in_stack for scheduler hints"Jenkins2016-08-141-0/+1
|\ \ | |/ |/|
| * Fix path_in_stack for scheduler hintsRabi Mishra2016-08-051-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Nova expects scheduler_hints to be a DictOfListOfStrings in the object layer(versioned objects), though there is no limitation for this in the api layer. Thefore sending a list of tuples as a scheduler_hint results in error. This also sets stack_scheduler_hints=true for integration tests. Change-Id: Id7575f67657fab86acb22d86807127dda45305d5 Closes-Bug: #1608452
* | Merge "Adopt tempest plugin config namespace"Jenkins2016-08-114-15/+26
|\ \ | |/ |/|
| * Adopt tempest plugin config namespaceSteve Baker2016-08-034-15/+26
| | | | | | | | | | | | | | | | | | | | | | As a transition strategy to running heat_integrationtests as a tempest plugin, this change puts the test config values in the "heat_plugin" section. This will allow for either test runner to be used during the transition. blueprint tempest-plugin-support Change-Id: I2eab50be92c998aeb1ee98011908a9828a7efe6c
* | Merge "Add scenario test_server_signal"Jenkins2016-08-042-0/+178
|\ \
| * | Add scenario test_server_signalSteve Baker2016-08-042-0/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is similar to test_server_cfn_init with the following differences: - Use heat instead of AWS resources - Use HOT template format - Create and configure a neutron network which the server will be booted into The last difference will allow the tempest test tempest.api.orchestration.stacks.test_neutron_resources to be deleted. This tempest test is more appropriate as a scenario test, so it wouldn't even be considered for defcore and really doesn't belong in tempest. Change-Id: Id4f76be2114fb07b3c608d7d0ec0f76f43ad1d21
* | | Remove additional purge testThomas Herve2016-08-031-42/+0
| |/ |/| | | | | | | | | | | | | | | | | We recently added a new integration test for purge to check purge per project. It doesn't provide much more testing, and we can't actually have 2 purge tests because they can't run in parallel to each other, so let's remove it for now. Change-Id: I9f0b97adae9ea532bc2453441c327e30b849d006 Closes-Bug: #1608910
* | Merge "Purge deleted stacks for specific project"Jenkins2016-08-021-0/+42
|\ \
| * | Purge deleted stacks for specific projectAla Rezmerita2016-07-201-0/+42
| | | | | | | | | | | | | | | | | | | | | | | | Add project-id argument to heat-manage purge_deleted command in order to be able to hard delete DB entries for a specific project. Change-Id: Ifffe5657a40ce97db9d059ff1516b8e1eb801132 Implements: bp heat-manage-purge-deleted-tenant
* | | Merge "Supplement:use assertEqual() instead of assertDictEqual()"Jenkins2016-08-021-1/+1
|\ \ \ | |_|/ |/| |
| * | Supplement:use assertEqual() instead of assertDictEqual()shizhihui2016-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | we can use assertEqual() instead of assertDictEqual(). This will make the unit test code more consistent, and will also simplify the development of unit tests. This patch is left by the patch above of mine. Change-Id: I05cdbb3fde2476f0e92dd0aca1d44d21a4f2af69
* | | Merge "Explicitly set heat.conf logging_exception_prefix"Jenkins2016-08-011-0/+1
|\ \ \
| * | | Explicitly set heat.conf logging_exception_prefixSteve Baker2016-07-291-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Gate logs for heat jobs really need to log stack traces with TRACE instead of ERROR because some traces are being printed by passing exc_info=True to LOG.info so they are not actual errors. TRACE should be the default for oslo.log but something in the gate setup is setting it to ERROR. Setting explicitly here restores the desired pattern and protects against gate default overrides. Change-Id: Id85287324fa6dc79d67fb1ed37c3f256d661133e Closes-Bug: #1606404
* | | Merge "Add an integration for server using neutron"Jenkins2016-07-291-5/+45
|\ \ \
| * | | Add an integration for server using neutronThomas Herve2016-07-281-5/+45
| |/ / | | | | | | | | | | | | | | | | | | This adds a new test which actually trigger the 'is_using_neutron' resource method by creating a server using a port. Change-Id: Ic9a3f42fa5b24048472256832496eb630cdba2c9
* | | Increase default sighup_timeoutrabi2016-07-281-1/+1
|/ / | | | | | | | | | | | | | | | | It seems at times it takes more time than the current default for the child processes to exit normally. Increasing it to 120 seconds. Change-Id: Ic54d2d7edc97cbe07ed4a4445cb865bd1b157f9d Closes-Bug: #1607177
* | Merge "Correct reraising of exception"Jenkins2016-07-262-9/+2
|\ \
| * | Correct reraising of exceptionBin Zhou2016-07-112-9/+2
| | | | | | | | | | | | | | | | | | | | | when an exception was caught and rethrown, it should call 'raise' without any arguments. Change-Id: Id31c042bab14097b13e9ef8c088ff637dc85903f
* | | Unskip AutoscalingLoadBalancerv2TestThomas Herve2016-07-211-1/+1
| |/ |/| | | | | | | | | | | Now that the neutron-lbaas patch has been reverted, let's unskip it. Change-Id: Ife6cbac2b64a011ebd89f8b1c15d8cdc18b5d963
* | Skip AutoscalingLoadBalancerv2Testrabi2016-07-181-1/+1
| | | | | | | | | | Change-Id: I3ed0d07eb2d2ba067043821491f1f35fada22322 Related-Bug: #1603860
* | Merge "Use Fedora 24 base image"Jenkins2016-07-131-1/+1
|\ \
| * | Use Fedora 24 base imageThomas Herve2016-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | | Use the standard base image for now, it's smaller and we don't need the full custom image. Change-Id: Ifaccf340f0ff4eac52b1eeef5914b7e90f2687da
* | | Propage errors in post test hookThomas Herve2016-07-111-1/+1
|/ / | | | | | | | | | | | | If prepare scripts fail, we don't want to run the tests. Add error option to exit early. Change-Id: I23a0f51f8252beee7c1cd7a9bdf2002884266a71
* | Remove unused LOG to keep code cleanzhanghao2016-07-102-7/+0
| | | | | | | | | | | | TrivialFix Change-Id: I2e1985306da45f8f9021122590ffdc8b5d44f476
* | Fail the test run if image download failsThomas Herve2016-07-061-0/+6
|/ | | | | | | | | | When we run the integration tests, we download the test image that we need and upload it on the fly. If the download is aborted because of some network problem, the image is incorrect, but we still try to run the tests and boot servers with it. We should fail early instead. Change-Id: I8797440086206749c9098dcd42b84d95426fbf3e Closes-Bug: #1534026
* Merge "Pass keystone session to clients"Jenkins2016-07-061-35/+6
|\
| * Pass keystone session to clientsRabi Mishra2016-06-071-35/+6
| | | | | | | | | | | | | | | | | | | | Pass keystone session while initializing clients for integration tests. Swift client does not support session yet and using keystone session for heat client results in failure with reload of heat-api in test_reload_on_sighup functional test. Change-Id: I9c1e455268bf8c796c9052e428ab02bc67699a0f
* | Merge "Add default release names for template versions"Jenkins2016-07-051-1/+1
|\ \
| * | Add default release names for template versionsJason Dunsmore2016-06-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Release version names are easier for template authors to remember than seemingly arbitrary dates. It should also make it clearer to new Heat users that heat_template_version is not like a BIND zone file version (which would be incremented with each version of the template). Change-Id: Iae9b6a676702b2a115b18fdfb1ab2afbe5faacde blueprint support-alias-for-heat-template-version-names
* | | Merge "Use openstack commands for prepare_test_network.sh"Jenkins2016-07-051-8/+4
|\ \ \
| * | | Use openstack commands for prepare_test_network.shSteve Baker2016-06-291-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is not yet an openstack command to create a subnet so the old command is used. The tests work fine without adding the ROUTER_GW_IP route, so this has been removed. Change-Id: Ic5f9c3ab130ad089fb12a7f2182dc8136faa6daf
* | | | Merge "Wait for stack status instead of group status"Jenkins2016-07-041-2/+3
|\ \ \ \
| * | | | Wait for stack status instead of group statusRabi Mishra2016-06-241-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SUSPEND happens in reverse order, so waiting for the group to reach SUSPEND_COMPLETE/SUSPEND_FAILED would result in timeout, if SUSPEND for the policy resource fails. Change-Id: Ie690d49734d164554ee6cf6c11f8c45a2832a8fe Related-Bug: #1595819
* | | | | Merge "Fix another test race in test_update_restricted"Jenkins2016-06-301-0/+3
|\ \ \ \ \
| * | | | | Fix another test race in test_update_restrictedThomas Herve2016-06-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We fixed 2 tests that were intermittently failing because of timestamp resolution, but it can happen on the 3rd one as well. Change-Id: Ic916b79a81000684b04c585eef1227255a949172 Related-Bug: #1554375
* | | | | | Merge "Add wait_sec for test_stack_update_from_failed"Jenkins2016-06-301-1/+1
|\ \ \ \ \ \
| * | | | | | Add wait_sec for test_stack_update_from_failedRabi Mishra2016-06-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Similar to some other failures where the updated_time does not change, _verify_status ignores it and the test times out. Change-Id: Ifdf8c1e5e129fdd6c3592ffaca307e43c1317f70 Related-Bug: #1583630
* | | | | | | Merge "Migrate to aodh for OS::Ceilometer::Alarm"Jenkins2016-06-304-7/+7
|\ \ \ \ \ \ \ | |_|/ / / / / |/| | | | | |
| * | | | | | Migrate to aodh for OS::Ceilometer::Alarmhuangtianhua2016-06-294-7/+7
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changes: 1. use aodhclient to manage OS::Ceilometer::Alarm resource, including create, update, delete, check, suspend, resume and show. 2. rename OS::Ceilometer::Alarm to OS::Aodh::Alarm 3. considering to compatible with old templates with resource OS::Ceilometer::Alarm, set resource_registry to map Ceilometer alarm to Aodh alarm Blueprint migrate-to-use-aodh-for-alarms Change-Id: I6e2d14f15a345b927b53adc237cf2bf4010842f0
* | | | | | Merge "Use openstack command for prepare_test_env.sh"Jenkins2016-06-291-4/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Use openstack command for prepare_test_env.shSteve Baker2016-06-291-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is the preferred client for operations now. Change-Id: I66f68bc95cfc06237f761264175cc37dec8ccee0
* | | | | | Merge "Add a sleep after delete before purging"Jenkins2016-06-281-0/+4
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | |
| * | | | | Add a sleep after delete before purgingSteve Baker2016-06-281-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | heat-manage purge_deleted 0 might not purge deleted stacks which are less than a second old, this is a cause of gate failures. Change-Id: Ie95370354aa0534483730ef1ce93f46d004931d8 Closes-Bug: 1570398
* | | | | | Merge "Config: no need to set default=None"Jenkins2016-06-281-1/+0
|\ \ \ \ \ \
| * | | | | | Config: no need to set default=NoneChangBo Guo(gcb)2016-06-281-1/+0
| | |/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | By default oslo.cfg sets the default value as None. There is no need to explicitly do this. TrivialFix Change-Id: I8d47b8815947c1c1e22e49822ffec0b8874d4487
* | | | | | Merge "Revert "Skip AutoScalingSignalTest.test_signal_during_suspend""Jenkins2016-06-281-3/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Revert "Skip AutoScalingSignalTest.test_signal_during_suspend"Thomas Herve2016-06-271-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7ea3e68eb969901838293a2cbcae6024451a20d9. Fix has been merged in Keystone. Change-Id: Ifb47d6fc1511c2f3da46227c0af46a229c7012b2
* | | | | | Merge "Use LOG.exception() properly"Jenkins2016-06-271-3/+2
|\ \ \ \ \ \ | |/ / / / / |/| | | | |