Warning
The DevOps Portal has been deprecated in the Q4`18 MCP release tagged with the 2019.2.0 Build ID.
This section explains how to deploy StackLight LMA with the DevOps Portal (OSS) using Jenkins.
Before you proceed with the deployment, verify that your cluster level model contains configuration to deploy StackLight LMA as well as OSS. More specifically, check whether you enabled StackLight LMA and OSS as described in Services deployment parameters, and specified all the required parameters for these MCP components as described in StackLight LMA product parameters and OSS parameters.
Note
For production environments, CI/CD should be deployed on a per-customer basis.
For testing purposes, you can use the central Jenkins lab that is available for Mirantis employees only. To be able to configure and execute Jenkins pipelines using the lab, you need to log in to the Jenkins web UI with your Launchpad credentials.
To deploy StackLight LMA with the DevOps Portal:
In a web browser, open http://<ip_address>:8081
to access the
Jenkins web UI.
Note
The IP address is defined in the
classes/cluster/<cluster_name>/cicd/init.yml
file
of the Reclass model under the cicd_control_address
parameter variable.
Log in to the Jenkins web UI as admin.
Note
To obtain the password for the admin user, run the
salt "cid*" pillar.data _param:jenkins_admin_password
command
from the Salt Master node.
Find the Deploy - OpenStack job in the global view.
Select the Build with Parameters option from the drop-down menu of the Deploy - OpenStack job.
For the STACK_INSTALL parameter, specify the stacklight
and oss
values.
Warning
If you enabled Stacklight LMA and OSS in the Reclass model,
you should specify both stacklight
and oss
to deploy
them together. Otherwise, the Runbooks Automation service
(Rundeck) will not start due to Salt and Rundeck behavior.
Note
For the details regarding other parameters for this pipeline, see Deploy - OpenStack environment parameters.
Click Build.
Once the cluster is deployed, you can access the DevOps Portal at the
the IP address specified in the stacklight_monitor_address
parameter
on port 8800
.
Customize the alerts as described in MCP Operations Guide: Alerts that require tuning.
Once StackLight LMA is deployed, customize the alerts as described in MCP Operations Guide: Alerts that require tuning.