Bug 1330426
| Summary: | cache_meta_lv creation should be made optional for lvmcache configuration | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> |
| Component: | gdeploy | Assignee: | Nandaja Varma <nvarma> |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rhgs-3.1 | CC: | asrivast, nvarma, rcyriac, rhinduja, smohan, surs |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.3 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gdeploy-2.0-13 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-06-23 05:30:25 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: | 1311817 | ||
|
Description
SATHEESARAN
2016-04-26 08:42:05 UTC
Tested with gdeploy-2.0-11
When cache_meta_lv is omitted in conf file, errors were seen.
TASK: [Setup SSD for caching | Convert an existing logical volume to a cache pool LV] ***
fatal: [10.70.37.124] => One or more undefined variables: 'cache_meta_lv' is undefined
fatal: [10.70.37.204] => One or more undefined variables: 'cache_meta_lv' is undefined
FATAL: all hosts have already failed -- aborting
But the lv.json has marked the attribute 'cache_meta_lv' as a optional argument
The problem I think is there is no default name for "cache_meta_lv"
{
"name": "cache_meta_lv",
"required": "false",
"default": ""
},
Whereas the cache_lv has the default name as - "rhs_cache"
{
"name": "cache_lv",
"required": "false",
"default": "rhs_cache"
}
Also I recommend using 'rhgs' instead of 'rhs'
Removing the fixed-in-version as the fix failed verification (In reply to SATHEESARAN from comment #2) > The problem I think is there is no default name for "cache_meta_lv" > > { > "name": "cache_meta_lv", > "required": "false", > "default": "" > }, > > > Whereas the cache_lv has the default name as - "rhs_cache" > > { > "name": "cache_lv", > "required": "false", > "default": "rhs_cache" > } > > > Also I recommend using 'rhgs' instead of 'rhs' I was wrong about this statement. The default value for cache_meta_lv is not required, as lv will automatically create it with the default name Tested with gdeploy-2.0-16 and able to setup the lvmcache. 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-2016:1250 |