file limits not configured for swift nodes

Bug #1595290 reported by Bjoern
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Andy McCrae

Bug Description

The current state of the swift playbooks/roles seem not to support file limits modification for objectservers etc.
Hence we should add this task to support file limits modification for the swift user

Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Hello Bjoern,

Here is the result of our bug triage:
All the swift options should be exposed via config template, and should work with overrides.

If it's not the case (please mention why/which file we are talking about), please update this bug.

Also if you think the system lacks documentation, don't hesitate to tell us too.

Thank you.

Changed in openstack-ansible:
importance: Undecided → Wishlist
status: New → Incomplete
Revision history for this message
Bjoern (bjoern-t) wrote :

Thanks but I was not able find any override/template for. PLease correct me if there is. I'm also looking from a liberty perspective.

Changed in openstack-ansible:
status: Incomplete → New
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Swift role under liberty already supports overrides (https://github.com/openstack/openstack-ansible/blob/liberty/playbooks/roles/os_swift/tasks/swift_post_install.yml)
But you didn't give information about the file in question.

Could you complete the bug with the file you want to override, please?

Thank you in advance.

Revision history for this message
Bjoern (bjoern-t) wrote :

I fix it myself. I referred to file limits so it would be /etc/security/limits.conf

Changed in openstack-ansible:
assignee: nobody → Bjoern Teipel (bjoern-teipel)
Revision history for this message
Jean-Philippe Evrard (jean-philippe-evrard) wrote :

Thanks for your commitment.
We need another person to confirm the bug to change its status to confirmed.
In the meantime, updating the bug/proposing commits will not make it expire.

Changed in openstack-ansible:
status: New → Confirmed
assignee: Bjoern Teipel (bjoern-teipel) → Kevin Carter (kevin-carter)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_swift (master)

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

Changed in openstack-ansible:
status: Confirmed → In Progress
Changed in openstack-ansible:
importance: Wishlist → Medium
Changed in openstack-ansible:
assignee: Kevin Carter (kevin-carter) → Amy Marrich (amy-marrich)
Revision history for this message
Bjoern (bjoern-t) wrote :

Can we back port this to Mitaka, Liberty please ?

Changed in openstack-ansible:
assignee: Amy Marrich (amy-marrich) → Andy McCrae (andrew-mccrae)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_swift (master)

Reviewed: https://review.openstack.org/338401
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=022b62fc8dd7e69adb8cce2858c3203ff81a131b
Submitter: Jenkins
Branch: master

commit 022b62fc8dd7e69adb8cce2858c3203ff81a131b
Author: Kevin Carter <email address hidden>
Date: Wed Jul 6 11:48:08 2016 -0500

    Add options for configuring file limits in swift

    Options have been added to allow a deployer to control the
    hard, soft, and fs.file-max limits on swift specific nodes.

    Change-Id: Ia5dd51fa360745a9776d58d0bf49d8e1201d3139
    Closes-Bug: #1595290
    Signed-off-by: Kevin Carter <email address hidden>

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_swift (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/341661

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_swift (stable/mitaka)

Reviewed: https://review.openstack.org/341661
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_swift/commit/?id=f2e3c777cf22b5072495543ca3c7b2d6ec1a0818
Submitter: Jenkins
Branch: stable/mitaka

commit f2e3c777cf22b5072495543ca3c7b2d6ec1a0818
Author: Kevin Carter <email address hidden>
Date: Wed Jul 6 11:48:08 2016 -0500

    Add options for configuring file limits in swift

    Options have been added to allow a deployer to control the
    hard, soft, and fs.file-max limits on swift specific nodes.

    Change-Id: Ia5dd51fa360745a9776d58d0bf49d8e1201d3139
    Closes-Bug: #1595290
    Signed-off-by: Kevin Carter <email address hidden>
    (cherry picked from commit 022b62fc8dd7e69adb8cce2858c3203ff81a131b)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible-os_swift 14.0.0.0b2

This issue was fixed in the openstack/openstack-ansible-os_swift 14.0.0.0b2 development milestone.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible-os_swift 13.3.1

This issue was fixed in the openstack/openstack-ansible-os_swift 13.3.1 release.

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.