Commit Graph

24 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 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 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 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
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
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
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
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
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
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
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
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
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
Mark Vanderwiel de410e11fb Use new "service" role instead of "admin"
Change-Id: I885750d36a242dcdbf0451de241d79d98eb6d38a
Partial-Bug: #1436050
2015-03-24 15:35:12 -05:00
wenchma ded5cad8ee Fix some issues of ironic cookbook
* Set default value for rpc_backend
* Change from "create_schema" to "upgrade" when dbsync
* Add some attributes
* Add identity_uri configuration item
* Add spec tests

Change-Id: Ic57ff8ae9ce69c24211527ddacd23f94d1e417e9
Closes-bug: #1429245
2015-03-19 15:57:50 +08:00
Jenkins fca6396aca Merge "Add ironic common package for debain platform family" 2015-03-10 20:10:33 +00:00
wenchma 70b47d394d Add ironic common package for debain platform family
Add irconic-common to the ubuntu common package list
in default attributes.

By the way, correct connection url that is messed up .

Change-Id: I658670681d4a2f7f7ad5f584b9c1c24448da7384
Closes-bug: #1428926
Closes-bug: #1429245
2015-03-09 10:00:24 +08:00
wenchma 673627d9e5 Remove the temp workaround of common attributes and db creation
https://review.openstack.org/#/c/148458/ and
https://review.openstack.org/#/c/148463/
have been merged.

Change-Id: I6495b3dd0f6d3a40acbb20194f0fd50c6099f9aa
Closes-bug: #1428985
2015-03-06 16:07:01 +08:00
wenchma 591c8773d2 Add installation and configuration support for Ironic
This commit adds attributes, templates, recipes and spec files to
support the installation and configuration of Ironic.

Depends on:
  https://review.openstack.org/#/c/148458/
  https://review.openstack.org/#/c/148463/

Adds temp workaround to cover the common attributes and
create ironic database with user util Kilo branch is created.

blueprint bare-metal-enablement

Change-Id: I48202ea1ebf7621141f97778961758b73da76e27
2015-01-29 10:43:22 +08:00