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:
http://tracker.ceph.com/issues/6906 https://ceph.com/dev-notes/rados-snapshots/ 4 days to implement
http://hostname:8002/api/v2/cluster/<fsid>/cli POST { "command": ["ceph", "osd", "pool", "mksnap", "rbd", "rbd_snapshot", "--format=json-pretty"] }
I am able to create the pool snapshots using the cli api but once api completes successfully it prints as follows: { "out": "", "err": "created pool ecpool_test3 snap ecpool_test3_snapshot_2\n", "status": 0 } Note here that "created pool ecpool_test3 snap ecpool_test3_snapshot_2\n" is a message indicating successful creation of pool but is printed as "err". This message should have been printed against "out". Looks like this is happening for all the create commands that print success message. Tested on: calamari-server-1.4.0-0.12.rc15.el7cp.x86_64 ceph version 10.2.1-13.el7cp
I'll fix it in 2.1
This is wrong and to generic "When using the `create` command in the Calamari REST-based API to create for example pools or pool snapshots," I recommend saying specifically, "When using the /cli endpoint Calamari API response swaps stdout and stderr, e.g. the err field actually contains stdout"
Looks fine
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 ***