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, update cacert which is shipped in the python requests package on
RHEL to work around expired LetsEncrypt root certificate.
Depends-On: https://review.opendev.org/813719
Change-Id: Id537867e47ed54c7028abf7037b251077e57de64
Signed-off-by: Lance Albertson <lance@osuosl.org>
They still haven't released the cookbook however they've updated the release to
3.1.0 which is breaking tests globally. This should resolve the issue.
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/800815
Change-Id: Ie196f920b9431392e3c0d44eb97ee6e6685719db
Signed-off-by: Lance Albertson <lance@osuosl.org>
This provides some updates so that this cookbook can be run for
individual cookbooks depending on whether or not various services are
enabled or not. This is useful if you're wanting to test just keystone,
and don't need glance or nova just to do that.
Some other changes:
- Update catalog_type for volume to 'volumev3' which matches what we
provide (We may want to change this back to 'volume' at some point).
- Create orchestration recipe to assist with testing heat.
- Create dns recipe to assist with testing designate.
- Remove unused cookbook dependencies for compute, block-storage and
identity. These should get pulled in automatically with how we setup
the test environment in openstack-chef.
- Blacklist
tempest.api.compute.servers.test_create_server.ServersTestBootFromVolume
test from running due to an issue with our cinder environment.
Change-Id: I0eb2247f163132ef343bbcf6f4cc80326b9704d9
This updates all references of let(:chef_run) to cached(:chef_run) to
speed up tests. By doing this, we have to create a new cached(:chef_run)
block whenever we need to adjust node attributes for testing.
Speed was improved from 1 minute 14.88 to 21.64 seconds
Change-Id: Iff9c0f56d17e8f2924b4126144ed116081278842
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering
- Drop obsolete bootstrap.sh script
Change-Id: I8fa06acd27a9705cd4eada9214c1fd2d9fed1c1c
- Adopt for the use of python3 on Ubuntu
- Use the endpoint_type attribute
- Install recent tempest version
- Make sure to install matching requirements
- Adjust default tempest.conf to work in our minimal scenario
Change-Id: Ib413971c15d11cbb46befda55ffc28f3c16f2a8a
Also update the location of the openstackclient cookbook and make it
possible to test patches there as dependencies, too.
Change-Id: I19894b6f71d2a9aaf2ad0b7d93728fee862eb93c
fog-openstack-1.x already appends "auth/tokens" so we no longer need to
do that. In addition, comment out endpoint type until this PR [1] gets
merged and released.
[1] https://github.com/fog/fog-openstack/pull/494
Depends-On: https://review.opendev.org/666176
Change-Id: I929722b032e37970fe74018e609b76c1682e0db9
Signed-off-by: Lance Albertson <lance@osuosl.org>
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>
In order to maintain consistency for pip versions, align pip, wheels,
and setuptools. Use OSA as a basis for consistency between deploy
projects.
Depends-On: I573bd84e1f15b6e9bda8ebb1d8e12fa66970757a
Change-Id: I123508ad8c65805f6d95abe5e592e7e761d63142
- HTTP is the default, but node.normal will not apply the HTTPS changes
correctly without node.override
Change-Id: I123bb1baa37f540f908633f34693d4d7834032f1
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
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: Ia4e1faabf35b0c5f46fdc431a52c88754f0abc5f
- 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
- 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
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
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
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
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
Change-Id: If9ef1641600ca2d4bea1e3b538304dd2f1d3651f
- Style and lint fixes for newer chefdk
- Removed ancient Gemfile
- Rewrote metadata.rb for readability
Change-Id: I7c2950270f88cc9d54de593460009c6741913796
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
- 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