Commit Graph

69 Commits

Author SHA1 Message Date
Lance Albertson 6ad56fc95e Drop poise-python in favor of directly installing python packages
The poise-python cookbook is no longer maintained by the upstream maintainer and
is causing lots of issues for the testing pipeline. Instead, install tempest
directly using pip via an execute resource.

Change-Id: I6991581056d6037eb269a6753b1af7e5c2ba7d90
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-07-06 12:56:40 -07:00
OpenDev Sysadmins 856b1d34d7 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 b23b4f8391 Migrate Zuul jobs to openstack/openstack-chef
Change-Id: I107d3f8600c615497634201195891628037585e3
2018-08-31 23:25:00 -07:00
Samuel Cassiba ded15f2b28 stable/queens release patch
Change-Id: I9710c729eed167e072f0e03cb91e4a004f7264ab
2018-07-26 20:55:10 -07:00
Samuel Cassiba 3ee1872f7f Use node.override for SSL resources
- HTTP is the default, but node.normal will not apply the HTTPS changes
  correctly without node.override

Change-Id: I123bb1baa37f540f908633f34693d4d7834032f1
2018-07-16 12:44:07 -07:00
Zuul 2727d676ff Merge "Simplify identity endpoint" 2018-06-28 14:31:52 +00:00
Samuel Cassiba 9b67abe1d8 Simplify identity endpoint
Per the Keystone Install Guide[1] the admin endpoint is superseded in
favor of a single public endpoint. As a result, the admin endpoint is no
longer deployed by default.

[1] https://docs.openstack.org/keystone/queens/install/keystone-install-ubuntu.html#install-and-configure-components

Change-Id: I06d0f98e641a041ddc864f524858edc0cffbbbba
Implements: blueprint simplify-identity-endpoint
2018-06-14 19:14:30 -07:00
XiaojueGuan 39b5a84868 Update links in README
Change the outdated links to the latest links in README

Change-Id: I7e5aa22efa7e50c60af8f6d4d64ad2cc72690cc7
2018-06-12 14:37:38 +08:00
Zuul 3e33e9985b Merge "Remove python_runtime references" 2018-04-16 14:37:46 +00:00
Samuel Cassiba fef11c3fb4 Add delivery config
Change-Id: I75bffaa62d70ba3f95d5a722cbf66f55d8b67dca
Implements: blueprint deprecate-rakefiles
2018-04-11 22:30:38 -07:00
Samuel Cassiba c23a6a1d91 Remove python_runtime references
In Chef 13+, resource duplication behaves differently. By centralizing
python_runtime to openstack-common, the resource executes once in a
given Chef run, instead of attempting to reinstall python multiple
times.

Change-Id: Ife452a1e21a82c877f4aceb85d768ed2f758e0de
2018-04-11 22:30:18 -07:00
Samuel Cassiba 9f7cb4d4de starting queens development patch and use git.openstack.org
* use git.openstack.org instead of github for berks dependency
resolution

Depends-On: https://review.openstack.org/549341
Depends-On: https://review.openstack.org/549343
Depends-On: https://review.openstack.org/549345
Depends-On: https://review.openstack.org/549346
Depends-On: https://review.openstack.org/549348
Change-Id: I0ac10252dada252e027107b33e94e04fb02fdd4e
2018-03-06 12:27:37 -08:00
Samuel Cassiba 10e64092dd Run discover_hosts after computes are added, before running Tempest
Change-Id: If1b300bdb4e1d9a5e1be2361c29816d75d368b91
2018-02-26 07:32:33 -08: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