fix: skip Insights deploy-time security upgrade - #372
Merged
santhosh-apphelix-2u merged 1 commit intoAug 20, 2026
Conversation
There was a problem hiding this comment.
Pull request overview
Disables the deploy-time unattended-upgrade security-update run during the Insights Ansible deployment by overriding the SECURITY_UPGRADE_ON_ANSIBLE variable for that playbook, preventing non-interactive package upgrade prompts from blocking the pipeline.
Changes:
- Set
SECURITY_UPGRADE_ON_ANSIBLE: Falsein the Insights playbook to skip the deploy-time security upgrade step.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
mraman-2U
approved these changes
Aug 20, 2026
naincy128
approved these changes
Aug 20, 2026
santhosh-apphelix-2u
deleted the
insights-disable-deploy-time-security-upgrade
branch
August 20, 2026 05:52
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR disables the deploy-time security upgrade step for the Insights playbook by setting
SECURITY_UPGRADE_ON_ANSIBLEtoFalse.The Insights deployment pipeline has not been actively used/validated for a long time. While bringing it back, we found a few environment compatibility issues. The application/deployment is now using Python 3.12, so the Insights VM had to be moved from Ubuntu 20.04 to Ubuntu 22.04 because Ubuntu 20.04 does not provide the required Python 3.12 packages.
After moving to Ubuntu 22.04, the pipeline moved further but started failing during the Ansible security update step. The failure is caused by
unattended-upgradetrying to upgradeubuntu-pro-client, which needs a manual config-file prompt. Since GoCD/Ansible runs non-interactively, it cannot answer that prompt and the deployment fails.This change does not remove security configuration from the server. It only skips running the immediate
unattended-upgradecommand during the Insights deployment, so the deployment can continue without getting blocked by a manual package prompt.