The bind cookbook has been migrated to the Sous Chefs and a new release has
finally been done which removes the need to have this in the pointer (which is
now broken).
In addition:
- Disable voting for other issues that need to be addressed
- Add CHEF_PRODUCT_NAME env var to kitchen.yml to allow users of Cinc to use it
more easily
Change-Id: I2a58f3633f0e5cd2457ebcb09feaa3c848a7513c
Signed-off-by: Lance Albertson <lance@osuosl.org>
Changed:
- Temporarily disable voting during development
- Update git URI for bind cookbook to use upstream master
- Renamed .kitchen.yml -> kitchen.yml
- Genealogy updated
Fixed:
- Idempotency with use of apt_update resource
- InSpec tests to work with Train
- Cookstyle
Added:
- Data bag for placement service
- Set deprecations_as_errors to true in kitchen.yml
Removed:
- Unused statsd cookbook in Berksfile
- Unused .rubocop.yml
Deprecated:
- LBaaS recipes and tests. This has been deprecated upstream.
Change-Id: I53a28de6aad000a246ff8f610b64dd5201c03b27
This changes the logic so that we use the Berksfile in the cookbook
we're doing changes in instead of what's included in openstack-chef.
This should allow us to properly deal with cookbook dependencies in a
saner fashion with Gerrit without getting into depends-on hell.
This also required refactoring the Rakefile and roles used in Gerrit and
test-kitchen. Each cookbook now has their own role and test role which
includes specific Tempest configuration settings. This will require
updates in most cookbooks' Berksfile to include missing cookbook
dependencies such as ops-database, ops-messaging and integration-test.
Other major changes includes migrating to using InSpec for integration
testing instead of relying on simple commands included in the Rakefile.
I have replaced most of what was included in _run_basic_queries as
InSpec tests which also improves our coverage overall. Currently the
InSpec coverage is fairly basic and should probably include additional
tests, but in general it covers the following:
I've also added minimal non-voting jobs for both platforms so we can
catch any issue we might have missed downstream.
- Services are enabled and running
- Basic commands return sane output
- Openstack users, services and endpoints are correct
The all suites exclude running Tempest due to the fact that InSpec
doesn't have the ability to change the command timeout beyond 600
seconds [1] which is an issue I've run into. It's recommended to run
tempest manually when using test-kitchen.
NOTE: I haven't made any updates to the multi-node test-kitchen
environment in this patch and will plan on doing that later. I don't
believe this will break anything there.
Other various minor changes include:
- Replaced bare-metal cookbook with block-storage in minimal role
- Print out the command that run_command is going to run to help with
debugging.
- Use different public_ip so that it doesn't interfere with people using
10.0.0.0/24 locally (like me!).
- Add forwarded port to access Horizon
- Switch to using Chef 15 with test-kitchen
- Include log files from additional services that we were missing
- Add missing databag for aodh and telemetry_metric
- Include a real rndc key in the databag to assist with testing
- Use OSUOSL for EPEL mirror to work around public mirror issues
[1] https://github.com/inspec/inspec/issues/1675
Depends-On: https://review.opendev.org/703882
Change-Id: Idebc87ebb6acad7d0af222fb9025fefcb9bf5a1e
This provides a large collection of updates and refactoring to improve
the development environment for the cookbooks using test-kitchen.
The primary change this provides is the addition of the 'minimal' suite
which replicates what the integration test jobs run in Zuul. This is
useful for testing and debugging issues that might be found during CI
jobs.
- Switch run_list to using roles to better match how the zuul jobs work
- Update to using Ubuntu 18.04 instead of 16.04
- Move all attributes from .kitchen.yml files to environments
- Update multi-node and dokken test-kitchen
- Use MariaDB 10.1 by default as 10.0 has been deprecated upstream for
ubuntu 18.04. Also use OSUOSL mirror as it's more stable than
upstream
- Don't disable EPEL on RHEL systems
- Synchronize attributes (within reason) between test-kitchen files
- Update roles run_list
- Create openstack_test cookbook and update /etc/apt/sources.list to
OSUOSL mirrors to improve stability on Ubuntu
Change-Id: Ie6d7b56a78f7fadbd28e6d27a46446a46c3c5ebd
Signed-off-by: Lance Albertson <lance@osuosl.org>
In the effort to import the dns and client cookbooks, the dns cookbook
reference was inadvertently left out.
Change-Id: Ibea92346c1d355db0bb71e1533e68168218a7af2
- 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
- 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
- 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
* cookbook version pinning should only happen in the cookbooks
themselves to avoid conflicts during integration-tests
Depends-On: Ic6b00a08ec29a9a7c04a72c743af5f756db45edf
Depends-On: Ib256c315d5439beb8d4ec83c5cc7d7c9b182378a
Depends-On: Ib11ceab6a4192057904c0111074d41176144e2a3
Depends-On: Ib4b3b9b30487b9fcb6438b4f88d3642916f52208
Depends-On: I5a8802103373b59effd8db18502a83563c085414
Depends-On: I50df0befac140660d58eccb939d33a83edbb441c
Depends-On: Ic7a5e1c9191a9083125583c274c08b9335728c39
Change-Id: I12f8fc81d0fc4426325af8c8efe05ed1adb79c8c
This change was intended to be in the stable/liberty branch not in master.
This reverts commit 0ed07ceaca.
Change-Id: Ia0d7912ba9e92d8414f2dbbe6bae923be982bdc7
* added new test scenarion allione (and all the needed files for it)
* removed old test scenarios aio-nova and aio-neutron as well as multi-neutron
and multi-node and the related files since they will not work with the
refactored cookbooks
* removed databag items for currently untested service cookbooks
* modified Rakefile to use new test scenarios for local and jenkins integration
testing
* adapted README and docs to fit new test setup and explain the new
attributes/template logic (with TODO)
* adapted Berksfile to use the master apache2 cookbook to comply with the
dependencies in identity and dashboard
* removed image_upload recipe since this is already done in the
integration-test::setup one
* moved recipe integration-test to a different chef_run to allow all services to
be restarted in delayed actions of first run before using them
* removed heat from the testing stack until refactored
* removed tempest unit tests 'run_tests.sh' from integration testing scenarion,
since there is no need to run tempests unit tests in our deployment
Depends-On: I0547182085eed91d05384fdd7734408a839a9a2c
Depends-On: I3262b2e6f792f37c32a446e6567790b82bdd4613
Depends-On: I80ed8a7892b59f7fd582505445a31b0df8d68752
Depends-On: Ia7fd927f42f4a1e484e8f2d34c52b1dc6d0ce6dd
Depends-On: Ifd11f86c576d7dbb709bdd302d41e39e900e1b74
Depends-On: Ida408a025f1a3e6a632108a9a32877026e286116
Depends-On: Idadc97bd7380d6c4f9f6f33d9c6b1215a5f24772
Depends-On: I9ac9eeb29ab27f31394830e4b6f999d5870cc0e4
Depends-On: Ifa5a7f4e1df47a3961976e64f654224864c3dcb4
Depends-On: I9cc1b5cc069987ac83e064322c2291772505ff5f
Implements: blueprint cookbook-refactoring
Change-Id: Icf0921229e9473a842d7ce5706027d56229e11d4
The current setup breaks external connectivity for the test instance.
In order to avoid this, do not set the
external_network_bridge_interface. This will default to the external
network being set up on eth1.
After that, installation is still failing, add removing pre-installed
libvirt as a workaround for [0].
[0] https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1499199
Change-Id: If4dfaaa0a6aa089e395be6979d1b06cc70132645
Remove the branch master as that is the default and it's not
done this way in any of the cookbook berksfiles, so this is also
more consistent, which is good.
Change-Id: I460daa0b2889d3f91759943ff33ef37249fb4dc1
In order for keystone to get working under apache, we need a
later level of the apache cookbook, 3.1, which contains many
fixes.
Change-Id: I9493f048f6ccf2e385ce6b62195582370e2842d7
Implements: blueprint keystone-apache
This tool allows a single patch to be tested against the chef repo.
It will to do job of cloning the repo, merging in the patch(s),
setting up the test and running it, basic queries and tempest.
Also enhanced the Berksfile to allow for easy local development.
Usage: chef exec ruby test_patch.rb help test
Change-Id: I32ba57c29f2f5caee0391ea791ffe10fe06caceb
Berksfile is updated, because the cookbook-openstack-client is updated.
The update to be need to change Berksfile are following.
1. The name of cookbook was changed from "openstack-client" to
"openstack_client"
2. The dependency version of yum increased than 3.5.2, client cookbook requires 3.5.4.
Change-Id: I6393c815339800fdf0b2ca7c99d4c87caa176398
Closes-bug: #1447229
openstack-client depends 'build-essential', '~> 2.1.3', so update
the version to satisfy the constraints.
Change-Id: Ib349c716edf4010a2095eb59c3303bf527d3a732
Closes-Bug:1428689
The new testing suite is based upon Chef 12, Chef DK and
Chef Provisioning. It supports all in one and multi node
environments. It will be used as the base for future gate
integration testing. There's is more work to as noted in
the TODO list at the botton of the readme.
Note: to get this thru the existing gate, had to keep the existing
Gemfile. Added a Gemfile-Provisioning for new stuff and updated
readme with some notes on that. When we make the switch to kilo
rake gates, we can decide what type of gates the repo needs. I think
it's ready for rubocop at least and maybe continue with something
like spiecweasel to look at the role and environment syntax.
Added draft bootstrap and test default to rubocop to rakefile to
allow for easy integration with new gate rake jobs.
Change-Id: I187df8b78c4cecfb783ab26a6b66b8e8dd6745bd
Reasons:
- Rabbitmq cookbook in 3.0.4 return the following error:
Error executing action `enable` on resource
'rabbitmq_plugin[rabbitmq_management]'
- Ubuntu 12.04 isn't the latest LTS version
Changes:
- Update Rabbitmq cookbook to 3.10.0 in Berksfile
- Change all occurences from 1204 or 12.04 to 1404 and 14.04
Change-Id: I364cb53cc73e567760d72e49df0e15105a66f2c7
The stackforge ceph cookbook was replaced by upstream ceph cookbook,
so remove the roles defined in stackforge ceph cookbook and replace
with upstream ceph cookbook in Berksfile.
Change-Id: I2d12cb6c2c480a37ee1cfeaf5b76f068b6781160
Partial-Bug: #1409943