Skip to content

fix: disable unattended upgrades in Analytics API service#359

Merged
pwnage101 merged 1 commit into
masterfrom
pwnage101/fix-analyticsapi-disable-unattended-upgrades
Jul 20, 2026
Merged

fix: disable unattended upgrades in Analytics API service#359
pwnage101 merged 1 commit into
masterfrom
pwnage101/fix-analyticsapi-disable-unattended-upgrades

Conversation

@pwnage101

@pwnage101 pwnage101 commented Jul 20, 2026

Copy link
Copy Markdown
Member

Meant as a stop-gap to temporarily fix the build stage of the Analytics API GoCD pipeline: https://gocd.tools.edx.org/go/tab/build/detail/edx-analytics-api-stage/128/run_play/1/stage_edx

I think this is the relevant error line:

Package ubuntu-pro-client has conffile prompt and needs to be upgraded manually

As stated in the code comment, future efforts should be focused on modernization (k8s), not fixing this abandoned ansible infrastructure.

Copilot AI review requested due to automatic review settings July 20, 2026 19:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Analytics API Ansible playbook to disable unattended upgrades via the security role, as a stop-gap to avoid an interactive prompt issue during deployments.

Changes:

  • Adds a play-level override SECURITY_UNATTENDED_UPGRADES: false for the Analytics API deployment.
  • Documents the rationale inline in playbooks/analyticsapi.yml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread playbooks/analyticsapi.yml
Comment thread playbooks/analyticsapi.yml Outdated
Copilot AI review requested due to automatic review settings July 20, 2026 19:41
@pwnage101
pwnage101 force-pushed the pwnage101/fix-analyticsapi-disable-unattended-upgrades branch from 19a1a22 to fcdf188 Compare July 20, 2026 19:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

@pwnage101
pwnage101 merged commit e7b6062 into master Jul 20, 2026
2 of 4 checks passed
@pwnage101
pwnage101 deleted the pwnage101/fix-analyticsapi-disable-unattended-upgrades branch July 20, 2026 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants