Commit Graph

21 Commits

Author SHA1 Message Date
Ghanshyam Mann 17be49bc33 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  to ea238dc44737a4163468524b5f46c9029f2b5689
  - 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: Ie74b00de70c5ce8180b1d6b06394572ef8025f34
2024-02-19 16:53:14 +00:00
Lance Albertson ed34202722 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  to f04c63bd47b0e1bae534e9c593ac4e6010cead3e
  - 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-identity/+/815147
    Change-Id: Iecf9c2a68d3c246412d2a09a7ac0888dd406c268
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-24 21:55:55 +00:00
Lance Albertson 34f42c4a4c Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  to 21424d8868f863aef3ad1a9c9692483dc5fe70a8
  - Chef 17 support
    
    - Remove bind from Berksfile
    - Update copyright years
    - Require Chef >= 16.0
    
    Depends-On: https://review.opendev.org/c/openstack/cookbook-openstack-identity/+/814051
    Change-Id: If07c6d8973bbba605756938f62d351cc323edd7b
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-10-14 22:36:22 +00:00
Ghanshyam Mann 37428c927d Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  to 0b2219df305ad6d5c31d5b827f33609b16112f67
  - Moving IRC network reference to OFTC
    
    Also pull bind cookbook from git to fix version pinning issues.
    
    Change-Id: I4e8122210bfaadd028b80d1a6cbd36dab3e3a83d
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-07-15 19:58:29 +00:00
Lance Albertson 853db74605 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  to 4c8ec227d681cdf2a8aa758c3940868e2f9ae7d7
  - Update to Chef Workstation 21.2.303
    
    - Cookstyle fixes
    
    Change-Id: I230221e0350a53c0fb5ca05d74cf100c330becc4
    Depends-On: https://review.opendev.org/c/openstack/openstack-chef/+/779389
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2021-03-09 18:55:32 +00:00
Lance Albertson 799519e449 Update git submodules
* Update cookbook-openstack-telemetry 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: Ia19ea6bebf787f1d8b1542bb6c895a294a5e72bc
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-10-10 01:59:19 +00:00
Lance Albertson 715ea998d2 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Chef 16 updates
    
    Depends-On: https://review.opendev.org/747556
    Change-Id: Ib869c7c1aded0cc0669f83fdad9ac1077851f08f
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2020-09-02 16:43:15 +00:00
Lance Albertson 5965a5fe9a Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Updates for Train
    
    Changed:
    - Update release to train
    - Update to apache2 ~> 8.1
    
    Fixed:
    - ChefSpec
    
    Removed:
    - Unused rubocop rules
    
    Change-Id: Iea9ced8eee44bf351b803b5171196c511ab572f5
    Depends-On: https://review.opendev.org/731859
2020-06-11 00:55:24 +00:00
Lance Albertson fd7dfa77b8 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - 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/aodh/aodh.conf],
      template[/etc/gnocchi/gnocchi.conf] and
      template[/etc/ceilometer/ceilometer.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
    Change-Id: I73e3c3dce64798a4d6ba5c94cc45dfabc4d2d0ff
2020-03-27 20:14:33 +00:00
Lance Albertson 6b674df5b9 Update git submodules
* Update cookbook-openstack-telemetry 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.
    
    Additional fixes:
    - Install mod_wsgi as a package on RHEL since there is no built-in
      resource for it.
    - 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.
    - Don't set SELinux to permissive on RHEL (I tested this works properly
      with it set to enforcing).
    - Remove collector recipe as this service has been deprecated upstream.
    - Add openstack-ceilometer-notification package for RHEL in
      agent_notification_packages as it was missing.
    - Fix gnocchi-api_wsgi_and aodh-api_wsgi_file file on RHEL
    - Remove openstack-aodh package in aodh_packages for RHEL as it does not
      exist
    - Clean up arrays in attributes using %w(foo) instead of ['foo']
    - Set group for upgrade scripts so it can read files properly on RHEL
    - Add missing ChefSpec tests for aodh
    - Include additional cookbooks in Berksfile required for CI
    
    Depends-On: https://review.opendev.org/702772
    Depends-On: https://review.opendev.org/701824
    Change-Id: Ie7e6d792a764314775c40d4489cfba05d5c483ce
2020-01-31 01:28:50 +00:00
Lance Albertson de41522f73 Update git submodules
* Update cookbook-openstack-telemetry 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.
    
    Speed was improved from 14 minutes 3 seconds to 3 minutes 41.8 seconds
    
    Change-Id: I1233e25e69b956936fc19f5c57cedc529afbb730
2020-01-10 13:52:53 +00:00
Lance Albertson b9e9e62e28 Update git submodules
* Update cookbook-openstack-telemetry 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
    
    Change-Id: If94bd0673690681837f25d76fa28139406945e71
2019-12-09 07:32:06 +00:00
Lance Albertson 5c80e287d7 Update git submodules
* Update cookbook-openstack-telemetry 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.
    
    Change-Id: I52b2431da20b4ac994d920c233e6473ce275b197
2019-12-02 09:17:06 +00:00
Lance Albertson 403ba544cc Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Manage /etc/ceilometer/polling.yaml
    
    This adds management of /etc/ceilometer/polling.yaml which defines which metrics
    to poll and how often. This pulls in the default configuration which the same
    for both RHEL and Ubuntu and adds two new attributes for configuring the file.
    
    In addition, restart various services related to the configuration file.
    
    Change-Id: I69ed0a8933a971d9cac20dbd4133197a7e4274af
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-19 22:07:18 +00:00
Lance Albertson 6325b37fac Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Remove deprecated api service
    
    The API service for Ceilometer was deprecated in Ocata [1] and apparently we
    missed that. This removes all references to the API service which is no longer
    needed.
    
    [1] https://docs.openstack.org/releasenotes/ceilometer/ocata.html#deprecation-notes
    
    Change-Id: I7a888a4aaadaa8213d6763854b39d78910fad0db
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-19 22:07:18 +00:00
Lance Albertson 557e8d5be9 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Create attribute for setting options passed to ceilometer-upgrade
    
    I ran into a problem similar to this one [1] where testing gnocchi
    commands did not work properly. The key problem is the fact that
    `--skip-gnocchi-resource-types` was included in the ceilometer-upgrade
    command.  To allow an easy work around, I figure we can just create an
    attribute which can add any option to ceilometer-upgrade so you can set
    it to '' if you don't want it.
    
    It might be debatable on whether to just default to run it with out
    ceilometer-upgrade instead.
    
    Some additional fixes include:
    
    - Move the ceilometer-upgrade command to a new setup recipe where it
      makes more sense since it needs to be run after Ceilometer and Gnocchi
      are setup.
    - Fix name of gnocchi-metricd_service for RHEL
    - Add same apache restart fixes that we implemented in other cookbooks.
      This is needed so that you can properly run ceilometer-upgrade with
      gnocchi enabled.
    
    [1] https://bugs.launchpad.net/openstack-ansible/+bug/1737096
    
    Change-Id: I619ef044b8cb254b23e0c7bc674c46d5dd7e0076
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-19 10:30:29 +00:00
Zuul 98b65b8267 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Merge "Allow ability to configure pipeline publishers"
  - Allow ability to configure pipeline publishers
    
    This adds a template for managing the pipeline.yaml file which allows one to
    configure the pipeline publishers such as gnocchi or prometheus. The template
    file was taken from the latest Rocky tarball for ceilometer.
    
    Change-Id: I938219bfdcfa69a910cae4b72a40c19d5124d99e
2019-11-18 16:11:13 +00:00
Zuul 03ee521666 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Merge "Don't copy gnocchi_resources.yaml for RHEL"
  - Don't copy gnocchi_resources.yaml for RHEL
    
    RDO provides a sane copy of this file and it's causing issues on RHEL platforms.
    
    Change-Id: Ia75850fd53829593d556e1e3fb1650f8ad919415
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-18 15:59:04 +00:00
Lance Albertson 42e23bf555 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - 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, re-add openstack_endpoint_type which is now fixed now that this [1]
    has been released upstream.
    
    [1] https://github.com/fog/fog-openstack/pull/494
    
    Change-Id: I06ee3681ff8bc90f15b2b0ecbdcaebe475709b31
    Signed-off-by: Lance Albertson <lance@osuosl.org>
2019-11-05 10:47:38 +00:00
Lance Albertson 9932705a48 Update git submodules
* Update cookbook-openstack-telemetry from branch 'master'
  - Fix gnocchi endpoint issues
    
    This fixes two primary issues:
    
    - Removal of using node['openstack']['api']['auth']['version'] and converting to
      using ::URI.decode
    - Renaming endpoint attributes from telemetry-metric to telemetry_metric to
      match what's used in openstack-common. Also rename all attributes to using the
      underscore to minimize confusion.
    
    Change-Id: I59c960a18f9e88eea494ec3c7bdbf189309f23e7
    Signed-off-by: Lance Albertson <lance@osuosl.org>
    
  - 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-06-17 18:46:54 +00:00
Monty Taylor aa262b7a44
Update git submodules based on new script
Change-Id: Ia578b55e3e07b4ea90f034805625caf82e9e674e
2019-01-04 14:13:17 +00:00