This section describes how to add an update repository for the existing MCP deployments starting from the Build ID 2018.8.0 to allow for obtaining the Ubuntu security updates.
To add an update repository:
Open your Git project repository with the Reclass model on the cluster level.
In the classes/cluster/<cluster_name>/infra/init.yml
file, specify the
following parameters:
parameters:
_param:
linux_system_repo_update_url: http://mirror.mirantis.com/update/${_param:mcp_version}/
linux_system_repo_update_ubuntu_url: ${_param:linux_system_repo_update_url}/ubuntu/
linux:
system:
repo:
ubuntu_security_update:
refresh_db: ${_param:linux_repo_refresh_db}
source: "deb [arch=amd64] ${_param:linux_system_repo_update_ubuntu_url} ${_param:linux_system_codename}-security main restricted universe"
architectures: amd64
default: true
mcp_saltstack:
pin:
- enabled: true
pin: 'release o=SaltStack'
priority: 50
package: 'libsodium18'
Log in to the Salt Master node.
Apply the following state:
salt "*" state.sls linux.system.repo
Once done, proceed to Apply security updates manually.