Commit Graph

63 Commits

Author SHA1 Message Date
Ghanshyam Mann faa39e7a24 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: I0d0eb6f34bac0c95f38f857845212a09ba6aa7c9
2024-02-17 20:56:48 -08:00
Lance Albertson e1accbc3d6 CentOS 8 support
- Update package names
- Migrate to using apache2_mod_wsgi resource and require apache2 ~> 8.6
- Update ChefSpec

Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-image/+/815148
Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-network/+/815172
Change-Id: I1e62b07c634845ecaac088d7ff4cceb78af680de
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-22 16:41:06 -07:00
Lance Albertson 580719e17b Chef 17 updates
- Update copyright years
- Require Chef >= 16.0
- Remove bind from Berksfile

Change-Id: I315658caeb621419c859be5054f739dbed3f3593
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 17:04:14 -07:00
Lance Albertson 1cd1888f4e Pull bind cookbook from git to fix version pinning issues
Change-Id: If0aee1c0a7706b3f0ad4ac1ca5a0a9dd002dab5d
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-07-16 16:47:13 -07:00
Lance Albertson eb3785ad0b Update to Chef Workstation 21.2.303
- Cookstyle fixes

Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
Change-Id: I36d145087e9240764299358d6fd3fe11fd779544
Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-03-08 16:34:50 -08:00
Lance Albertson 315e9d77a7 Chef 16 updates
Depends-On: https://review.opendev.org/747557
Depends-On: https://review.opendev.org/747602
Change-Id: I7aa471dba4bc1ff7077496824ddf15aee8ca863e
Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-08-27 17:40:37 -07:00
Lance Albertson 61e5ab5421 Updates for Train
Changed:
- Update release to train
- Update to apache2 ~> 8.1

Change-Id: I1b83fcc4dade8ef01cf76c2ffa02c6fba087b97a
Depends-On: https://review.opendev.org/731859
Depends-On: https://review.opendev.org/731860
Depends-On: https://review.opendev.org/731861
2020-06-09 09:36:46 -07:00
Lance Albertson d8c702eaec 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/ironic/ironic.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/706157
Depends-On: https://review.opendev.org/708059
Change-Id: Icf11e0e66e1d9d34c4b8142e2a6a14d2da666390
2020-03-19 12:57:49 -07:00
Lance Albertson b643c5f620 Update to apache2 ~> 8.0 cookbook
This brings us up to date with the latest apache2 cookbook which
included a major refactor in 6.0.0 removing all of the definitions and
recipe with proper resources. Instead of using the apache2_default_site
resource, directly use a template and then enable the config file using
the apache2_site resource. This gives us the most flexibility.

Additional fixes:
- Install mod_wsgi as a package on RHEL since there is no built-in
  resource for it.
- Convert web_app to template and subscribe to restarting apache.
- Remove erroneous restart for ironic-api service on packages
- Properly set service password and auth URL
- Improve tests for ironic.conf
- Add missing apache2 depend
- Add missing api RHEL ChefSpec tests
- Include additional cookbooks in Berksfile required for CI

Depends-On: https://review.opendev.org/702772
Depends-On: https://review.opendev.org/701824
Change-Id: I198e2c211630e190bf2a992b3dc6b6c5afaf54e8
2020-01-30 11:22:56 -08:00
Lance Albertson 00ed47e742 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.

Speed was improved from 42.29 seconds to 15.14 seconds

Change-Id: I4984b72e2b95028d4ee25e4a410e9a2dea364325
2020-01-06 14:36:34 -08:00
Lance Albertson 92b6694a0a Updates for rocky
- Replace git.openstack.org with opendev.org
- Update some documentation
- Move README.md to README.rst for better rendering

Change-Id: Id39550d931218a60c5229802d9f660ce59ae0ad6
2019-12-06 12:09:13 -08:00
Lance Albertson 7ee0456dac 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: I6c17195b5bbf06674adfe3380481d00b22446970
2019-11-25 20:30:27 -08:00
Lance Albertson 813fbd2c68 Fixes to support fog-openstack-1.x
fog-openstack-1.x already appends "auth/tokens" so we no longer need to
do that.  In addition, comment out endpoint type until this PR [1] gets
merged and released.

[1] https://github.com/fog/fog-openstack/pull/494

Depends-On: https://review.opendev.org/666176
Change-Id: I068e7b85a052d6bd3f03e96878e67e8b1c3a974f
Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-07-03 16:03:24 -07:00
Jens Harbott 08292ef64f Drop api auth version attribute
This attribute isn't used anywhere and we are dropping the global
attribute that is being referenced here in [0].

[0] https://review.opendev.org/652997

Change-Id: I7899c3e2f60b6bc3ec5266a270bee25eb377417a
2019-05-02 09:47:39 +00:00
Zuul 9840d394e7 Merge "Drop admin endpoints" 2019-04-29 09:30:59 +00:00
OpenDev Sysadmins 54925c169b 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:43:09 +00:00
Jens Harbott 65137ffed4 Drop admin endpoints
The admin endpoints offer no special functionality, users may talk to
the public endpoints instead. The only historic use case has been the
keystone v2 admin endpoint, but with keystone v3 API, even that is no
longer needed.

Also stop creating cache dirs that were only needed while keystone
supported PKI tokens.

[0]
https://opendev.org/openstack/openstack-chef-specs/src/branch/master/specs/ocata/all/drop-admin-endpoints.rst

Depends-On: https://review.openstack.org/652050
Change-Id: If6226717a359b8e09b5d28077e7adaff82055626
2019-04-16 09:35:35 +00:00
Zuul de1d8fdbe1 Merge "Convert hyphens to underscores for service names" 2019-01-07 16:36:27 +00:00
Samuel Cassiba 68389100a4 Convert hyphens to underscores for service names
The Chef Style Guide[1] does not recommend using hyphens for
cookbook or resource names. To maintain consistency, we should follow
best practices.

[1]: https://docs.chef.io/ruby.html#use-of-hyphens

Depends-On: Ic2b6d8f1cdf719791faaebdbd7e29e789eb3f31c
Change-Id: Ib8b6ed53f2d4e97ea5bfc89f5fb8fac42308b3b7
2018-12-14 23:55:39 -08:00
ZhijunWei c720e9e01a Change openstack-dev to openstack-discuss
Change-Id: I07e42ffae8cc2d1bbd8f85691ccf5a9373978723
2018-12-04 23:20:56 -05:00
Samuel Cassiba 28d5e53fd7 Refactor ironic cookbook
* added endpoint attributes
* moved version to 18.0.0 for Rocky release
* refactored attributes to fit the template logic
* moved attributes for ironic.conf to attributes/ironic_conf.rb
* adapted identity registration for the client library cookbook

Depends-On: https://review.openstack.org/599860
Change-Id: Idd4b3ecbc9f0a91f12450aad8ff679665dd18cce
2018-09-04 15:30:01 -07:00
Jan Klare e68ef3ce8c retire unmaintained project
Change-Id: I750101fd295b7210dd7e5c490f375a3237fbc455
2016-12-14 16:28:00 +01:00
Flavio Percoco 7a597d4fc4 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/7fc12b06c0d5deb0fbc3be931aa00474

Change-Id: I05a3c97bc24db672c0b4345647332860377463f8
2016-11-26 11:51:51 +01:00
Jan Klare 87f79b83d8 add information to README that cookbook was not refactored and is not maintained
* DISABLED ALL TESTS TO GET PATCH PASSING GERRIT, THESE NEED TO BE ENABLED
  IF WE START MAINTAINING THE COOKBOOK AGAIN

Change-Id: I8b19055ea1f6100c4a1c7a74e6b00c322ad0608e
2016-06-27 10:50:18 +02:00
Mark Vanderwiel 4d2c7e12a8 Add integration task
Add missing gate integration task, but use the one from
Common cookbook to make future updates easy.

Change-Id: Ie0409bf022813b7b151d897f1152b6664f29a5ce
2015-10-06 09:39:27 -05:00
JJ Asghar 95763d1a42 Initial Liberty Changes
Metadata changes
- Updated maintainer email
- Updated the version

Change-Id: If99cb0320b59a41158a67b6b1c8b693f4e450894
2015-08-27 15:06:24 -05:00
Jenkins 861fff49a7 Merge "Create MAINTAINERS.md" 2015-06-29 17:10:08 +00:00
Alan Meadows f815df6ab5 Create MAINTAINERS.md
* Create new MAINTAINERS.md file with a pointer to central maintainers page
* Update README.md to point users at the attributes files directly
* Cleanup CONTRIBUTING.md links

Change-Id: I626074a06dc4cc8c4641c68e55f4c3ffe50658e3
2015-06-29 08:52:56 -07:00
Mark Vanderwiel f3431fcd2f Replace deprecated get_secret
Use get_password 'token' instead.
Depends-On: I9c60955fe4ed444b9cd70384fa8fb7829b1f0c47

Change-Id: Ie3f1a5317aabe8e35172237dab82a036c7b88de1
Partial-Bug: #1467662
2015-06-23 11:50:33 -05:00
Jenkins 2e36ff2829 Merge "Allow oslo rabbit heartbeat configuration" 2015-06-22 17:24:25 +00:00
Mark Vanderwiel 34d60dbc2c Allow rabbit mq kombu ssl configuration
Add the rest of the kombu ssl configuration options.

Change-Id: I3196cbfaf25c8647974afddc6f2180257c2a0c89
Partial-Bug: 1464706
2015-06-17 08:36:27 -05:00
wenchma e115ab2d78 Add rabbitmq max_retries and retry_interval in ironic conf
Oslo.message using rabbit_max_retries and rabbit_retry_interval to
define reconnect rabbitmq server times and interval when can not
connect to rabbitmq server.

Change-Id: I43c682784d5721a09546937b9e587d9e67478883
Partial-Bug: #1439968
2015-06-17 03:12:56 +00:00
wenchma 6ca26b654b Sync stackforge/cookbook* to openstack/cookbook* for ironic cookbook
Change-Id: Iea3605f79c6f4c8a4ab071bf897f0bd946b81fe0
Partial-Bug: #1465116
2015-06-15 13:12:10 +08:00
Mark Vanderwiel 39f88a3e48 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: Ibe089a1d2e298f703d3cc6c952e475f5c1990880
Partial-Bug: #1462438
2015-06-15 03:06:38 +00:00
Jeremy Stanley 48ed96c95b Update .gitreview file for project rename
Change-Id: I540f8492025837d6f2cbc1411af5c9797574f312
2015-06-12 23:12:29 +00:00
Mark Vanderwiel 8974221a00 Cleanup minor rubocop offenses
Cleaned up all the minor rubocop issues, the ones left relate to
complex logic and what I think is a bug in rubocop for nested
vs compact modules/class definitions.

Change-Id: Ie9fe1dd502ad09a9887045361bc1366cb116b5a4
2015-06-05 05:12:35 +00:00
wenchma 15d607a0cb Update the deprecated group/name to Kilo release
For Kilo release, there are many deprecated group/name in conf files of openstack,
so we need to change the deprecated group/name to new group/name.

blueprint conf-section-update-for-kilo
Closes-bug: #1436170

Change-Id: If3f1df23fc64555a26e9d467c8e4f189a5e9442e
2015-05-15 02:45:31 +00:00
Mark Vanderwiel 70068076be Ironic conductor requires ipmitool command
Need to install the ipmitool package for conductor. Also
no need to notify or subscribe immediate for package
updates, that just causes the service to restart several times
when the all the packages have not yet been installed.

Change-Id: Ie5d33224f71e154ac904dcb0568ab2970e1f1647
Closes-Bug: #1454770
2015-05-13 13:51:47 -05:00
Jenkins 8241c41e7c Merge "Use the Common endpoint bare-metal-api-bind" 2015-05-13 15:12:52 +00:00
Mark Vanderwiel a661d7729e Add attributes for workers
Allow the workers for ironic to be configured.

Change-Id: Id730fcb9abfd35ec7eecdcf6d90d4cea31dd2ebc
Closes-Bug: #1452854
2015-05-07 14:00:26 -05:00
Mark Vanderwiel c4f4ae5369 Use the Common endpoint bare-metal-api-bind
Make use of the bind endpoint for ironic api conf

Change-Id: I03cac92746cc4bcb5a3d1dcb594fffd3f02318ce
Closes-Bug: #1452794
2015-05-07 10:53:24 -05:00
Jenkins 25b19192a6 Merge "Revert "Use new "service" role instead of "admin""" 2015-05-01 16:29:25 +00:00
wenchma a9bfbaab9a Add neutron url attribute for ironic
Change-Id: I46f5de1bcff5735f37e75deca931f59aa3ff0c81
Closes-bug: #1450323
2015-05-01 11:27:23 +08:00
Ma Wen Cheng 0cea7f1ac6 Revert "Use new "service" role instead of "admin""
This reverts commit de410e11fb.

Closes-bug: #1450473
Change-Id: Id81eca2dca6cf418086483662cb49204c3129fce
2015-04-30 23:51:38 +08:00
Mark Vanderwiel 8d3f085f46 move from bundler to chefdk
- deprecated Gemfile
- updated TESTING and README
- updated Rakefile to use chef exec instead of bundle exec
- replaced Runner by SoloRunner in specs

Change-Id: I73911c8d407ca25d32ed8294410a4a5cbe4cd392
2015-04-29 13:56:30 -05:00
wenchma a515f81feb Add tftp configuration for ironic
Expose the tftp configuration to support tftp, disable by default.

Change-Id: I9175e420a3def4cf10e95701c235bbae999b6505
Closes-bug: #1446972
2015-04-27 15:38:42 +08:00
Mark Vanderwiel a2245c593a Move to rhel 7.1
rhel 7.0 is not EUS/LTS, need to switch to 7.1.

Change-Id: Ia4fb2740afb1c56c71a14147663fbefc15dc6968
Related-Bug: #1438878
2015-04-24 03:00:29 +00:00
wenchma 511039f668 Add missing shellinabox package which enables ironic node console
Change-Id: Ib8ed8b0227ba2173cd1650bb3564163a00913b4d
Closes-bug: #1446446
2015-04-21 11:58:37 +08:00
wenchma 5cc49f6b91 Correct the wrong configuration about glance_protocol
Change-Id: If736210aaac0436119ac6c4ea880d056f086090c
Closes-bug: #1444892
2015-04-20 10:04:43 +08:00
Jenkins 45c192fb20 Merge "Use new "service" role instead of "admin"" 2015-04-18 03:31:29 +00:00