Description of problem: One of our GSS kernel engineers which handles a lot of cases suggested retrace-server make an internal / private update into the case when the core is finished processing. I think it would be good to both have a small update when: a) a vmcore is submitted b) a vmcore completes processing In addition to requiring the user to enter a case number field upon submission, it would also require sfdc credentials, similar to: https://bugzilla.redhat.com/show_bug.cgi?id=1000431 Once the above was added, we could add a checkbox for sfdc notification of submission and completions. Sample submission update: Task 457458297 for vmcore 00925318-1377235719-vmcore.tar.gz has been submitted. See https://optimus.gsslab.rdu2.redhat.com/manager/457458297 Sample completion update: Task 457458297 for vmcore 00925318-1377235719-vmcore.tar.gz has completed, status: Success See https://optimus.gsslab.rdu2.redhat.com/manager/457458297 Version-Release number of selected component (if applicable): retrace-server-1.9-6.el6.noarch Steps to Reproduce: 1. Submit a vmcore to retrace server 2. Add a case number to the task 3. Check the box for case notifications Additional info:
I would rather avoid teaching Retrace Server to talk to SFDC. IMHO it would be easier to tweak the e-mails to be better parseable, create a special e-mail address where SFDC (or something else) will listen and update the cases as the e-mails come.
(In reply to Michal Toman from comment #3) > I would rather avoid teaching Retrace Server to talk to SFDC. > IMHO it would be easier to tweak the e-mails to be better parseable, create > a special e-mail address where SFDC (or something else) will listen and > update the cases as the e-mails come. Agreed. We probably need some interface defined rather than building in specific sfdc logic into retrace which seems the wrong direction. This needs some design thought.
I think this should depends on the 'custom hooks' bug: https://bugzilla.redhat.com/show_bug.cgi?id=1082376 Once we had that done, we could build a separate hook for case notification when a retrace-server job completes. The custom hook probably would not go into retrace-server, but as of yet there's no project defined for custom hooks. I want to keep this open for now at least for tracking purposes.
This is one of the ones which will be a very good use case to test hooks bz now that it's implemented. I think most people in kernel would appreciate a private update when vmcore is ready for processing but I can ask before we try it.
This should exist outside of retrace-server and in some ways already does. I'm also working on a flexible implementation of 'hooks' so we could add this into there assuming we can figure out the credentials.