
Table 1 Application States (continued)
Description
State
A transitive state indicating the existing application is being stopped and a new version of the
application is being installed.
UPGRADING
A transitive state indicating a non-installed version of an application is being deleted from the
controller.
CANCELING
A transitive state indicating the application is in the process of being disabled (stopping).
DISABLING
The application is disabled (stopped). A disabled application is not automatically started when
the controller restarted.
DISABLED
A transitive state indicating the application is being started.
ENABLING
A transitive state indication an application is being stopped and completely removed from the
controller.
UNINSTALLING
The application is stopped and not servicing requests. An application can only be in this state
when it is stopped externally to the SDN Controller (e.g. the virgo console).
RESOLVED
Table 2 Error condition management
Description
State
If an error condition occurs when staging the application,
then it actually does not exist. (Error conditions in this
stage clean up after themselves.)
NEW > STAGED NEW > UPGRADE-STAGED
If an OSGi deployment exception is encountered, the
application is moved to DISABLED if it fails to deploy as
STAGED > ACTIVE
it is. If a File I/O or URI exception is encountered, the
application remains in the installing state.
If an exception is encountered (OSGi deployment, File
I/O, or URI), rollback attempt is made, as listed below.
UPGRADE-STAGED > ACTIVE
(Depending on the original exception, not all options may
be possible).
1.
Calls AppStore.deleteStore on the upgraded version
of the application.
2.
Attempts to redeploy the original version of the
application.
If any exception is encountered, the application remains
in UNINSTALLING state
ANY STATE > UNINSTALLED
If an exception is encountered, remains in DISABLING
state.
ANY STATE > DISABLED
If an OSGi deployment exception is encountered, the
application is moved to the DISABLED state if it fails to
DISABLED > ENABLED
deploy as it is. If any other exception is encountered (file
I/O or URI), the application remains in the ENABLING
state.
To access the link to the OSGi artifacts for an application, click on the bullet for the application
in the web GUI. For example, clicking on the bullet for the Path Diagnostics application displays
the link to identity of the associated OSGi artifacts:
Applications
37