Bug 1287905 - Improve pool creation API to allow the creation of erasure-coded pools
Summary: Improve pool creation API to allow the creation of erasure-coded pools
Keywords:
Status: CLOSED DUPLICATE of bug 1382032
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Calamari
Version: 1.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 2.1
Assignee: Andrew Schoen
QA Contact: shylesh
Bara Ancincova
URL:
Whiteboard:
Depends On: 1287904 1382032
Blocks: 1322504
TreeView+ depends on / blocked
 
Reported: 2015-12-03 00:04 UTC by Christina Meno
Modified: 2022-02-21 18:16 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
Documented with BZ#1287904
Clone Of: 1287904
Environment:
Last Closed: 2016-10-05 14:46:39 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-3297 0 None None None 2022-02-21 18:16:02 UTC

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 ***


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