Configuring AppStage 4.0

The AppStage command interacts directly with OpenNebula, it does not require to start other service. There are, however, some customization options.

inlinetoc

Enable the Sunstone Tabs

After installing the OpenNebulaApps the sunstone-server.conf and sunstone-views/admin.yaml are modified to include the following information:

  • sunstone-server.conf
:routes:
    - appstage
  • sunstone-views/admin.yaml
    apptools-appstage-dashboard:
        panel_tabs:
        table_columns:
        actions:
    apptools-appstage:
        panel_tabs:
            appstage_info_tab: true
            appstage_node_tab: true
        table_columns:
        actions:
            AppStage.refresh: true
            AppStage.create_dialog: true
            AppStage.update_dialog: true
            AppStage.chown: true
            AppStage.chgrp: true
            AppStage.chmod: true
            AppStage.delete: true

To enable the appstage tabs you have to add the following lines in the enabled_tabs section of the sunstone-views/admin.yaml.file

enabled_tabs:
    ...
    - apptools-appstage-dashboard
    - apptools-appstage

Be sure to restart Sunstone for the changes to take effect.

For more information on how to customize the views based on the user/group interacting with Sunstone check the sunstone views guide

Advanced setup

ACL Rule

By default this rule is defined in OpenNebula to enable the creation of new environments by any user. If you want to limit this, you will have to delete this rule and generate new ones: <xterm> $ oneacl create “* DOCUMENT/* CREATE” </xterm>

If you only want a specific group to be able to use AppStage, execute: <xterm> $ oneacl create “@1 DOCUMENT/* CREATE” </xterm>

Read more about the ACL Rules system in the OpenNebula documentation.