Bug 1342480

Summary: RBD on EC pool
Product: [Red Hat Storage] Red Hat Storage Console Reporter: Lubos Trilety <ltrilety>
Component: UIAssignee: kamlesh <kaverma>
Status: CLOSED ERRATA QA Contact: Martin Bukatovic <mbukatov>
Severity: medium Docs Contact:
Priority: high    
Version: 2CC: japplewh, julim, kchidamb, mbukatov, mkudlej, nthomas, sankarshan, shtripat, vsarmila
Target Milestone: ---   
Target Release: 2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhscon-core-0.0.34-1.el7scon.x86_64 rhscon-ceph-0.0.33-1.el7scon.x86_64 rhscon-ui-0.0.47-1.el7scon.noarch Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-23 19:54:00 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:
Bug Depends On:    
Bug Blocks: 1353450    
Attachments:
Description Flags
screenshot of "Add Block Storage" page none

Description Lubos Trilety 2016-06-03 11:13:24 UTC
Description of problem:
During RBD creation it's possible to choose EC pool as the one on which the rados block device will be. It will fail because ceph does not support this. However UI should not offer creating RBD on EC pool at all.

Version-Release number of selected component (if applicable):
rhscon-ui-0.0.34-1.el7scon.noarch
rhscon-ceph-0.0.20-1.el7scon.x86_64
rhscon-core-0.0.21-1.el7scon.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create some EC pool
2. Try to create rados block device

Actual results:
It's possible to choose created EC pool as the one on which the RBD should be. Moreover if an option about creating a new pool is checked, it's possible to choose that an EC pool should be created.

Expected results:
RBD creation should not offer any EC pool.

Additional info:

Comment 1 Ju Lim 2016-06-07 18:45:36 UTC
Looks like this is a matter of not exposing pools that are erasure coded in the existing pools selection, and only showing the standard/replicated pools.

Comment 2 Martin Bukatovic 2016-06-29 17:02:46 UTC
Created attachment 1174054 [details]
screenshot of "Add Block Storage" page

Checking with:

~~~
# rpm -qa rhscon*
rhscon-ui-0.0.42-1.el7scon.noarch
rhscon-core-0.0.28-1.el7scon.x86_64
rhscon-ceph-0.0.27-1.el7scon.x86_64
rhscon-core-selinux-0.0.28-1.el7scon.noarch
~~~

And I see that Erasure Coded type is still available in "Add Block Storage"
wizard when one selects "Create new pool".

=> MODIFIED

Comment 3 Martin Bukatovic 2016-06-29 17:04:35 UTC
grep 's/MODIFIED/ASSIGNED/' comment 2

Setting this BZ back into ASSIGNED state based on verification fail as explained
in comment 2.

Comment 4 Martin Bukatovic 2016-07-15 16:23:27 UTC
Testing with: rhscon-ui-0.0.48-1.el7scon.noarch

I see no change compared to rhscon-ui-0.0.42-1.el7scon.noarch (as described in
comment 2): I can still select EC pool with "Create new pool" RBD option.

Moving back to MODIFIED

Comment 5 Martin Bukatovic 2016-07-15 16:26:32 UTC
ah, grep 's/MODIFIED/ASSIGNED/' (again)

Comment 6 Martin Kudlej 2016-08-04 12:34:01 UTC
Tested with
ceph-ansible-1.0.5-31.el7scon.noarch
ceph-installer-1.0.14-1.el7scon.noarch
rhscon-ceph-0.0.39-1.el7scon.x86_64
rhscon-core-0.0.39-1.el7scon.x86_64
rhscon-core-selinux-0.0.39-1.el7scon.noarch
rhscon-ui-0.0.51-1.el7scon.noarch
and it works.

Comment 8 errata-xmlrpc 2016-08-23 19:54:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2016:1754