RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1175546 - Augeas cannot parse default /etc/rabbitmq/rabbitmq.config
Summary: Augeas cannot parse default /etc/rabbitmq/rabbitmq.config
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: augeas
Version: 7.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Dominic Cleal
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-12-18 01:31 UTC by Lingfei Kong
Modified: 2015-11-19 10:18 UTC (History)
4 users (show)

Fixed In Version: augeas-1.4.0-1.el7
Doc Type: Bug Fix
Doc Text:
Cause: the "kernel" section and empty lists inside rabbitmq.config files couldn't be parsed by the Augeas lens Consequence: rabbitmq.config could not be managed with Augeas Fix: the "kernel" section and empty lists can now be parsed Result: rabbitmq.config can now be parsed by Augeas
Clone Of:
Environment:
Last Closed: 2015-11-19 10:18:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
/etc/rabbitmq/rabbitmq.config (200 bytes, text/x-matlab)
2014-12-18 01:31 UTC, Lingfei Kong
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2153 0 normal SHIPPED_LIVE augeas bug fix and enhancement update 2015-11-19 09:54:36 UTC

Description Lingfei Kong 2014-12-18 01:31:23 UTC
Description of problem:
Augeas cannot parse default /etc/rabbitmq/rabbitmq.config


Version-Release number of selected component (if applicable):
augeas-1.1.0-17.el7


How reproducible:
100%


Steps to Reproduce:
1. Install the following packages:
rabbitmq-server-3.3.5-2.el7ost.noarch

2. Run command: augtool print /augeas/files/etc/rabbitmq/rabbitmq.config/error
#augtool print /augeas/files/etc/rabbitmq/rabbitmq.config/error
/augeas/files/etc/rabbitmq/rabbitmq.config/error = "parse_failed"
/augeas/files/etc/rabbitmq/rabbitmq.config/error/pos = "0"
/augeas/files/etc/rabbitmq/rabbitmq.config/error/line = "1"
/augeas/files/etc/rabbitmq/rabbitmq.config/error/char = "0"
/augeas/files/etc/rabbitmq/rabbitmq.config/error/lens = "/usr/share/augeas/lenses/dist/erlang.aug:156.4-161.27:"
/augeas/files/etc/rabbitmq/rabbitmq.config/error/message = "Input string does not match at all"


Actual results:
As above


Expected results:
No errors


Additional info:
The attachment is file /etc/rabbitmq/rabbitmq.config

Comment 1 Lingfei Kong 2014-12-18 01:31:57 UTC
Created attachment 970355 [details]
/etc/rabbitmq/rabbitmq.config

Comment 2 Dominic Cleal 2015-01-06 17:14:37 UTC
Fixed in 3e827d8

Comment 5 Xianghua Chen 2015-09-16 09:02:36 UTC
Verified with the package:
augeas-1.4.0-2.el7.x86_64

Verify steps:
1. download the rabbitmq.config from attachments.
wget https://bugzilla.redhat.com/attachment.cgi?id=970355 -O /etc/rabbitmq/rabbitmq.config

2. 
augtool> print /augeas/files/etc/rabbitmq/rabbitmq.config/error
augtool> print /augeas/files/etc/rabbitmq/rabbitmq.config
/augeas/files/etc/rabbitmq/rabbitmq.config
/augeas/files/etc/rabbitmq/rabbitmq.config/path = "/files/etc/rabbitmq/rabbitmq.config"
/augeas/files/etc/rabbitmq/rabbitmq.config/mtime = "1442391938"
/augeas/files/etc/rabbitmq/rabbitmq.config/lens = "@Rabbitmq"
/augeas/files/etc/rabbitmq/rabbitmq.config/lens/info = "/usr/share/augeas/lenses/dist/erlang.aug:179.4-184.27:"

Works as expected. So verified.

Comment 7 errata-xmlrpc 2015-11-19 10:18:33 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/RHEA-2015-2153.html


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