| Summary: | User is able to start Add Storage wizard for failed cluster with 0 OSDs | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Storage Console | Reporter: | Martin Bukatovic <mbukatov> | ||||
| Component: | UI | Assignee: | sankarshan <sankarshan> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | sds-qe-bugs | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2 | CC: | nthomas, sankarshan | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 3 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-03-23 04:10:50 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: | |||||
| Attachments: |
|
||||||
Created attachment 1130281 [details]
Screenshot of last page of Add Storage wizard (see capacity or OSD number)
|
Description of problem ====================== When a Create Cluster task fails and the cluster ends up with 0 nodes, I'm still able to start "Add Storage" wizard and complete it even though it doesn't make any sense. This action has no visible effects. Version-Release number of selected component ============================================ rhscon-core-0.0.8-4.el7.x86_64 rhscon-ceph-0.0.6-4.el7.x86_64 rhscon-ui-0.0.14-1.el7.noarch How reproducible ================ 100 % (assuming Create Cluster task fails) Steps to Reproduce ================== 1. Install skyring on server and prepare few hosts for cluster setup 2. Accept all nodes 3. Start "Create Cluster" wizard and make it's task fail 4. Go to Clusters page and check that the cluster is there in a failed state with no hosts in it 5. Start "Add Storage" wizard and create Object Store in the failed cluster Actual results ============== USM interface allows you to do this operation. I was able to go through all the steps of "Add Storage" without any problems. On the last page with the summary, it can be seen that number of OSDs is zero. Clicking on "Submit" button shows you standard message: > This may take a while. We'll let you know when it's done. But when you click on close, the task is not visible anywhere. Expected results ================ UI doesn't allow you to create Storage on a cluster with no OSDs. Besides that, I think that there may be other cluster error states in which creating a storage doesn't make any sense.