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

Unable to set ACL to allow logging agent to write to a bucket on OBS #16

Open
davidboweninrupt opened this issue Jan 24, 2022 · 2 comments

Comments

@davidboweninrupt
Copy link

I believe 'log-delivery-write' should be in OBS_ALLOWED_ACL_CONTROL so we can give the logging agent permissions when using OBS.

I have added this locally and it seems to work very well.

Guillaume Le Blanc of Orange Business Cloud suggested this would be the right place get the change made.

Without it being in there the aclControl header doesn't get added and we get this error when calling setBucketAcl like this:

setBucketAcl(bucket_name, aclControl=HeadPermission.LOG_DELIVERY_WRITE)

This content appears in the response:
<MissingHeaderName>x-obs-acl</MissingHeaderName>

@liqiuqiu111
Copy link

@davidboweninrupt
Copy link
Author

Thanks for the link @liqiuqiu111 .

I'm not sure what help that offers because it seems LOG_DELIVERY_WRITE is not included in the list of choices.

As mentioned, I'd like it to be added to the list of aclControl values that can be used.

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

No branches or pull requests

2 participants