Bug 1462113 - enable docker support for s390x
enable docker support for s390x
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: cockpit (Show other bugs)
rawhide
s390x Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Dominik Perpeet
Fedora Extras Quality Assurance
:
Depends On:
Blocks: ZedoraTracker
  Show dependency treegraph
 
Reported: 2017-06-16 04:33 EDT by Dan Horák
Modified: 2017-06-23 05:28 EDT (History)
5 users (show)

See Also:
Fixed In Version: cockpit-docker-143-1.fc27.s390x.rpm
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-23 05:28:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Dan Horák 2017-06-16 04:33:48 EDT
There is a working docker on the s390x platform in all Fedora releases, so please enable the docker support in cockpit with eg.

diff --git a/cockpit.spec b/cockpit.spec
index ba9ea84..9fdf495 100644
--- a/cockpit.spec
+++ b/cockpit.spec
@@ -87,7 +87,7 @@ Recommends: %{name}-dashboard = %{version}-%{release}
 Recommends: %{name}-networkmanager = %{version}-%{release}
 Recommends: %{name}-storaged = %{version}-%{release}
 Recommends: sscg >= 2.0.4
-%ifarch x86_64 %{arm} aarch64 ppc64le i686
+%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
 Recommends: %{name}-docker = %{version}-%{release}
 %endif
 Suggests: %{name}-pcp = %{version}-%{release}
@@ -212,7 +212,7 @@ echo '%dir %{_datadir}/%{name}/selinux' > selinux.list
 find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list
 %endif
 
-%ifarch x86_64 %{arm} aarch64 ppc64le i686
+%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
 echo '%dir %{_datadir}/%{name}/docker' > docker.list
 find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list
 %else
@@ -594,7 +594,7 @@ utility setroubleshoot to diagnose and resolve SELinux issues.
 
 %endif
 
-%ifarch x86_64 %{arm} aarch64 ppc64le i686
+%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
 
 %package docker
 Summary: Cockpit user interface for Docker containers


Version-Release number of selected component (if applicable):
cockpit-142-1.fc27
Comment 1 Dan Horák 2017-06-16 06:05:23 EDT
upstream PR is https://github.com/cockpit-project/cockpit/pull/6954
Comment 2 Dominik Perpeet 2017-06-23 04:48:54 EDT
Hi,

the patch was merged and included in the release of Cockpit 143 [0]. It doesn't look like s390x gets built on Fedora 26 by default, but cockpit-docker-141  was built for s390x on Fedora 27 [1].

rpm: cockpit-docker-143-1.fc27.s390x.rpm [2]

Does this meet your expectations?

[0] https://github.com/cockpit-project/cockpit/releases/tag/143
[1] https://koji.fedoraproject.org/koji/buildinfo?buildID=909630
[2] https://koji.fedoraproject.org/koji/rpminfo?rpmID=9995084
Comment 3 Dan Horák 2017-06-23 04:58:22 EDT
Hi,

yes, it's correct, s390x was merged into the primary koji instance at the end of April (for F-27+). F<=26 is still built in https://s390.koji.fedoraproject.org and cockpit 143 is built there [3].

[3] https://s390.koji.fedoraproject.org/koji/buildinfo?buildID=493072
Comment 4 Dominik Perpeet 2017-06-23 05:28:00 EDT
Thanks for confirming!

Note You need to log in before you can comment on or make changes to this bug.