Bug 1541520
Summary: | ceph-ansible w/ containers in opentack mode creates pools but ignores specified size | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | John Fulton <johfulto> |
Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> |
Status: | CLOSED ERRATA | QA Contact: | Rachana Patel <racpatel> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.0 | CC: | adeza, anharris, aschoen, ceph-eng-bugs, gfidente, gmeno, johfulto, kdreyer, nthomas, racpatel, sankarshan, tserlin, yrabl |
Target Milestone: | rc | ||
Target Release: | 3.1 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | RHEL: ceph-ansible-3.1.0-0.1.beta6.el7cp | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-09-26 18:18:23 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: | |||
Bug Blocks: | 1548353 |
Description
John Fulton
2018-02-02 19:02:40 UTC
This was never expected to work. The size key was added by OSPd, this is more an enhancement than a bug fix. Anyway, I think what you're calling size is "expected-num-objects". This can be easily exposed but only useful when running filestore. The code in ceph-ansible master seems to have fixed this, we probably just need to rebase the beta-3.1 branch and make a new build to include the fix ceph-ansible master got a 3.1.0beta4 tag yesterday ceph-ansible-3.1.0-0.beta4.1.el7 is available in storage7-ceph-luminous-candidate (http://cbs.centos.org/koji/buildinfo?buildID=22342) ceph-ansible-3.1.0-0.1.beta4.el7cp is available in ceph-3.1-rhel-7-candidate John and Giulio, would you please confirm this version fixes this bug? A deployment which uses ceph-ansible-3.1.0.0-0.beta4.1.el7.noarch and the following THT: parameter_defaults: CephPools: - {"name": volumes, "pg_num": 32, "pgp_num": 32, "rule_name": 'replicated_rule', "erasure_profile": '', "size": 1000} - {"name": metrics, "pg_num": 32, "pgp_num": 32} has with the following message in the /var/log/mistral/ceph-install-workflow.log 2018-03-23 22:37:17,591 p=2191 u=mistral | ok: [192.168.24.6] => (item={u'name': u'volumes', u'rule_name': u'replicated_rule', u'pg_num': 32, u'pgp_num': 32, u'erasure_profile': u'', u'size': 1000}) and the deployment succeeds. I will submit a follow up PR just to rename size with expected-num-objects. will be in 3.1 Verified with ceph-ansible-3.1.0-0.1.beta8.el7cp.noarch Followed comment#11 and found message in /var/log/mistral/ceph-install-workflow.log Hence moving to verified Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:2819 |