deb-murano/doc/source/draft/enduser-guide/manage_applications.rst
Maria Zlatkova db0c37cd99 [Murano Docs] Add an application HowTo
Adds a HowTo instruction into the 'Add an application to
environment' section of the End User Guide.

Change-Id: Ie0404d6dc28c6d34b5362a19ab3faa2149ca4569
2015-08-19 19:03:05 +03:00

12 KiB

Managing applications

Import an application package

There are several ways of importing an application package into murano:

  • from a zip file <ui_zip>
  • from murano applications repository <ui_repo>
  • from bundles of applications <ui_bundles>

From a zip file

Perform the following steps to import an application package from a .zip file:

  1. In OpenStack dashboard, navigate to Murano > Manage > Package Definitions.

  2. Click the Import Package button on the top right of the page.

    Package Definitions page: Import Package 1

  3. From the Package source drop-down list choose File, then click Browse to select a .zip file you want to import, and then click Next.

    Import Package dialog: zip file

  4. At this step, the package is already uploaded. Choose a category from the Application Category menu. You can select multiple categories while holding down the Ctrl key. If necessary, verify and update the information about the package, then click the Create button.

    Import Package dialog: Description

Note

Though specifying a category is optional, we recommend that you specify at least one. It helps to filter applications in the catalog.

Green messages appear at the top right corner when the application is successfully uploaded. In case of a failure, you will see a red message with the problem description. For more information, please refer to the logs.

From a repository

Perform the following steps to import an application package from murano applications repository:

Note

To import an application package from a repository, you need to know the full name of the package. For the packages names, go to http://apps.openstack.org/#tab=murano-apps and click on the desired package to see its full name.

  1. In dashboard, navigate to Murano > Manage > Package Definitions.

  2. Click the Import Package button on the top right of the page.

    Package Definitions page: Import Package 2

  3. From the Package source drop-down list, choose Repository, enter the package name, and then click Next. Note that you may also specify the version of the package.

    Import Package dialog: Repository

  4. At this step, the package is already uploaded. Choose a category from the Application Category menu. You can select multiple categories while holding down the Ctrl key. If necessary, verify and update the information about the package, then click the Create button.

    Import Package dialog: Description

From a bundle of applications

Perform the following steps to import a bundle of applications:

Note

To import an application bundle from a repository, you need to know the full name of the package bundle. To find it out, go to http://apps.openstack.org/#tab=murano-apps and click on the desired bundle to see its full name.

  1. In dashboard, navigate to Murano > Manage > Package Definitions.

  2. Click the Import Bundle button on the top right of the page.

    Package Definitions page: Import Bundle

  3. From the Package Bundle Source drop-down list, choose Repository, enter the bundle name, and then click Create.

    Import Bundle dialog

Search for an application in the catalog

When you have imported many applications and want to quickly find a required one, you can filter them by category, tags and words that the application name or description contains:

In dashboard, navigate to Murano > Application Catalog > Applications.

The page is divided into two sections:

  • Recent Activity shows the most recently imported or deployed applications.
  • The bottom section contains all the available applications sorted alphabetically.

To view all the applications of a specific category, select it from the App Category drop-down list:

Applications page: App Category

To filter applications by tags or words from the application name or description, use the rightmost filter:

Applications page: Filter

Note

Tags can be specified during the import of an application package.

For example, there is an application that has the word community-developed in description. Let's find it with the filter. The following screenshot shows you the result.

Applications page: example

Delete an application package

To delete an application package from the catalog, please perform the following steps:

  1. In dashboard, navigate to Murano > Manage > Package Definitions.

  2. Select a package or multiple packages you want to delete and click Delete Packages.

    Package Definitions page: Select packages

  3. Confirm the deletion.

Add an application to environment

After uploading an application, the second step is to add it to an environment. You can do this:

  • from environment details page <from_env>
  • from applications catalog page <from_cat>

From environment details page

  1. In OpenStack dashboard, navigate to Murano > Application catalog > Environments.
  2. Find the environment you want to manage and click Manage Components, or simply click on the environment's name.
  3. Procced with the Drop Components here <drag_and_drop> field or the Add Component <add_component> button.

Use of Drop Components here field

  1. On the Environment Components page, drag and drop a desired application into the Drop Components here field under the Application Components section.

    Environment Components page: Drag and drop a component

  2. Configure the application. Note that the settings may vary from app to app and are predefined by the application author. When done, click Next, then click Create.

Now the application appears in the Component List section on the Environment Components page.

Use of Add Component button

  1. On the Environment Components page, click Add Component.

    Environment Components page: Add component

  2. Find the application you want to add and click Add to Env.

    Applications page: Add to Env

  3. Configure the application and click Next. Note that the settings may vary from app to app and are predefined by the application author.

  4. To add more applications, check Add more applications to the environment, then click Create and repeat the steps above. Otherwise, just click Create.

    Configure Application dialog: Add more applications

    Now the application appears in the Component List section on the Environment Components page.

From applications catalog page

  1. In OpenStack dashboard, navigate to Murano > Application catalog > Applications.
  2. On the Applications catalog page, use one of the following methods:
    • Quick deploy. Automatically creates an environment, adds the selected application, and redirects you to the page with the environment components.
    • Add to Env. Adds an application to an already existing environment.

Quick Deploy button

  1. Find the application you want to add and click Quick Deploy. Let's add Apache Tomcat, for example.

    Applications page: Quick Deploy

  2. Configure the application. Note that the settings may vary from app to app and are predefined by the application author. When done, click Next, then click Create. In the example below we assign a floating IP address.

    Configure Application dialog

Now the Apache Tomcat application is successfully added to an automatically created quick-env-1 environment.

Environment Components page: Select packages

Add to Env button

  1. From the Environment drop-down list, select the required environment.

    Applications page: Select environment

  2. Find the application you want to add and click Add to Env. Let's add Apache Tomcat, for example.

    Applications page: Add to Env

  3. Configure the application and click Next. Note that the settings may vary from app to app and are predefined by the application author. In the example below we assign a floating IP address.

    Configure Application dialog

  4. To add more applications, check Add more applications to the environment, then click Create and repeat the steps above. Otherwise, just click Create.

    Configure Application dialog: Add more applications

Deploy an application

Show an application topology

Show a deployment log location

Delete an application

To delete an application that belongs to the environment:

  1. In OpenStack dashboard, navigate to Murano > Application Catalog > Environments.

  2. Click on the name of the environment you want to delete an application from.

    Environments page

  3. In the Component List section, click the Delete Component button next to the application you want to delete. Then confirm the deletion.

    Environment Components page

Note

If the application that you are deleting has already been deployed, you should redeploy the environment to apply the recent changes. If the environment has not been deployed with this component, the changes are applied immediately on receiving the confirmation.

Warning

Due to a known bug in murano as of Kilo release, the OS resources allocated by a deleted application might not be reclaimed until you delete the environment. See the Deallocating stack resources blueprint for details.