reanahub / reana-workflow-controller

REANA Workflow Controller
http://reana-workflow-controller.readthedocs.io/
MIT License
2 stars 38 forks source link

interactive sessions: fix after recent k8s/helm update #267

Closed tiborsimko closed 4 years ago

tiborsimko commented 4 years ago

After recent k8s/helm update, the interactive sessions stopped working:

$ reana-client open jupyter -w root6-roofit.serial
Interactive session could not be opened: 
(500)
Reason: Internal Server Error
HTTP response headers: HTTPHeaderDict({'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'Date': 'Fri, 29 Nov 2019 11:57:39 GMT', 'Content-Length': '240'})
HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"no kind \"Ingress\" is registered for version \"extensions/v1beta1\" in scheme \"k8s.io/apimachinery/pkg/apis/meta/internalversion/register.go:31\"","code":500}
tiborsimko commented 4 years ago

(stems from #https://github.com/reanahub/reana-workflow-controller/pull/266#pullrequestreview-324710840)

roksys commented 4 years ago

interactive sessions works after executing the command provided in - https://stackoverflow.com/a/49174177

Needs to be double-checked with @diegodelemos

https://kubernetes.io/docs/reference/access-authn-authz/rbac/#upgrading-from-1-5

diegodelemos commented 4 years ago

Waiting for https://github.com/reanahub/reana-workflow-controller/pull/270 to be merged.