Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade ACA-Py Version #142

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Upgrade ACA-Py Version #142

wants to merge 1 commit into from

Conversation

WadeBarnes
Copy link
Member

  • Upgrade to ACA-Py 0.12.1
  • Ensure the agent includes the full webhook payload.

- Upgrade to ACA-Py 0.12.1
- Ensure the agent includes the full webhook payload.

Signed-off-by: Wade Barnes <[email protected]>
@WadeBarnes WadeBarnes requested review from ianco and esune May 24, 2024 20:58
@WadeBarnes
Copy link
Member Author

Marked as a draft because I haven't applied these changes yet. I'm waiting to resolve the Sovrin TestNet issues before doing this.

@WadeBarnes
Copy link
Member Author

Deploy this upgrade before bcgov/von-bc-registries-agent-configurations#79. We want to test the compatibility with the older ACA-Py version on the BC Reg side first.

@WadeBarnes
Copy link
Member Author

I've applied the AGENT_DEBUG_WEBHOOKS=true environment variable to all of the environments so it's in place when the updated image is deployed.

@WadeBarnes
Copy link
Member Author

WadeBarnes commented May 28, 2024

Deploying the image requires a bit more coordination, since there are secure storage (wallet) upgrades that will be performed once started, and the OrgBook wallets are rather large.

Steps for each environment:

  • Update the agent's HPA, set it to min 1, max 1.
  • Disable health checks on the agent. We can't have the agent restarting in the middle of an upgrade.
  • Backup the wallet.
  • Deploy the new image.
  • Scale the agent to 1.
  • Wait for all of the upgrades to complete.
  • Test
  • Restore health checks
  • Restore HPA
  • Celebrate

Use the upgrade process in dev and test to get a sense of how long the process will take for the prod environment. Refine the process as needed.

Notes:

  • Upgrading from - to:
    • artifacts.developer.gov.bc.ca/docker-remote/bcgovimages/aries-cloudagent:py36-1.16-1_0.7.1
    • artifacts.developer.gov.bc.ca/github-docker-remote/hyperledger/aries-cloudagent-python:py3.9-indy-1.16.0-0.12.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Assigned
Development

Successfully merging this pull request may close these issues.

None yet

1 participant