Unless I have i wrong, everytime you run the rhnreg_ks command, it will
create a new entry. I dont think this is the right command to change
parent channels. I personally would use the spacecmd command or the API.
Unless I am misunderstanding your purpose.
On 23/11/2015 10:23, Philipp Wehling wrote:
Hello,
when I try to change the parent-channel via remote-commands, I get an
error, that this information cant be sent to the server.
It works to change parent channel for the client, but after this
operation, there are 2 duplicate systems listed in system overview.
Here is the command:
#!/bin/sh
rhnreg_ks
--serverUrl=http://spacewalk.domain.de/XMLRPC --activationkey=1-centos-x86_64
--force
And the output:
# rhn_check
Could not submit results to server <RetryServer for
spacewalk.domain.de/XMLR PC>
Error code: -22
Error Message:
Action 1289 does not belong to server 1000010122
Error Class Code: 22
Error Class Info: Unable to retrieve requested entry.
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.
This is no big deal for me, but maybe anyone wants to know.
kind regards,
Philipp
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list
--
Kobus Bensch Trustpay Global LTD email signature Kobus Bensch
Senior Systems Administrator
Address: 22 & 24 | Frederick Sanger Road | Guildford | Surrey | GU2 7YD
DDI: 0207 871 3958
Tel: 0207 871 3890
Email: [email protected]
<mailto:[email protected]>
--
Trustpay Global Limited is an authorised Electronic Money Institution
regulated by the Financial Conduct Authority registration number 900043.
Company No 07427913 Registered in England and Wales with registered address
130 Wood Street, London, EC2V 6DL, United Kingdom.
For further details please visit our website at www.trustpayglobal.com.
The information in this email and any attachments are confidential and
remain the property of Trustpay Global Ltd unless agreed by contract. It is
intended solely for the person to whom or the entity to which it is
addressed. If you are not the intended recipient you may not use, disclose,
copy, distribute, print or rely on the content of this email or its
attachments. If this email has been received by you in error please advise
the sender and delete the email from your system. Trustpay Global Ltd does
not accept any liability for any personal view expressed in this message.
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list