Commit Graph

425 Commits

Author SHA1 Message Date
OpenDev Sysadmins ac3328658d 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:40:07 +00:00
Jens Harbott b7a3ec891c Make integration jobs version-pinned
The upstream base job has been switched from Xenial to Bionic, causing
our integration job to fail. Make it run on Xenial to ensure we keep
testing there.

Modified from stable/queens patch to only run on Xenial, since we don't
have Pike on Bionic. Make the integration job non-voting in order
to be able to merge the apache2 version cap dependency.

Change-Id: Ie7981ee522f3b73bb62a2ce02ed247c2b7a33458
(cherry picked from commit 29ccb7ba1c)
(cherry picked from commit eb34af1377)
2019-03-28 14:14:07 +00:00
Jens Harbott 0392c39990 Downgrade pip to work around poise-python issue
There is a bug in the poise-python cookbook because it depends on
internal features of pip and these internals have changed in pip 18.1,
see [0]. We have a workaround in the openstack-common cookbook proposed,
but that doesn't work if the server has pip 18.1 pre-installed, as seems
to be the case for the infra-provided CI image. So as a further
workaround we need to downgrade the pre-installed pip version for the
time being.

[0] https://github.com/poise/poise-python/issues/133

Depends-On: https://review.openstack.org/610427
Change-Id: I52514691d3f271579628b62539222f7307957ba0
(cherry picked from commit 973119bad3)
2018-10-19 14:14:51 +00:00
Samuel Cassiba 810b25f009 Finalize rename from openstack-chef-repo to openstack-chef
Change-Id: I736c13c0b366bd34092e07d504804f409f91772a
2018-09-01 00:13:48 -07:00
Jens Harbott 76729092af Add databag secrets for keystone credential tokens
These will be used in a patch for the identity cookbook to handle
credential tokens properly.

Required-By: Idabc34d101d9fb145a205acedf8f652ebec3ad9f
Change-Id: Icf0a8f644ddbfa61bfef124a772663e8af4e1f16
(cherry picked from commit d7f40835d6)
2018-06-29 09:50:59 +00:00
Samuel Cassiba 4c56c7754c Remove dedicated network node for multinode, remove cloudwatch
* cloudwatch has been deprecated since Havana, removed in Queens
* chef pinning is relaxed to major versions
* remove dedicated network node for multinode testing

Change-Id: I397bf5e61d13d217206e07351b0dbb91125c3212
(cherry picked from commit 8193580838)
2018-03-22 15:06:54 +00:00
Samuel Cassiba 4a43874d3f stable/pike release
Change-Id: I1a9197c8abc36a0fba9ef33ff1f1bfabcb11d693
2018-03-01 08:15:19 -08:00
Zuul b13c4324f8 Merge "Cleaned up minimal role, deprecated provisioning cookbook" 2018-02-16 17:35:45 +00:00
Zuul ef7b71b861 Merge "Pin test kitchen to chef 13.6.4" 2018-02-14 17:12:28 +00:00
Samuel Cassiba 3df1fba78e Cleaned up minimal role, deprecated provisioning cookbook
- The minimal role contains a subset of allinone for use in integration. This
  allows to execute Tempest at the end of the Chef run.
- Being that chef-provisioning-vagrant is no longer working as of ChefDK 2.x,
  the provisioning cookbook serves no functional purpose.

Change-Id: I99a6de49640356c98adadf3237dc68383be06bb4
Implements: blueprint modern-chef
Depends-On: https://review.openstack.org/542612
Depends-On: https://review.openstack.org/542613
2018-02-09 15:08:20 +00:00
Samuel Cassiba 642b6e7175 Revert inspec test to use Tempest from git
Change-Id: Ief99c2de7bbef8a61d57e7fde59507f791a4519f
Implements: blueprint modern-chef
2018-02-08 22:19:54 -08:00
Samuel Cassiba 3689fd2503 Pin test kitchen to chef 13.6.4
- chef 13.7 breaks in fun and exciting ways. until the next release emerges,
  to fix this, the temporary solution is to pin to 13.6

Change-Id: I5d4ccb946a9090b2de1811aa9207ca4b85b4aafb
2018-02-08 06:36:33 -08:00
Zuul 5c59b15c00 Merge "Zuul: Remove project name" 2018-02-01 05:03:39 +00:00
James E. Blair 0e3e2a86cd 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: I1ecc5a139199177e5bfd004e9f8354ff460567ac
2018-01-31 19:32:47 -08:00
Zuul 8f462d6b26 Merge "Disabled epel repo, cleaned up environments files" 2018-01-31 17:00:06 +00:00
Samuel Cassiba 07c5912773 Bumped ChefDK release to 2.3.4
- With Chef 13, comes new ChefDK. This commit replaces the older 1.6 release
  with 2.3

Implements: blueprint modern-chef

Change-Id: Iac1ba6f0c3fb5f350a0afc0a5d1db944fb5397f4
2018-01-30 14:49:53 +00:00
Samuel Cassiba fe9f27aa65 Disabled epel repo, cleaned up environments files
- EPEL being enabled on CentOS causes issues with RDO packages, in that an
  update will conflict on an EPEL package, rendering yum updates impossible
- Simplified example environments files by paring down unused environments
  files, eliminating the need for platform switches

Change-Id: I21da50a91373fb473fe2554d96940730c4d4d81d
Implements: blueprint modern-chef
2018-01-28 15:56:33 -08:00
Zuul f7a6752317 Merge "Implemented Chef 13 support for Test Kitchen and CI" 2018-01-23 10:23:42 +00:00
Samuel Cassiba 9a0b2b6622 Implemented Chef 13 support for Test Kitchen and CI
- implemented foodcritic and cookstyle corrections
- simplified environments files to a single environment for each scenario,
  as opposed to one environment file per OS flavor
- updated inspec test for tempest from package

Implements blueprint modern-chef

Depends-On: If971a472c1fd9149a891200548a267655620fce2
Depends-On: Ib268737d2f5c3196061d89202d806c3af1c54e72
Change-Id: I5f1cb87573098623aa9f8c224a89527ce813e055
2018-01-17 03:32:14 +00:00
Samuel Cassiba a317a117c8 Updated integration attributes and methods
- Implemented changes consistent with cookstyle
- DRY the environment files
- Added tempest recipes in minimal role; drop build-essential
- Corrected url for chefdk with current scheme
- Removed nova smoke test since this is handled by tempest and tends to fire
  before nova is available in integration

Implements blueprint modern-chef

Change-Id: I5c5371eed12b282a527576822b270cce8b0e76a7
2017-12-23 21:54:20 -08:00
Samuel Cassiba ca3a5df961 Added basic multinode kitchen test
- this scenario creates a basic three-node cluster, consisting of one Compute
  Controller, one Network Controller and one Compute Node

Change-Id: Ib9202cccd126b88906776223394b767fbbc41ec6
2017-12-12 21:55:24 -08:00
Zuul d7e8923363 Merge "Added kitchen-dokken support" 2017-11-13 13:11:11 +00:00
JJ Asghar ae1a8b9f54 Updated the contrib docs
- updated contrib docs

Change-Id: Idf9502c2d84b92d0865003ea9525c8fe02ba8753
Signed-off-by: JJ Asghar <jj@chef.io>
2017-11-01 11:36:23 -05:00
James E. Blair 97f5fb4b5b Zuul: add file extension to playbook path
Zuul now supports including the file extension on the playbook path
and omitting the extension is now deprecrated.  Update references
to include the extension.

Change-Id: I159084ce5a0181cc1a8dd3112762d2e7c05a14ae
2017-10-29 14:44:14 -07:00
Zuul 47a542a48c Merge "Implement native zuul v3 tests" 2017-10-27 22:03:10 +00:00
Jens Harbott 577adaea35 Implement native zuul v3 tests
Change-Id: I5160ce88aefa2c5b70e4a4cb085867198e60b45a
2017-10-27 13:34:05 +00:00
Roger Luethi cb70838708 Add heat_domain_admin user password to data_bags
Add user password for heat_domain_admin to data_bags to make kitchen
work again.

Change-Id: Ia5fd4011f4b96c32471e6f01eacc1c5a21d650b9
2017-10-12 16:51:18 +02:00
Samuel Cassiba a3374e9052 Added kitchen-dokken support
Change-Id: I833537e0d732402ba89951981757541e58241bbe
2017-10-03 17:32:47 -07:00
Samuel Cassiba f6ce85b324 Initial repo Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to conform with Chef conventions
- Added repo, memcached, libvirtd overrides for testing
- Added Python wrapper recipe

Change-Id: I91d380006d8ca8b81a05c629aff444321ada13e7
2017-09-27 09:04:37 +00:00
Roger Luethi 962633f25a Add support for kitchen testing
This changeset adds support for testing openstack-chef-repo with kitchen
and tempest.

Out of 63 tests, 33 pass and 30 are skipped, same as with current CI
tests.

The recipe, run_tempest in openstack-integration-test, is called at the
end of the installation phase.

In addition, a tempest run can be executed manually with
"kitchen verify".

Depends-On: I98706b1fc2c65a2359ca9b117a9491c0569514bd
Change-Id: I90c4ab627e3834ba9fd5791c425320e9536f7826
2017-09-23 14:34:32 +00:00
Jenkins 9274ef3a7f Merge "move fernet keys" 2017-09-22 21:23:20 +00:00
Jenkins f6a4bf69ea Merge "Added etcd as an available base service" 2017-09-22 05:22:05 +00:00
Stefan Hoffmann 2439bd903f move fernet keys
for using attribute for keystone fernet_keys the keys have to move
from data bag keystone to secrets

Change-Id: I06dc597f0503f399ed1369214e92b2acbc36c774
Depends-On: I286fbfe89395544d1f8d0139acca0d689e4737fa
2017-09-14 15:41:24 +02:00
Jens Harbott 0398e8f13c Add cookbook to deploy Designate service
Depends-On: I3407e698dd990661d280f25fc3de93aaa1477354
Change-Id: I633f115a49f2780de56ef627ed2ac9c0d07ba6c0
2017-09-12 09:04:23 +00:00
Samuel Cassiba ea523064a0 Added etcd as an available base service
- Added etcd recipe to allinone and multinode-controller roles
  to make an etcd service available as a base service.

Change-Id: Ibc966d8b4848f5829e4cd1706f55a3dde63d6656
Depends-On: Id2f934a9fc408276cb0a25afc2f65ec5f5c54c15
2017-08-22 09:54:41 -04:00
Jenkins aa566060f6 Merge "Documentation updates for Ocata" 2017-08-16 10:19:48 +00:00
Samuel Cassiba fd4105ac14 Documentation updates for Ocata
- corrects grammatical flows
- updates for the current master release
- aligns documentation with local provisioning changes
- rewrites multinode doc to reflect network node

Change-Id: I820266b0f2885629211a917858ca7ea35f5f08d3
2017-08-14 09:33:34 -04:00
Samuel Cassiba 2873826b76 Refactored provisioning cookbook for Ocata, ChefDK updates
- changed to a more alive fork of statsd, as att-cloud/statsd has been stale
  for years
- renamed multi-node to multinode to be consistent with OpenStack
  naming conventions
- introduced network node in the multinode scenario
- bumped mysql2 to 0.4.5 to align with upstream
- removed nova cell setup helper since it is no longer needed

Change-Id: If4d4d45981c8895ca57cba9c34fa1eea4b8871e3
Depends-On: I950605f384405b55737af77bc4224f1e18fee8e1
Depends-On: I4c26aea78220eb20fc4e5e964af93414855df5f6
Depends-On: I3112615cec3dd80c63779d164893b4171773856c
Depends-On: I97b453fc419bfbf01679dadf39a256b1f0f99859
Depends-On: Iba9ba7110dfde7635edc6706ecbbafbdbb161002
Depends-On: Ie1d5f27a9cf8803044568a31e4dae7654b02c9a1
Depends-On: I7c2950270f88cc9d54de593460009c6741913796
Depends-On: I16d6f892f325a80eb3eabd10110177246b63663f
Depends-On: Ie61ae3ca685738fe1de98fc9223d3e39535ce000
Depends-On: I63e6680cec8b66e2ece2d2627c0b413f5d401317
2017-08-02 16:58:56 -04:00
Jens Rosenboom 887f82636d Only run a minimal integration test setup
Currently integration tests running on Infra instances are failing
because they are hitting the 8GB memory limit. So we remove all but
the most basic services from being deployed, creating effectively a
minimal-in-one setup.

Change-Id: Ica74ed9a79e7aa6800a9b5e874013df99f6654aa
Depends-On: I9e7b24ba40c9f8303eae1325ced1f5a787466888
2017-05-30 06:08:21 +00:00
Jenkins ede4b00073 Merge "add new Chef OpenStack Team Logo to README" 2017-05-29 23:51:10 +00:00
Jan Klare cc8de69170 add new Chef OpenStack Team Logo to README
Change-Id: Id6254e1a470470f0d7b04dfffa912e6c5d9c4693
2017-05-29 10:52:12 +02:00
Jens Rosenboom c2537fdf36 Revert workaround for broken OSC client
With the depending patch, we upgrade OSC client to 3.11.0, which should
have the fix for https://launchpad.net/bugs/1677236, so we no longer
need to work around that bug.

At the same time simplify getting the UUID of the volume that we want to
attach.

Change-Id: I1c610ab362ccddaf61cec7b6d1e97535f81e0821
Depends-On: Id5606aa7e731bcab0b18aa0ff336c342449c1701
2017-05-26 07:50:40 +00:00
Samuel Cassiba db2a2ff569 Adds yum/apt cache attributes, corrects MQ binding
- adds an override for update_apt_cache / update_yum_cache, to stop
  apt.conf from showing up on RHEL and vice versa
- corrects node['openstack']['bind_service']['mq']['host'] in multinode
- deprecates nova-cert recipe
- corrects multinode roles, adds neutron-lbaas-dashboard

Depends-On: I89714e06eab803985ebffcdff5ff77655287c3e6
Depends-On: I457c239f0ff80eb78c49f7a1aae989a8368df80f
Depends-On: Iea2070467503f9a434e927e2580ef2b4135e98f7

Change-Id: I7946275f1e354de210e2ec9e9ceba3436063f5a0
2017-04-07 15:33:34 -07:00
Jens Rosenboom 020c81d106 Update things for Ocata release
- Remove old workaround for oslo-privsep
- Set up nova cells
- Add databags for keystone fernet keys
- Drop ceilometer-{api,collector}

Change-Id: I256b9d4294282ede5235d6d86cf14d48667e9430
Depends-On: I8bc2eb5622b14457ef80cb70bf7a1d60c9fe9793
Depends-On: Ib87e9b5142b835c4be5e07b9d53e39b48b6f605e
Depends-On: I28c27caacc09a3e46eca135a6c4f5a841f4715f9
Depends-On: I77ac294fd8e1cd4e6bc39667ddfdea21c4daed8a
2017-03-30 14:28:36 +00:00
Jens Rosenboom 5a22e2dcc0 Add testing for nova placement-api recipe
The placement_api recipe is being added to the compute cookbook, so we
add an example data bag for it and include the recipe in the allinone
role that is referenced for integration testing.

Change-Id: Ie75d743a94973b2e9a37e1df8e7a0f691d3358f0
Depends-On: I1d1f1cc7046cb30a91894a0c884bc861d7f3dd95
2017-03-06 18:04:08 +00:00
Jens Rosenboom a3b1f57fa5 Fix tempest invocation
The old run_tempest.sh script has been removed from tempest, so we call
our own wrapper that is created in the openstack-integration-test
cookbook instead.

Change-Id: I4a9d437b8227bda7fbdd0f3d41b4f7ca4c695400
Depends-On: If64fd079a8955d417daa76d431959f0335280467
2017-03-01 15:29:02 +00:00
Jenkins 2dcb80b6dd Merge "add neutron-lbaas-dashboard recipe to allinone role" 2017-02-20 19:36:21 +00:00
Jan Klare 4e2a25f99a add neutron-lbaas-dashboard recipe to allinone role
Depends-On: I4f407598acccd2d21d4204b936122963ebd4f7c8
Change-Id: I1a602324c6bf035723bc79e24722b61ef025c44d
2017-02-17 15:33:10 +01:00
Jens Rosenboom 5c9be13219 Fix memcached_servers setting for integration test
When running with chef-local, the search that is used to determine the
list of memcached_servers fails, leaving this setting empty for
integration tests. As a workaround, set the corresponding variable
explicitly in the allinone environmnet.

Also fix the Rakefile in order to allow the integration test to be
run more than once without issues.

Change-Id: I526de86e674477075c8ea51b31473d7a376723d7
2017-02-10 10:49:06 +01:00
mbuege 6162b549cc fix the integration test for ubuntu
- adapt parameters to python-openstackclient
- adapt options of libvirtd to work with Xenial
- create subnet
- add temprary fix for oslo.privsep caused by outdated ubuntu sources
- added temporary workover for ossdk bug
- grab the log output of mysql-default folder
- add empty bindep.txt to avoid installing unneeded fallback packages

Depends-On: I0431f09c5898bc2a42b17d27b60592ed5d2a4353
Depends-On: I29fd680ca4b16160a015fbf809cdd81860df9eeb

Change-Id: Ie867e9438bf24accfe466c117a8e02ffc9b1352c
2017-01-18 09:40:23 +00:00