Command to deploy a new service is needed

Bug #616490 reported by Gustavo Niemeyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pyjuju
Fix Released
Medium
Kapil Thangavelu

Bug Description

We need a command which is able to be called as:

    $ ensemble deploy --repository /my/formulas/ wordpress

This command should:

    1) Verify that the service name is available for creation (since no explict name was provided, "wordpress" should be used) through the ServiceStateManager (depends on bug #616485)

    2) Find the "wordpress" formula in the repository and upload it to the environment (depends on bug #616478)

    3) Create the new service state with the "wordpress" formula (depends on bug #616485)

    4) Create a new machine state for running this service (depends on bug #616487)

    5) Create a new service unit with the created service and assign it to the created machine (depends on both #616485 and #616487)

Note that, during that initial development phase, every service unit will live under its own machine. In the future, this will be changed so that cohabiting a machine is possible.

Tags: spike

Related branches

Changed in ensemble:
status: New → Confirmed
importance: Undecided → Medium
description: updated
Changed in ensemble:
milestone: none → 0.1
Changed in ensemble:
assignee: nobody → Kapil Thangavelu (hazmat)
status: Confirmed → In Progress
Changed in ensemble:
status: In Progress → Fix Committed
Changed in ensemble:
status: Fix Committed → Fix Released
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.