Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cinder tests for audit middleware #1200

Merged
merged 1 commit into from
Apr 29, 2024
Merged

Add cinder tests for audit middleware #1200

merged 1 commit into from
Apr 29, 2024

Conversation

MylesJP
Copy link
Contributor

@MylesJP MylesJP commented Apr 18, 2024

Added two tests for the audit middleware feature being added to Cinder.

freyes
freyes previously requested changes Apr 18, 2024
Copy link
Member

@freyes freyes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When we implement functional tests (as this PR does), there are two things to have in place:

  1. In this z-o-t PR, please, include a link to the review.opendev.org change that's being used to test this change (see example ).
  2. In the change you are proposing in review.opendev.org use the Func-Test-Pr header, more details at https://docs.openstack.org/charm-guide/latest/community/software-contrib/making-a-change.html#functional-test-changes

@MylesJP
Copy link
Contributor Author

MylesJP commented Apr 18, 2024

openstack-mirroring pushed a commit to openstack/charm-cinder that referenced this pull request Apr 24, 2024
This commit adds Keystone audit middleware API logging to the Cinder
charm in versions Yoga and newer to allow users to configure their
environment for CADF compliance. This feature can be enabled/disabled
and is set to 'disabled' by default to avoid bloat in log files.
The logging output is configured to /var/log/apache2/cinder_error.log.
This commit builds on previous discussions:
juju/charm-helpers#808.

Related-Pr: juju/charm-helpers#893
func-test-pr: openstack-charmers/zaza-openstack-tests#1200
Closes-Bug: 1856555
Change-Id: Ia7dbd6af2305e92eaa9a65890644c4a324ab2c65
openstack-mirroring pushed a commit to openstack/openstack that referenced this pull request Apr 24, 2024
* Update charm-cinder from branch 'master'
  to e25b5d38fbb0692e5fab6e7f562c974316d61abe
  - Add keystone audit middleware API logging
    
    This commit adds Keystone audit middleware API logging to the Cinder
    charm in versions Yoga and newer to allow users to configure their
    environment for CADF compliance. This feature can be enabled/disabled
    and is set to 'disabled' by default to avoid bloat in log files.
    The logging output is configured to /var/log/apache2/cinder_error.log.
    This commit builds on previous discussions:
    juju/charm-helpers#808.
    
    Related-Pr: juju/charm-helpers#893
    func-test-pr: openstack-charmers/zaza-openstack-tests#1200
    Closes-Bug: 1856555
    Change-Id: Ia7dbd6af2305e92eaa9a65890644c4a324ab2c65
Copy link
Collaborator

@ajkavanagh ajkavanagh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajkavanagh ajkavanagh dismissed freyes’s stale review April 29, 2024 11:08

The changes requested were applied.

@ajkavanagh ajkavanagh merged commit 0271cc2 into openstack-charmers:master Apr 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants