Commit Graph

53 Commits

Author SHA1 Message Date
Ghanshyam Mann 01af4534d4 Retire openstack-chef: remove repo content
OpenStack-chef project is retiring
- https://review.opendev.org/c/openstack/governance/+/905279

this commit remove the content of this project repo

Depends-On: https://review.opendev.org/c/openstack/project-config/+/909134
Change-Id: Ic1383709ea077a5b68ca98ed99fea79fad724a4f
2024-02-17 20:59:02 -08:00
Lance Albertson c6042984e7 CentOS 8 support
- Update ChefSpec

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-network/+/815172
Change-Id: I617cdb3879dbb1827dff542888808f96dd988c1e
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-22 16:35:18 -07:00
Lance Albertson 0731b49f19 Chef 17 support
- Remove bind from Berksfile
- Update copyright years
- Require Chef >= 16.0

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-network/+/814057
Change-Id: Ic9c9987766b1bd0e2131b91b0dfee18670156da7
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 12:48:10 -07:00
Lance Albertson 1d11e29ce1 Pull bind cookbook from git to fix version pinning issues
Change-Id: Iae50f92d88dbca219d231a12c8d2771fc149dd5b
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-07-19 10:38:27 -07:00
Lance Albertson 9f1133cd6e Update to Chef Workstation 21.2.303
Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-integration-test/+/779404
Change-Id: I73d2e8164842d6dba4480fb3de7a6700b48bf789
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-03-08 16:47:28 -08:00
Lance Albertson 97a980eac7 Cookstyle 6.19.5 fixes
Depends-On: https://review.opendev.org/756168
Change-Id: I66bcef30796f66bd4a89f618e76ee0d544583c8b
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-05 17:28:01 -07:00
Lance Albertson bec72e2bc2 Chef 16 updates
Depends-On: https://review.opendev.org/747602
Change-Id: I05135e9eb7a945019d0657b6e48b8a0ca5e63145
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-27 17:43:19 -07:00
Lance Albertson f1f112aff3 Updates for Train
Changed:
-Update release to train

Removed:
- Unused rubocop rules

Change-Id: Ibd5949820b50e05c07b39d893547416e0096193c
Depends-On: https://review.opendev.org/731849
Depends-On: https://review.opendev.org/731861
2020-05-29 21:38:28 -07:00
Lance Albertson 3b11524496 Stein fixes
- Cookstyle fixes
- Refactor Berksfile to use groups so we can exclude integration testing
  cookbooks
- Update documentation
- Cleanup line wraps
- Enable sensitive resources for the
  template[/etc/designate/designate.conf], to resources improve
  security.
- Update delivery configuration to exclude integration cookbooks
- Fix ChefSpec output.
- Add missing ChefSpec tests
- Switch package installations to send packages as arrays instead of individual
  package resources. This generally speeds up chef runs.
- Cleanup array syntax using %w() instead of []

Depends-On: https://review.opendev.org/701027
Depends-On: https://review.opendev.org/706101
Depends-On: https://review.opendev.org/706151
Depends-On: https://review.opendev.org/708059
Change-Id: I354db77f2d9486805713ac8688fcc552489c0a77
2020-03-19 13:03:31 -07:00
Lance Albertson 9a5b6fe6d7 Add missing ChefSpec tests and other various fixes
We probably should move the dashboard recipe to the openstack-dashboad
cookbook in another patch since we have fwaas and lbaas there as well.

Other changes include:
- Add missing cookbooks required for openstack-chef CI
- Add missing openstack-network dependency needed for the neutron_int
  recipe
- Add missing mdns, producer and worker services for RHEL platform
- Ensure all servers start as well as be enabled
- Add rndc_key attribute for setting the path of the rndc.key

Depends-On: https://review.opendev.org/702772
Change-Id: Ibeb6f0d43313478eff1054552df48f96c7ec589d
2020-01-30 13:15:03 -08:00
Lance Albertson cc4ec95267 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: I09b1c971476c6034dd2cfb656545629305a35912
2019-12-06 11:18:08 -08:00
Jens Harbott b83f37fde1 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: I37dc002541a760f9966f896ffbb59417c7285226
2019-09-18 14:52:16 +00:00
Jens Harbott be2fd380fa Fix designate config
The changes in [0] sadly were almost, but not quite, completely broken.
They introduced config options that do not exist in designate and also
made secrets being saved into the node config.

Fix all this, also clean up the remainder of a workaround that is no
longer needed.

This was partially fixed for stable/queens in [1].

backport: stable/queens

[0] If4e185eb58a525e22971c7a8b876274c353db847
[1] https://review.opendev.org/606094

Change-Id: I5ccb4fa5d8f3a003c4dd1b07e1c9ab2a99246dd6
2019-08-14 09:00:59 +00:00
Lance Albertson a6ec207561 Fixes to support fog-openstack-1.x
fog-openstack-1.x already appends "auth/tokens" so we no longer need to
do that.

Change-Id: I5d6f13d420b761ad14cda546119fda7ee4e9f8a3
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-07-06 13:37:42 -07:00
Lance Albertson b5114fbe2f Drop auth version attribute
This is not even used anymore and is causing issues downstream for testing since
it was removed in openstack-common.

Change-Id: I4411e69c78e0ef41e271eee15caaafbe2eb4b7c1
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-06-15 19:00:24 -07:00
OpenDev Sysadmins ef1227d2f5 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.html
http://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.
2019-04-19 19:39:39 +00:00
ZhijunWei 7e0d7bdcb0 Change openstack-dev to openstack-discuss
Change-Id: I9d504bf311b6196b8ea82401c569d66c8dc2b17d
2018-12-04 23:21:02 -05:00
Samuel Cassiba 0a8d77facc Update SQL/AMQP connection attributes for Designate
This commit updates deprecated attributes to those that allow the
services to start.

Change-Id: If4e185eb58a525e22971c7a8b876274c353db847
2018-09-10 19:32:52 -07:00
Samuel Cassiba 69984715ca Rename openstack-chef-repo references to openstack-chef
Change-Id: I7fcf4da25d3b57e5b08d79943789596cc9a6b688
2018-08-06 21:49:36 -07:00
Samuel Cassiba 544964b381 starting rocky development patch
Change-Id: Ic982ae168bf3206ad271a1858c5c1a0c91536f47
2018-08-03 06:40:39 -07:00
Zuul ec24a47a9b Merge "Add: sink service in designate" 2018-07-20 19:52:28 +00:00
Seb-Solon 2e9921b9fa Add: sink service in designate
Closes-Bug: #1779941

Change-Id: Idf538ad1c8ae8567aec2eac70446676d42fbdf90
2018-07-20 09:15:50 -04:00
Samuel Cassiba c16309270c Simplify identity endpoint
Per the Keystone Install Guide[1] the admin endpoint is superseded in
favor of a single public endpoint. Although internal goes through the
same instance, we should differentiate for project traffic and OpenStack
service traffic.

[1] https://docs.openstack.org/keystone/queens/install/keystone-install-ubuntu.html#install-and-configure-components

Depends-On: Id74966d9f1279f725bc41c08e434230a7845bbc1
Change-Id: I1adb3066c83aaffe8b22f2f2553f634483371974
Implements: blueprint simplify-identity-endpoint
2018-07-18 07:18:07 -07:00
Samuel Cassiba a85aea3845 Add delivery config
- adds Chef Delivery config using the Chef community standards
- adds a blank default recipe to satisfy verification tests

Change-Id: I47fa53ce6a0e4d43e3de726f07b3c1d415fc303a
Implements: blueprint deprecate-rakefiles
2018-07-13 08:32:24 -07:00
Samuel Cassiba 4674b7a532 Add native zuul jobs
- adds missing .zuul.yaml and .gitreview
- cookstyle fix to get a green build

Change-Id: Id74d402cd65bbe720840834eb9bd974d84a63004
2018-05-18 18:45:24 -07:00
Samuel Cassiba 59112747e8 Update maintainer for migration to OpenStack 2018-04-21 18:44:16 -07:00
Jan Klare 3335fe17e7
starting queens development patch 2018-03-06 10:02:14 +01:00
Jan Klare 86b3cd48a3
Merge pull request #10 from scassiba/chef13_fixups
Fixups for Chef 13 and Pike
2018-02-20 13:47:52 +01:00
Samuel Cassiba da0883fcb7 prettify package array for visibility 2018-02-16 11:18:31 -08:00
Samuel Cassiba 36d5f9b922 update recipes for Chef 13 2018-02-16 11:15:55 -08:00
Samuel Cassiba f7895985f4 correct package names for Ubuntu and CentOS 2018-02-16 11:15:55 -08:00
Samuel Cassiba e9d69e49fd foodcritic/cookstyle fixes. bump cookbook version to match Pike 2018-02-16 11:13:42 -08:00
Samuel Cassiba 15d2af9791 update recipes for Chef 13 2018-02-16 11:09:28 -08:00
Samuel Cassiba e80a078fae correct package names for Ubuntu and CentOS 2018-02-16 11:08:37 -08:00
Samuel Cassiba a28e0fa413 foodcritic/cookstyle fixes. bump cookbook version to match Pike 2018-02-16 11:05:03 -08:00
Jan Klare 6239cd780d
Merge pull request #9 from cloudbau/pike-chef13
Pike chef13
2018-02-12 12:58:51 +01:00
Jens Harbott 160c018fd9 Updates for pike and chef13 2018-02-06 15:26:28 +00:00
Jens Harbott f5ba64c51d Add support for deploying multiple DNS servers 2017-11-28 09:51:34 +00:00
Jens Harbott 4a4c2a87e6 Add recipe to install dashboard plugin for designate 2017-11-28 08:23:22 +00:00
Jan Klare 0e61c5e42b
Merge pull request #8 from ideaship/fix_domain_handling_03
Fix domain handling
2017-11-23 17:42:46 +01:00
Jan Klare 51b778c6ca
Merge pull request #7 from Seb-Solon/patch-1
Replace platform_family method and use attribute instead
2017-11-23 15:53:55 +01:00
Roger Luethi be7279b841 Remove domain role from designate service user
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
mmembership 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 designate user 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 designate user is to be
created in the Default domain).
2017-11-14 15:41:40 +01:00
Roger Luethi 6f2d894daf Remove superfluous role_name arguments
This patch removes the role_name when using openstack_user's :create
action (it gets ignored by the target method).
2017-11-14 15:40:24 +01:00
Sébastien Coavoux 7d62b184ec Replace platform_family method and use attribute instead
Closes-Bug: #1724987
2017-10-25 21:48:03 -04:00
Jens Harbott 0e94f9a464 Merge pull request #5 from cloudbau/add-neutron-integration
Add neutron integration
2017-09-12 10:58:28 +02:00
Jens Harbott d74939e678 Fixups for real world deployment
- Fix attributes
- Add more services
- Make pool definition more flexible
- Add Neutron integration
2017-09-11 10:14:05 +00:00
Jens Harbott ff4dc4f05b Set auth_uri in keystone_authtoken config section
The auth_uri option will be sent to the user when an unauthenticated
request is made. It should contain the unversioned public identity
endpoint [1].

[1] https://adam.younglogic.com/2016/06/auth_uri-vs-auth_url/
2017-09-05 12:47:30 +00:00
Jens Harbott b5828b9644 Merge pull request #4 from ideaship/fix_path
Fix endpoint path
2017-09-05 11:01:51 +02:00
Roger Luethi f01d5d0060 Fix endpoint path
According to the documentation [1], the endpoint for designate/dns
contains neither a version nor a tenant_id. The default value ('') is
correct.

[1] https://docs.openstack.org/project-install-guide/dns/ocata/install-ubuntu.html
2017-09-05 08:58:44 +02:00
Jens Harbott 298f101058 Merge pull request #2 from ideaship/attributes
Rename attributes to dns-api
2017-09-01 15:10:02 +02:00