Bug 1034742

Summary: Spacewalk no longer supports Pidora (Raspberry Pi Fedora remix) architecture armv6hl
Product: [Community] Spacewalk Reporter: JYundt <jyundt>
Component: ServerAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.0CC: msuchy, mzazrivec
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: spacewalk-schema-2.1.29-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1069560    

Description JYundt 2013-11-26 12:35:48 UTC
Description of problem:

Spacewalk 2.0 is unable to import Pidora packages (18rc2).  I get the following error during a reposync:

    Unknown arch armv6hl

The architecture is displayed as armv6l:

    [root@rpi ~]# uname -m
    armv6l
    [root@rpi ~]# uname -p
    armv6l
    [root@rpi ~]# 

However, the RPM arch appears to be armv6hl:

    [root@rpi ~]# rpm -qi raspberrypi-kernel-3.12.0-2.20131106git839f349.rpfr18.armv6hl
    Name        : raspberrypi-kernel
    Version     : 3.12.0
    Release     : 2.20131106git839f349.rpfr18
    Architecture: armv6hl
    Install Date: Fri 01 Jun 2012 12:54:36 AM EDT
    Group       : Unspecified
    Size        : 36977050
    License     : GPLv2
    Signature   : DSA/SHA1, Mon 18 Nov 2013 02:40:04 PM EST, Key ID 7a29c373f1590cd5
    Source RPM  : raspberrypi-kernel-3.12.0-2.20131106git839f349.rpfr18.src.rpm
    Build Date  : Mon 18 Nov 2013 12:06:00 PM EST
    Build Host  : cal-7-5
    Relocations : (not relocatable)
    Packager    : Koji
    Vendor      : Koji
    URL         : https://github.com/raspberrypi/linux
    Summary     : Kernel (specific to Raspberry Pi)
    Description :
    Kernel for the Raspberry Pi device. The kernel is installed into
    /boot/kernel.img and modules are installed into /lib/modules. There is
    no initrd support at present.
    [root@rpi ~]# 

Spacewalk support for armv6l was added in June 2012 [1][2].  I sent a few messages to spacewalk-list and it sounds like this patch should be easy[3].

[1] https://lists.fedorahosted.org/pipermail/spacewalk-commits/2012-June/013441.html
[2] http://miroslav.suchy.cz/spacewalk/gitstat/commit-detail.php?commit=e9438c69ecc6ffb1706a2ffebc6a6436614e7d3a
[3] https://www.redhat.com/archives/spacewalk-list/2013-November/msg00177.html

Version-Release number of selected component (if applicable):

Spacewalk 2.0

    [root@spacewalk ~]# rpm -qi spacewalk-base-2.0.3-1.el6.noarch
    Name        : spacewalk-base               Relocations: (not relocatable)
    Version     : 2.0.3                             Vendor: Koji
    Release     : 1.el6                         Build Date: Thu 18 Jul 2013 09:44:45 AM EDT
    Install Date: Tue 12 Nov 2013 08:51:17 AM EST      Build Host: ip-10-245-53-75
    Group       : Applications/Internet         Source RPM: spacewalk-web-2.0.3-1.el6.src.rpm
    Size        : 841376                           License: GPLv2
    Signature   : DSA/SHA1, Fri 19 Jul 2013 03:29:18 AM EDT, Key ID 0e646f68863a853d
    Packager    : Koji
    URL         : https://fedorahosted.org/spacewalk/
    Summary     : Programs needed to be installed on the RHN Web base classes
    Description :
    This package includes the core RHN:: packages necessary to manipulate
    database.  This includes RHN::* and RHN::DB::*.
    [root@spacewalk ~]# 

How reproducible:

Always

Steps to Reproduce:
1. Try to reposync a Pidora channel (http://pidora.ca/pidora/releases/18/packages/armv6hl/os/)
2.
3.

Actual results:

Reposync failure: Unknown arch armv6hl

Expected results:

Successful reposync.
 
Additional info:

Comment 1 Michael Mráka 2013-11-29 12:51:13 UTC
armv6hl architecture has been added spacewalk master as
commit 18d44b300cf14ca32d689cbc74a4113fb2f75ec8
    1034742 - schema upgrade for armv6hl arch
commit f00b51cb858aab62a1d32b2435a118aeb4a43079
    1034742 - support for new Raspberry Pi arch (armv6hl)

Comment 2 Michael Mráka 2013-12-02 10:30:38 UTC
I missed to update some lookup tables; two more commits in spacewalk master
commit f68c8cd7dc286a9062783580379b051092a7aa52
    1034742 - schema upgrade for armv6hl arch
commit 90a63199001136dd5a8abdd03803a6cd33c89c33
    1034742 - support for new Raspberry Pi arch (armv6hl)

Comment 3 Matej Kollar 2014-01-17 12:16:28 UTC
Switching MODIFIED Spacewalk bugs to ON_QA before 2.1 release.

Comment 4 Matej Kollar 2014-03-04 13:08:42 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21

Comment 5 Matej Kollar 2014-03-04 13:09:11 UTC
Spacewalk 2.1 has been released.
https://fedorahosted.org/spacewalk/wiki/ReleaseNotes21