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: If96ae42d836cbce43088efe483332cd2f7821457
Signed-off-by: Manuel Torrinha <manuel.torrinha@tecnico.ulisboa.pt>
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>
(cherry picked from commit 16441178af)
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.
Bump minor version for stable branch.
Change-Id: Ib6549c00596f6560dab74491309b6b580ae7b312
(cherry picked from commit 9170a08c7c)
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: Iba3d989443b5a808e921650ba58fb3f8542fafe8
The default recipe does not work with the latest version of pip. The
workaround is to override to 18.0
Change-Id: If245c3c51930beba151ed8a42cec15131ea28098
(cherry picked from commit 97af7feec5)
- 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
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.
Change-Id: I5afdb23fd3440918b5821c1ae2e1e6d56164ff75
- 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
- the usefulness of the bootstrap.sh script is superseded by ansible playbooks.
don't attempt to install chefdk a second time.
Change-Id: Ie16c40ce5e443a684cc6969dbbeaf3c3a64f01b5
- incremented chefdk release to 2.3.4
- populated some NODEPOOL_* macros for future use
Implements blueprint modern-chef
Change-Id: I00e2237cef0c9aa35f78d3ccec04a1c7b9271ce8
In order to make OpenStack configuration files written by Chef more
readable, this patch introduces a blank line before every section
heading.
Change-Id: Ib44e17cbba512c51c0098177d2dab1a91802b4d3
This patch extends openstack_command to accept an array in addition to a
string as an argument.
This allows the use of openstack_command in cases where an argument
contains protected spaces.
Examples:
mistral execution-create my_workflow \
'{"names": ["John", "Mistral", "Ivan", "Crystal"]}'
barbican secret list --name chef_test_secret --format value -c"Secret href"
Without this patch, all arguments have to be passed as a single string
which openstack_command splits on white space regardless of any
quotation marks. Therefore, the examples above will fail.
Change-Id: I0419a1526beb103839a3cf235eba6c41d9d946d5
Closes-Bug: #1723949
With zuulv3 we may need to have dependencies on projects in
openstack-infra/* namespace, we do not have to clone these for berks,
but we also shouldn't fail on them.
Change-Id: I07799648695149688893f11dea0ffc3c354c2270
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
- This recipe implements a basic etcd installation for shared oslo configs.
A wrapper recipe is needed for instantiation, as etcd is a pure library
cookbook.
Change-Id: Id2f934a9fc408276cb0a25afc2f65ec5f5c54c15
- 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
There may be issues caused by updated OpenStack python libraries being
picked up by other services when we install python-openstackclient
globally. So instead install it into its own virtualenv and create a
symlink to the resulting binary.
Change-Id: I43d9baf13dda20d39d3c52faf1f2322eee4884a3
Partial-Bug: 1661708
- added possibility to add more then one rabbit host
- edited rubocop constraints due to transport_url complexity
Change-Id: I9540b40c0dba46a62c21242b94089b81921700ca