| Summary: | python traceback seen while using the general options disktype,stripesize,diskcount in the conf file | ||
|---|---|---|---|
| Product: | Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> |
| Component: | gdeploy | Assignee: | Nandaja Varma <nvarma> |
| Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | rhgs-3.1 | CC: | asrivast, nvarma, rhinduja, sabose, smohan, surs |
| Target Milestone: | --- | Keywords: | ZStream |
| Target Release: | RHGS 3.1.3 | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gdeploy-2.0-8 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
RHEV+RHGS HCI
RHEL 7.2
RHEV 3.6.4
|
|
| Last Closed: | 2016-06-23 05:29:57 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1258386, 1311817 | ||
Tested with gdeploy-2.0-10 and there are no tracebacks see while using the conf file containing the sections disksize, diskcount, stripesize 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 |
Description of problem: ----------------------- HCI setup requires RAID 6 and that requires the perf team recommended values while creating pvs and vgs ( for example, --dataalignment value while creating a pv ) Version-Release number of selected component (if applicable): -------------------------------------------------------------- gdeploy-2.0-5 How reproducible: ----------------- Always/consistent Steps to Reproduce: ------------------- 1. create conf file which uses - disktype, diskcount, stripesize 2. use this conf file to create the backend setup using gdeploy Actual results: --------------- Traceback seen while executing gdeploy with this config file Expected results: ----------------- There shouldn't be any Traceback observed Additional info: ---------------- 1. Conf file ------------- [hosts] host-sample.lab.eng.blr.redhat.com [disktype] raid6 [diskcount] 4 [stripesize] 128 [pv] action=create devices=vdb 2. Traceback as seen --------------------- [root@ ~]# gdeploy -c test.conf Traceback (most recent call last): File "/usr/bin/gdeploy", line 177, in <module> main(sys.argv[1:]) File "/usr/bin/gdeploy", line 162, in main call_features() File "/usr/lib/python2.7/site-packages/gdeploylib/call_features.py", line 36, in call_features map(get_feature_dir, Global.sections) File "/usr/lib/python2.7/site-packages/gdeploylib/call_features.py", line 70, in get_feature_dir section_dict, yml = feature_call(section_dict) File "/usr/lib/python2.7/site-packages/gdeployfeatures/pv/pv.py", line 14, in pv_create helpers.perf_spec_data_write() File "/usr/lib/python2.7/site-packages/gdeploylib/helpers.py", line 396, in perf_spec_data_write perf = dict(disktype=disktype[0].lower()) KeyError: 0