Bug 1165255 - Refresh "rhs_system_init" script in /usr/lib/glusterfs/.unsupported
Summary: Refresh "rhs_system_init" script in /usr/lib/glusterfs/.unsupported
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: distribution
Version: rhgs-3.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHGS 3.0.3
Assignee: Ben Turner
QA Contact: Sachidananda Urs
URL:
Whiteboard:
Depends On:
Blocks: 1162694
TreeView+ depends on / blocked
 
Reported: 2014-11-18 16:01 UTC by Sayan Saha
Modified: 2021-09-09 12:56 UTC (History)
13 users (show)

Fixed In Version: redhat-storage-server-3.0.3.4-1.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-01-15 13:42:39 UTC
Embargoed:


Attachments (Terms of Use)
Performance Team Recommendations for setting up RHSS bricks (8.69 KB, text/plain)
2014-11-18 16:07 UTC, Sayan Saha
no flags Details
rhs-system-init.sh diff (4.56 KB, patch)
2014-12-02 19:23 UTC, Ben Turner
no flags Details | Diff
rhs-system-init-debug (4.06 KB, text/plain)
2014-12-05 09:42 UTC, Sachidananda Urs
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0038 0 normal SHIPPED_LIVE Red Hat Storage 3.0 enhancement and bug fix update #3 2015-01-15 18:35:28 UTC

Description Sayan Saha 2014-11-18 16:01:55 UTC
Description of problem: 

Refresh the "rhs_system_init" script in /usr/lib/glusterfs/.unsupported folder to accommodate the new recommendations.


Version-Release number of selected component (if applicable):

RHSS 3.0.3


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


Document URL: 

Section Number and Name: 

Describe the issue: 

Suggestions for improvement: 

Additional information: 


Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sayan Saha 2014-11-18 16:07:31 UTC
Created attachment 958653 [details]
Performance Team Recommendations for setting up RHSS bricks

Comment 5 Ben Turner 2014-12-02 19:23:11 UTC
Created attachment 963891 [details]
rhs-system-init.sh diff

diff -pruN

Comment 7 Sachidananda Urs 2014-12-05 09:41:22 UTC
Ben few questions here:

1. I see a prompt asking for question, can you force it not to ask that question. If we want to use your script in automation, prompt wouldn't help.

WARNING: Converting logical volume RHS_vg1/RHS_pool1 and RHS_vg1/metadata to pool's data and metadata volumes.
  THIS WILL DESTROY CONTENT OF LOGICAL VOLUME (filesystem etc.)
Do you really want to convert RHS_vg1/RHS_pool1 and RHS_vg1/metadata? [y/n]: 



2. The script fails the following error:

mkfs.xfs -i size=512 -n size=8192 -d su=128k,sw=10  /dev/RHS_vg1/RHS_lv1
warning: device is not properly aligned /dev/RHS_vg1/RHS_lv1
Use -f to force usage of a misaligned device


Can we fix this somehow, since majority of us use VMs for functionality testing with around 50/100GB of disk space. Please find the debug output of the script.

Comment 8 Sachidananda Urs 2014-12-05 09:42:07 UTC
Created attachment 965030 [details]
rhs-system-init-debug

Comment 9 Ben Turner 2014-12-10 16:54:58 UTC
I am doing an update now, I'll have a test version shortly to address this.

Comment 10 Sachidananda Urs 2014-12-22 13:15:40 UTC
Ben, I've updated the patch. From the look of it, I think it might error out. Please review.

Comment 11 Sachidananda Urs 2014-12-24 07:25:49 UTC
Submitted patch for review: https://code.engineering.redhat.com/gerrit/#/c/39103/

Comment 12 Sachidananda Urs 2014-12-29 10:32:05 UTC
Verified with the latest build.
The issues stated in comment 7 are resolved, marking as verified.

However, question 1 is in comment 7 is not addressed intentionally.

Comment 13 Divya 2014-12-30 10:38:26 UTC
Ben,

This bug has been added to 3.0.3 errata. Please set the "requires_doc_text" field appropriately? If set to "?", do provide the doc text in the Doc Text field.

Thanks,
Divya

Comment 15 errata-xmlrpc 2015-01-15 13:42:39 UTC
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://rhn.redhat.com/errata/RHBA-2015-0038.html


Note You need to log in before you can comment on or make changes to this bug.