Fixed
Details
Assignee
Barak KorrenBarak Korren(Deactivated)Reporter
Barak KorrenBarak Korren(Deactivated)Blocked By
Code reviewComponents
Priority
Medium
Details
Details
Assignee
Barak Korren
Barak Korren(Deactivated)Reporter
Barak Korren
Barak Korren(Deactivated)Blocked By
Code review
Components
Priority
Created November 19, 2017 at 8:38 AM
Updated January 31, 2018 at 3:33 PM
Resolved January 30, 2018 at 7:48 AM
There has been some recent interest in the community lately in building oVirt node components for the s390x architecture.
Here is a list of things we would need in order to enable s390x builds:
Bring up some s390x Jenkins slave VMs, this implies:
Getting s390x VMs up and running
Getting an operating system for these VMs
Getting Java running on these VMs, in order to run the Jenkins agent.
Enable '
mock_runner.sh
' to create s390x build environments.Create '
build-artifacts
' jobs for s390xThe easiest way get s390x slave VMs would be if we could get our hands on some real s390x machines, just like the ppc64le machines we currently have. But this does not seem to be likely to happen. An alternative would be to use some kind of s390x emulation. This kind of emulation seems to be used by the Fedora project for their s390x builds. A version of qemu that supports s390x is available in EPEL in the '
qemu-system-s390x
' package. Once installed, the package adds the following libvirt capabilities structure:So it seems we can get s390x VMs running on our x86_64 hardware. The next issue to tackle would be to get an OS running on these VMs. The seems to be a Fedora s390x release but not a CentOS one. Neither of these projects release an s390x cloud image, so we may end up having to make our own using '
virt-install
' or try to convince Richard Jones to make such images available in 'virt-builder
'.Once we have VMs up, we need to turn them into Jenkins slaves. Hopefully the s390x Fedora build includes Java so this may be trivial.
To get '
mock_runner.sh
' support we would need an appropriates 'mock
' configuration files. Suitable files for Fedora on s390x package seems to already be shipped with the 'mock
' package, so there is not much to do there besides copying the file into our 'jenkins
' repo and making the usual adjustments we typically make to enable proxy and mirrors support.Once we have all of that up and running, adding s390x '
build-artifacts
' jobs would be trivial, we'll just have to add the right tags in the JJB YAML.