* Update cookbook-openstack-common from branch 'master'
to cf9da3b474e10671138d8d41b3f2c0022be36fe8
- Use vault repo for RHEL 8
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>
* Update cookbook-openstack-common from branch 'master'
to df9900d25bb73c5576e5cf35e2947032d53d5176
- CentOS 8 support
- Add yum-centos cookbook to deps
- Enable PowerTools and RabbitMQ repositories on EL8
- Update various packages for EL8
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/814234
Change-Id: Ife3165204d9ffee132a0daacd4a6f30c7d31378b
Signed-off-by: Lance Albertson <lance@osuosl.org>
* Update cookbook-openstack-common from branch 'master'
to d50c4ad40d6c5feba94b04154e76b656ca5305ef
- Chef 17 support
- Require Chef >= 16.0
- Enable unified_mode
- Update to latest upstream cookbooks for etcd, mariadb and memcached
- Update copyright years
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/813950
Change-Id: Ib410ed28388725751a6295c58ce1f5e89c529b28
Signed-off-by: Lance Albertson <lance@osuosl.org>
* Update cookbook-openstack-common from branch 'master'
to f686660393453d18abad58df335d2cf637835849
- Exclude EPEL packages that conflict with RDO Train
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>
* Update cookbook-openstack-common from branch 'master'
- Merge "Add load-balancer service"
- Add load-balancer service
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
* Update cookbook-openstack-common from branch 'master'
- Workaround issue with >= 16.5 when requiring `addressable/uri`
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>
* Update cookbook-openstack-common from branch 'master'
- Create /etc/bash_completion.d/ directory
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>
* Update cookbook-openstack-common from branch 'master'
- Adds provides method to define name of resources
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>
* Update cookbook-openstack-common from branch 'master'
- Bump to memcached ~> 6.0
This pulls in fixes needed to address problems with setting the lock_dir
in apache vhosts on ubuntu hosts.
Change-Id: Iaab65fe46e517a54e193b8363c2152fb80806a25
* Update cookbook-openstack-common from branch 'master'
- Stein fixes
- 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
* Update cookbook-openstack-common from branch 'master'
- Switch to using mariadb user and database resources
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
* Update cookbook-openstack-common from branch 'master'
- Set Berksfile to use ruby solver
This provides much better debugging output.
Depends-On: https://review.opendev.org/702772
Change-Id: I32f254e78817a06ac061cfaaf2ab40559bee9a46
* Update cookbook-openstack-common from branch 'master'
- Improve ChefSpec test speed by enabling caching
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
* Update cookbook-openstack-common from branch 'master'
- Fix README.rst formatting
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
* Update cookbook-openstack-common from branch 'master'
- Properly convert README to rst
This should fix the rendering on opendev.org.
Change-Id: I3d6250a42ca37e88d8139fa68692672a505ad07b
* Update cookbook-openstack-common from branch 'master'
- Merge "Updates for rocky"
- Updates for rocky
- 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
* Update cookbook-openstack-common from branch 'master'
- Merge "Use python3 packages on Ubuntu"
- Use python3 packages on Ubuntu
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
* Update cookbook-openstack-common from branch 'master'
- Fixes issues with `rabbit_transport_url` method
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>
* Update cookbook-openstack-common from branch 'master'
- Merge "Clean up URI handling"
- Clean up URI handling
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
* Update cookbook-openstack-common from branch 'master'
- Revert "Add contentdir yum variable"
This is no longer needed as this file seems to be created on a freshly
installed system.
This reverts commit 80706ed6e3505605de41fad308df85c6166b98f8.
Change-Id: I8d518b2a940333a76e21b22929272e60ed493dbf
Signed-off-by: Lance Albertson <lance@osuosl.org>
* Update cookbook-openstack-common from branch 'master'
- 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. 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>
* Update cookbook-openstack-common from branch 'master'
- Merge "Add recipe to create bash completions for OSC"
- Add recipe to create bash completions for OSC
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
* Update cookbook-openstack-common from branch 'master'
- Replace git.openstack.org URLs with opendev.org URLs
Change-Id: Ibcb44125ea2752bbfc4e4b031e65c813958d4d3a
- 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.htmlhttp://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.
* Update cookbook-openstack-common from branch 'master'
- Merge "Replace openstack.org git:// URLs with https://"
- Replace openstack.org git:// URLs with https://
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
* Update cookbook-openstack-common from branch 'master'
- Update default release to rocky
The master branch is currently targeting to deploy rocky, so change the
default release name accordingly.
Change-Id: I11d7bb06b30b70d64aec7418280f62013cb5b979
* Update cookbook-openstack-common from branch 'master'
- Merge "Pin setuptools and wheels packages"
- Pin setuptools and wheels packages
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