Bug 1247056
Summary: | [SELinux] [Scheduler]: Unable to create Snapshots on RHEL-7.1 using Scheduler | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Avra Sengupta <asengupt> | |
Component: | snapshot | Assignee: | Avra Sengupta <asengupt> | |
Status: | CLOSED ERRATA | QA Contact: | Anil Shah <ashah> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | rhgs-3.1 | CC: | amukherj, asengupt, ashah, asrivast, mgrepl, mmalik, pprakash, rhinduja, rhs-bugs, rjoseph, sankarshan, sgraf, smohan | |
Target Milestone: | --- | Keywords: | Triaged, ZStream | |
Target Release: | RHGS 3.3.0 | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.8.4-19 | Doc Type: | Bug Fix | |
Doc Text: |
The boolean cron_system_cronjob_use_shares should be set to 'on' for the snapshot scheduler to function.
Workaround:
To check if the boolean is set to on:
# q --> off
To set the boolean to 'on':
# setsebool cron_system_cronjob_use_shares on
To verify that the boolean is set to 'on':
# getsebool -a |grep cron_system_cronjob_use_shares
cron_system_cronjob_use_shares --> on
|
Story Points: | --- | |
Clone Of: | 1231647 | |||
: | 1395643 (view as bug list) | Environment: | ||
Last Closed: | 2017-09-21 04:25:52 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: | 1202842, 1216951, 1223636, 1239269, 1239270, 1395643, 1417147 |
Comment 7
Avra Sengupta
2016-02-26 06:29:24 UTC
Cloning this to master, and adding setting of the boolean in the init of snap scheduler, so that this bug can be removed from known issues Patch sent to master : http://review.gluster.org/15857 downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101319/ [root@dhcp43-49 ~]# getsebool -a |grep cron_system_cronjob_use_shares cron_system_cronjob_use_shares --> off [root@dhcp43-49 ~]# gluster v set all cluster.enable-shared-storage enable volume set: success [root@dhcp43-49 ~]# getsebool -a |grep cron_system_cronjob_use_shares cron_system_cronjob_use_shares --> off [root@dhcp43-49 ~]# snap_scheduler.py init snap_scheduler: Successfully initialised snapshot scheduler for this node [root@dhcp43-49 ~]# getsebool -a |grep cron_system_cronjob_use_shares cron_system_cronjob_use_shares --> on [root@dhcp43-49 ~]gluster snapshot list Scheduled-job1-vol0_GMT-2017.05.02-11.55.02 Scheduled-job1-vol0_GMT-2017.05.02-11.57.01 Scheduled-job1-vol0_GMT-2017.05.02-11.58.01 bug verified on build glusterfs-3.8.4-24.el7rhgs.x86_64 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/RHBA-2017:2774 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/RHBA-2017:2774 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |