summaryrefslogtreecommitdiff
path: root/devstack
Commit message (Collapse)AuthorAgeFilesLines
* Disable unstable test cases in grenadeTakashi Kajinami2023-03-231-2/+0
| | | | | | | | | | | Some test have been unstable in Ubuntu Jammy because of the known libvirt bug, and we have disabled these in functional jobs. Let's disable the test case in grenade jobs, because these test cases now cause frequent job failures. Related-Bug: #1998274 Change-Id: I7038ce3ec2840b133e9ae5eb09a96dc8a5f3abc2
* Merge "Skip basic scenario test"Zuul2023-03-061-1/+2
|\
| * Skip basic scenario testTakashi Kajinami2023-03-061-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This test is very frequently failing now. The test case creates a stack with an instance but the stack can't be deleted within timeout because of the known libvirt bug in Ubuntu Jammy. Because the release deadline is already over, we'll disable this test so that we can merge some changes now. We'll revisit this (and the other test cases we disabled) later. Related-Bug: #1998274 Story: 2010631 Task: 47589 Change-Id: I87c4b1e7a911fd78e327393b1af200667e89c999
* | Fix setting the tempest virtual env constraints env varGhanshyam Mann2023-02-211-2/+28
|/ | | | | | | | | | | | | | | | | | | | | | | | | | Heat upgrade script set the env var TOX_CONSTRAINTS_FILE/UPPER_CONSTRAINTS_FILE which are used to use the constraints during Tempest virtual env installation. Those env var are set to non-master constraint when we need to use non-master constraints but when we need to use the master constraints we do not set/reset them point to master constraints. This create the issue when this grenade script install the tempest with stable constraints but with master Tempest and as there is mismatch of constraints now with fasteners of stable branches. Below is failure of heat greande job on stable/yoga - https://zuul.opendev.org/t/openstack/build/3aaec4d59bb84068bb4d4428ea747cbd/log/controller/logs/grenade.sh_log.txt#3245 Similar way, role should set stable constraints only for the stable EM branch not for all otherwise it fail when constraints/requirements are bumped. - https://zuul.opendev.org/t/openstack/build/74f86b8097f44c35acaffdcfe41d9693 We should set/reset those constraint env var to master constraints if configuration tell to use the master constraints. Closes-Bug: #2003993 Change-Id: I024cd134577338fc1075e7742df7f006dc914646
* Skip test_stack_update_with_replacing_userdataTakashi Kajinami2022-12-231-2/+6
| | | | | | | | | | | | | | | | | | | | | | | This test case is frequently failing because of a known libvirt issue in Ubuntu Jammy. We already disabled one functional test case, but will disable this test case as well, to reduce failure rate of CI runs and unblock gate. The existing skip for a different test case[1] is re-implemented using the proper configuration knob. This also fixes tox.ini to adapt to new tox 4.0. - Update how passenv is defined because space-separated list is no longer allowed. Also the values are not case sensitive. - skipdist=True breaks installation so is removed. [1] https://review.opendev.org/c/openstack/heat/+/866545 Co-Authored-By: Rabi Mishra <ramishra@redhat.com> Related-Bug: #1998274 Story: 2010487 Task: 47056 Change-Id: I915dc83ccde6b6b8497642857292f9974fd84e98
* Update stestr args for inclusive languageBrendan Shephard2022-11-091-1/+1
| | | | | | | | stestr has removed whitelist / blacklist. This change updates the devstack upgrade tests to ensure we use the new include-list instead. https://github.com/mtreinish/stestr/commit/9ffeb470fb4eaed484152d35411668db19a64ace Change-Id: Ia0df9b3468fee9382c42c8bd6a35b76ed7f2b4e5
* Remove CloudWatch cleanup tasksBrendan Shephard2022-07-212-12/+0
| | | | | | | This change removes the cloud watch cleanup tasks as part of general housecleaning. Change-Id: Id8f678dfd504ff27d6fdb86011129d353a31f3cf
* Use openstack commands in upgrade pluginRabi Mishra2022-07-131-3/+3
| | | | Change-Id: I94075f261ce095c509635aab395df42878aceb1c
* Use constraints when creating venv for grenadeRabi Mishra2022-06-301-1/+5
| | | | | | | | As a followup for change I6a8cffdc86c895eebe4269c5cd37841325566c54 let's use branch specific upper constraints when running tests in grenade. Change-Id: I71f8398b6aa57b7c1910750b8e048825383e3d9a
* Use f36 instead of f33 for testingMatthias Runge2022-05-311-3/+3
| | | | | | F33 is unsupported for a while. We should not use it for any testing. Change-Id: I7d1017bcd7147329c4e187336daee1a1ae280fa9
* Fix broken devstack pluginrabi2021-11-191-16/+17
| | | | | | | This devstack plugin seems broken with devstack secure rbac changes to use OS_CLOUD. Change-Id: I9f0d3d97e4cc7d5ed6858eca9c042fedb14139d1
* Fallback to upstream for Fedora imageIan Wienand2021-11-121-1/+10
| | | | | | | | | | | | | | OpenDev infra only keep around the latest two Fedora releases in their mirrors. Probe for the image from the local test mirror, but if not found, fallback to upstream. This will be much less reliable, but can avoid gate breakage until new images can be used. Also, use endpoint_type when creating keystoneclient Keystone admin endpoint has been removed from devstack with[1]. This would use the public endpoint by default. Change-Id: I96ab14871ee8c5d5b83cc0cd4abc840ef0218ca8
* Merge "Remove deprecated tail_log function"Zuul2021-03-111-4/+0
|\
| * Remove deprecated tail_log functionEyal2020-11-241-4/+0
| | | | | | | | | | | | | | This function has been deprecated for a long time, let's finally remove it. It is only generating a warning anyway. Change-Id: I0f69076ef7c288c113f4e7739c7e12fcfb11d91d
* | Move testing to Fedora 33Matthias Runge2021-01-191-2/+2
| | | | | | | | | | | | | | Now that the gate is unblocked, we can also test F33 for gating purposes here. Change-Id: Ie1c9075623d85b27aaf1ac67a3063e219726bc6f
* | Replace Fedora test image with F32Matthias Runge2020-12-041-3/+5
|/ | | | | | | | | | | Fedora 31 was retired and the image is gone from mirrors. heat-cfntools have been dropped from fedora images, disable the test till that's resolved. Also makes grenade job non-voting, till this is backported to stable/victoria. Change-Id: Id869f83a46454897c2fe7a532eebfa2863befe5e
* Stop testing ceilometer and aodhRabi Mishra2020-09-141-1/+1
| | | | | | | | | | | | | | | | | Ceilometer uses gnocchi as the default backend. Also we use gnocchi based aodh alarms in tests. gnocchi seems unmaintained with last commit a year or so ago and does not look like the openstack telemetry team is involved in that project. It's better to disable the services and tests in heat to avoid broken gate like last time, where we fixed it by banning latest pecan release[1] that does not work with python-gnocchiclient. [1] https://review.opendev.org/#/c/746261/ Change-Id: Id2ffdf6b9d342e800bab4a94ec46742228361ee8
* Use Fedora 31 for testsRabi Mishra2020-05-121-2/+2
| | | | Change-Id: Ia45e957bb24f5596a5ef16271f71ba8b77df9e42
* Reduce Heat engine workersCédric Ollivier2020-04-151-0/+4
| | | | | | | | It conforms with API_WORKERS default calculation to avoid too much processes consuming the memory. Change-Id: If2b483711668715047662a286cb0f0e3b52bbdac Signed-off-by: Cédric Ollivier <ollivier.cedric@gmail.com>
* Update Fedora image ref for test jobsricolin2020-02-241-2/+2
| | | | | | | Fedora-Cloud-Base-29-1.2.x86_64 is removed from openstack local mirror. Update to use Fedora-Cloud-Base-30-1.2.x86_64 for test jobs. Change-Id: Id3026a115e3a044b3dc00030fd6d82549dc189b6
* Remove image upload dependency on g-regRabi Mishra2020-01-171-1/+1
| | | | | | | | | It's not enabled by default[1] in devstack, is deprecated and not needed for glance v2. [1] https://review.opendev.org/#/c/702709/ Change-Id: I01514d8639e7604cca9846e05904ebe062393550
* Migrate functional test jobs to zuul v3ricolin2020-01-072-12/+50
| | | | | | | | | | | | | | | | | | | | | | | Something are introduced in this patch: * As devstack-gate/devstack-vm-gate-wrap.sh is not really zuul v3 native, we move all configs in to `devstack/lib/heat` and .zuul.yaml. * Remove extra configs process in devstack. Like setup tempest(which is well covered by tempest itself.) or overlapping heat test configs setup. Use tempest config for all heat_integration tests. Also remove heat_integrationtests/common/configs since they're no longer required. * copy post.yaml for grenade jobs. As we migrate to zuul v3 for functional tests but not grenade (not yet), the post.yaml should exists under grenade dir. since it's only required by grenade jobs. * Use post.yaml in functional tests for cleanup test environments. Story: #2007056 Task: #37908 Depends-On: https://review.opendev.org/701105 Change-Id: I4f531161a7222e2c2a21f8d483f9c2a1d91dc38d
* Merge "Drop creating extra endpoints in devstack"Zuul2019-12-052-3/+3
|\
| * Drop creating extra endpoints in devstackJens Harbott2019-08-192-3/+3
| | | | | | | | | | | | | | We don't need admin or internal endpoints in a normal devstack setup, other basic projects are also only creating the public endpoint now. Change-Id: I9bd6007509214c7a7ed7f7f4e391b609da4408a5
* | Merge "Do not re-clone heat in devstack plugin"Zuul2019-09-271-5/+0
|\ \ | |/ |/|
| * Do not re-clone heat in devstack pluginPavlo Shchelokovskyy2019-05-311-5/+0
| | | | | | | | | | | | | | | | | | | | | | devstack already clones the source from the repo/ref provided to enable_plugin function. Having to re-clone heat effectively requires to also set HEAT_BRANCH separately which is unnecessary repetition and make it less obvious how to deploy Devstack+Heat from stable branches locally w/o Zuul Cloner with RECLONE=true. Change-Id: I91b5048efa4606e86094e0a458e320216f66ce3e
* | Change HOST_IP to SERVICE_HOSTzhurong2019-08-011-2/+2
|/ | | | | | | | | HOST_IP is only for ipv4, SERVICE_HOST can fit for ipv4 and ipv6. IPV6 log can check here: http://logs.openstack.org/51/673751/1/check/murano-tempest-api-ipv6-only/f947d0e/job-output.txt.gz#_2019-07-31_08_54_25_077300 Change-Id: I7574a273e1c0511c56370b2203694dc52d963afc
* Switch to use opendev.orgricolin2019-04-221-2/+2
| | | | | | | | | Our cgit instance will be going away and opendev.org is the new preferred URL for browsing our git repos. Redirects will exist for the foreseeable future, but it's more efficient to just go directly to the new locations. Change-Id: Ic5fa1a8436f57836ad37b752a0cca1cd4f3a21a7
* Allow users to disable the tests run by GrenadeLuigi Toscano2019-03-012-3/+10
| | | | | | | | | | | | | Setting RUN_HEAT_INTEGRATION_TESTS=False disables the Heat integration tests which are normally executed by Grenade after the deployment of the base environment and after the upgrade. This is useful when Heat is used in a Grenade job of another component, where the focus of the testing is not Heat itself, thus shortening the run-time of the overall Grenade job. The default behavior is unchanged. Change-Id: I47b258fecd45ebc08c82df179625bcfb57a32894
* Merge "Set Tempest's service_availability setting for Heat"Zuul2019-02-012-0/+13
|\
| * Set Tempest's service_availability setting for Heatghanshyam2018-11-262-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tempest's service_availability config option includes all the service availability which is further used by tests to take decision of skip or run the test. For example, [service_availability].heat is true then, heat test will run or if [service_availability].heat is false then, all the heat related tests either in heat tempest plugin or any other plugins will be skipped. Currently this setting for heat service[1] is in devstack lib/tempest which is being removed by - https://review.openstack.org/#/c/619973/ For better maintenance, we are moving all tempest non-owned service setting to service devstack plugin side. This commit add the setting of heat service on ceilometer devstack plugin. Related-Bug: #1743688 [1] https://github.com/openstack/heat-tempest-plugin/blob/d6b253502af379cce420723fd5ab997bbf6487b5/heat_tempest_plugin/config.py#L15 Depends-On: https://review.openstack.org/#/c/619990/ Change-Id: I5013ce8be1a4fb5219ea89a63add812558191025 Needed-By: https://review.openstack.org/#/c/619973/
* | Remove duplicate tempest.conf setup for grenadeRabi Mishra2019-01-021-13/+0
|/ | | | Change-Id: I25930a4af9b67e98c7705ad8801bfc6e5a7c0d72
* change the dist name to 'openstack-heat'Doug Hellmann2018-11-011-0/+55
| | | | | | | | | | | | | | | | | We are updating all Python projects to publish artifacts to PyPI. The name "heat" is already taken there by another project, and they have rejected our request to claim the name. We therefore need to change the dist name used to package heat. We have some other projects publishing using an "openstack-" prefix, so I propose using the name "openstack-heat". This will not change the imports or anything else about how the code works, just how it is packaged. Add a grenade plugin for upgrading between the packages with different names so that we can clean up the old version of the code and avoid discovering the heat plugins multiple times in different locations. Change-Id: I59b55cffd9e648f842eb286b936f09c5b55a76db Signed-off-by: Doug Hellmann <doug@doughellmann.com>
* Run the specified set of tests in grenade-multinode jobKien Nguyen2018-03-021-6/+35
| | | | | | | This patch defines the specified set of tests & runs these during upgrade in grenade-multinode job. Change-Id: I99fa1717f4bf46afc8dd989a3aae129e5c4ab9d7
* Change transport_url in grenade-multinode jobKien Nguyen2018-02-232-0/+10
| | | | | | | | * Change transport_url to test Heat's upgrade strategy [1] in gate. [1] https://review.openstack.org/475853/ Change-Id: I08770d2ae09891d7983345616186cff7c26df4ce
* Update .stestr.conf with the group_regexrabi2018-02-221-1/+1
| | | | | | | | Tempest has switched to stestr. Update the group_regex in .stestr.conf Change-Id: I6f12f95367748828977550ede5043d2f6b7e9970 Closes-Bug: #1750960
* Merge "Remove unused policy cp in devstack"Zuul2018-02-011-5/+0
|\
| * Remove unused policy cp in devstackricolin2017-12-281-5/+0
| | | | | | | | | | | | | | | | | | We won't have policy.json file by default anymore, so we don't need this `cp` command. Implements: bp policy-in-code Change-Id: I84c99e38c34dc41cc33126291563ea90038ce107
* | Merge "Remove use of auth cache directory"Zuul2018-01-272-11/+1
|\ \ | |/ |/|
| * Remove use of auth cache directoryVlad Gridin2017-10-092-11/+1
| | | | | | | | | | Change-Id: Ie573f27d47e7e88cde27712a12aa8b40b5afda8b Closes-Bug: #1720988
* | [policy in code] part 6(cfn, cloudwatch)ricolin2017-12-131-1/+4
| | | | | | | | | | | | | | | | | | | | Add cloudformation and cloudwatch policy in code rules. Remove policy.json. We don't keep any default policy rules in policy.json from now. Still they can create policy.json file and add any rules they try to override. Partially-Implements: bp policy-in-code Change-Id: I610115dc1974b2182ce673bb086a1da15b022de3
* | Merge "Remove cloudwatch service from devstack plugin"Zuul2017-12-045-41/+18
|\ \
| * | Remove cloudwatch service from devstack pluginrabi2017-10-255-41/+18
| |/ | | | | | | Change-Id: Ie18d80e8faaec984b127ab3abeeb66d6a3aa1b6c
* | Use heat-tempest-plugin in grenade jobrabi2017-11-251-2/+2
|/ | | | Change-Id: I3a3744fa116a2d424b2afd95eb89058ad78d7f0b
* Don't remove uwsgi config files on stopMatthew Treinish2017-09-021-3/+0
| | | | | | | | Removing the uwsgi config files on stop breaks upgrades when using uwsgi, so let's not do that. Keeping the file deletes in cleanup makes sense and those calls remain. Change-Id: I603754c3f5ed5d2f143cf789df96018ec99ad692
* Merge "Run heat api tests after upgrade"Jenkins2017-08-181-5/+17
|\
| * Run heat api tests after upgraderabi2017-08-171-5/+17
| | | | | | | | Change-Id: I0f5b7204c6dc3cf7bfe50acc5427590ee35d202f Closes-Bug: #1711282
* | Fix devstack plugin for multinode deployment issuesrabi2017-08-042-5/+4
| | | | | | | | | | | | | | | | - Call create_heat_accounts irrespective of whether keystone is enabled or not. - Use hardcoded auth_encryption_key Change-Id: I03fab7f986ec2a9703044f4bff31d477e2e7fe6a
* | Add httpd documentation and sample configsrabi2017-07-076-107/+7
| | | | | | | | | | | | | | | | | | | | This adds uwsgi sample configs and documentation for deploying api services with httpd. This moves the existing mod_wsgi sample configs from devtsack folder as they are not specific to devstack. Change-Id: I91fd64d9deba3371b62c00ba8b01a7aca21b2393
* | Revert "Revert "Enable heat to use uwsgi with devstack""rabi2017-07-071-42/+102
| | | | | | | | | | | | This reverts commit 73ff2f16c436fb4cac520fdf6286baaf5d5b011b. Change-Id: I11200efe50db94d62cef474c248d78e9a3aa1673