Skip to content

🚀 Pre-release master -> staging_Baklava3 #4700

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

Closed
16 tasks done
matusdrobuliak66 opened this issue Sep 1, 2023 · 4 comments
Closed
16 tasks done

🚀 Pre-release master -> staging_Baklava3 #4700

matusdrobuliak66 opened this issue Sep 1, 2023 · 4 comments
Assignees
Labels
release Preparation for pre-release/release t:maintenance Some planned maintenance work
Milestone

Comments

@matusdrobuliak66
Copy link
Collaborator

matusdrobuliak66 commented Sep 1, 2023

What kind of pre-release?

master branch

Sprint Name

Baklava

Pre-release version

3

Commit SHA

3e947577b7deb5f43f82f5722e92e64367f0a97b

Did the commit CI suceeded?

  • The commit CI succeeded.

Motivation

  • staging release (we want to observer some changes in AWS staging)

What Changed

Devops check ⚠️ devops

  • Ensure SMTP (Email) envs are in repo.config
  • Catch up with @pcrespov regarding payments service and any required OPS changes

e2e testing check 🧪

No response

Summary 📝

  • make release-staging name=Baklava version=3 git_sha=3e947577b7deb5f43f82f5722e92e64367f0a97b
    • https://github.com/ITISFoundation/osparc-simcore/releases/new?prerelease=1&target=<commit_sha>&tag=staging_<sprint_name><version>&title=Staging%20<sprint_name><version>
  • Draft pre-release
  • Announce (add redis key maintenance in every concerned deployment)
    {"start": "2023-09-06T12:30:00.000Z", "end": "2023-09-06T13:00:00.000Z", "reason": "Release Baklava 3 "}
  • Announce release in Mattermost
    :loud_sound:  Maintenance scheduled for **NAMED_DAY DD. MM from START_TIME - END_TIME**.
    =========================================================================
    
    @all Be aware that you will automatically be logged out and your projects stopped and saved during the maintenance time. Affected:
    *   [https://staging.osparc.io](https://staging.osparc.io/)
    *   [https://https://staging.s4l-lite.io/](https://https://staging.s4l-lite.io//)
    
    and on premises:
    *   [https://osparc-staging.speag.com](https://osparc-staging.speag.com/)
    *   [https://tip-staging.speag.com](https://tip-staging.speag.com/)
    *   [https://s4l-staging.speag.com](https://s4l-staging.speag.com/)
    *   [https://s4l-lite-staging.speag.com](https://s4l-lite-staging.speag.com/)
    
    
    Reason: Scheduled staging-release of STAGING_NAME_AND_VERSION.
    
    Thanks for your understanding and sorry for the inconveniences,
    
    Your friendly oSparc Team
    
    

Releasing

  • Check hanging sidecars. Helper command to run in director-v2 CLI simcore-service-director-v2 close-and-save-service <uuid>
  • Release (release draft)
  • Check Release CI
  • Check deployed
    • aws deploy
    • dalco deploy
  • Delete announcement
  • Check e2e runs
  • Announce
https://github.com/ITISFoundation/osparc-simcore/releases/tag/staging_<sprint_name><version>
@matusdrobuliak66 matusdrobuliak66 added t:maintenance Some planned maintenance work release Preparation for pre-release/release labels Sep 1, 2023
@matusdrobuliak66
Copy link
Collaborator Author

@YuryHrytsuk @mrnicegyu11 please turn on the resource usage tracker service in the stagging with next release (we can run it by default in 3 replicas) thanks!

@mrnicegyu11
Copy link
Member

@YuryHrytsuk @mrnicegyu11 please turn on the resource usage tracker service in the stagging with next release (we can run it by default in 3 replicas) thanks!

Done in ITISFoundation/osparc-ops-environments#340

@YuryHrytsuk
Copy link
Contributor

YuryHrytsuk commented Sep 11, 2023

Secrets update 📢

During the release the following aws staging secrets were updated:

  • portainer password
  • s3 access key
  • postgres password

It caused the following issues:

  • Cumbersome portainer password update
    • The proper solution is documented here
    • Puppeter was broken (it couldn't handle the special character in the new password) and fixed by @sanderegg
      • Fix introduced in this PR
  • Some hiccups with S3 Access Key update
    • The proper solution is documented here. Mostly, it requires the update of registry since it is also uses S3 Access Key

@YuryHrytsuk
Copy link
Contributor

YuryHrytsuk commented Sep 11, 2023

🐛 Release issues 🐛

AWS Staging:

  • registry issues (domain + new S3 Access Key. Both are ops configuration problem) -- fixed & merged
  • autoscaling nodes problem (wrong labels + key pair switch) -- fixed & merged
  • puppeter password problem (cannot process special characters) -- fixed & merged
  • resource usage tracker is misconfigured (@matusdrobuliak66)
    • Service can not start, because there are issues with Prometheus not collecting data/misconfiguration, an investigation is needed (@mrnicegyu11 @YuryHrytsuk )

Dalco:

  • resource usage tracker is misconfigured (@matusdrobuliak66)
    • Service can not start, because there are issues with Prometheus not collecting data/misconfiguration, an investigation is needed (@mrnicegyu11 @YuryHrytsuk )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release Preparation for pre-release/release t:maintenance Some planned maintenance work
Projects
None yet
Development

No branches or pull requests

3 participants