Train has been archived to vault for RHEL 8 and this breaks CI currently.
Change-Id: Ia77026617f993169e46ef76ced3468b5e4fa8bfc
Signed-off-by: Lance Albertson <lance@osuosl.org>
The following packages are too new for RDO Train:
- python2-qpid-proton
- python2-pyngus
- qpid-proton-c
Depends-On: https://review.opendev.org/813718
Change-Id: I977a688022a942b96f4c820fa2be2c932016176c
Signed-off-by: Lance Albertson <lance@osuosl.org>
In preparation for an openstack-load-balancer cookbook add the service
so that we can create a database, message queues and endpoints.
Change-Id: I4e67ec649124a16470c72bc831bd2825b3741449
A change made in 16.5 causes an issue when trying to require `addressable/uri`.
This has been filed upstream with this issue [1]. As a workaround, it seems
using `autoload` fixes the problem.
[1] https://github.com/chef/chef/issues/10452
Change-Id: Iae337a8ff1784c46e8171fc54eb00ef28f11561a
Depends-On: https://review.opendev.org/753102
Signed-off-by: Lance Albertson <lance@osuosl.org>
On some docker images, /etc/bash_completion.d/ doesn't exist so we need to
ensure it does. This is specifically useful for kitchen-dokken.
Change-Id: Ie7227ae1bc794a75fd0200cef0b4b002d2ff6986
Signed-off-by: Lance Albertson <lance@osuosl.org>
In Chef Infra Client 16.2, resources have to be named using the provides
method. The resource_name method has not been changed in order to be
compatible with Chef Infra Client <16.2.
Also fix URI.encode and URI.decode deprecations.
Update etcd depends to ~> 6.0 to fix Chef 16 deprecation warnings.
Depends-On: https://review.opendev.org/747503
Change-Id: I24be89a3214207bac2df9eb360124871e0d8242f
Closes-Bug: #1886985
Signed-off-by: Henrique Santos <hfigueiredosantos@tecnico.ulisboa.pt>
Signed-off-by: Lance Albertson <lance@osuosl.org>
This pulls in fixes needed to address problems with setting the lock_dir
in apache vhosts on ubuntu hosts.
Change-Id: Iaab65fe46e517a54e193b8363c2152fb80806a25
- Switch to Stein release
- Cookstyle fixes
- Update cookbook etcd to ~> 5.6
- Update README
- Add myself to author list and OSU Copyright
- Properly fix completions recipe and ensure it works
- Create and start the etcd service in the etcd recipe
- Update delivery configuration to exclude integration cookbooks
- Refactor and update RenderConfigFileMatcher to work with newer
ChefSpec. This fixes output which was passing but showing error
messages.
Depends-On: https://review.opendev.org/701027
Change-Id: Iba3eeabe85ab9303147e43eeb550212a46d190f3
This updates the mariadb cookbook dependency which pulls in mariadb_user
and mariadb_database resources that do not require the mysql2 gem. In
addition, this removes all of the imported mysql libraries and resources.
Other fixes include:
- Rename openstack_common_database resource to openstack_database
- Convert LWRP to a custom resource
Change-Id: I723740b53fe772cf17e65acfb62d5f82e107b7ea
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.
Some additional fixes include:
- Add default['openstack']['common']['search_count_max'] attribute to allow speed
ups during testing.
- Improved a few tests
- Adjusted some formatting
- Remove deprecated ChefSpec::Coverage.start function
- Show warnings
- Use major version for redhat platform
- Update to Ubuntu 18.04
Speed was improved from 4 minutes 16 seconds to 41.98 seconds.
Change-Id: Icb9147036a01f92ec48a24c692dd022258e294c0
Add a line between tables to make "pandoc -f rst README.rst" format it
correctly. This should allow correct display on opendev.org's git
interface.
Change-Id: Ic5ca4ff1b1bfd6c7765bf788e1600deb5ec2bfa3
- 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: If732a5e840a7080691097e429e692a18f5286db6
Python2.7 is going EOL soon, let us deploy python3 for Rocky from the
start, so we avoid having to switch later.
Change-Id: I9cacde567f1d390311ac425649d6f6843abf929b
When using rabbit_transport_url in a multi node environment, the address
used is the bind_address if we do not use a mq cluster, where it should
be the rabbit server endpoint hostname, if not we can end up with some
transport_url configurations as rabbit://<...>@0.0.0.0:<...>, if the
rabbit server is configured to listen on all interfaces.
Change-Id: I617f54030ca3610638e6fd1bd3215dc2e7b23841
Signed-off-by: Manuel Torrinha <manuel.torrinha@tecnico.ulisboa.pt>
The two functions auth_uri_transform() and identity_uri_transform()
implicitly assume that the identity endpoint has no path component other
than 'v2.0'. This blocks modern deployment designs, so drop these
functions.
Probably will need some dependencies to clean up consumers of these
functions.
Change-Id: I711ff0c0f8d35c581d2a419debe50425ec0d51c2
This is no longer needed as this file seems to be created on a freshly
installed system.
This reverts commit 80706ed6e3.
Change-Id: I8d518b2a940333a76e21b22929272e60ed493dbf
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. Originally we needed this to
install a newer openstack-client via pip, but we no longer do that.
The one exception is in the integration cookbook which I'll be pushing a change
for that as well.
In order to do this, we need to include EPEL on RHEL which doesn't seem to have
any current dependency issues so I think it's safe to bring back.
Depends-On: https://review.opendev.org/665493
Change-Id: Ic8ddf736193a6a7cea5372f2fd09e2def3634333
Signed-off-by: Lance Albertson <lance@osuosl.org>
The new recipe "completions" can be executed in order to create a file
with command completions for the "openstack" command in bash. We want
this to be dynamic because the set of available commands depends on the
set of python plugins installed on the host.
Change-Id: Ib6549c00596f6560dab74491309b6b580ae7b312
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: Id330e14d38196d45a35150d5148a8afebe2b5798
The master branch is currently targeting to deploy rocky, so change the
default release name accordingly.
Change-Id: I11d7bb06b30b70d64aec7418280f62013cb5b979
In order to maintain consistency for pip versions, align pip, wheels,
and setuptools. Use OSA as a basis for consistency between deploy
projects.
Change-Id: I573bd84e1f15b6e9bda8ebb1d8e12fa66970757a
The default recipe does not work with the latest version of pip. The
workaround is to override to 18.0
Change-Id: If245c3c51930beba151ed8a42cec15131ea28098
- etcd does not take any arguments. the default is create.
- remove use_inline_resources in preparation for custom resources
Change-Id: Ic9c98978587cf81bfd430bd5b712cf537c3fb9a0
Depends-On: I161af1074cd17f2e3d2d2cf0b37a0c5fa1015fd3