Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1409483

Summary: Enable Flannel build for s390x in rawhide
Product: [Fedora] Fedora Reporter: Sinny Kumari <skumari>
Component: flannelAssignee: Jan Chaloupka <jchaloup>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bugproxy, dan, eparis, golang-updates, hannsj_uhl, jchaloup, linville, nhorman, vbatts
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: Linux   
Whiteboard:
Fixed In Version: flannel-0.6.2-2.fc26 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-20 18:22:01 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1404679    
Bug Blocks: 467765    
Attachments:
Description Flags
flannel build on s390x none

Description Sinny Kumari 2017-01-02 08:30:55 UTC
Created attachment 1236551 [details]
flannel build on s390x

It will be nice to enable Flannel package build for s390x in Fedora, rawhide.

Additional Information
---------------------
Building flannel package in s390-koji from Fedora dist-git repo, rawhide branch fails to build due to TestIP4Net test failure [1].

Meanwhile, IBM has made some changes with its fixes in their forked repositories of flannel at github [2]. I applied fixes from last two commits from their master branch with commit id cf05c83 and c254dea into flannel dist-git repository and built it in koji. With applied changes, it builds and installs successfully on s390x [3] as well as on primary arches [4].

Till the time, fixes made by IBM gets merged into flannel official repository and made available in next release, it will be nice to have those fixes available in flannel dist-git.

I have also attached in this bugzilla attachment patch with diff, which can be applied directly in Flannel dist-git repo to enable build for s390x, rawhide.

[1] https://s390.koji.fedoraproject.org/kojifiles/work/tasks/4289/2434289/build.log
[2] https://github.com/linux-on-ibm-z/flannel/commits/master
[3] https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2436952
[4] https://koji.fedoraproject.org/koji/taskinfo?taskID=17143893

Comment 1 Jan Chaloupka 2017-01-03 15:16:15 UTC
Patching: http://pkgs.fedoraproject.org/cgit/rpms/flannel.git/commit/?id=1146f84edf335843fb38312b4c6ef13c63c3ed9f

Scratch build for s390x successful: https://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2438198

Just need to be ported to s390x koji as well.

Comment 2 Dan Horák 2017-01-03 16:05:52 UTC
proper koji build is blocked by the golang bug #1404679 blocking golang-github-vishvananda-netlink build on s390x

Comment 3 IBM Bug Proxy 2017-01-03 21:59:43 UTC
------- Comment From chavez.com 2017-01-03 13:19 EDT-------
.

Comment 4 Dan Horák 2017-01-20 18:22:01 UTC
We have got a workaround into golang-1.7.4-2.fc26 and flannel can be built.