Commit Graph

22 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 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
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
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
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
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
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
wenchma a9bfbaab9a Add neutron url attribute for ironic
Change-Id: I46f5de1bcff5735f37e75deca931f59aa3ff0c81
Closes-bug: #1450323
2015-05-01 11:27:23 +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 5cc49f6b91 Correct the wrong configuration about glance_protocol
Change-Id: If736210aaac0436119ac6c4ea880d056f086090c
Closes-bug: #1444892
2015-04-20 10:04:43 +08:00
Jenkins 7b46a09d8a Merge "Use identity_uri_transform for identiry_uri support" 2015-04-18 03:29:12 +00:00
Mark Vanderwiel dd82011553 Use identity_uri_transform for identiry_uri support
Remove deprecated keys and use identity_uri via the new transform
helper method.

Change-Id: I2e439b8f3d1f5a4efa0c082b8e7d88d8594a65b3
Implements: blueprint identity-uri
2015-03-26 11:51:51 -05:00
wenchma 50573f1d1a Enable kombu_ssl_version configuration for Rabbitmq SSL
Change-Id: I73a8bcf331a72007bb5f27bd166ea97eebd58eeb
Closes-bug: #1433405
2015-03-24 17:59:51 +08: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
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 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