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

workflow_run: notify about third party failures #285

Merged

Conversation

diegodelemos
Copy link
Member

@diegodelemos diegodelemos force-pushed the r/253-requeue-on-db-failure branch 3 times, most recently from 3d8bd8b to d63a600 Compare January 21, 2020 12:21
@diegodelemos diegodelemos marked this pull request as ready for review January 21, 2020 12:21
@diegodelemos diegodelemos force-pushed the r/253-requeue-on-db-failure branch 3 times, most recently from fbf244a to 0692206 Compare January 21, 2020 17:28
reana_workflow_controller/errors.py Outdated Show resolved Hide resolved
docs/openapi.json Outdated Show resolved Hide resolved
reana_workflow_controller/rest/utils.py Show resolved Hide resolved
@diegodelemos diegodelemos force-pushed the r/253-requeue-on-db-failure branch 2 times, most recently from 5926c08 to 5c538b0 Compare January 23, 2020 13:44
* Notifies RWC clients (in this case RS) that something went wrong
  while connecting to an external system to start a workflow,
  it is responsibility of the client to act accordignly. In
  the case of RS, it should requeue the workflow and retry
  later (addresses reanahub/reana#253).

* Allows overwriting parameters when calling the workflow
  run manager directory. If we don't allow overwriting the
  operational options or parameters when calling
  `start_batch_workflow_run`, there is a hidden dependency,
  the KubernetesWorkflowRunManager will infer these values from
  DB, creating an order dependency (DB transaction has to happen
  before a workflow run is sent to Kubernetes). Now we can do
  Kubernetes action before DB transaction, that way when we
  change the status in the DB, the workflow will be really
  running.
@diegodelemos diegodelemos merged commit fe8dee8 into reanahub:master Jan 23, 2020
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

Successfully merging this pull request may close these issues.

queue: workflow lost in RabbitMQ queue
3 participants