[Spacewalk-list] Process of client-registration usign activation key
Lupin Deterd
lupindeterd at gmail.com
Mon Oct 21 23:24:29 UTC 2013
Hi Michael,
I've included the spacewalk-client and epel channel on KS profile and it
installed the rhn-setup.
[root at dia-client1 ~]# rpm -qa | grep rhn
rhnlib-2.5.65-1.el6.noarch
rhn-setup-2.0.1-1.el6.noarch
rhn-client-tools-2.0.1-1.el6.noarch
rhnsd-5.0.13-1.el6.x86_64
yum-rhn-plugin-2.0.1-1.el6.noarch
rhn-check-2.0.1-1.el6.noarch
It's now able to register but not being subscribe to channel.
XML_RPC logs on server.
1. 2013/10/19 08:32:03 -07:00 9066 192.168.152.142:
xmlrpc/registration.welcome_message('lang: None',)
2. 2013/10/21 15:31:53 -07:00 6776 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
3. 2013/10/21 15:31:54 -07:00 3596 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
4. 2013/10/21 15:31:54 -07:00 7271 192.168.152.147:
xmlrpc/registration.create_system("token =
'2-70247c0f3cf67bb68fcacfc88ac0f4e7,2-DIA-M-Key'", '6', 'x86_64')
5. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_kickstart._get_ks_virt_type('KS_TYPE: none',)
6. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_kickstart.schedule_virt_pkg_install('VIRTUALIZATION_TYPE:
5',)
7. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_kickstart._get_ks_virt_type('KS_TYPE: none',)
8. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_kickstart.schedule_virt_pkg_install('VIRTUALZIATION_TYPE_LABEL:
none',)
9. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_kickstart.schedule_virt_pkg_install('NOT A VIRT
KICKSTART',)
10. 2013/10/21 15:31:55 -07:00 7271 192.168.152.147:
rhnServer/server_token.process_token(1000010004,
'enterprise_entitled,monitoring_entitled,virtualization_host,provisioning_entitled')
11. 2013/10/21 15:31:56 -07:00 7271 192.168.152.147:
rhnServer/server_token.token_channels('ERROR', 'Server has invalid release
and token contains no base channels', 1000010004, [{'note': 'Default
session activation key for profile DIA-KS.', 'usage_limit': None,
'user_id': 2, 'org_id': 2, 'server_id': None, 'token_desc': 'Spacewalk
Management Entitled Servers', 'token_type': 'enterprise_entitled', 'token':
'2-70247c0f3cf67bb68fcacfc88ac0f4e7', 'token_id': 13, 'deploy_configs':
'N', 'kickstart_session_id': 8, 'is_base': 'Y'}, {'note': 'DIA-Master Key',
'usage_limit': None, 'user_id': 2, 'org_id': 2, 'server_id': None,
'token_desc': 'Spacewalk Management Entitled Servers', 'token_type':
'enterprise_entitled', 'token': '2-DIA-M-Key', 'token_id': 6,
'deploy_configs': 'Y', 'kickstart_session_id': None, 'is_base': 'Y'}])
12. 2013/10/21 15:31:56 -07:00 3592 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
13. 2013/10/21 15:31:57 -07:00 3598 192.168.152.147:
xmlrpc/registration.__add_hw_profile_no_auth(1000010004, 'items: 57')
14. 2013/10/21 15:31:57 -07:00 3594 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
15. 2013/10/21 15:31:58 -07:00 6614 192.168.152.147:
xmlrpc/registration.add_packages(1000010004, 'packages: 404')
16. 2013/10/21 15:32:00 -07:00 7151 192.168.152.147:
xmlrpc/queue.get(1000010004, 2, 'checkins enabled')
17. 2013/10/21 15:32:01 -07:00 3599 192.168.152.147:
xmlrpc/up2date.login(1000010004,)
18. 2013/10/21 15:32:01 -07:00 3599 192.168.152.147:
server/rhnChannel.channels_for_server('ERROR', 'Server not subscribed to
any channels', 1000010004)
19. 2013/10/21 15:32:01 -07:00 3593 192.168.152.147:
xmlrpc/up2date.listChannels(1000010004,)
20. 2013/10/21 15:32:01 -07:00 3593 192.168.152.147:
server/rhnChannel.channels_for_server('ERROR', 'Server not subscribed to
any channels', 1000010004)
21. 2013/10/21 15:32:25 -07:00 3595 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
22. 2013/10/21 15:32:26 -07:00 3596 192.168.152.147:
xmlrpc/queue.get(1000010004, 2, 'checkins enabled')
23. 2013/10/21 15:32:26 -07:00 6613 192.168.152.147:
xmlrpc/up2date.listChannels(1000010004,)
24. 2013/10/21 15:32:26 -07:00 6613 192.168.152.147:
server/rhnChannel.channels_for_server('ERROR', 'Server not subscribed to
any channels', 1000010004)
25. 2013/10/21 15:32:50 -07:00 7271 192.168.152.147:
xmlrpc/registration.welcome_message('lang: None',)
26. 2013/10/21 15:41:44 -07:00 6613 192.168.152.147:
xmlrpc/up2date.listChannels(1000010004,)
27. 2013/10/21 15:41:44 -07:00 6613 192.168.152.147:
server/rhnChannel.channels_for_server('ERROR', 'Server not subscribed to
any channels', 1000010004)
28. 2013/10/21 15:43:43 -07:00 3593 192.168.152.147:
xmlrpc/up2date.listChannels(1000010004,)
29. 2013/10/21 15:43:43 -07:00 3593 192.168.152.147:
server/rhnChannel.channels_for_server('ERROR', 'Server not subscribed to
any channels', 1000010004)
KS-RHN.log on client
1. [root at dia-client1 ~]# cat ks-rhn-post.log
2. --2013-10-22 11:31:50--
http://192.168.152.129/download/package/0fca59307d4866e953e472fb550698e291702422/0/2/6761/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm
3. Connecting to 192.168.152.129:80... connected.
4. HTTP request sent, awaiting response... 200 OK
5. Length: 328816 (321K) [application/octet-stream]
6. Saving to:
`/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'
7.
8. 0K .......... .......... .......... .......... .......... 15%
14.4M 0s
9. 50K .......... .......... .......... .......... .......... 31%
5.18M 0s
10. 100K .......... .......... .......... .......... ..........
46% 6.89M 0s
11. 150K .......... .......... .......... .......... ..........
62% 37.9M 0s
12. 200K .......... .......... .......... .......... ..........
77% 30.8M 0s
13. 250K .......... .......... .......... .......... ..........
93% 54.7M 0s
14. 300K .......... .......... .
100% 71.2M=0.02s
15.
16. 2013-10-22 11:31:50 (13.1 MB/s) -
`/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm' saved
[328816/328816]
17.
18. --2013-10-22 11:31:50--
http://192.168.152.129/download/package/241fbdd8f499223bf3770f04df15653305cad31f/0/2/3093/pyOpenSSL-0.10-2.el6.x86_64.rpm
19. Reusing existing connection to 192.168.152.129:80.
20. HTTP request sent, awaiting response... 200 OK
21. Length: 216752 (212K) [application/octet-stream]
22. Saving to:
`/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm'
23.
24. 0K .......... .......... .......... .......... ..........
23% 85.9M 0s
25. 50K .......... .......... .......... .......... ..........
47% 23.0M 0s
26. 100K .......... .......... .......... .......... ..........
70% 33.9M 0s
27. 150K .......... .......... .......... .......... ..........
94% 72.4M 0s
28. 200K .......... .
100% 22262G=0.005s
29.
30. 2013-10-22 11:31:50 (43.0 MB/s) -
`/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' saved
[216752/216752]
31.
32. FINISHED --2013-10-22 11:31:50--
33. Downloaded: 2 files, 533K in 0.03s (18.1 MB/s)
34. error: File not found by glob: /tmp/rhn_rpms/optional/rhnlib*
35. cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory
36. --2013-10-22 11:31:51--
http://192.168.152.129/pub/RHN-ORG-TRUSTED-SSL-CERT
37. Connecting to 192.168.152.129:80... connected.
38. HTTP request sent, awaiting response... 200 OK
39. Length: 5316 (5.2K) [text/plain]
40. Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
41.
42. 0K .....
100% 162M=0s
43.
44. 2013-10-22 11:31:51 (162 MB/s) -
`/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5316/5316]
45.
46. Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not
a regular file.
47. Can't do inplace edit: /etc/sysconfig/rhn/clientCaps.d is not a
regular file.
48. This system is not subscribed to any channels.
49. RHN channel support will be disabled.
50. Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
51. 14: PYCURL ERROR 7 - "Failed to connect to
2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
52. This system is not subscribed to any channels.
53. RHN channel support will be disabled.
54. Could not retrieve mirrorlist
http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os error was
55. 14: PYCURL ERROR 7 - "Failed to connect to
2a02:2498:1:3d:5054:ff:fed3:e91a: Network is unreachable"
56.
On Mon, Oct 21, 2013 at 9:47 PM, Michael Mraka <michael.mraka at redhat.com>wrote:
> Lupin Deterd wrote:
> % I have the the spacewalk-client and EPEL as child of my base channel
> % created by spacewalk-common-channels still having the same issue.
> %
> % I'm not sure if this doable to do on spacewalk as in Satellite.
>
> Do you have those channels included in the kickstart profile?
> Is rhn-setup package installed during kickstart?
>
> % On Fri, Oct 18, 2013 at 7:41 PM, Suh, Tim <tsuh at novetta.com> wrote:
> %
> % > These two lines tell me that you are missing spacewalk-client related
> % > rpms. If you use spacewalk-common-channels script then you should have
> % > gotten a channel automatically for this. It's easy enough to manually
> % > create one, make it a child channel of your base channel, then
> populate it.
> % >
> % > /tmp/ks-script-RBANet: line 137: rhnreg_ks: command not found
> % > /tmp/ks-script-RBANet: line 143: rhn_check: command not found
> % >
> ...
>
> Regards,
>
> --
> Michael Mráka
> Satellite Engineering, Red Hat
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20131022/9bf0a07a/attachment.htm>
More information about the Spacewalk-list
mailing list