Created attachment 1161326 [details] logs from monitor node with calamari Description of problem: I've tried to create erasure-coded pool in USM. Calamari task has failed(/var/log/calamari/cthulhu.log): 2016-05-25 01:52:21,818 - ERROR - calamari.request_collection Request 92cf45c6-db36-40ad-b2b2-3cffe6c6b28c experienced an error: can not change the size of an erasure-coded pool 2016-05-25 01:52:21,818 - ERROR - calamari.request_collection Request 92cf45c6-db36-40ad-b2b2-3cffe6c6b28c experienced an error: can not change the size of an erasure-coded pool But it seems that pool has been created: $ ceph -c /etc/ceph/testcluster.conf osd pool ls detail pool 1 'testpool' replicated size 3 min_size 2 crush_ruleset 0 object_hash rjenkins pg_num 128 pgp_num 128 last_change 33 flags hashpspool stripe_width 0 removed_snaps [1~3] --> pool 2 'test2pool' erasure size 3 min_size 2 crush_ruleset 1 object_hash rjenkins pg_num 128 pgp_num 128 last_change 35 flags hashpspool stripe_width 4096 $ ceph -c /etc/ceph/testcluster.conf osd pool stats pool testpool id 1 nothing is going on --> pool test2pool id 2 nothing is going on Version-Release number of selected component (if applicable): calamari-server-1.4.0-0.9.rc12.el7cp.x86_64 ceph-base-10.2.1-6.el7cp.x86_64 ceph-common-10.2.1-6.el7cp.x86_64 ceph-mon-10.2.1-6.el7cp.x86_64 ceph-selinux-10.2.1-6.el7cp.x86_64 libcephfs1-10.2.1-6.el7cp.x86_64 python-cephfs-10.2.1-6.el7cp.x86_64 rhscon-agent-0.0.8-1.el7scon.noarch Steps to Reproduce: 1. install USM 2. create cluster 3. try to create erasure-coded pool Actual results: Calamari reports error but pool is created and according ceph commands also in good state.
root@vagrant-cent7:~# ceph osd pool create ecpool 12 12 erasure pool 'ecpool' created root@vagrant-cent7:~# ceph osd pool set ecpool size 10 Error ENOTSUP: can not change the size of an erasure-coded pool root@vagrant-cent7:~#
Could you please provide the info about this bug. The description and comments, also heading is confusing
@Martin, there is a BZ#1329190 already in calamari where the ec pool creation actually succeeds in back-end but the task returns failed. Once the calamari issue resolved, it should be taken care.
*** Bug 1348652 has been marked as a duplicate of this bug. ***
*** Bug 1335525 has been marked as a duplicate of this bug. ***
Tested on: rhscon-core-0.0.29-1.el7scon.x86_64 rhscon-ceph-0.0.29-1.el7scon.x86_64 rhscon-core-selinux-0.0.29-1.el7scon.noarch rhscon-ui-0.0.43-1.el7scon.noarch seems to be working