Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1138710

Summary: Spacewalk should support provisioning the aarch64 architecture
Product: Red Hat Satellite 5 Reporter: Stephen Herr <sherr>
Component: ServerAssignee: Stephen Herr <sherr>
Status: CLOSED NOTABUG QA Contact: Dimitar Yordanov <dyordano>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 570CC: pstudeni, satqe-list
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.3.8-11 cobbler-loaders-1.0.3-1 cobbler-2.0.7-48 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1138451 Environment:
Last Closed: 2015-01-29 09:39:16 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:33:14 UTC
+++ This bug was initially created as a clone of Bug #1138451 +++

Description of problem:
Add cobbler and other support so that you can create profiles / systems / distributions to provision and pxe boot aarch64 systems.

--- Additional comment from Stephen Herr on 2014-09-04 16:29:30 EDT ---

This should be resolved in Spacewalk master commit:
cdf350539f712d2e950307ba467195bb11cfed8c

For PXE booting you must have:
1) installed cobbler-loaders-1.0.3 on your spacewalk system
2) all the normal caviots about having tftpd and xinetd running
3) configured your dhcp server such that for the aarch64 systems they get a "next-server" reference to your Spacewalk server and a "filename" of "aarch64/bootaa64.efi" (not "pxelinux.0" as is common for x86_64 systems)

Comment 3 Pavel Studeník 2014-09-26 09:08:01 UTC
I got following traceback. I removed argument cache=False in line 113 /usr/lib/python2.6/site-packages/cobbler/oxegen.py and than cobbler works.

cobbler-2.0.7-47.el6sat.noarch
spacewalk-java-2.3.8-21.el6sat.noarch

>> cobbler sync
task started: 2014-09-26_110024_sync
task started (id=Sync, time=Fri Sep 26 11:00:24 2014)
running pre-sync triggers
cleaning trees
copying bootloaders
trying cachelink /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/.link_cache/39ad5c194f52f568bd85b577e12338e8aa8f62c3 -> /var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
trying cachelink /var/lib/cobbler/loaders/menu.c32 -> /var/lib/.link_cache/a40da2d52ccfa33e1bb2aecc4a5922345c2ef1ef -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
trying cachelink /var/lib/cobbler/loaders/yaboot -> /var/lib/.link_cache/7ba3459c75decf74920af1bc8ef9d5dfe66e1527 -> /var/lib/tftpboot/yaboot
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot
Exception occured: <type 'exceptions.TypeError'>
Exception value: copyfile_pattern() got an unexpected keyword argument 'cache'
Exception Info:
  File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.6/site-packages/cobbler/remote.py", line 185, ain runner
    return self.remote.api.sync(self.options.get("verbose",False),logger=self.logger)
   File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 610, in sync
    return sync.run()
   File "/usr/lib/python2.6/site-packages/cobbler/action_sync.py", line 112, in run
    self.pxegen.copy_bootloaders()
   File "/usr/lib/python2.6/site-packages/cobbler/pxegen.py", line 113, in copy_bootloaders
    require_match=False, api=self.api, logger=self.logger)

!!! TASK FAILED !!!

-- 
Pavel Studenik <pstudeni>
Satellite QE, Red Hat

Comment 9 Clifford Perry 2015-01-13 11:06:45 UTC
NOTE: With the release of Red Hat Satellite 5.7 on January 12th 2015 this bug /
feature is resolved. This bug was not verified (moved to RELEASE_PENDING)
prior to release. As such, over the next week or so we plan to confirm the
valiation that this was indeed fixed as part of the release and then move to
Closed Current Release. 

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