-
Notifications
You must be signed in to change notification settings - Fork 168
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
Ansible errors on centos7-x64 #2587
Comments
In theory it should be ok to update to a later devtoolset I think, but we've tried really hard (and so far succeeded) to keep it stable over the life of a release line. This has left us dangling a few times, with out of date OSs and packages, crossing our fingers that we don't need to reprovision. |
We can still get the x64 binarys for devtoolset-6 but they require a redhat login so it would make sense to put them somewhere like http://ci.nodejs.org/downloads but how do we actually do that/is that still a viable solution? |
@AshCripps we also need to check that it's ok for use to use the packages on non RH/IBM hardware. We can't put it somewhere public like the downloads site, but we have put thing on the ci server for use in ansible in the past (I know we did it for AIX) |
Turns out the unoffical builds use the cloud linux repos for devtoolset6 - https://github.com/nodejs/unofficial-builds/blob/6909a6aac1c6b1a6a2b3adaac54b93b46eeaded9/recipes/x86/cloudlinux.repo#L3 @rvagg do you know of any reason why we shouldnt switch to the cloudlinux repo? i.e. is it likely to suddenly go away like the software collections version? |
no reason, this has always been a game of chasing who has the devtoolset we want and keeps it available! all the distros and the stand-alone distributions of the historical devtoolset versions have a lower tolerance for keeping them around than the RHEL support timeline so they keep on disappearing and you have to go hunting for a new source .. that's why the discrepancy, but also if you look in the history of this repo you'll see many sources of both 6 and 2 before it. yay "long term support" and the booo for the lack of a permanent web. |
Opened #2651 to close this out - for resolving of conflicts I manually removed the old files and installed the new ones on top |
Refs: #2507 (comment)
Attempting to run ansible against our three centos7-x64 hosts results in errors, detailed below.
It also appears that the three hosts were set up at different points in time and currently do not have the same packages installed (see below about the
git2u
anddevtoolset-6-libatomic-devel
packages).Failed 'baselayout : centos7 | install ius'
Reported in #2531
build/ansible/roles/baselayout/tasks/partials/repo/centos7.yml
Lines 8 to 12 in 722fdc1
The "centos*.iuscommunity.org" URLs were retired in 2020: iusrepo/announce#18
The URL can be replaced by https://repo.ius.io/ius-release-el7.rpm, which fixes this problem but then leads to...
No package matching 'git2u' found available, installed or updated
On
test-rackspace-centos7-x64-1
andrelease-digitalocean-centos7-x64-1
(it's already installed ontest-softlayer-centos7-x64-1
).The
git2u
package was renamed togit216
in December 2019 (iusrepo/git216#14) and then made End-of-Life in May 2020 (iusrepo/announce#19).git222
looks like the current replacement.git222
conflicts withgit2u
ontest-softlayer-centos7-x64-1
and withgit216
ontest-rackspace-centos7-x64-1
. Sam seemed to have noticed this in fa08ea2.No package matching 'devtoolset-6-libatomic-devel' found available, installed or updated
On
test-softlayer-centos7-x64-1
andrelease-digitalocean-centos7-x64-1
(it's already installed ontest-rackspace-centos7-x64-1
.Perhaps it's no longer required, at least in the default configuration CI builds? (Apparently it's needed when building with clang nodejs/node#30093).
It appears that
devtoolset-6
is no longer available in Software Collections: https://forums.centos.org/viewtopic.php?t=71663This means we cannot easily install/reinstall it via ansible/yum. Perhaps due to the way devtoolsets work this isn't a problem in practice and we can use a later one (e.g. devtoolset-8)? In the past we've been very conservative about switching.
The text was updated successfully, but these errors were encountered: