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

fix(bdcat): Hotfix for audit-service #3236

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Conversation

themarcelor
Copy link
Contributor

Resolve this issue:

[2021-07-15 15:13:40,384][     fence][  ERROR] Unable to POST audit log `{'request_url': 'http://gen3.biodatacatalyst.nhlbi.nih.gov/data/download/0005af85-3a18-4f44-8bb0-4124bb5a43df', 'status_code': 200, 'username': 'anonymous', 'sub': None, 'guid': '0005af85-3a18-4f44-8bb0-4124bb5a43df', 'resource_paths': ['*'], 'action': 'download', 'protocol': 'gs'}`. Details:
{'detail': [{'loc': ['body', 'sub'], 'msg': 'none is not an allowed value', 'type': 'type_error.none.not_allowed'}]}
[2021-07-15 15:13:40,386][fence.error_handler][  ERROR] 500 HTTP error occured. ID: e8b43c36-5e96-4fc6-860d-f9dac354a702
Details: {'message': 'Unable to create audit log'}

@PlanXCyborg
Copy link
Contributor

preprod.gen3.biodatacatalyst.nhlbi.nih.gov/manifest.json

Deployment changes

  • audit-service
    • If a previous version of the audit service has already been deployed, run kubectl delete secret audit-g3auto and gen3 kube-setup-audit-service to configure the audit SQS and update the configuration file. REQUIRES Fence 5.1.0 or more recent. OR to disable pulling from a queue, update the configuration file manually to disable "PULL_FROM_QUEUE" (PXP-7805 Fetch audit logs from an AWS SQS audit-service#2)

Copy link
Contributor

@paulineribeyre paulineribeyre left a comment

Choose a reason for hiding this comment

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

@themarcelor make sure deployment steps above are done ^

@themarcelor themarcelor merged commit 39c1f20 into master Jul 15, 2021
@themarcelor themarcelor deleted the chore/hotfix_audit_service branch July 15, 2021 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants