os-swift is missing configuration for the object-expirer and container-reconciler

Bug #1516877 reported by Matthew Oliver
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Medium
Matthew Oliver
Liberty
Fix Released
Medium
Jesse Pretorius
Trunk
Fix Released
Medium
Matthew Oliver

Bug Description

When deploying swift there are some other config files missing for certain swift services:

 - Object-Expirer, this service controls expirint objects (X-Delete-At, X-Delete-After). And needs an object-expirer.conf file to run, so config file needs to be added.

 - Container-Reconciler, this service needs a container-reconciler.conf file to run, and is apart of swift eventual consistency system to allow move incorrectly placed objects from one storage policy into the correct one.

Changed in openstack-ansible:
status: New → Confirmed
importance: Undecided → Medium
milestone: none → 12.1.0
assignee: nobody → Matthew Oliver (matt-0)
Revision history for this message
Matthew Thode (prometheanfire) wrote :

Hi, seems like this is a few bugs / blueprint material.

I'd suggest splitting out the wishlist bug (Object-Reconstrcutor) as it's beta. The memcache thing should probably be a blueprint. And the other two issues (Object-Expirer, Container-Reconciler) could probably remain in this bug.

Revision history for this message
Matthew Oliver (matt-0) wrote : Re: [Bug 1516877] Re: os-swift is missing configuration for the object-expirer, container-reconciler and object reconstructor

Yeah probably should be, I kind of wrote this bug while putting together a
patch as I found things. So was like a running job.

And was unsure if you guys are blueprinting, specing or both. I'll look at
splitting it up.
On Nov 18, 2015 3:30 AM, "Matthew Thode" <email address hidden> wrote:

> Hi, seems like this is a few bugs / blueprint material.
>
> I'd suggest splitting out the wishlist bug (Object-Reconstrcutor) as
> it's beta. The memcache thing should probably be a blueprint. And the
> other two issues (Object-Expirer, Container-Reconciler) could probably
> remain in this bug.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1516877
>
> Title:
> os-swift is missing configuration for the object-expirer, container-
> reconciler and object reconstructor
>
> Status in openstack-ansible:
> Confirmed
>
> Bug description:
> When deploying swift there are some other config files or in the case
> of the object reconstructor missing configuration in existing configs.
>
> Object-Expirer, this service controls expirint objects (X-Delete-At, X
> -Delete-After). And needs an object-expirer.conf file to run, so
> config file needs to be added.
>
> Object-Reconstrcutor, a section called '[object-reconstructor]' needs
> to be added to templates/object-server.conf.j2. NOTE: the constructor
> is used for EC seeing as it is still beta, this is lower priority.
>
> Container-Reconciler, this service needs a container-reconciler.conf
> file to run, and is apart of swift eventual consistency system to
> allow move incorrectly placed objects from one storage policy into the
> correct one.
>
> Unrelated note: (this should be placed in a blue print really). We
> should support the use of a memcache.conf because work is being added
> to allow services to reload this config allowing changes to memcache
> servers without restarting swift services.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/openstack-ansible/+bug/1516877/+subscriptions
>

Matthew Oliver (matt-0)
summary: - os-swift is missing configuration for the object-expirer, container-
- reconciler and object reconstructor
+ os-swift is missing configuration for the object-expirer and container-
+ reconciler
Revision history for this message
Matthew Oliver (matt-0) wrote :

Split up.

description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible (master)

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

Changed in openstack-ansible:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (master)

Reviewed: https://review.openstack.org/247290
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=b8fa505969c1ad7d38a83d6d87c9891326e20622
Submitter: Jenkins
Branch: master

commit b8fa505969c1ad7d38a83d6d87c9891326e20622
Author: Matthew Oliver <email address hidden>
Date: Thu Nov 19 15:01:52 2015 +1100

    Add container-reconciler and object-expirer to os-swift

    The container-reconciler and object-expirer were missing from the os-swift
    role. The reconciler makes sure incorrectly placed objets live in the
    correct storage policy. The expirer is the service that deletes expired objects.

    This change also adds the abilty to optionally specify a reclaim_age in the swift
    section of the configuration, which is now set in all the locations required,
    still with the default of 604800 seconds (7 days).

    Change-Id: Ic56a714c3fb3c84b9bb5ed8e2ae3c86dad474161
    Closes-Bug: #1516877

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

Fix proposed to branch: liberty
Review: https://review.openstack.org/251721

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible (liberty)

Reviewed: https://review.openstack.org/251721
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible/commit/?id=e81b921f562006c45798371be23a818d316b93ba
Submitter: Jenkins
Branch: liberty

commit e81b921f562006c45798371be23a818d316b93ba
Author: Matthew Oliver <email address hidden>
Date: Thu Nov 19 15:01:52 2015 +1100

    Add container-reconciler and object-expirer to os-swift

    The container-reconciler and object-expirer were missing from the os-swift
    role. The reconciler makes sure incorrectly placed objets live in the
    correct storage policy. The expirer is the service that deletes expired objects.

    This change also adds the abilty to optionally specify a reclaim_age in the swift
    section of the configuration, which is now set in all the locations required,
    still with the default of 604800 seconds (7 days).

    Change-Id: Ic56a714c3fb3c84b9bb5ed8e2ae3c86dad474161
    Closes-Bug: #1516877
    (cherry picked from commit b8fa505969c1ad7d38a83d6d87c9891326e20622)

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

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

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

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

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

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

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :

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

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 12.0.11

This issue was fixed in the openstack/openstack-ansible 12.0.11 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.