Bug 1311611 - User is able to start Add Storage wizard for failed cluster with 0 OSDs
User is able to start Add Storage wizard for failed cluster with 0 OSDs
Status: CLOSED WONTFIX
Product: Red Hat Storage Console
Classification: Red Hat
Component: UI (Show other bugs)
2
Unspecified Unspecified
unspecified Severity medium
: ---
: 3
Assigned To: sankarshan
sds-qe-bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-02-24 10:20 EST by Martin Bukatovic
Modified: 2017-03-23 00:10 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-03-23 00:10:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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 12:37 EST, Martin Bukatovic
no flags Details

  None (edit)
Description Martin Bukatovic 2016-02-24 10:20:16 EST
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 12:37 EST
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.