Commit Graph

27 Commits

Author SHA1 Message Date
Ghanshyam Mann 281e3765e4 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to 44d13c8c6421d123a51e70562a5e43f4018b66de
  - 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: Ida0639315944c8c7852ec37fb10f133e8ab9c455
2024-02-19 18:29:03 +00:00
Lance Albertson 0cb74c7353 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to f052ede42bab11320fefcafd8e3565269cc00dfb
  - 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-ops-database/+/815139
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-messaging/+/815137
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-integration-test/+/815171
    Change-Id: Ib21c5b2dbd13aa57de926e71db62d042374cabd4
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-24 21:48:50 +00:00
Lance Albertson 84fff34e54 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to e76dcb39e181a9c6432e5a16c5b8cc074a93e9db
  - Chef 17 support
    
    - Require Chef >= 16.0
    - Remove bind from Berksfile
    - Update copyright years
    
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstackclient/+/813953
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-database/+/814032
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-ops-messaging/+/814035
    Change-Id: I5d4f38f56e5a411b83b02d2fd9fff2e013947d71
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 22:31:45 +00:00
Marek Szuba fd7c3df6d7 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to f70a3454c5e6a4826245be68450c017e01767ab7
  - Make the name of default Keystone site for Apache2 a platform option
    
    Since at least Debian 9 (Stretch) the name of the relevant site has been
    'wsgi-keystone' rather than 'keystone'. Then again, as of 21.04 Ubuntu
    continues to use the old site name.
    
    Tha relevant attribute is also set for RHEL so that recipe validation
    doesn't fail due to missing resource name, even though the resource in
    question is currently guarded by 'if platform_family?("debian")'.
    
    Signed-off-by: Marek Szuba <m.szuba@gsi.de>
    Change-Id: I34b342d0b51cd5e11b1e5de95578ac47939895f9
2021-07-21 17:30:42 +00:00
Karim El Aammari a74cc7f963 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to c5211ab38f015315d3297d0664d8ad8058a36548
  - Possibility to set SSLCARevocationPath for keystone as chef default attribute "ca_revocation_path"
    
    Also set SSLCARevocationCheck alongside SSLCARevocationPath, all one
    gets by setting only the latter is warnings in Apache logs.
    
    Note: with Apache 2.3.15 or newer enabling revocation checks causes
    certificate validation to fail also when no CRLs for the given certificate
    could be found. For details see
    https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslcarevocationcheck
    
    Co-authored-by: Marek Szuba <m.szuba@gsi.de>
    Signed-off-by: Marek Szuba <m.szuba@gsi.de>
    Change-Id: Ic64249ba32d43877f9ef0325e7156e0d15622a69
2021-07-20 22:09:54 +00:00
Ghanshyam Mann 1e6c045a05 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to 114b459cadb24c870cbcc8e8ffcf590083a32ebd
  - Moving IRC network reference to OFTC
    
    Also pull bind cookbook from git to fix version pinning issues.
    
    Change-Id: I9bd4f54d9d10e9f3aba98a297213304507b9967d
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-07-15 20:00:11 +00:00
Lance Albertson d9d66d310a Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  to 5f40cfe1d8b4ed6598d068ee6b0686ba6ae3dfcb
  - Update to Chef Workstation 21.2.303
    
    - Cookstyle fixes
    
    Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
    Change-Id: Ib044399cb7fd28cbb874cb08f1a87ca376518e6f
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-03-09 18:55:43 +00:00
Lance Albertson e1dec1e945 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Cookstyle 6.19.5 fixes
    
    Update ChefSpec due to changes made in apache2 cookbook.
    
    Depends-On: https://review.opendev.org/756168
    Change-Id: Ie4a830620f217f5879ae4270850214902c202dbf
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-10 21:18:33 +00:00
Lance Albertson f5c7493ebe Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Chef 16 updates
    
    Depends-On: https://review.opendev.org/740342
    Depends-On: https://review.opendev.org/747542
    Depends-On: https://review.opendev.org/747554
    Depends-On: https://review.opendev.org/747555
    Change-Id: I4ad921b46ee476d9e866303e33be7b8803cdff98
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-09-02 16:43:14 +00:00
Lance Albertson 74f1110a7c Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Updates for Train
    
    Changed:
    - Update release to train
    - Update to apache2 ~> 8.1
    
    Fixed:
    - Cookstyle
    - ChefSpec
    
    Removed:
    - Unused .rubocop.yml
    
    Change-Id: I2dc8c767ac4f6bb0635ffa4a64d6e8e47fc29093
    Depends-On: https://review.opendev.org/731850
    Depends-On: https://review.opendev.org/731851
    Depends-On: https://review.opendev.org/731855
    Depends-On: https://review.opendev.org/731858
2020-06-11 00:40:39 +00:00
Lance Albertson b8704d6276 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Stein fixes
    
    - Cookstyle fixes
    - Refactor Berksfile to use groups so we can exclude integration testing
      cookbooks
    - Update documentation
    - Enable sensitive resources for template[/etc/keystone/keystone.conf]
      and execute[bootstrap_keystone] to improve security.
    - Update delivery configuration to exclude integration cookbooks
    
    [1] https://docs.openstack.org/keystone/stein/install/keystone-install-rdo.html#install-and-configure-components
    
    Depends-On: https://review.opendev.org/701027
    Depends-On: https://review.opendev.org/706101
    Depends-On: https://review.opendev.org/706140
    Depends-On: https://review.opendev.org/706147
    Depends-On: https://review.opendev.org/706158
    Change-Id: I6c5005b23ee209650911146e373c4cf082cbee9e
2020-03-27 19:54:27 +00:00
Lance Albertson 21a8a5529d Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - 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.
    
    - Install mod_wsgi as a package on RHEL since there is no built-in
      resource for it.
    - Don't set SELinux to permissive on RHEL (I tested this works properly
      with it set to enforcing).
    - Remove hack for restarting apache.
    - Convert web_app to template and subscribe to restarting apache.
    - Remove resources to restore SELinux contexts since this taken care of
      by Chef now automatically.
    - Remove unused references to log_debug in wsgi template
    - Add missing WSGISocketPrefix to wsgi template
    - Additional tests for keystone.conf and identity.conf
    - Remove unused ldap section tests as we no longer have attributes for it
    - Include additional cookbooks in Berksfile required for CI
    
    Depends-On: https://review.opendev.org/702772
    
    Change-Id: I717247217523e89251e4c0bead0c1a0d114ade2a
2020-01-31 00:30:37 +00:00
Lance Albertson 2f804214b2 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Upgrade python2-urllib3 on CentOS
    
    I've run into this issue on systems that already have python2-urllib3
    installed, but it's older than what gets installed from the RDO
    repository and breaks the db sync for keystone. By adding it here, that
    will ensure it's always upgraded before we try running db sync.
    
    Change-Id: If876315001c8136fad654d7408ec9f656ef48775
2020-01-23 09:13:56 +00:00
Lance Albertson 64861771d0 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Use Ubuntu 18.04 for ChefSpec tests
    
    Change-Id: Icabebd997591b7208c92aa0a01f066d87c0f1b84
2020-01-07 15:38:44 +00:00
Lance Albertson 2d757b356d Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - 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.
    
    In addition:
    
    - Add missing ChefSpec tests for cloud_config and _credential_tokens
      recipes
    
    Change-Id: I9f3b86de8f7aa97a5954b2e0f564452e1897a6e3
2020-01-06 12:16:06 +00:00
Lance Albertson 4d62864c6f Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - 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
    - Drop obsolete default recipe
    
    Change-Id: I7894951c9ac0bbd00007da5face15e9418880bc4
2019-12-08 10:24:24 +00:00
Jens Harbott 5b44ac9cb6 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - 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.
    
    Also update Berksfile to allow dependency testing and require chef >= 14 now.
    
    Change-Id: Id4c06c8fc136ae3cde97e751373049db989de21e
2019-11-26 13:16:22 +00:00
inspurericzhang 9ad17b912d Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Replace git.openstack.org with opendev.org
    
    Change-Id: Ib8f7bf2608b06178388b91fc7b90460896bce416
2019-11-22 13:20:19 +00:00
Zuul 75ffa05157 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Merge "Add a cloud_config recipe"
  - Add a cloud_config recipe
    
    Using a cloud config file when accessing a cloud is the modern variant
    of setting lots of environment variables, so we add a new recipe that
    produces a cloud config matching what we are deploying.
    
    Clean up the old openrc template a bit.
    
    Change-Id: I8574d9f4299be5b2a374140b461ef48e9e80ae6b
2019-09-10 09:43:02 +00:00
Lance Albertson 300e3f4b7f Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Properly notify apache restarts on keystone configuration updates
    
    This uses edit_resource to add a notification in the identity apache
    configuration when it gets updated. This is a workaround due to the fact
    we are using a version of the apache2 cookbook that is still using
    definitions and cannot add notifications with definitions.
    
    This is intended to ensure we only restart apache when the configuration
    is updated. Otherwise, the old behaviour was to restart apache on every
    run which is problematic in production environments. I have been using
    this in our production wrapper cookbook for the past year or so without
    any issue.
    
    This will be removed in the Stein release when we migrate to the newer
    apache2 cookbook which uses proper resources.
    
    Change-Id: I13de063d1e7ffd356d754eb0f2d8286a3c694836
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-08-20 13:36:40 +00:00
Zuul 4bf208f34e Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Merge "Fixes to support fog-openstack-1.x"
  - 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: I2a73e87648bff58180c6ee2355a733a8e030fa4b
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-07-05 08:37:21 +00:00
Roger Luethi 76d0f7f755 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Disable UCA keystone apache2 site early
    
    If the chef-client fails between keystone package installation and the
    disabling of the default keystone config file from UCA package, then
    apache2 may end up with conflicting site configurations trying to bind
    to the same port.
    
    backport: stable/queens
    
    Change-Id: Ib52a4d5195f9ef8d7caa8478c8293fe894624ee5
2019-07-05 08:24:51 +00:00
Zuul b1d267b510 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Merge "Drop admin endpoints"
  - 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.
    
  - 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, except that it's use is hardcoded in keystonemiddleware.
    So we prepare everything for completely getting rid of the admin
    Identity endpoint, but still create it during bootstrap.
    
    Also drop explicitly creating resources that are created during keystone
    bootstrap anyway.
    
    [0]
    https://opendev.org/openstack/openstack-chef-specs/src/branch/master/specs/ocata/all/drop-admin-endpoints.rst
    
    Depends-On: https://review.openstack.org/652052
    Depends-On: https://review.openstack.org/652064
    Depends-On: https://review.openstack.org/652098
    Depends-On: https://review.openstack.org/652589
    Change-Id: Iddfae1c2cb29217cd9aae89d56bc65fa935fcd28
2019-05-06 12:09:04 +00:00
Jens Harbott 787af7643c Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Add endpoint_type attribute defaulting to internalURL
    
    This is in preparation of dropping the admin endpoint, we need this
    attribute in place first so we can reference it in other cookbooks.
    
    Change-Id: Idee227f26fcc74412873c5afd02dfcce32145ea7
2019-04-18 08:56:08 +00:00
Jens Harbott b16dfcdbc3 Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Drop support for a templated catalog
    
    This was only half-working anyway since we moved to keystone V3, so we
    should just drop it. If someone wants to configure their deployment with
    it, they can easily set up a wrapper for it.
    
    Change-Id: Ifdf96502d18895e3b79dfa235fd102b42a0f4bc3
2019-04-05 15:33:02 +00:00
Jens Harbott 3e1189c37a Update git submodules
* Update cookbook-openstack-identity from branch 'master'
  - Stop overriding auth methods
    
    Setting the keystone option [auth]/methods by default blocks additions
    like application_credential that was newly added to Keystone in Queens.
    Let's stick to Keystone's defaults instead, deployments can override
    these settings if they need to.
    
    Also drop some even older version of these attributes that haven't been
    used at all anymore for some time.
    
    Change-Id: I10b31efe1e94fc69cda65e2f7fb7a669afb166ba
2019-03-05 11:04:38 +00:00
Monty Taylor aa262b7a44
Update git submodules based on new script
Change-Id: Ia578b55e3e07b4ea90f034805625caf82e9e674e
2019-01-04 14:13:17 +00:00