Updated on 2023-08-11 GMT+08:00

Stack Management

Stack management consists of two aspects. One is lifecycle management of created stacks, including deleting and changing. The other is viewing stack details to obtain stack running status.

Table 1 describes stack lifecycle status.

Table 1 Status description

Status

Description

Normal

Both the stack and its instances run properly.

Abnormal

The stack runs abnormally. Some or all stack instances run abnormally and cannot provide functions.

Initializing

Stack instances have not been installed or have been uninstalled. The stack does not provide functions.

Processing

A stack lifecycle action is being performed. The status of stack instances is unknown.

Unknown error

An unknown stack error occurs.

Deleting a Stack

Deleted stacks cannot be restored. Exercise caution when deleting a stack.

  1. Log in to the AOS console.
  2. In the navigation pane, click My Stacks.
  3. In the stack list, select the stack to be deleted and click Delete.
  4. In the dialog box that is displayed, click OK.

    Check the stack name carefully. The deletion cannot be revoked.

    On the Events tab page, view the detailed operation events related to stack deletion.

    If the stack status remains Deleting until a timeout message is displayed and the stack status becomes Abnormal, try to forcibly delete the stack.

Viewing Stack Details

After a stack is created, view its data and resources on the stack details page.

  • Stack elements

    The elements of a stack, such as applications and cloud services are displayed.

    Element health status:

    • Healthy: The resource is running properly.
    • Unknown: The AOS fails to obtain the resource status because an error occurs during the health check.
    • Abnormal: The AOS successfully calls the health check API of the resource, but the resource status is abnormal.
  • Output parameters

    Output parameters and their values in the stack template are displayed.

  • Input parameters

    Input parameters and their values in the stack template are displayed.

  • Alarms

    Alarm information of the stack is displayed.

  • Events

    View stack events to monitor stack operation progress. For example, when you create a stack, all important steps during the stack creation are displayed on the Events tab page. The events are sorted in chronological order with the latest event being displayed at the top.