Bug 1203298 - User options "qpid.file_size" and "qpid.file_count" are always blocked by ACL rules
Summary: User options "qpid.file_size" and "qpid.file_count" are always blocked by ACL...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: Release_Notes
Version: Development
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 3.2
: ---
Assignee: Scott Mumford
QA Contact: Petr Matousek
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-18 14:25 UTC by Petra Svobodová
Modified: 2015-10-13 13:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
ACL limit properties "filemaxsizelowerlimit" and "filemaxsizeupperlimit" were not honored for "qpid.file_size". Similarly, "filemaxcountlowerlimit" and "filemaxcountupperlimit" were not honored for the "qpid.file_count" option. Both options are no longer supported with LinearStore, and should not be used.
Clone Of:
Environment:
Last Closed: 2015-10-13 13:00:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1067480 0 low CLOSED [LinearStore] Provide a way to limit max count/size of empty files in EFP 2025-02-10 03:35:08 UTC

Internal Links: 1067480

Description Petra Svobodová 2015-03-18 14:25:00 UTC
Description of problem:
Setting ACL limit properties "filemaxsizelowerlimit" and "filemaxsizeupperlimit" have no effect on ACL result to allow or deny setting user option "qpid.file_size" and similarly "filemaxcountlowerlimit" and "filemaxcountupperlimit" have no effect on ACL result of "qpid.file_count" option.

So these options should be obsolete, the user should be informed about this by a warning in the broker log or by another way.

Version-Release number of selected component (if applicable):
qpid-cpp-0.30-7

How reproducible:
100%

Steps to Reproduce:
1. Create an ACL file "/etc/qpid/qpidd.acl":
acl allow all create queue paging=true filemaxsizelowerlimit=1 filemaxsizeupperlimit=100
acl allow all consume
acl allow all access
acl allow all bind
acl allow guest@QPID all all
acl deny all all

2. Configure the broker (modify the "/etc/qpid/qpidd.conf" file):
data-dir=/var/lib/qpidd
log-to-file=/var/lib/qpidd/qpidd.log
acl-file=/etc/qpid/qpidd.acl
auth=yes
log-enable=trace+
port=5672

3. Restart the broker: "service qpidd restart"

4. Try to create a queue:
qpid-receive -a "q;{create:always,node:{type:queue,x-declare:{arguments:{'qpid.file_size': 5}}}}"

Actual results:
The queue is not created; an "ACL unauthorized access" exception is raised. No warning about obsolete ACL rules is generated in the broker log.

Expected results:
The queue should be created (if the "qpid.file_size" option is still supported) or a warning about obsolete user option and ACL limit property should be generated.

Comment 9 Petr Matousek 2015-10-07 14:03:52 UTC
Options removed from MCIG, release note added, content approved.

-> VERIFIED


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