Commit Graph

155 Commits

Author SHA1 Message Date
OpenDev Sysadmins c00e377e3d 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:49:00 +00:00
Samuel Cassiba b7f7c1ad91 Migrate Zuul jobs to openstack/openstack-chef
Change-Id: Iecf798b8f9654c3f6c6d1f4c66d324c51c9c9937
2018-08-31 23:28:48 -07:00
Samuel Cassiba 9524c609a6 stable/pike release
Change-Id: I38749ebe4ec4501156c3aa62fc2a0ec6b66ee2dc
2018-02-26 07:32:41 -08:00
Zuul f83d415602 Merge "Zuul: Remove project name" 2018-02-01 04:50:12 +00:00
Samuel Cassiba 40e115b66b Removed unused tests for deprecated RDBMS flavor
Implements: blueprint modern-chef

Change-Id: I6314c58d53c1d9a536191f62bde9cd820ddbfdad
2018-01-30 06:48:10 -08:00
James E. Blair 8ecaa85489 Zuul: Remove project name
Zuul no longer requires the project-name for in-repo configuration.
Omitting it makes forking or renaming projects easier.

Change-Id: Ib754a14335fc80fdf1ca292c8c98dfb101a3f58b
2018-01-28 14:45:12 -08:00
Samuel Cassiba 2bcd59a687 orchestration refactor for Pike and Chef 13
- implemented foodcritic and cookstyle corrections
- deprecated node.foo.bar method access for node['foo']['bar'] bracket syntax
- added interface for internal endpoint
- moved dpkg options to common cookbook

Implements blueprint modern-chef

Change-Id: I361aed3d84a6e7225d7d803f1855ce37da568eac
2017-12-10 12:32:19 -08:00
Roger Luethi 37737b68c1 Add comments to identity_registration.rb
Change-Id: Idc55def9c744a9af2780cd99addb7cb66393606e
2017-11-16 02:05:30 +00:00
Roger Luethi dc2d594b05 Grant admin role in heat domain to heat_domain_admin
This patch grants heat_domain_admin the admin role in the heat domain
(rather then in the service project).

We use :grant_domain instead of :grant_role, because we are setting a
role in a domain, not in a project.

Note that for the user to actually exist in the heat domain, a
sufficiently recent openstackclient cookbook is required -- otherwise
the domain_name attribute is ignored during user creation.

Also, we remove the user_name attribute (gets ignored by resource
action).

Change-Id: I747e2dedbc517cc3deb2675590fb982459c560a0
2017-11-15 21:36:05 +00:00
Roger Luethi 00341ef50a Remove domain role from heat service user
This patch removes the openstack_user resource with :grant_domain
action. A user is always created within a specific domain; such a
membership cannot be tacked on later. This resource gave the heat user
the role intended for its 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 heat 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 heat user is to be created
in the Default domain).

Change-Id: Ifa3d344a3d9094dd1272b126a4dc9ab951c00972
2017-11-13 15:07:33 +00:00
Roger Luethi b3983a8bd6 Add spec test for creation of stack domain admin
Change-Id: I05179189cc71fb2d09ad67291e61fae1708ae4b5
2017-11-13 09:39:16 +01:00
Roger Luethi 48fdd181f9 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).

Note that the spec test would still pass if only the line in
identity_registration.rb (but not the test) were changed, because the
code that actually does grant the role to the resource is executed right
after user creation and before any tests check the resource for the
existence of the role_name attribute. In other words: if the argument
were required in a call but only supplied in another call, the spec
tests would not catch it. Something to watch out for.

Change-Id: Ic45dd42453d9f8ae2a8c4d04f830cff67740cac6
2017-11-13 09:34:17 +01:00
Zuul 20d299964d Merge "Add native zuul v3 jobs defined in openstack-chef-repo" 2017-11-03 05:41:23 +00:00
Zuul e7cc27fab1 Merge "Remove duplicate resources" 2017-11-02 20:19:49 +00:00
Roger Luethi fb1c143c65 Change deprecated auth_plugin to auth_type
In the keystone_authtoken section, the key has already been changed
from auth_plugin to auth_type. This patch does the same for the trustee
section (see [1]).

[1] https://docs.openstack.org/heat/pike/install/install-ubuntu.html

Change-Id: Idd82170107043bc2497261c34859844343e783a1
2017-11-02 16:12:00 +01:00
Jens Harbott 05ec81a1ac Add native zuul v3 jobs defined in openstack-chef-repo
Change-Id: If2578cf642da14f1a0aa2f30be1c908f28171ccb
2017-11-02 10:42:28 +00:00
Roger Luethi 306f79c0b8 Remove duplicate resources
This patch removes duplicate resources from identity_registration.
Identical definitions can be found in the same file.

Change-Id: Ibabac07a86154829a1eb2a5deccc70bf50030c45
2017-10-30 13:47:16 +01:00
Seb-Solon d8f3af044e Replace platform_family method and use attribute instead
platform_family method is not working on latest Chef versions

Change-Id: I527f6ec23b38e149d51f00e7a214aded95a14bd8
Partial-Bug: #1724987
2017-10-28 15:44:36 -04:00
Christoph Albers cb26f25be4 Heat Fixes
- currently non-admin user aren't able to create stacks with i.e.
  Resource OS::Heat::SoftwareDeployment
- added heat domain
        heat domain_admin
        heat_stack_owner and user role
- added missing configuration options
- fixed some smaller ruby /cookstyle offenses
Change-Id: I6ae544dcc6260050304e66e227383e0e944a6bb6
2017-10-06 10:21:54 +02:00
Samuel Cassiba 032dd3c51a Initial orchestration Pike updates
- Switched default linter to cookstyle
- Renamed rake tasks to better conform with Chef conventions
- Normalized template banner

Change-Id: Icc3eca4b2d17a6d1ef66c1c7e75513de0ee3cac9
2017-08-25 10:08:57 -04:00
Jan Klare 1a46445152
starting pike development patch
Change-Id: I5bc48f1e9585ef3729d9df0d34c88095d28eb724
2017-08-18 10:09:41 +02:00
Samuel Cassiba df79bb4fe9 Reordered metadata.rb for readability, satisfy foodcritic/rubocop
Change-Id: Ib1a753696982f2e3cce133bd6bd56c4c8fa25bc5
2017-08-17 18:00:09 -04:00
loooosy def587e618 Optimize the link address
Use https instead of http to ensure the safety

Change-Id: Ic929a5bd9e6ec5466f1118ccb631c36f4e408443
2017-06-02 09:36:47 +08:00
Jan Klare ca8071eb86 add new Chef OpenStack Team Logo to README
Change-Id: I57846bc83272d2865bbb0d7de539a787aa5d90cc
2017-05-29 10:53:08 +02:00
Jan Klare 9531704451 starting ocata development patch
Change-Id: Ibbbfc1008f9e7688466431ab1168740c97f162ee
2017-02-23 17:07:12 +01:00
Christoph Albers 4f2e23c62d Newton / Identity V3 fix
- added user_domain_name attribute for trustee section

Change-Id: Ie88e3c3288fb7d4b3f9c2ef91e668e5fe4149062
2017-01-02 15:02:23 +01:00
Christoph Albers e00cf744d2 RPC_backend / transport_url workover
- removed deprecated rabbitmq attributes
- added rabbit_transport_url

Change-Id: Id1fa34e55c556ffae2a6200bb7138f11808a3abf
2016-12-20 11:45:40 +00:00
Jenkins 5943b3b5b3 Merge "Deprecated python-heatclient" 2016-12-20 11:02:08 +00:00
Samuel Cassiba b547aaa80c Deprecated python-heatclient
- deleted client.rb
- deprecated python-heatclient references

Implements blueprint newton-xenial

Change-Id: I54d8190f77b7731dfb518871f080f62718cedc47
2016-12-14 20:06:29 -08:00
Flavio Percoco a41d278c10 Show team and repo badges on README
This patch adds the team's and repository's badges to the README file.
The motivation behind this is to communicate the project status and
features at first glance.

For more information about this effort, please read this email thread:

http://lists.openstack.org/pipermail/openstack-dev/2016-October/105562.html

To see an example of how this would look like check:

https://gist.github.com/e6b186771b075c6db93881a0e82a641b

Change-Id: Id903c8625dd3e608cb1db79d40831130a33ad56a
2016-11-26 11:53:30 +01:00
Christoph Albers f2c3db560e use_cookbook-openstackclient/identity_v3
- Now use cookbook-openstackclient to create endpoints role service and
  user
- added domain creation and access granting
- added values to work with identity_v3
- rewrote specs to work again
- updated readme

Change-Id: If5c3758c786b2d11cec6d64dc57530367acd2976
Depends-On: I0f8955f05de9b33711c54b9a198f45018cceb8e1
2016-09-30 11:59:53 +02:00
Samuel Cassiba 1e41bc7811 Style and lint fixes to support newer ChefDK
Change-Id: Iccd706e2b804065c343c317f63783592e091c415
Depends-On: I6ce4587caa3ae68ddbd3ef1a521aaf46f4840b2c
Depends-On: I34e4c7b29ff7c36c91245d90fb0b6897847cd22f
2016-07-06 13:23:13 -07:00
Jan Klare fdd52191f9 initial commit for the newton development cycle
Change-Id: I28103109ef011b918d15160bd968c69f23e93551
2016-05-31 10:46:07 +02:00
Jens Rosenboom 4e99faff68 Fix auth_uri in client_keystone section
In contrast to other identity URIs, the auth_uri in the client_keystone
section of heat.conf must be the unversioned identity endpoint,
otherwise most resources will not work.

Change-Id: I9888e0b69c3ba2a60e3ac7bb84261ace6688b9e3
2016-05-02 10:53:36 +02:00
Jan Klare f950ab4b40 update the README after refactoring and align it with other cookbooks
* also removed the empty default recipe

Change-Id: Iff2c536d595f90f932129ab8a2faad17ae41415b
2016-04-26 15:41:26 -05:00
Mark Vanderwiel d6d787d4b9 Cleanup options deprecated for mitaka
Some options have been deprecated for Mitaka, replace them with the new
variants.

Change-Id: I98e8e82668501a34f27f38f9c9a8770d63ee3604
2016-04-13 14:11:46 -05:00
Jens Rosenboom 5d70ac53fa Refactor using new style
* use new logic for heat.conf template
* move all attributes that are used in heat.conf to
  attributes/heat_conf.rb
* remove all attributes that are just setting default values
* add new default attributes so that the authorisation setup will be
  functional again
* refactored endpoint and bind_service logic to fit the new common
  cookbook
* adapt specs accordingly
* removed qpid as a messaging option (can be included in a wrapper)
* removed fedora as supported platform
* removed deprecated Gemfile
* removed logic for setting up a dedicated domain for Heat, should be
  done in a wrapper
* update README.md accordingly (still incomplete)

Implements: blueprint cookbook-refactoring
Change-Id: I16a29e28068d106f0edcbe04cb529aabbbed1ac5
2016-03-08 12:27:39 +01:00
Mark Vanderwiel 9fe64485f5 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: I73b96a211c4da5755099c7852d6957a50ff0e8f7
2015-10-06 09:51:10 -05:00
JJ Asghar 49c1a11b8b Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

remove db2 refs

Change-Id: I7744f2b20a0e7d77344f50b791024ecbc4eb2435
2015-08-28 23:10:01 -05:00
Jenkins 411d553f94 Merge "Update centos/redhat/rdo package names" 2015-08-12 07:38:17 +00:00
Mark Vanderwiel 2ae14f7965 Update centos/redhat/rdo package names
Update the package names

Change-Id: Ica917bce1932bca9b88b02c5af4bddc6e746acde
Closes-Bug: #1483812
2015-08-11 18:24:33 +00:00
Mark Vanderwiel 2b3a6fdf89 fix up deprecated sql_connection key
Change to use connection

Change-Id: Ic4e0db71dd4254758ec62248591d7523e1ace960
Closes-Bug: #1483402
2015-08-10 15:43:29 -05:00
Ethan Lynn 0170665c67 Make auth_uri attribute for ec2authtoken section
Make auth_uri attribute for ec2authtoken section

Closes-Bug: #1480818
Change-Id: I6b3018317e6c4890d193aee6f6b5e101d901e687
2015-08-04 12:57:02 +08:00
JJ Asghar 47a8f33d4e Updated the URL for heat
It seems http://heat.openstack.org doesnt resolve.

Change-Id: Ieb95adf6148840a7e04784d53d2f01bfbcef314d
2015-07-09 16:46:08 -05:00
Mark Vanderwiel b5fac0e02b Replace deprecated get_secret
Use get_password 'token' instead.

Change-Id: I8a6a22751cfd3f262d44adaa7eb33ae0bcf9cffd
Partial-Bug: #1467662
2015-06-22 15:53:14 -05:00
Mark Vanderwiel 2a0e5aadb0 Allow auth_encryption_key to be configured
Change-Id: Ia3b00d0e93df7297a1391d9954048de146d03306
Closes-Bug: #1465926
2015-06-18 10:48:42 -05:00
Mark Vanderwiel 62f41a402f Allow rabbit mq kombu ssl configuration
Add the rest of the kombu ssl configuration options.

Change-Id: I71e50e405d6447229bce23e1b1db67fdfad316a8
Partial-Bug: 1464706
2015-06-16 10:53:03 -05:00
Jenkins 090a291942 Merge "Allow oslo rabbit heartbeat configuration" 2015-06-15 17:23:28 +00:00
wenchma fbecefacc4 Sync stackforge/cookbook* to openstack/cookbook* for heat cookbook
Change-Id: I39f4a2b48d93ac69f4ecc728a1720d6263bb5bca
Partial-Bug: #1465116
2015-06-15 16:11:09 +08:00
Mark Vanderwiel a84a144339 Allow oslo rabbit heartbeat configuration
In order to allow components to better handle and respond to mq failures,
oslo has some heartbeat options that are useful.

Change-Id: I453b04c90e6caba7c00cf239035af05199bb5c36
Partial-Bug: #1462438
2015-06-15 03:07:37 +00:00