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

Rename wsgi-rotation to wsgi-socket-rotation #833

Merged
merged 1 commit into from
Aug 31, 2023

Conversation

dosaboy
Copy link
Contributor

@dosaboy dosaboy commented Aug 5, 2023

No description provided.

@dosaboy
Copy link
Contributor Author

dosaboy commented Aug 27, 2023

not sure why pep8 is failing here, it works fine when i run locally. i have rebase and updated.

@zhhuabj
Copy link
Contributor

zhhuabj commented Aug 29, 2023

LGTM - thanks for the changes

@ajkavanagh
Copy link
Contributor

@dosaboy thanks for the patch. Please could you add to the description above why these changes are necessary and, also, as it is will cause a corresponding change in charms (the config var is changing), what charms it is affecting. At the moment, this looks like a breaking change, but it's not possible to see what is breaking. Thanks!

enable_wsgi_rotation = config('wsgi-rotation')
if enable_wsgi_rotation is None:
enable_wsgi_rotation = True
enable_wsgi_socket_rotation = config('wsgi-socket-rotation')
Copy link
Contributor

Choose a reason for hiding this comment

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

This causes a potentially breaking change, albeit only on master branch charms. Please could you link to the bug or gerrit reviews where this will be consumed? Thanks.

Copy link
Contributor

@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.

Just nacking for extra details on the change.

Commit 996f241 added support for new config option
'wsgi-rotation' but that name should have been
'wsgi-socket-rotation' in order to have a 1:1 relation
with the apache config it changes. The following patches
that implement this config are currently blocked until
this lands so that they can be synced before merge:

 * https://review.opendev.org/c/openstack/charm-ceilometer/+/887793
 * https://review.opendev.org/c/openstack/charm-cinder/+/886356
 * https://review.opendev.org/c/openstack/charm-glance/+/886376
 * https://review.opendev.org/c/openstack/charm-keystone/+/886377
 * https://review.opendev.org/c/openstack/charm-nova-cloud-controller/+/885836
 * https://review.opendev.org/c/openstack/charm-openstack-dashboard/+/886373

Related-Bug: #2021550
@dosaboy
Copy link
Contributor Author

dosaboy commented Aug 31, 2023

@ajkavanagh thanks for the review. I have addressed your points in the commit msg. This is not a breaking change since the patches to implement it in the charms are blocked on this landing first.

@ajkavanagh ajkavanagh merged commit 77bb1c8 into juju:master Aug 31, 2023
4 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