Bug 1247056 - [SELinux] [Scheduler]: Unable to create Snapshots on RHEL-7.1 using Scheduler
Summary: [SELinux] [Scheduler]: Unable to create Snapshots on RHEL-7.1 using Scheduler
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: snapshot
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: RHGS 3.3.0
Assignee: Avra Sengupta
QA Contact: Anil Shah
URL:
Whiteboard:
Depends On:
Blocks: 1202842 1216951 1223636 1239269 1239270 1395643 1417147
TreeView+ depends on / blocked
 
Reported: 2015-07-27 08:57 UTC by Avra Sengupta
Modified: 2023-09-14 03:02 UTC (History)
13 users (show)

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
Clone Of: 1231647
: 1395643 (view as bug list)
Environment:
Last Closed: 2017-09-21 04:25:52 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2774 0 normal SHIPPED_LIVE glusterfs bug fix and enhancement update 2017-09-21 08:16:29 UTC

Comment 7 Avra Sengupta 2016-02-26 06:29:24 UTC
Removing this from 3.1.3. Will be fixing it later.

Comment 8 Avra Sengupta 2016-11-16 10:48:14 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

Comment 9 Avra Sengupta 2016-11-16 10:54:32 UTC
Patch sent to master : http://review.gluster.org/15857

Comment 12 Atin Mukherjee 2017-03-24 09:52:39 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101319/

Comment 14 Anil Shah 2017-05-02 12:00:49 UTC
[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

Comment 17 errata-xmlrpc 2017-09-21 04:25:52 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://access.redhat.com/errata/RHBA-2017:2774

Comment 18 errata-xmlrpc 2017-09-21 04:53:56 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://access.redhat.com/errata/RHBA-2017:2774

Comment 19 Red Hat Bugzilla 2023-09-14 03:02:36 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days


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