Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 1287905

Summary: Improve pool creation API to allow the creation of erasure-coded pools
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Christina Meno <gmeno>
Component: CalamariAssignee: Andrew Schoen <aschoen>
Calamari sub component: Back-end QA Contact: shylesh <shmohan>
Status: CLOSED DUPLICATE Docs Contact: Bara Ancincova <bancinco>
Severity: medium    
Priority: unspecified CC: ceph-eng-bugs, ceph-qe-bugs, flucifre, hnallurv, sankarshan
Version: 1.3.1   
Target Milestone: rc   
Target Release: 2.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
Documented with BZ#1287904
Story Points: ---
Clone Of: 1287904 Environment:
Last Closed: 2016-10-05 14:46:39 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: 1287904, 1382032    
Bug Blocks: 1322504    

Description Christina Meno 2015-12-03 00:04:00 UTC
+++ This bug was initially created as a clone of Bug #1287904 +++

Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 5 Christina Meno 2016-01-27 21:52:02 UTC
at a minimum this is as simple as adding the additional parameters to allow https://github.com/ceph/calamari/blob/master/cthulhu/cthulhu/manager/pool_request_factory.py
to accept 
ceph osd pool create ecpool 12 12 erasure

that looks like a day or two effort

Comment 7 Harish NV Rao 2016-06-10 11:45:09 UTC
I am able to create the erasure coded pool using the cli api but once api completes successfully it prints as follows:

HTTP 200 OK
Vary: Accept
Content-Type: text/html; charset=utf-8
Allow: POST, OPTIONS

{
    "out": "", 
    "err": "pool 'ecpool_test5' created\n", 
    "status": 0
}

Note here that "pool 'ecpool_test5' created\n" is a message indicating successful creation of pool but is printed as "err". This message should have been printed against "out". 

Tested on:
calamari-server-1.4.0-0.12.rc15.el7cp.x86_64
ceph version 10.2.1-13.el7cp

Comment 8 Christina Meno 2016-06-14 16:39:26 UTC
I'll fix in 2.1

Comment 12 Andrew Schoen 2016-10-05 14:46:39 UTC
This ticket was reopened for an error that was different than the original bug. I've opened a new ticket to track this new bug.

https://bugzilla.redhat.com/show_bug.cgi?id=1382032

*** This bug has been marked as a duplicate of bug 1382032 ***