After you complete the prerequisite steps, prepare your cluster model for the update by configuring your Git project repository as described below.
To prepare the cluster model:
Log in to the Salt Master node.
In cluster/<name>/opencontrail/init.yml
file, update the OpenContrail
version. For example:
_param:
linux_repo_contrail_component: oc41
opencontrail_version: 4.1
In cluster/<name>/openstack/dashboard.yml
, update the OpenContrail
version. For example:
_param:
opencontrail_version: 4.1
In cluster/<name>/openstack/init.yml
, verify that the following
parameters contain correct values:
_param:
opencontrail_admin_password: <contrail_user_password>
opencontrail_admin_user: 'contrail'
If you update OpenContrail to version 4.1,
in cluster/<name>/opencontrail/analytics.yml
, add or change
the following parameters:
_param:
opencontrail_kafka_config_dir: '/etc/kafka'
opencontrail_kafka_log_dir: '/var/log/kafka'
Add the OpenContrail update pipeline job:
Add the following class to cluster/cicd/control/leader.yml
:
classes:
- system.jenkins.client.job.deploy.update.update_opencontrail4
Apply the jenkins.client state:
salt -C 'I@jenkins:client' state.sls jenkins.client
Once done, proceed to Update the OpenContrail nodes.