Netflix / dispatch

All of the ad-hoc things you're doing to manage incidents today, done for you, and much more!
Apache License 2.0
5.1k stars 508 forks source link

Unable to create executive report #2694

Closed dhananjaysathe closed 1 year ago

dhananjaysathe commented 1 year ago

Describe the bug When i try slack slash command to file executive report it fails

To Reproduce Steps to reproduce the behavior:

Setting up google :

Setup google account as detailed here https://github.com/Netflix/dispatch/blob/master/docs/admin-guide/administration/plugins/configuring-g-suite.md - only for Google Drive Plugin - Storage Management (i enabled all apis, setup domain delegation etc , all of it as instructed) Mapped

Setting up template and incident types:

Creating incident and testing:

Relevant Logs as follows:

Expected behavior A google doc with report should have been created

Release v20220915

mvilanova commented 1 year ago

@dhananjaysathe did you map the executive report document template to the incident type(s)? Does the document for the executive report get created in the Google share folder you created?

dhananjaysathe commented 1 year ago

yes i did that as described in the bug report """ Setting up template and incident types:

for "default" incident type i created a new created a new "default" executive template -> with weblink "https://docs.google.com/document/d/1dab6k14p5ageo5B_d1YlB_zS9hMGHDMXy9RUbIZous4/edit" that i got from the examples;
NOTE : default here is just a name i chose , and also marked the incident type name "defaut" -> default as required in the ui

"""

mvilanova commented 1 year ago

Does the document for the executive report get created in the Google share folder you created? The error tells me something is going wrong when the document is getting created.

dhananjaysathe commented 1 year ago

Hey @mvilanova thanks for your response. sorry i wasnt clear earlier, folder/files are NOT created :(

mvilanova commented 1 year ago

That's what I was afraid of. Make sure the settings in your Google Drive Plugin - Storage Management and Google Docs Plugin - Document Management are correct.

dhananjaysathe commented 1 year ago

Hello @mvilanova i added the configuration for document too , no dice I have the following enabled now

Slack Plugin - Conversation Management
Slack Plugin - Contact Information Resolver Google Drive Plugin - Storage Management Dispatch Plugin - Ticket Management Dispatch Plugin - Participant Resolver
Google Docs Plugin - Document Management Dispatch Plugin - Basic Authentication Provider

dhananjaysathe commented 1 year ago

also enabled document resolver, not sure that that does

mvilanova commented 1 year ago

Please review that the configuration settings for the Google related plugins are correct. That's likely the issue. If you see any other errors feel free to share them here.

dhananjaysathe commented 1 year ago

Here is rough visually repeating what i set as configuration , may be easier to follow https://ibb.co/vk44S72

dhananjaysathe commented 1 year ago

i pasted the entire contents of private key including /n etc from the json i got from google

mvilanova commented 1 year ago

Config looks ok. The plugins are enabled correct? The checkbox in the screenshot is not checked.

dhananjaysathe commented 1 year ago

that was demo so didnt enable it , they are all enabled https://ibb.co/sqS4CMh

mvilanova commented 1 year ago

If the plugins are enabled and properly configured a document should be created off of the template defined. Make sure that the account Google account you're using has permissions to access the template.

mvilanova commented 1 year ago

@dhananjaysathe were you able to resolve the issue? If so, feel free to close it.

dhananjaysathe commented 1 year ago

Nope no luck 😞

github-actions[bot] commented 1 year ago

This issue is stale, because it has been open for 30 days with no activity. Remove the stale label or comment, or this will be closed in 5 days.

github-actions[bot] commented 1 year ago

This issue was closed, because it has been stalled for 5 days with no activity.