Fedora_Infrastructure
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Write
        • Owners
        • Signed-in users
        • Everyone
        Owners Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Help
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Write
Owners
  • Owners
  • Signed-in users
  • Everyone
Owners Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
This is a collection of things for a retrospective on our 2025 iad2 -> rdu3 datacenter move Please feel free to add new items you think of or add +1s to things you really agree with. Please add your name to the end so we know who added it and can ask for more details if needed. Things that went well ===================== - contibutors / users were quite patient with us overall, and waited for things to come back online [kevin] - We met the target and got the job done [kevin] - The new hardware is nice and fast (several comments from people already about things being lots faster) [kevin] - RHIT / storage / networking were all responsive and really helpfull [kevin] - The storage switcharoo was much faster than expected [zlopez] - Appreciated that most of the IPs were same just 10.3.* changed to 10.16.*, it was easy to update host vars [zlopez] Things that went not so well ============================ - DNS resolving was a problem, where we got prod rdu3 instead of stg.rdu3 - ntap was firewalled, or not routed, for a bit - **need** to make sure we co-ordinate DB migration with service bring up - Gets a bit confusing when the playbook is changing often, Eg. default ipa servers changing from ip.stg.ida2 to ipa.stg.rdu3 (maybe less of a problem with prod) - Couple of places where data is duplicated (likely copy and paste error) in ansible, and there's no warnings and the second version wins (so you change the first and nothing changes) - Hard coded iad2 things in playbook tasks (hopefully all found with staging rollout) - Also there was a lot of hardcoded IPs for 10.3 in things like NFTables, postfix, etc. we should template these out properly [greg] - Weird issue with `db01.stg.rdu3` prompt showing PROD-RDU3 -- hostname wasn't in the staging group? - Same happened with `pkgs01.stg.rdu3`, it was missing in staging group and thus using production variables - zlopez - Everyone try to rest on Sunday - we should drop some old databases we still have (like pdc, which is MASSIVE!) before the move (I will do that in the next few days) - [kevin] - pagure.io was being hammered by ai bots and making doing commits anoying - [kevin] - kevin forgot to drop the pdc db so it made moving db01 not so great - [kevin] - gunicorn doesn't return redirects, instead it just returns empty output so testing http://localhost:8000/archives didn't work, but testing http://localhost:8000/archives/ did - db03 did not want to rsync. Turns out I had to use --inplace or rsync would copy a ~300GB binary file and run out of disk space. - networking outage on wed was a big drag and stopped us from getting much done - mtu issue was anoying to track down and caused the wed outage [kevin] - IT firewall issue from proxies -> koji01/02 took a very long time to debug/figure out. [kevin] - We found out our sssd filter wasn't working, so local users vs IPA users was a cause of problems/confusion. Some playbooks didn't actually create the user right. [kevin] - pkgs had a number of issues because we hadn't reinstalled it in many years. Perhaps reinstalling the stg one from time to time would be good? [kevin] - we switched kojipkgs to rdu3 pretty early, but turns out the playbook didn't mount the ostree nfs mounts, so ostree users got errors for a few days. ;( [kevin]) - Plenty of RDU3 machines were missing in staging group, so they got deployed with production vars and didn't work as expected [zlopez] - We forgot to migrate search index for mailman, which ended up blocking shutdown of IAD2 [zlopez] - There was a lot of IAD2 leftovers and we updated ansible with RDU3, but didn't run the playbooks, which caused issues later [zlopez] - idrange and dnarange in IPA is not replicated [zlopez] - ostfix wouldn't deploy properly due to missing mapfiles, which don't seem to be managed. I have notes, can PR at some point [greg] - Was it a good idea to deploy a new version of RabbitMQ on a new OS during the move? If we'd had time to test it, sure, but given the timeframe we were working with, that seemed to cause a *lot* stress [greg] - Old clients are not automatically re-enrolled to new IPA hosts, that needs to be done manually by running ipa-client-install --uninstall and ipa-client-install again [zlopez] - Mailman is not cleaning old processed tables (pendedkeyvalue and bounceevent), which caused OOM issues in new deployment [zlopez] - Some fixes were missing in ansible (for example src.fp.o cookie fix) [zlopez] Things we could do to make the next one better ============================================== - an extra week or two with network to the machines would have been very nice. As it is we were just installing, right up to the deadline. If we had a few more weeks we could have deployed more things and tested more. Perhaps would have found the mtu issue. [kevin] - Don't forget to move also IPA CA renewal and CRL server to new machines (already done for both staging and production, but let's keep this in mind for next migration). See https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/migrating_to_identity_management_on_rhel_9/index#assigning-the-ca-renewal-server-role-to-the-rhel-9-idm-server_assembly_migrating-your-idm-environment-from-rhel-8-servers-to-rhel-9-servers - openshift-image-registry is an operator, disabling pods will just roll them back. Do `oc edit configs.imageregistry.operator.openshift.io` and change `managementState:` to `Removed` instead - db for release-monitoring is hardcoded in vars.yml in ansible-private - (Greg) openqa.stg was broken - the openqa-lab hosts are still in iad2, and port 80 is not open RDU3->IAD2 for the reverseproxy - AdamW was keen to restore access rather than wait til next week, so I restored the stg.iad2 proxies for *just openqa* - `cd /etc/httpd/conf.d/ ; mkdir disabled ; mv * disabled/ ; mv disabled/openqa* . ; systemctl restart httpd` - DNS updated (I couldn't do this, I think I need to be in sysadmin-dns. Asked DKirwan to help) - the RDU3 proxies don't have the reverseproxy info for openqaa - they just redirect 421. I assume this will be fixed later by "something" - this will need to be reverted once the lab has moved - (Greg) there's a lot of `hosts: db01.iad2.fedoraproject.org:db01.stg.iad2.fedoraproject.org` in the openshift playbooks - Doesn't need to change now as the DBs exist, but we should clean that up - Don't forget mailman index next time - We need to backup the dnarange (use `ipa-replica-manage dnarange-show` and assign the old ranges to the new servers when the old ones are removed (maybe adding that to ansible) (see [the infra ticket](https://pagure.io/fedora-infrastructure/issue/12641)) [IdM documentation](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/managing_idm_users_groups_hosts_and_access_control_rules/adjusting-id-ranges-manually_managing-users-groups-hosts) [Recover ID ranges doc](https://www.freeipa.org/page/V3/Recover_DNA_Ranges).\ **Actually**, we should ask the IPA folks for the proper way to migrate a IPA cluster, without messing up the DNA ranges. - TFTP/Grub config on noc01 isn't managed by Ansible, probably should be [greg] - Would be nice if we could get the openshift-apps playbooks to actually say what they're applying, right now it's 20x "did an API thing" [greg]

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully