-
Notifications
You must be signed in to change notification settings - Fork 52
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
split and move web to EL9 #1724
Comments
When replacing this, keep #1692 in mind and migrate it to postfix. |
Next year CentOS Stream 8 will go EOL, so perhaps we should move straight to EL9. |
AI for @evgeni: write up how to split that box into nice chunks |
web01 currently hosts 5 "services":
All of these are available via HTTP, all but web is also available via rsync (and debugs allows writing via rsync). I would like to
yum and downloads can trivially be deployed on EL9 (downloads just needs apache and ssh/rsync, yum also needs createrepo stack, but that's easy). |
Reminder we talked about starting |
Does stopping rsync affect how we get RPMs from Jenkins / Local into staging? and from staging to production? |
Pushing no, that happens via rsync-via-ssh, which would still work |
So the only place we use The idea is that it copies things from stagingyum to yum. There is no need for it to use Untested, but I think #2040 should do it. |
Should update privacy policy when moving to Github, see https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#data-collection and https://docs.github.com/en/site-policy/privacy-policies/github-general-privacy-statement |
I realized moving our website to GHP would break the foreman-infra/puppet/modules/web/manifests/vhost/web.pp Lines 33 to 36 in e3a6a09
Not sure it's worth the hassle, but wanted to mention it. Alternatively, host it on the same box as new-downloads and front it by fastly? |
For next I propose to avoid it with theforeman/foreman#10155. As for latest: it's often mentioned in our theforeman.org repo. Most common offenders appear to be plugins. |
Question: What should happen with https://debugs.theforeman.org/awstats/? The stats for all vhosts (but web) are useless, because they are already behind the CDN. When we either move www to GH, or front it by Fastly, it will become useless too. I vote on removing that early (as in: now)? |
I don't recall looking at it for quite some time, so I wouldn't miss it. |
AI:
|
|
repo-deb01.osuosl.theforeman.org and repo-rpm01.osuosl.theforeman.org are up. |
Evgeni did freight: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2024-87076f97c3 |
[root@repo-deb01 ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created.
Creating devices file /etc/lvm/devices/system.devices
[root@repo-deb01 ~]# vgcreate repo_deb01_data /dev/sdb
Volume group "repo_deb01_data" successfully created
[root@repo-deb01 ~]# pvs
PV VG Fmt Attr PSize PFree
/dev/sdb repo_deb01_data lvm2 a-- <150.00g <150.00g
[root@repo-deb01 ~]# lvcreate -L100G -n www repo_deb01_data
Logical volume "www" created.
[root@repo-deb01 ~]# mkfs.xfs /dev/mapper/repo_deb01_data-www
meta-data=/dev/mapper/repo_deb01_data-www isize=512 agcount=4, agsize=6553600 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=1, rmapbt=0
= reflink=1 bigtime=1 inobtcount=1 nrext64=0
data = bsize=4096 blocks=26214400, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0, ftype=1
log =internal log bsize=4096 blocks=16384, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
Discarding blocks...Done.
[root@repo-deb01 ~]# echo "/dev/mapper/repo_deb01_data-www /var/www xfs defaults 0 0" >> /etc/fstab
[root@repo-deb01 ~]# systemctl daemon-reload
[root@repo-deb01 ~]# mount -a
[root@repo-deb01 ~]# ls /var/www/
[root@repo-deb01 ~]# |
repo-deb01 has the signing key and the repo content from yesterday imported, things seem to work fine so far. |
needs #2129 as the next thing to happen |
|
plan for yum/rpm:
|
|
plan:
side-plan:
The text was updated successfully, but these errors were encountered: