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 beaker-project.osci.io #38

Open
duck-rh opened this issue Sep 20, 2024 · 7 comments
Open

Upgrade beaker-project.osci.io #38

duck-rh opened this issue Sep 20, 2024 · 7 comments

Comments

@duck-rh
Copy link
Member

duck-rh commented Sep 20, 2024

Quack @StykMartin ,

The VM is still running EL7 which is way out of support. I propose to provide a new VM using EL9 so that you can migrate over and then we'll remove the old one.

Regards.
\_o<

@StykMartin
Copy link
Collaborator

Hi @duck-rh,

Sounds good, we will just need to transfer YUM repos and website and we good.

@duck-rh
Copy link
Member Author

duck-rh commented Oct 9, 2024

Quack,

I've setup a new machine and I'm working on modernizing the deployment in the beaker_el9 branch. I've used new IPs but I think we can switch to the old ones later on. I'm copied the Let's Encrypt files so that we can do full deployments.

Now we've got a blocker I'm looking at: rssh is not packaged in EL9 as it is not maintained anymore. More on this when I have some plan.

\_o<

@duck-rh
Copy link
Member Author

duck-rh commented Oct 10, 2024

I synced the data in /var/www/www.beaker-project.org, also /srv/data is mounted on NFS, if there anything else I would have missed?

I replaced RSSH with an SSH command, so we may need to adapt the rsync server parameters but we're using this method elsewhere and it works fine. In practice it forces to sync options from client and server but it does not change very often.

I wondered where is the rsync being done; I thought it would be included in the website GH workflow but I cannot find it. Could you test if it still works using IP 8.43.85.152?

Also let's do some checks and when it's fine I'll switch IPs over to the old ones and I'll wait a little bit before removing the old VM.

@duck-rh
Copy link
Member Author

duck-rh commented Oct 16, 2024

@StykMartin I need your help to continue.

@duck-rh
Copy link
Member Author

duck-rh commented Nov 1, 2024

@StykMartin Could you have a quick look at it and tell me if I'm missing something? I can do the switch by myself and I'll keep the old VM around a little while just in case.

@StykMartin
Copy link
Collaborator

Hi @duck-rh, I am checking the 8.43.85.152 and the only thing I can see there is the default apache configuration.
Did you mirror everything?
Regarding the rssh/ssh commands, they were used in jenkins and those are not active at the moment, we can completely redesign this as we are building stuff in COPR now, different approach will be required.

@duck-rh
Copy link
Member Author

duck-rh commented Nov 5, 2024

@StykMartin it is only configured to reply to the www.beaker-project.org vhost. You can modify your /etc/hosts to override the IP or test using curl --resolve *:443:8.43.85.152 https://www.beaker-project.org/.

Ok, let's redesign the SSH part later.

Did I miss any other data to sync?

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

No branches or pull requests

2 participants