Go to file
Tee Ngo 3f7bbbd94c Add system application-abort command
This commit provides a basic capability to abort an application
operation that is in progress.

- The new abort command is only applicable to application that
  is being applied, updated or removed. The abort request
  will be rejected if the application has any other status
  including "recovering" from a failed update.
- The abort processing thread sets "abort" flag for the specified
  app, terminates Armada request and removes dangling locks.
- By setting the "abort" flag, the corresponding app processing
  thread will bail out at the next opportunity that is advantageous
  and friendly to subsequent command to resume or revert the
  operation.
- Terminating Armada request entails stopping Armada service.
  This logic will be revisited in the future when the Armada
  lock restriction is lifted and there is more soak time.
- In the event the user aborted while openstack compute-kits charts
  group was being deployed, wait for Tiller to finish the
  "pending install" charts before making a new Armada request to
  reapply the app.

Tests:
  - upload, apply, and remove of stx-openstack app
  - upload, apply, update of a test app (a scaled down version
    of stx-openstack app)
  - abort during the apply of stx-openstack app during
    a) images download and b) manifest apply
  - abort during the update of the test app during
    a) images download and b) manifest apply which triggers
    recovery with and without Armada request respectively
  - abort during the remove of stx-openstack app
  - abort while compute-kits is being deployed then reapply

Partial-Bug: 1833323
Change-Id: I382bd9ce82d504b7d221c8079f9f46c6798eb3b1
Signed-off-by: Tee Ngo <Tee.Ngo@windriver.com>
2019-07-25 14:17:04 -04:00
2019-07-03 12:49:04 +00:00
2019-07-24 09:54:16 -05:00
2019-04-19 19:52:42 +00:00
2018-05-31 07:35:52 -07:00

stx-config

StarlingX Configuration Management

Description
StarlingX System Configuration Management
Readme 106 MiB
Languages
Python 98%
Shell 1.6%
CSS 0.2%