Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

cli: reana-cluster init throws an exception if REANA cluster is already running #19

Closed
hjhsalo opened this issue Oct 25, 2017 · 1 comment

Comments

@hjhsalo
Copy link
Contributor

hjhsalo commented Oct 25, 2017

reana-cluster init throws an exception if REANA cluster already running.
For Kubernetes backend this is an API exception which gets thrown since Kubernetes object(s)(Pod, Namespace, Service, etc.) for a given REANA component already exists after the first initialization.

In order to be more user friendly, this exception should be catched and user should be given a proper explanation about the error.

Even better would be to implement a check to determine if REANA cluster is already initialized, i.e. are there components running in given backend, even before trying to deploy REANA components to the backend.

(cli/cluster.py#L102)
(/backends/kubernetes/k8s.py#L245)

@hjhsalo hjhsalo added this to the Someday milestone Oct 25, 2017
@diegodelemos diegodelemos added this to To triage in Triage Oct 6, 2019
@diegodelemos diegodelemos removed this from the Someday milestone Oct 6, 2019
@diegodelemos
Copy link
Member

This issue won't be fixed since soon REANA-Cluster will be deprecated in favour of Helm based deployments.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Triage
To triage
Development

No branches or pull requests

3 participants