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: | Calamari | Assignee: | 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
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 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
I'll fix in 2.1 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 *** |