We're updating the issue view to help you get more done. 

Preview run is not stopping gracefully on stop request

Description

Stopping of preview run on branch 6.2 is failing. /stop REST api does not return. I am also seeing multiple runner pods getting terminated as a result of stop. Ideally it should only terminate the one which is running preview.

Release Notes

None

Activity

Show:
Sagar Kapare
September 10, 2020, 8:44 PM

Looks like when the exception is thrown while stopping such as 

 

Controller is terminated

 

This results in re-creation of preview runner statefulset and hence all the runner pods are restarted.

Terence Yim
September 10, 2020, 11:08 PM

The conflict error was due to race condition on stopping pod and deletion of statefulset due to CDAP timeout waiting for all instances up and running, which is expected.
However, there is another problem discovered in preview stop that it was not shutting down gracefully.

6.3 fix https://github.com/cdapio/cdap/pull/12766

Terence Yim
September 11, 2020, 4:56 AM

Assignee

Terence Yim

Reporter

Sagar Kapare

Labels

None

Docs Impact

None

UX Impact

None

Components

Fix versions

Affects versions

Priority

Blocker
Configure