Skip to content

Fix upgrade v2 to v3#1056

Merged
oCHRISo merged 8 commits intov3from
fix-upgrade-v2-to-v3
Apr 29, 2025
Merged

Fix upgrade v2 to v3#1056
oCHRISo merged 8 commits intov3from
fix-upgrade-v2-to-v3

Conversation

@oCHRISo
Copy link
Collaborator

@oCHRISo oCHRISo commented Apr 24, 2025

Proposed changes

Addressing issue during upgrade from v2 to v3
dpkg: error processing archive /home/ubuntu/deb/nginx-agent_3.0.0-4878~jammy_amd64.deb (--unpack):
new nginx-agent package pre-installation script subprocess returned error exit status 1

Checklist

Before creating a PR, run through this checklist and mark each as complete.

  • I have read the CONTRIBUTING document
  • I have run make install-tools and have attached any dependency changes to this pull request
  • If applicable, I have added tests that prove my fix is effective or that my feature works
  • If applicable, I have checked that any relevant tests pass after adding my changes
  • If applicable, I have updated any relevant documentation (README.md)
  • If applicable, I have tested my cross-platform changes on Ubuntu 22, Redhat 8, SUSE 15 and FreeBSD 13

oCHRISo added 2 commits April 24, 2025 08:00
extract config_dirs and instance groups if present
Updating output messages
@oCHRISo oCHRISo requested a review from a team as a code owner April 24, 2025 09:18
@oCHRISo oCHRISo added bug Something isn't working v3.x Issues and Pull Requests related to the major version v3 labels Apr 24, 2025
oCHRISo added 4 commits April 25, 2025 12:31
Remove collector config as it is generated at runtime
Added check for nginx-agent command being present for improved debugging to see if existing version of agent is present or not
Check for >1 instance group, as an instance can join only one Config Sync Group at a time
Remove >1 check as any value is considered to be a single config sync group
oCHRISo and others added 2 commits April 28, 2025 14:46
Co-authored-by: Donal Hurley <d.hurley@f5.com>
Co-authored-by: Donal Hurley <d.hurley@f5.com>
@oCHRISo oCHRISo merged commit 288b158 into v3 Apr 29, 2025
20 checks passed
@oCHRISo oCHRISo deleted the fix-upgrade-v2-to-v3 branch April 29, 2025 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working v3.x Issues and Pull Requests related to the major version v3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants