Bug 1428316
| Summary: | cns-deploy: gluster cluster cannot be created in two different namespaces using different sets of nodes | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Shekhar Berry <shberry> |
| Component: | CNS-deployment | Assignee: | Humble Chirammal <hchiramm> |
| Status: | CLOSED DUPLICATE | QA Contact: | Prasanth <pprakash> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.2 | CC: | akhakhar, annair, ekuric, hchiramm, jarrpa, jeder, madam, mliyazud, mzywusko, pprakash, rreddy, rtalur, shberry |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | aos-scalability-35 | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-04-27 09:59:37 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Shekhar Berry
2017-03-02 09:59:17 UTC
If you are planning for different cluster in different namespace, you can try different storage node labelling. To accommodate/achieve this we have to edit a new label in the template and trycns-deploy with second namespace. Yeah As for longer plan to support this, As the node label are global, DaemonSet being Namespace specific which deploys based on node labels set. There is no validation to stop you from starting the same application on different namespace with same label. From cns-deploy point, We can add an option to do configurable label. So that the deployment of cns on another namespace do not clash on the node labels used by the first Deployment. We can have a flag in cns-deploy like --node-label with just like --namespace. If not specified we can fall to default value. Humble and I discussed about this, Please share your thoughts Jose. The proposed solution seems all right. Given that heketi limits its pod search by namespace, I don't see a conflict. I do have a question about the initial request, however: Why do we need to run cns-deploy more than once? Couldn't the second cluster just be managed by the same heketi instance? I am trying to create CNS cluster in a new namespace and not in the existing namespace. Hence I was trying it by running cns-deploy again. What are the steps to create a new CNS cluster in a new namespace using the existing heketi instance? Thi is fixed in CNS 3.5 release. Precisely with an async release. *** This bug has been marked as a duplicate of bug 1444460 *** The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |