-
Notifications
You must be signed in to change notification settings - Fork 34
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
kcidb-triage
tool integration
#575
Conversation
d39e45e
to
6e15bd8
Compare
a799601
to
529682b
Compare
529682b
to
70d8fbe
Compare
70d8fbe
to
f626fbd
Compare
f626fbd
to
d21dfbd
Compare
@helen-fornazier The tool has been deployed on staging. Please test and let me know if it works as expected. |
d21dfbd
to
f721cf0
Compare
I get this when I try to access the url there, are you able to access it? |
Please open cloud shell, fire the command |
I think we need credentials to postgreesql if I fill the issue part with and when I click on To deploy this standalone we usually need:
But since this is already on kcidb, I'm not entirely sure how this is supposed to be 🤔 maybe @spbnick could shed some light here? |
Submission should be done via the message queue ( |
Here are the error logs:
Submission is happening using message queue but it's not able to find KCIDB credentials for |
Right, you're not supposed to interact between deployments and submit your issues/incidents from one deployment to another. Let alone to reach from one project into another. You need to use your deployment's submission queue. Moreover, you don't need to have a "configuration file". You can pass all the configuration you need via the service environment. Check out However, check with Gustavo, because an issue UI is a priority for ProFUSION now, AFAIK. Perhaps you don't even need to do this. |
Could you please explain how to use deployment submission queue? Looking at the documentation here, should I use
Okay, I'll make changes.
Thanks for bringing attention to this. I checked with @padovan and @helen-fornazier. It turns out that we need this deployment for testing purposes and ProFusion will be developing a final version. |
Hello @spbnick
Here is the deployment I tried with these changes. I'm a bit confused between env variables and command line args implementations in |
b3d84f4
to
c2baa44
Compare
@helen-fornazier Deployment https://console.cloud.google.com/run/detail/us-central1/iss-ed-test-2-kcidb-iss-ed/metrics?cloudshell=true&project=kernelci-staging did work and I'm able to submit issues and incidents. Below are the responses I got while testing the tool:
@spbnick How do I verify these submissions in DB/dashboard? |
In theory, each complete deployment includes an instance of Grafana set up to access the PostgreSQL database. However, due to the limited and convoluted support for deploying Grafana dashboards we only deploy an empty Grafana instance, and then we manually load it with dashboards, as necessary. However, since we're still in the transition period between our Grafana versions and different dashboards, I don't have anything that already has issue support to offer you for loading into an instance. As such, the only thing you have now is to connect with a PostgreSQL client to you instance's database, and check manually that you get everything in, and perhaps generate notifications using the command-line tools. Otherwise we'll have to limit ourselves to reviews and tests, deploy this, see how it goes, fix any issues, and repeat. |
@JenySadadia the new deployment is working, thanks! |
@spbnick As @helen-fornazier has confirmed the tool is working fine, could you please review the source code of the editor? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks pretty good, thank you, Jeny!
I left some comments and requests inline.
c2baa44
to
54bcd07
Compare
430ef9f
to
98c19db
Compare
98c19db
to
32ae583
Compare
Co-authored-by: Jeny Sadadia <[email protected]>
Signed-off-by: Jeny Sadadia <[email protected]>
32ae583
to
afebb5b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! I have one last nitpick. Thank you, Jeny!
Signed-off-by: Jeny Sadadia <[email protected]>
afebb5b
to
89d92e6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Jeny ❤️
No description provided.