Swift Recon middleware can't be launched due to wrong configuration

Bug #1730937 reported by Alexander Rubtsov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Won't Fix
Medium
Oleksiy Molchanov
Mitaka
Fix Released
Medium
Oleksiy Molchanov

Bug Description

--- Environment ---
Release: MOS 9.2 (build 574)
Storage backend: Swift

--- Description ---
There is a cron job "/etc/cron.d/swift-object" which is supposed to launch Swift Recon every 5 minutes.
However, it can't be launched and fails because there is no "[filter:recon]" section in object-server.conf

--- Steps to reproduce ---
1. Deploy an HA environment with Swift backend
2. On a Controller node run the following command:
/usr/bin/swift-recon-cron /etc/swift/object-server.conf

--- Actual result ---
Launch of Swift Recon fails with the following traceback:
Traceback (most recent call last):
  File "/usr/bin/swift-recon-cron", line 85, in <module>
    main()
  File "/usr/bin/swift-recon-cron", line 59, in main
    conf = dict(c.items('filter:recon'))
  File "/usr/lib/python2.7/ConfigParser.py", line 642, in items
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'filter:recon'

# echo $?
1

--- Expected result ---
Swift Recon has successfully launched:
# echo $?
0

--- Notes ---
Here is example of the configuration:
https://docs.openstack.org/swift/mitaka/admin_guide.html#cluster-telemetry-and-monitoring

Revision history for this message
Alexander Rubtsov (arubtsov) wrote :

sla2 for 9.0-updates

tags: added: customer-found sla2
Changed in fuel:
assignee: nobody → Oleksiy Molchanov (omolchanov)
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (master)

Fix proposed to branch: master
Review: https://review.openstack.org/519298

Changed in fuel:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/newton)

Fix proposed to branch: stable/newton
Review: https://review.openstack.org/519437

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to fuel-library (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/519438

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to openstack/fuel-library (9.0/mitaka)

Fix proposed to branch: 9.0/mitaka
Change author: Oleksiy Molchanov <email address hidden>
Review: https://review.fuel-infra.org/37166

Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to openstack/fuel-library (9.0/mitaka)

Reviewed: https://review.fuel-infra.org/37166
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0/mitaka

Commit: 2ba39ea74ffda79223ba35641e7796758c7b1f04
Author: Oleksiy Molchanov <email address hidden>
Date: Tue Nov 14 12:05:05 2017

Add swift::storage::filter::recon

Change-Id: I996ea315c7dc1156ee1d1e7ede8f6319ef9e2f68
Closes-Bug: 1730937

Changed in fuel:
milestone: none → 11.x-updates
Revision history for this message
Dmitry (dtsapikov) wrote :

Verified on 9.2+mu4

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/newton)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: stable/newton
Review: https://review.openstack.org/519437
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (stable/ocata)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: stable/ocata
Review: https://review.openstack.org/519438
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on fuel-library (master)

Change abandoned by Fuel DevOps Robot (<email address hidden>) on branch: master
Review: https://review.openstack.org/519298
Reason: This review is > 4 weeks without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Changed in fuel:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.