Bug 1175545

Summary: Augeas cannot parse default /etc/swift/proxy-server.conf
Product: Red Hat Enterprise Linux 7 Reporter: Lingfei Kong <lkong>
Component: augeasAssignee: Dominic Cleal <dcleal>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 7.1CC: huzhan, leiwang, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: augeas-1.4.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 10:18:29 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:
Attachments:
Description Flags
/etc/swift/proxy-server.conf none

Description Lingfei Kong 2014-12-18 01:28:21 UTC
Description of problem:
Augeas cannot parse default /etc/swift/proxy-server.conf


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:
openstack-swift-proxy-1.13.1-3.el7ost.noarch

2. Run command: augtool print /augeas/files/etc/swift/proxy-server.conf
#augtool print /augeas/files/etc/swift/proxy-server.conf
/augeas/files/etc/swift/proxy-server.conf
/augeas/files/etc/swift/proxy-server.conf/path = "/files/etc/swift/proxy-server.conf"
/augeas/files/etc/swift/proxy-server.conf/mtime = "1418350064"
/augeas/files/etc/swift/proxy-server.conf/lens = "@PythonPaste"
/augeas/files/etc/swift/proxy-server.conf/lens/info = "/usr/share/augeas/lenses/dist/inifile.aug:497.25-.43:"
/augeas/files/etc/swift/proxy-server.conf/error = "parse_failed"
/augeas/files/etc/swift/proxy-server.conf/error/pos = "454"
/augeas/files/etc/swift/proxy-server.conf/error/line = "23"
/augeas/files/etc/swift/proxy-server.conf/error/char = "0"
/augeas/files/etc/swift/proxy-server.conf/error/lens = "/usr/share/augeas/lenses/dist/inifile.aug:497.25-.43:"
/augeas/files/etc/swift/proxy-server.conf/error/message = "Get did not match entire input"


Actual results:
As above


Expected results:
No errors


Additional info:
The attachment is file /etc/swift/proxy-server.conf

Comment 1 Lingfei Kong 2014-12-18 01:30:42 UTC
Created attachment 970354 [details]
/etc/swift/proxy-server.conf

Comment 2 Dominic Cleal 2015-01-05 09:46:55 UTC
Fixed in 5172acc

Comment 5 Hu Zhang 2015-09-15 05:43:24 UTC
Verified with the package:
augeas-1.4.0-2.el7.x86_64
openstack-swift-proxy-2.3.0-1.el7ost.noarch

Verify steps:
1 #augtool print /augeas/files/etc/swift/proxy-server.conf

/augeas/files/etc/swift/proxy-server.conf
/augeas/files/etc/swift/proxy-server.conf/path = "/files/etc/swift/proxy-server.conf"
/augeas/files/etc/swift/proxy-server.conf/mtime = "1430926312"
/augeas/files/etc/swift/proxy-server.conf/lens = "@PythonPaste"
/augeas/files/etc/swift/proxy-server.conf/lens/info = "/usr/share/augeas/lenses/dist/inifile.aug:497.25-.43:"

No errors pop up. So verified.

Comment 7 errata-xmlrpc 2015-11-19 10:18:29 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