Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gensystemid: ppc should be ppc64 #58

Open
pyther opened this issue Apr 5, 2013 · 0 comments
Open

gensystemid: ppc should be ppc64 #58

pyther opened this issue Apr 5, 2013 · 0 comments

Comments

@pyther
Copy link

pyther commented Apr 5, 2013

From what I can tell ppc is not a valid architecture.
ppc should be change to ppc64

I have tested this with 6Server, 5Server, and 4AS.

$ /tmp/gensystemid -a ppc64 -r 5Server ~/systemid                                                                                                          
RHN Username: user
RHN Password: 
Writing out file /root/systemid/systemid

$ /tmp/gensystemid -a ppc64 -r 4AS ~/systemid                                                                                                              
RHN Username: user
RHN Password: 
Writing out file /root/systemid/systemid

$ gensystemid -a ppc -r 5Server ~/systemid                                                                                                                 
RHN Username: user
RHN Password: 
gensystemid: Error registering system. 
Error Class Code: 70
Error Class Info: 
     All available subscriptions for the requested channel have been exhausted.
     Please contact a Red Hat Network Sales associate.
Explanation: 
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem

$ gensystemid -a ppc -r 4AS ~/systemid                                                                                                                     
RHN Username: user
RHN Password: 
gensystemid: Error registering system. 
Error Class Code: 70
Error Class Info: 
     All available subscriptions for the requested channel have been exhausted.
     Please contact a Red Hat Network Sales associate.
Explanation: 
     An error has occurred while processing your request. If this problem
     persists please enter a bug report at bugzilla.redhat.com.
     If you choose to submit the bug report, please be sure to include
     details of what you were trying to do when this error occurred and
     details on how to reproduce this problem.

Patch:

--- /usr/bin/gensystemid        2013-04-05 11:55:14.582831933 -0400
+++ /tmp/gensystemid    2013-04-05 11:56:20.487831961 -0400
@@ -26,16 +26,16 @@ def checkrelease(release, arch):
     ### We are not sure about the architectures below :-/
     releases = {
         '6Workstation': ('i386', 'x86_64'),
-        '6Server': ('i386', 'ppc', 's390', 's390x', 'x86_64'),
-        '6ComputeNode': ('i386', 'ppc', 's390', 's390x', 'x86_64'),
+        '6Server': ('i386', 'ppc64', 's390', 's390x', 'x86_64'),
+        '6ComputeNode': ('i386', 'ppc64', 's390', 's390x', 'x86_64'),
         '6Client': ('i386', 'x86_64'),
-        '5Server': ('i386', 'ia64', 'ppc', 's390', 's390x', 'x86_64'),
+        '5Server': ('i386', 'ia64', 'ppc64', 's390', 's390x', 'x86_64'),
         '5Client': ('i386', 'ia64', 'x86_64'),
-        '4AS': ('i386', 'ia64', 'ppc', 's390', 's390x', 'x86_64'),
+        '4AS': ('i386', 'ia64', 'ppc64', 's390', 's390x', 'x86_64'),
         '4ES': ('i386', 'ia64', 'x86_64'),
         '4WS': ('i386', 'ia64', 'x86_64'),
         '4Desktop': ('i386', 'x86_64'),
-        '3AS': ('i386', 'ia64', 'ppc', 's390', 's390x', 'x86_64'),
+        '3AS': ('i386', 'ia64', 'ppc64', 's390', 's390x', 'x86_64'),
         '3ES': ('i386', 'ia64', 'x86_64'),
         '3WS': ('i386', 'ia64', 'x86_64'),
         '3Desktop': ('i386', 'x86_64'),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant