Bug 1028282
Summary: | Create Volume: No systems root partition error when script mode | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Aravinda VK <avishwan> |
Component: | glusterfs | Assignee: | Krutika Dhananjay <kdhananj> |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | dpati, dtsang, gluster-bugs, kdhananj, knarra, mmahoney, pprakash, psriniva, sdharane, ssampat, vagarwal, vbellur, vraman |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | RHGS 2.1.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0.47.1u2rhs | Doc Type: | Bug Fix |
Doc Text: |
Previously by design, creation of bricks on root partition was made to succeed in script mode, during volume creation.
With this update, this operation is not allowed and volume creation fails with an error message when bricks are being created in root partition, even in script mode.
|
Story Points: | --- |
Clone Of: | 1028281 | Environment: | |
Last Closed: | 2014-02-25 08:01:55 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: | 1028281 | ||
Bug Blocks: | 1008942 |
Description
Aravinda VK
2013-11-08 05:40:38 UTC
The idea here was 'force' is inbuilt into the command in script mode. Isn't that expected? script mode bypasses all warnings and Yes/No kind of prompts. For example "Y" in volume stop. But in this case CLI is throwing error and script mode is succeeding, Problem with this is from UI(ovirt) we can't prevent users from creating bricks in system's root partition. Verified with glusterfs-3.4.0.51rhs.el6rhs with the following steps: case-1 - without --mode=script ============================== [root@rhss1 ~]# gluster volume create test 10.70.37.86:/rhs/brick3 volume create: test: failed: The brick 10.70.37.86:/rhs/brick3 is a mount point. Please create a sub-directory under the mount point and use that as the brick directory. Or use 'force' at the end of the command if you want to override this behavior. case-2 - with --mode=script =========================== [root@rhss1 ~]# gluster volume create test 10.70.37.86:/rhs/brick3 --mode=script volume create: test: failed: The brick 10.70.37.86:/rhs/brick3 is a mount point. Please create a sub-directory under the mount point and use that as the brick directory. Or use 'force' at the end of the command if you want to override this behavior. Can you please review the doc text for technical accuracy? LGTM. 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. http://rhn.redhat.com/errata/RHEA-2014-0208.html |