Bug 1311611 - User is able to start Add Storage wizard for failed cluster with 0 OSDs
Summary: User is able to start Add Storage wizard for failed cluster with 0 OSDs
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI
Version: 2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 3
Assignee: sankarshan
QA Contact: sds-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-02-24 15:20 UTC by Martin Bukatovic
Modified: 2017-03-23 04:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-23 04:10:50 UTC
Target Upstream Version:


Attachments (Terms of Use)
Screenshot of last page of Add Storage wizard (see capacity or OSD number) (25.33 KB, image/png)
2016-02-24 17:37 UTC, Martin Bukatovic
no flags Details

Description Martin Bukatovic 2016-02-24 15:20:16 UTC
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.

Comment 1 Martin Bukatovic 2016-02-24 17:37:27 UTC
Created attachment 1130281 [details]
Screenshot of last page of Add Storage wizard (see capacity or OSD number)


Note You need to log in before you can comment on or make changes to this bug.