Bug 1523692
| Summary: | Manual creation of thinpools fail when no size specified. | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Cal Calhoun <ccalhoun> |
| Component: | gdeploy | Assignee: | Devyani Kota <dkota> |
| Status: | CLOSED ERRATA | QA Contact: | Manisha Saini <msaini> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.3 | CC: | amukherj, bkunal, ccalhoun, dkota, kvanbesi, musoni, pmulay, rcyriac, rhinduja, rhs-bugs, rreddy, smohan, storage-qa-internal, surs |
| Target Milestone: | --- | Keywords: | Reopened, ZStream |
| Target Release: | RHGS 3.3.1 Async | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gdeploy-2.0.2-21 | Doc Type: | If docs needed, set a value |
| Doc Text: |
Earlier, if no size was specified, 100% of the available disk was used. With this update, extents can be provided for the disk size.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-06-21 03:33:15 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: | 1581561 | ||
|
Description
Cal Calhoun
2017-12-08 15:53:23 UTC
Cal, I tried replicating what you were trying, with your attached config file. I was able to create lvs without mentioning the size. My config file is here[1]. I don't think it's because of the missing size parameter. Using 100% of the disk in case of missing size parameter is the default behaviour. Is there any way we can get access to this setup? [1] https://paste.opensuse.org/41180366 I am encountering exactly the same issue.
The config looks like this:
[lv1]
action=create
vgname=vg_gluster
poolname=lv_pool
lvtype=thinpool
poolmetadatasize=14G
chunksize=256k
This results in this error:
TASK [Create LVs with specified size for the VGs] **************************************************************
task path: /tmp/tmpEvupFJ/lvcreate.yml:7
failed: [exglus0003.it.rm.dk] (item={u'lv': u'lv_pool', u'size': u'', u'extent': u'100%FREE', u'vg': u'vg_gluster'}) => {"failed": true, "item": {"extent": "100%FREE", "lv": "lv_pool", "size": "", "vg": "vg_gluster"}, "msg": " No command with matching syntax recognised. Run 'lvcreate --help' for more information.\n Nearest similar command has syntax:\n", "rc": 3}
failed: [exglus0001.it.rm.dk] (item={u'lv': u'lv_pool', u'size': u'', u'extent': u'100%FREE', u'vg': u'vg_gluster'}) => {"failed": true, "item": {"extent": "100%FREE", "lv": "lv_pool", "size": "", "vg": "vg_gluster"}, "msg": " No command with matching syntax recognised. Run 'lvcreate --help' for more information.\n Nearest similar command has syntax:\n", "rc": 3}
failed: [exglus0002.it.rm.dk] (item={u'lv': u'lv_pool', u'size': u'', u'extent': u'100%FREE', u'vg': u'vg_gluster'}) => {"failed": true, "item": {"extent": "100%FREE", "lv": "lv_pool", "size": "", "vg": "vg_gluster"}, "msg": " No command with matching syntax recognised. Run 'lvcreate --help' for more information.\n Nearest similar command has syntax:\n", "rc": 3}
to retry, use: --limit @/tmp/tmpEvupFJ/lvcreate.retry
We reran it with "extents" added, and set to the exact number of PE on the PV. Gdeploy then ran.
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/RHEA-2018:1958 |