Open mikliapko opened 3 months ago
@fruch I wonder if it's something the SCT infrastructure team may help us with?
cc: @rayakurl
@fruch I wonder if it's something the SCT infrastructure team may help us with?
cc: @rayakurl
@soyacz
Azure and cloud-init, your favorite cup of tea :), can you help @mikliapko with this one ?
@fruch I wonder if it's something the SCT infrastructure team may help us with? cc: @rayakurl
@soyacz
Azure and cloud-init, your favorite cup of tea :), can you help @mikliapko with this one ?
Sure, I'll try to look at it later today (I'll run the job and peek into instance to get the idea what's wrong). @mikliapko please remind me tomorrow if I don't do it today.
@fruch I wonder if it's something the SCT infrastructure team may help us with? cc: @rayakurl
@soyacz Azure and cloud-init, your favorite cup of tea :), can you help @mikliapko with this one ?
Sure, I'll try to look at it later today (I'll run the job and peek into instance to get the idea what's wrong). @mikliapko please remind me tomorrow if I don't do it today.
Thanks @soyacz , @mikliapko is on a PTO today, so he can contact you only tomorrow anyways :)
syslog-ng cannot be installed out-of-the box with current EPEL 7 repo setup. Need to switch to the newer one.
Update sdcm.provision.user_data.UserDataBuilder.yum_repos
with a https://dl.fedoraproject.org/pub/epel/epel{,-next}-release-latest-9.noarch.rpm
and epel key to
https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
(possibly need to use http, but I'm not sure, also maybe version 8 would work, but I didn't test it - I tried manually install the above and managed to get syslog-ng there).
maybe something like this will work:
"yum_repos":
{
"epel-release": {
"baseurl": "https://dl.fedoraproject.org/pub/epel/9/Everything/$basearch",
"enabled": True,
"failovermethod": "priority",
"gpgcheck": True,
"gpgkey": "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9",
"name": "Extra Packages for Enterprise Linux 9 - Everything"
}
}
@fruch this is one thing that will surely fail when using syslog-ng in artifact tests
syslog-ng cannot be installed out-of-the box with current EPEL 7 repo setup. Need to switch to the newer one. Update
sdcm.provision.user_data.UserDataBuilder.yum_repos
with ahttps://dl.fedoraproject.org/pub/epel/epel{,-next}-release-latest-9.noarch.rpm
and epel key tohttps://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9
(possibly need to use http, but I'm not sure, also maybe version 8 would work, but I didn't test it - I tried manually install the above and managed to get syslog-ng there).
maybe something like this will work:
"yum_repos": { "epel-release": { "baseurl": "https://dl.fedoraproject.org/pub/epel/9/Everything/$basearch", "enabled": True, "failovermethod": "priority", "gpgcheck": True, "gpgkey": "https://dl.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-9", "name": "Extra Packages for Enterprise Linux 9 - Everything" } }
@fruch this is one thing that will surely fail when using syslog-ng in artifact tests
Why do we need to define it like that ? Why can we just install epel ? and assume it's available ?
@fruch this is one thing that will surely fail when using syslog-ng in artifact tests
Why do we need to define it like that ? Why can we just install epel ? and assume it's available ?
I tried installing epel with sudo dnf install epel-release
and didn't help. I think syslog-ng version provided there in rocky9 by default is old and requires not existing ssl/crypto libraries:
Problem: conflicting requests
- nothing provides libcrypto.so.10()(64bit) needed by syslog-ng-3.5.6-3.el7.x86_64 from epel-release
- nothing provides libcrypto.so.10(libcrypto.so.10)(64bit) needed by syslog-ng-3.5.6-3.el7.x86_64 from epel-release
- nothing provides libssl.so.10()(64bit) needed by syslog-ng-3.5.6-3.el7.x86_64 from epel-release
- nothing provides libssl.so.10(libssl.so.10)(64bit) needed by syslog-ng-3.5.6-3.el7.x86_64 from epel-release
- nothing provides libwrap.so.0()(64bit) needed by syslog-ng-3.5.6-3.el7.x86_64 from epel-release
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
2024-08-05 11:08:41,233 - util.py[WARNING]: Failed to install packages: ['syslog-ng']
adding epel like above comment upgraded syslog-ng version and allowed to install it.
We are struggling to find working, non-plan requiring RHEL or Rocky image in replacement to deprecated CentOS for Manager testing purposes on Azure.
Two problems we faced:
RedHat:RHEL:9_4:latest
; -- job link;or -- image -
resf:rockylinux-x86_64:9-base:9.3.20231113
; -- job link