Bug #1535462 reported by Devdatta Kulkarni
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Devdatta Kulkarni

Bug Description

We need an API to deploy a pre-built application container (DU). This is required in situations where users have already built the application's container and want to deploy it, without having to build it first. The application container might be available in the configured solum storage (glance/swift) which might have been put there as part of the previous build.

CLI Usage:
solum app deploy --build-id <build-id>
solum app deploy --image-id <glance-image-id-of-du> | <swift-id-of-du>

POST /v1/apps/<app-id>/workflows/
The request body will specify the build-id or image-id which is specified on the CLI.

Error checking:
Check the image-id in the configured back-end storage. Return an error if the image is not found in the configured storage.

What needs to happen on the back-end?
The main change is in solum-worker

- If the configured storage is swift and if the configured deployer is heat, we need to generate tempURL for the specified image. The code that generates tempURL is currently in bash script called from within build-app. We will have to extract this code
- If the configured storage is glance nothing needs to be done.

description: updated
description: updated
description: updated
description: updated
description: updated
summary: - api-to-deploy-created-du
+ api-to-deploy-created-du-in-swift-glance
Revision history for this message
Devdatta Kulkarni (devdatta-kulkarni) wrote :

This is the first patch in the series:


Changed in solum:
milestone: none → next-mitaka
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Devdatta Kulkarni (devdatta-kulkarni)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/271111
Committed: https://git.openstack.org/cgit/openstack/solum/commit/?id=ebda9cd07e0740be97ec5e24f8822c3a1c101130
Submitter: Jenkins
Branch: master

commit ebda9cd07e0740be97ec5e24f8822c3a1c101130
Author: Devdatta Kulkarni <email address hidden>
Date: Thu Jan 21 19:36:17 2016 -0600

    Adds support to deploy already created DU

    This patch adds support to deploy a DU image
    that is available in glance.

    Change-Id: I8f3fddad005baaf054d8a41a2b14029dce6633ab

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers