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>
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
- 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 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
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
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
The master branch is currently targeting to deploy rocky, so change the
default release name accordingly.
Change-Id: I11d7bb06b30b70d64aec7418280f62013cb5b979
- changed the default RDBMS to MariaDB in accordance with install docs[0]
- removed deprecated database, apt and yum cookbooks
- incorporated `database' and MySQL-specific abstractions from database
cookbook
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- updated default recipe for core apt resource
- use /etc/apt/apt.conf.d on Ubuntu instead of passing the dpkg overrides as
command line options in every cookbook
[0]: https://docs.openstack.org/install-guide/environment-sql-database.html
Implements blueprint modern-chef
Change-Id: I143e0ed0a2bdd76269fc0c402052696426d96d81
Depends-On: I00e2237cef0c9aa35f78d3ccec04a1c7b9271ce8
Depends-On: I7ee0f5eae4e79e5c70ee8de4a0094a7c34fdd18f
These attributes were duplicated or are not needed anymore after the
great config refactoring.
Change-Id: I3b580ba36565861b6c78120fc8dc2718f6e2f452
Depends-On: I90f14fd1f0104ac6052349d79deaad342058c9e1
The cookbook for installing Designate is being developed at [1]
currently, it needs to be added to some base service definitions.
[1] https://github.com/cloudbau/cookbook-openstack-dns
Change-Id: I3407e698dd990661d280f25fc3de93aaa1477354
- Bumped chefdk to 1.6.1
- Switched release to pike
- Added is_release attribute for testing, defaults to false
- Added RDO deps repo for testing pre-release packages
- Added ubuntu-cloud proposed repo for testing pre-release packages
- Switched the default linter to cookstyle
- Normalized the banner message
- Dropped pip installation method for python-openstackclient since the
packages are fresh enough
Change-Id: I7a67ba2520b8e44efec6edd8506f96b0e0dc913b
- bumped chefdk to 1.5
- bumped mariadb to 1.5
- style fixes to make rubocop/foodcritic happy
- rewrote metadata.rb for readability
- removed ancient Gemfile
- removed openshift rubygems mirror since it doesn't help us
Change-Id: I950605f384405b55737af77bc4224f1e18fee8e1
- corrects the rabbitmq 'guest' user to 'openstack' to for a more secure
installation, as 'guest' is not secure and is deleted in other
non-Chef deployments.
- adds update_yum_cache attribute to conditionally include the yum
recipe, removing the hardcoded entries from the run lists. This
prevents yum.conf from showing up on Debian-based machines.
- enforces GPG checking for RDO packages, uses correct key.
Change-Id: I89714e06eab803985ebffcdff5ff77655287c3e6
- Have Ocata as default release for master now
- switch default auth strategy to Fernet as PKI tokens have been removed
- Update OpenStackClient version
- Provide a default WSGI template that can be used from other cookbooks
- Add a fake compute_cell0 service in order to create another DB for nova
Change-Id: I8bc2eb5622b14457ef80cb70bf7a1d60c9fe9793
- update python-openstackclient version from 2.6 to 3.4.1
- minor style changes in spec
- moved python-openstackclient version to node attribute
Change-Id: If9ffbc539ebca7de222dc25205d9f760a774412b
- incremented mysql to 8.1
- incremented database to 6.1
- incremented yum to 3.13
- incremented yum-epel to 1.0
- incremented poise-python to 1.5
- incremented apt to 5.0
- created dependency on build-essential for python-openstackclient
- incremented authentication API version to v3.0
- incremented ChefDK packages to 1.0
Change-Id: I57c8729e8732161ac34caa85259de8264e99c56d
Implements: blueprint newton-xenial
- increments Ubuntu release to 16.04
- increments release to newton for Ubuntu and CentOS
- increments apt cookbook version to 4.0
- increments mysql cookbook version to 7.2
Change-Id: I07ad79a93642d0f0c934a864fcb9bcd7b764e35f
Implements: blueprint newton-xenial
* the packaged version of python-openstackclient for ubuntu and centos are quite
old and we need the new version to completely switch all cookbook logic to the
openstackclient
* this patch include the poise-python cookbook and uses its resources to install
a python 2 environment and the python-openstackclient
Change-Id: I881075dcd11d06d9c1537d929c7626155c01a1d6
The upstream RDO repo no longer keeps the repo key in the master branch and only
keeps them in each release branch. So use the release attribute and set the
repo-key properly.
Change-Id: I83b508aab4e45554dda459662d1733d54810a3dd
Signed-off-by: Lance Albertson <lance@osuosl.org>
The openstack-ppa.list file gets generated with an extra 'trusty'
resulting in a failed convergence on bare metal nodes.
Change-Id: I22235c3eed6a9abd0371d86ea80b71e4702e9ea4
* in mitaka nova needs a seperate database for nova api (used in cells v2) which
needs to be created and synced during deployment. To follow the logic used for
all other databases, the compute_api attribute was added to common.services
Change-Id: Idf6645064a1c2f337f542b29a026969c7d35efbe