Improvement: Fetch and store external plan

Bug #1301798 reported by Pierre Padrixe (stannie)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Won't Fix
Wishlist
Pierre Padrixe (stannie)

Bug Description

Fetch a plan hosted remotely, if the end-user POST an assembly with a plan uri having a remote host, we will retrieve the plan and store it in Solum raw_content db field, ideally we should store the plan in Swift (that's why this bug is also tagged 'add-plan-in-swift')

https://github.com/stackforge/solum/blob/master/solum/api/controllers/v1/assembly.py#L82-L85

Tags: solum-api
Changed in solum:
assignee: nobody → Pierre Padrixe (stannie) (pierre-padrixe)
Revision history for this message
Pierre Padrixe (stannie) (pierre-padrixe) wrote :

in heat there is https://github.com/openstack/heat/blob/master/heat/common/urlfetch.py which doesn't download the entire file at once but GET the file chunk by chunk and interrupt the download if the file exceed a defined file size

Julien Vey (vey-julien)
Changed in solum:
importance: Undecided → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to solum (master)

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

Changed in solum:
status: New → In Progress
summary: - fetch external plan and store the plan
+ fetch and store external plan
Adrian Otto (aotto)
Changed in solum:
milestone: none → 2014.2.0
Adrian Otto (aotto)
summary: - fetch and store external plan
+ Improvement: Fetch and store external plan
Adrian Otto (aotto)
Changed in solum:
milestone: juno-1 → juno-2
tags: added: solum-api
removed: add-plan-in-swift
Changed in solum:
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.