add-functionality-to-support-app-scaling

Bug #1541545 reported by Devdatta Kulkarni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
High
Devdatta Kulkarni

Bug Description

We want to support app scaling whereby it should be possible to scale up or scale down an app.

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/275878

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

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

commit b0a83ffce2afe259de48f01a4c09a1829e442b95
Author: Devdatta Kulkarni <email address hidden>
Date: Wed Feb 3 12:32:39 2016 -0600

    Adding functionality to support scaling of an app

    Towards scaling this patch adds the following:

    1) Method in workflow_handler which updates the app's
       row in the app table with scale_config data.

       We update scale_config in two situations.
       First, when 'solum app deploy' is called. As part
       of this call we store the default scaling target of '1'
       in the scale_config column.
       Second, when 'solum app scale' is called. As part of
       this call we expect scale_target to be sent in and we
       store that in the scale_config column.

    2) Method in heat deployer to save the du ref which can
       be used during the scaling call.

       We save the du's location in the scale_config column for
       the app as part of the deploy method

    3) 'scale' method in the deployer's api.

        Currently this method is empty, but the idea is to use
        the scale_config column for the app to figure out the
        'target' and the 'du' which have been saved earlier to
        perform app scaling.

    Change-Id: I3240b98650f0474340f0a451d655e65cc3ec5813
    Closes-Bug: #1541545

Changed in solum:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/solum 4.1.0

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