Commit Graph

61 Commits

Author SHA1 Message Date
OpenDev Sysadmins f5874949e4 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:28:22 +00:00
Samuel Cassiba feb130b60e Migrate Zuul jobs to openstack/openstack-chef
Change-Id: I60b4360ef037ce7f8c9afc10d557da963f7d47a0
2018-08-31 23:28:22 -07:00
Zuul b2298a6000 Merge "stable/pike release" into stable/pike 2018-03-01 19:07:59 +00:00
Samuel Cassiba a26536ea77 stable/pike release
Change-Id: I0967ea565a1dbe8f2cc80748a17da2708af99725
2018-02-26 11:58:35 -08:00
Samuel Cassiba b1d86aef52 Run discover_hosts after computes are added, before running Tempest
Change-Id: If1b300bdb4e1d9a5e1be2361c29816d75d368b91
2018-02-24 01:44:25 +00:00
Samuel Cassiba bf4b77133a Pin Tempest to 17.2.0 for Pike
17.2.0 eliminates random failures in Kitchen and CI

Change-Id: I503c7583dd1147b63a289e206de354d4bd4b56d7
2018-02-22 15:57:55 -08:00
Zuul eb3b47cea7 Merge "Zuul: Remove project name" 2018-02-16 17:13:46 +00:00
James E. Blair d81d176e33 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ia4e1faabf35b0c5f46fdc431a52c88754f0abc5f
2018-02-14 21:35:05 +00:00
Samuel Cassiba 72ad95ea4d Revert from packaged tempest to git, update image refs
- due to inconsistencies in RDO versus UCA packaging, Tempest performs more
  consistently from upstream git
- update cirros references to 0.4.0

Change-Id: I374497db1b602683f1f9c62489f523b18c50266c
Implements: blueprint modern-chef
2018-02-08 22:24:07 -08:00
Samuel Cassiba badb2eac3d integration-test refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- switched Tempest installation back to packages since it is now fresh enough for use
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- removed calls to GitHub for Tempest
- moved apt package_overrides to common cookbook

Implements blueprint modern-chef

Change-Id: Ia315e51d9ef3fd4677b65074cd7f18a47669208d
Depends-On: I5c5371eed12b282a527576822b270cce8b0e76a7
2018-01-11 20:45:56 +00:00
Roger Luethi 4c44ad5817 Remove domain role from tempest users
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
membership cannot be tacked on later. This resource gave the user the
role intended for their project for the domain (i.e., for the Default
domain instead of for the service project).

We add the domain_name attribute that creates the tempest users in the
desired domain. Note that this change needs a sufficiently recent
openstackclient cookbook -- otherwise the domain_name attribute is
ignored (which does not matter as long as the tempest users are to be
created in the Default domain).

Change-Id: I345826bc3dae80d25b8f8826c63c5914cf1c2db5
2017-11-13 15:08:28 +00:00
Roger Luethi 9bd4339b3b Remove superfluous role_name arguments
This patch removes the role_name when using openstack_user's :create
action (it gets ignored by the target method).

Note that the spec test would still pass if only the line in
identity_registration.rb (but not the test) were changed, because the
code that actually does grant the role to the resource is executed right
after user creation and before any tests check the resource for the
existence of the role_name attribute. In other words: if the argument
were required in a call but only supplied in another call, the spec
tests would not catch it. Something to watch out for.

Change-Id: I92b47cd0156e4146a40ca7be89c102a625b5bdf6
2017-11-13 10:39:19 +01:00
Jens Harbott 4cf5c849b2 Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: I320a65d20dbae5db701f164188871fa3dae93a5f
2017-11-02 10:40:17 +00:00
Roger Luethi c05b283229 Add recipes for kitchen testing
This changeset adds two recipes, create_network and run_tempest.
They implement parts of openstack-chef-repo's Rakefile for use in
kitchen testing.

Change-Id: I98706b1fc2c65a2359ca9b117a9491c0569514bd
2017-09-13 08:05:44 +02:00
Samuel Cassiba fa8127ae6c Initial integration-test Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions

Change-Id: If9ef1641600ca2d4bea1e3b538304dd2f1d3651f
2017-08-25 09:46:46 -04:00
Jan Klare c889c51093
starting pike development patch
Change-Id: I934bd53ed7d2ae8a783358eccfabe18f96296611
2017-08-17 14:19:26 +02:00
Samuel Cassiba f9274818dd Style and lint fixes for newer chefdk, deprecated Gemfile
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability

Change-Id: I7c2950270f88cc9d54de593460009c6741913796
2017-08-02 02:18:54 -04:00
Lance Albertson a5bddb0812 Fix python development package name on RHEL
python-dev is not the correct package for RHEL systems and is instead
python-devel. It looks as thought this package is also installed in other places
for Ubuntu/Debian systems so this seems like logical to remove the duplicate
package resource.

Change-Id: Ifb6c439171ed6a65ba67cc6fe8076d2fa42da32d
2017-06-23 15:43:59 -07:00
Jan Klare c69306da58 add new Chef OpenStack Team Logo to README
Change-Id: I7b8683773c7c0287b5863074839166dcc49f66e8
2017-05-29 10:53:08 +02:00
Jens Rosenboom 76d7e264ee Fix setup of tempest virtualenv
- Untangle venv dir and git repo
- Install tempest into venv properly
- Install wrapper script to run tempest from venv
- Use latest stable cirros image

Change-Id: If64fd079a8955d417daa76d431959f0335280467
2017-03-03 08:25:08 +00:00
Jan Klare 3beb5bb990 starting ocata development patch
Change-Id: I190f4be272e7f80fc52098d1843b97e6f6c6ae0b
2017-02-23 17:06:39 +01:00
Christoph Albers 0725e015b9 Tempest fixes for Newton
- added venv for tempest
- added python_execute for install tempest
- added tempest dependencies (python / debian)
- added needed tempest.conf attributes (especially identity v3)
- removed tempest template
- refactored tempest template to use openstack-common strategy
- added tempest_conf.rb for easier configuration
- removed ruby_block to fetch image ids
- added static image ids

Change-Id: I0431f09c5898bc2a42b17d27b60592ed5d2a4353
Depends-On: I29fd680ca4b16160a015fbf809cdd81860df9eeb
2017-01-17 22:43:28 +01:00
Kyle Jorgensen 4a6f46749b Add support for https endpoint in auth URI
Since the 'scheme' for the identity endpoint is defined as a
node attribute, we can use this value when constructing the auth
URI in the tempest.conf

Closes-Bug: #1650364
Change-Id: Ieaadef347661547cb549870e42e2a0d92c722b8e
2016-12-28 13:43:22 -08:00
Flavio Percoco 17ed254138 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/a4fedf7cf7843d87f401dc8287402074

Change-Id: If94616f3559d8b53f952f3424fa322fb692f0cd6
2016-12-12 09:10:01 +00:00
Jenkins 7a877071ce Merge "Disable Cinder tests" 2016-11-24 09:42:15 +00:00
Jenkins 842c377cdf Merge "use_cookbook-openstackclient/identity_v3" 2016-10-18 14:46:40 +00:00
Samuel Cassiba 94497b0aad Disable Cinder tests
In order for CentOS integration gates to pass, Cinder tests need to be
disabled.

Change-Id: I7bfcbe665f6bf7cb623e8ad85caccd497283e598
2016-10-12 15:14:16 +00:00
Christoph Albers 03b3ee079e use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- edited values to work with identity_v3
- rewrote specs to work again
- edited image_upload to work with domains

Change-Id: I88ea66da9e8c189208d7e69ecc38dcf502d518db
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
Depends-On: I2d404a424bd79a6e9b282304e21591fa33a48981
Depends-On: I2f339055883354c6a8a77daa7967ff279c4d18d9
Depends-On: I84f850f32f25a318c3ed3c7337a0dfa6f641a5fe
2016-10-07 12:10:58 +02:00
Samuel Cassiba 9f842b1acf Increment Ubuntu release to 16.04
- increments Ubuntu release to mock for Xenial tests. This is a cosmetic
  change that only affects unit tests.

Change-Id: I0e69bd2fb8469fca2bc246f6c042d0bf6268112b
Implements: blueprint newton-xenial
2016-08-29 08:49:10 -07:00
Samuel Cassiba 09a7de3b5e Style and lint fixes to support newer ChefDK
Change-Id: If08006279134ecaed1ab49c6dd6d51e5bcab7f88
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
2016-07-06 13:55:10 -07:00
Jenkins 0bed11e7d0 Merge "initial commit for the newton development cycle" 2016-06-20 18:57:00 +00:00
Jan Klare e8a7ecaca4 enable ceilometer Tempest tests
Change-Id: I432555c558adfd9db07b27acd15365e333a13dc2
2016-06-13 14:45:55 +02:00
Jan Klare 550e30d0a5 initial commit for the newton development cycle
Change-Id: I359200b380dc5d72100badea308776439a9329a5
2016-05-31 10:36:37 +02:00
Jenkins 38c9252c98 Merge "Add Heat tests" 2016-05-24 09:06:06 +00:00
Mark Vanderwiel 0a5e2d64ab Add Heat tests
Enable Heat tests.
Create heat stack owner role.

Change-Id: Ic3f142772aae40eaa1fd1b78ae0d6921e9cf6e57
2016-05-10 00:48:24 +00:00
Mark Vanderwiel f73e592744 Deprecation cleanups
tentant to project changes.
minor unit test cleanups.

Change-Id: I0f7da600b6ae78fee8545d1559e0c789215a3b81
2016-05-09 13:09:22 -05:00
Mark Vanderwiel 5a86f23c2a Changes for tempest tests
Create and use  m1.nano flavor.
Disable volume snapshots.
Use local-net created in repo integration test runs.
Remove python virtualenv package, it contains old setuptools for centos

Change-Id: I42216a174930b17a4771e78c639da54e170a288c
2016-05-04 16:36:30 +00:00
Jan Klare 5d016a774b minor changes to adapt to refactored cookbooks
* adapted enpoint calls for identity endpoints
* added installation of package curl since its used to upload/guard the upload
  of the needed images

Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
Depends-On: Idadc97bd7380d6c4f9f6f33d9c6b1215a5f24772
Implements: blueprint cookbook-refactoring
Change-Id: Ifd11f86c576d7dbb709bdd302d41e39e900e1b74
2016-02-09 12:40:17 -06:00
Mark Vanderwiel 467ee45456 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: I3682934a800af32b6966d21b5b942799aae700bc
2015-10-06 09:59:26 -05:00
JJ Asghar 872d9501f2 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

rubocop fixes

Change-Id: If1d33d11af492f0c4b26caaf07051ee26b96e98e
2015-08-31 15:49:20 -07:00
Mark Vanderwiel af0763c67f Fix default for tenant_network_mask_bits
Fix the template default.  Maybe another patch can look at why
we even need these defaults in the template forcing us to stay in
sync.

Change-Id: Id704566bc91291252d9dd35d41afed136dabe901
Closes-Bug: #1479092
2015-07-28 14:49:18 -05:00
Mark Vanderwiel fece8b5af2 Replace deprecated get_secret
Use get_password 'token' instead.

Change-Id: I9c2160bc329e6ee8f562b1a334dc6b5d2cf2eed4
Partial-Bug: #1467662
2015-06-22 15:52:16 -05:00
wenchma b42a8d44dd Sync stackforge/cookbook* to openstack/cookbook* for integration-test cookbook
Change-Id: Iba9ca72160f26ecc0c071a42daa9f26617f895d6
Partial-Bug: #1465116
2015-06-16 11:59:47 +08:00
Jeremy Stanley 24a67d6e5d Update .gitreview file for project rename
Change-Id: Iae52c03bc5a512a1f04ec0b442f290f48e895079
2015-06-12 23:12:30 +00:00
Mark Vanderwiel 133a49e150 Cleanup minor rubocop offenses
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.

Change-Id: I94577ea628c4f6ee81f3f9dadb24309ca7c856a3
2015-05-29 10:20:01 -05:00
Mark Vanderwiel cb833f1573 Only clone tempest with depth of 1
For automation, there's usually no need to clone the entire
revision history.

Change-Id: I766fc0ef100376578daac985cb7a85a9a07dd6ed
Closes-Bug: #1455240
2015-05-14 17:10:20 -05:00
Jan Klare 72b60f01a2 replace Runner with SoloRunner to fix deprecation warnings
Change-Id: If16ac30f358fd64a27bf295fe54ea3ff9453ae64
2015-04-29 10:13:23 +02:00
Jenkins 408bf7edba Merge "move from bundle to chefdk and add bootstrap.sh" 2015-04-28 16:55:27 +00:00
Jan Klare 38d3b8808e move from bundle to chefdk and add bootstrap.sh
bootstrap script installs testing dependencies on trusty and relies on
common bootstrap.sh in stackforge/cookbook-openstack-common
- fixed mixup in dependency for knife task in Rakefile
- deprecated Gemfile
- updated TESTING.md

blueprint: bootstrap-infra-test-nodes

Change-Id: Ia6e457570fc585874dbf56751c2f8388eb637bbc
2015-04-27 22:07:39 +02:00
Mark Vanderwiel b98e9b561a Move to rhel 7.1
rhel 7.0 is not EUS/LTS, need to switch to 7.1.

Change-Id: If76be546189b74c8d08d5e5bd5d28a6af9c34a0c
Related-Bug: #1438878
2015-04-22 10:40:44 -05:00