Bug 1138708

Summary: Cannot create a child channel of aarch64 channel
Product: Red Hat Satellite 5 Reporter: Stephen Herr <sherr>
Component: ServerAssignee: Stephen Herr <sherr>
Status: CLOSED CURRENTRELEASE QA Contact: Pavel Studeník <pstudeni>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: jhutar, pstudeni, satqe-list, sherr
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: satellite-schema-5.7.0.5-1 spacewalk-java-2.3.8-18 spacewalk-web-2.3.2-4 spacewalk-schema-2.3.2-5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1136529 Environment:
Last Closed: 2015-01-13 10:26:37 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:    
Bug Blocks: 1127215, 1128188    

Description Stephen Herr 2014-09-05 13:32:18 UTC
+++ This bug was initially created as a clone of Bug #1136529 +++

Description of problem:
Cloning a channel to a child of an aarch64 channel fails with "AArch64 is not a valid child channel architecture for an AArch64 parent channel" message.

Version-Release number of selected component (if applicable):
All since aarch64 was introduced

How reproducible:
Always

Steps to Reproduce:
1. Create an aarch64 parent channel
2. Try to clone another channel to a child of the aarch64 parent, specifying that the cloned child uses the aarch64 architecture

Actual results:
Clone fails with error message

Expected results:
Clone succeeds 

Additional info:
This will also affect ppc64le architecture channels when that support is released.

--- Additional comment from Stephen Herr on 2014-09-02 15:44:24 EDT ---

Fixed (for both arches) in Spacewalk master:
4ee6f31c0cf86073fb06b12e38bfb47f6f49d098

Comment 3 Pavel Studeník 2014-09-16 07:44:12 UTC
Reproducer is same as comment 1. But I can't still clone ARM child channels. I get following message:

The child channel arch ARM hard. FP is not compatible with a parent channel arch of ARM hard. FP

spacewalk-base-minimal-config-2.3.2-3.el6sat.noarch
spacewalk-base-2.3.2-3.el6sat.noarch
spacewalk-base-minimal-2.3.2-3.el6sat.noarch

Comment 4 Pavel Studeník 2014-09-16 07:56:11 UTC
I find similar bug bz1142110 which is about cloning child channel with other arch.

Comment 6 Stephen Herr 2014-09-17 17:54:34 UTC
Committing to Spacewalk master:
e659cc9ef2e8ca480e9115be00d916ccf9f9d55c

Comment 7 Stephen Herr 2014-09-17 17:59:18 UTC
I have added default mappings for all architectures, so at the very least parent and child channels of the same arch can be created. The commit that fixes this is the same as the commit that fixes bug 1142110, I don't know if we want close the other bug and just track everything in this one or not. It's all one inter-dependant change from a developer's perspective.

Comment 14 Pavel Studeník 2014-10-02 13:57:21 UTC
.. I do not see "AArch64" architecture available

spacewalk-schema-2.3.2-7.el6sat.noarch
satellite-schema-5.7.0.4-1.el6sat.noarch

Comment 18 Clifford Perry 2015-01-13 10:26:37 UTC
With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug is
being moved to a Closed Current Release state. 

The Satellite 5.7 GA Errata:
 - https://rhn.redhat.com/errata/RHSA-2015-0033.html 

Satellite 5.7 Release Notes:
 -
https://access.redhat.com/documentation/en-US/Red_Hat_Satellite/5.7/html-single/Release_Notes/index.html

Satellite Customer Portal Blog announcement for release:
 - https://access.redhat.com/blogs/1169563/posts/1315743 

Cliff

NOTE: This bug has not been re-verified (moved to RELEASE_PENDING) prior to release. We assume that the bug has indeed been fixed and not regressed since we initially verified it. Please re-open in the future if needed.