Improvement: Store plan.raw_content in swift for scalability

Bug #1276905 reported by Adrian Otto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Opinion
Wishlist
Pierre Padrixe (stannie)

Bug Description

The Plan resource has raw_content (the Plan YAML content) that is stored in the database. This has an effective maximum size of whatever the database servers max_allowed_packet setting is. Produce an implementation that stores a reference to an object in swift in the Plan database, instead of the raw_content. When a Plan object is accessed, use the reference to fetch the content from swift.

See: https://review.openstack.org/#/c/69308/11/solum/objects/sqlalchemy/plan.py

Revision history for this message
Adrian Otto (aotto) wrote :

Note: The entire Plan resource could be back ended by swift, including all of its metadata. The various attributes could be stored in the swift metadata attached to the YAML object.

Changed in solum:
assignee: nobody → Pierre Padrixe (stannie) (pierre-padrixe)
tags: added: add-plan-in-swift
Angus Salkeld (asalkeld)
Changed in solum:
status: New → Confirmed
Adrian Otto (aotto)
summary: - Scalability: Store plan.raw_content in swift
+ Improvement: Store plan.raw_content in swift for scalability
Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix proposed to solum (master)

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

Changed in solum:
status: Confirmed → In Progress
Adrian Otto (aotto)
Changed in solum:
milestone: none → juno-2
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

The review has been abandoned.

Also, if we take this up again, it needs to be reworked to support appfile instead of planfile, as we have moved away from plan abstraction.

Changed in solum:
status: In Progress → Opinion
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.