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

Ansible request for RHEL/CentOS 8 libmpc-devel & libdwarf-devel #1750

Open
1 task done
Willsparker opened this issue Dec 9, 2020 · 10 comments
Open
1 task done

Ansible request for RHEL/CentOS 8 libmpc-devel & libdwarf-devel #1750

Willsparker opened this issue Dec 9, 2020 · 10 comments
Assignees
Milestone

Comments

@Willsparker
Copy link
Contributor

Willsparker commented Dec 9, 2020

Ref: #1743

  • Missing install

Details:
The libmpc-devel and libdwarf-devel packages have moved to the CodeReady Linux Builder (CRB) repo, and the PowerTools repo for RHEL and CentOS respectively (though we may be able to use PowerTools for RHEL..?).
The referred PR above will remove them from the list of packages to install in the meantime, however we need both the packages to build OpenJ9, so we need to find a way of getting them in.

Some useful resources, found by @sej-jackson :
https://computingforgeeks.com/enable-powertools-repository-on-centos-rhel-linux/
https://access.redhat.com/articles/4348511

@Willsparker
Copy link
Contributor Author

Checking this we can get libmpc-devel and libdwarf-devel from the repos,so I'll test with CentOS and then try find a RHEL machine to test on, somewhere

@Willsparker
Copy link
Contributor Author

Checking on a CentOS8 Vagrant VM, the Powertools repo is already installed from the start, it's just a case of enabling it. Unfortunately, attempting to enable it either through yum or dnf commands didn't seem to work, but enabling it manually did (i.e. using vi). This would be easy enough to ansiblise, however.

@Willsparker
Copy link
Contributor Author

Having checked the test-aws-rhel8-x64-1 machine, unfortunately, the PowerTools repository doesn't exist on the machine ( and in a brief Google search, I couldn't find if it to be installable ). That unfortunately leaves us with having to deal with the CRB repo and subscription-manager if we want to build OpenJ9 on RHEL8+. Running a few commands on the machine whilst I was testing, I found that that particular machine hasn't been registered yet, and so repos were available via subscription-manager.

[root@54 ~]# subscription-manager repos
This system has no repositories available through subscriptions.
[root@54 ~]# subscription-manager list --available
This system is not yet registered. Try 'subscription-manager register --help' for more information.

While we can likely ansibilise the subscription-manager commands, registering the subscription may not be possible.

@Willsparker
Copy link
Contributor Author

I've had a quick look trying to install it manually, via wgeting from here , however, it ends up leading down a dependency path. libdwarf-devel depends on libdwarf, which one CAN install on RHEL8 (via the AppStream repository), but rpm still seems to think there are unmet dependencies (possibly due to trying to install a CentOS8 libdwarf-devel, not a RHEL8 one?)

Either way, it's not the 'proper' way to do this.

@Willsparker
Copy link
Contributor Author

@gdams / @sxa Can either of you see any way of registering a RHEL8 subscription via Ansible? I'm not even sure if we can do it manually, given our machines are provided to us ...

@gdams
Copy link
Member

gdams commented Dec 18, 2020

I don't think that we have a RH subscription so it's unlikely that we can do that, unless @sxa can pull some strings now that he's on the inside??

@Willsparker
Copy link
Contributor Author

ref: #2008
Lucky this came about - this should help in getting the packages we need for RHEL8 :-)

@Haroon-Khel Haroon-Khel modified the milestones: March 2021, April 2021 Apr 6, 2021
@Haroon-Khel Haroon-Khel modified the milestones: April 2021, May 2021 May 18, 2021
@Haroon-Khel Haroon-Khel modified the milestones: May 2021, June 2021 Jun 21, 2021
@sxa sxa modified the milestones: June 2021, July 2021 Jul 5, 2021
@sxa
Copy link
Member

sxa commented Jul 5, 2021

We have an outstanding request for a ROSI subscription which will allow us to run RHEL but it has not come through yet.

@sxa sxa added this to the October 2021 milestone Sep 23, 2021
@sxa
Copy link
Member

sxa commented Sep 23, 2021

Bumping this to October as I'll hopefully have some time next month to look at setting this up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants