[uyuni-users] spacewalk-common-channels
Till now I managed to setup a uyuni server with two clients, one CentOS7 and one CentOS8. Everything is working as expected. I imported the channels via spacewalk-common-channels, e.g. spacewalk-common-channels -v -u admin -p <password> -a x86_64 -k unlimited 'centos7*' This worked in the same way as on our spacewalk server. Now I want to add some additional channels / repos in the same way and I got an error message: spacewalk-common-channels -v -u admin -p <password> -a x86_64 -k unlimited 'oraclelinux7*' Connecting to http://localhost/rpc/api Error: redstone.xmlrpc.XmlRpcFault: Either the password or username is incorrect. The password and the username is correct, I can login on the website with these credentials. I few days ago I used this to add a lot of channels/repos, what can be wrong? Any idea? Thank you, Peter -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org
Wild guess: Did you configure SSO by any chance? If you did, SSO is only for the WebUI, not for any other CLI tools that will be still using the local credencials. https://www.uyuni-project.org/uyuni-docs/uyuni/administration/auth-methods-s... On martes, 7 de julio de 2020 12:25:54 (CEST) Huber, Peter wrote:
Till now I managed to setup a uyuni server with two clients, one CentOS7 and one CentOS8. Everything is working as expected. I imported the channels via spacewalk-common-channels, e.g. spacewalk-common-channels -v -u admin -p <password> -a x86_64 -k unlimited 'centos7*' This worked in the same way as on our spacewalk server.
Now I want to add some additional channels / repos in the same way and I got an error message:
spacewalk-common-channels -v -u admin -p <password> -a x86_64 -k unlimited 'oraclelinux7*' Connecting to http://localhost/rpc/api Error: redstone.xmlrpc.XmlRpcFault: Either the password or username is incorrect.
The password and the username is correct, I can login on the website with these credentials. I few days ago I used this to add a lot of channels/repos, what can be wrong? Any idea?
Thank you, Peter
-- Julio González Gil Release Engineer, SUSE Manager and Uyuni jgonzalez@suse.com
On 7/7/20, at 12:25 PM, Huber, Peter wrote:
Error: redstone.xmlrpc.XmlRpcFault: Either the password or username is incorrect.
Do you find anything interesting in the logs around the time you are
trying to connect?
/var/log/rhn/*.log and more specifically rhn_web_api.log
--
Michele Bologna
participants (3)
-
Huber, Peter
-
Julio González Gil
-
Michele Bologna