[Spacewalk-list] Kickstart Auto Client Registaration

Net Warrior netwarrior863 at gmail.com
Fri Nov 8 18:29:38 UTC 2013


Hi guys.

I'm   having some issues while trying to register a client over
kickstart methood, the client is not registered, and I do not know why
is complaining about a package depenency when the package was
dowloaded already.

I tryied include the package a part of the software, tried include
both, libxml-python and libxlm but same error, the last error says
"rhnreg_ks not found" that's part of the code that is generated
automatically ( the kickstart ) where I can see how the registration
is preformed, but I do not see the package that contain the command is
downloaded somewhere. I only see that the only package that's is want
to be installed is rhnlib.

Any hints on this will really appreciated, maybe I not following the
right procedure and of course I'm missing something.


Connecting to spacewalk|128.2.101.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 328816 (321K) [application/octet-stream]
Saving to: `/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'

     0K .......... .......... .......... .......... .......... 15% 11.8M 0s
    50K .......... .......... .......... .......... .......... 31% 11.0M 0s
   100K .......... .......... .......... .......... .......... 46% 10.3M 0s
   150K .......... .......... .......... .......... .......... 62% 11.3M 0s
   200K .......... .......... .......... .......... .......... 77% 10.9M 0s
   250K .......... .......... .......... .......... .......... 93% 11.3M 0s
   300K .......... .......... .                               100% 10.9M=0.03s

2013-11-07 18:26:11 (11.1 MB/s) -
`/tmp/rhn_rpms/optional/libxml2-python-2.7.6-12.el6_4.1.x86_64.rpm'
saved [328816/328816]

--2013-11-07 18:26:11--
http://spacewalk/download/package/47afc36f888ddfc2450660e6ee490c8700928b5e/0/1/17834/rhnlib-2.5.65-1.el6.noarch.rpm
Reusing existing connection to spacewalk:80.
HTTP request sent, awaiting response... 200 OK
Length: 65208 (64K) [application/octet-stream]
Saving to: `/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm'

     0K .......... .......... .......... .......... .......... 78% 11.6M 0s
    50K .......... ...                                        100% 11.4M=0.005s

2013-11-07 18:26:11 (11.6 MB/s) -
`/tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm' saved
[65208/65208]

--2013-11-07 18:26:11--
http://spacewalk/download/package/2c1c80089288e8f2ef90ed729d798fe0bd67b980/0/1/7256/pyOpenSSL-0.10-2.el6.x86_64.rpm
Reusing existing connection to spacewalk:80.
HTTP request sent, awaiting response... 200 OK
Length: 216752 (212K) [application/octet-stream]
Saving to: `/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm'

     0K .......... .......... .......... .......... .......... 23% 11.6M 0s
    50K .......... .......... .......... .......... .......... 47% 10.9M 0s
   100K .......... .......... .......... .......... .......... 70% 10.2M 0s
   150K .......... .......... .......... .......... .......... 94% 11.2M 0s
   200K .......... .                                          100% 11.3M=0.02s

2013-11-07 18:26:11 (11.0 MB/s) -
`/tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm' saved
[216752/216752]

FINISHED --2013-11-07 18:26:11--
Downloaded: 3 files, 596K in 0.05s (11.1 MB/s)
warning: /tmp/rhn_rpms/optional/pyOpenSSL-0.10-2.el6.x86_64.rpm:
Header V3 RSA/SHA256 Signature, key ID c105b9de: NOKEY
warning: /tmp/rhn_rpms/optional/rhnlib-2.5.65-1.el6.noarch.rpm: Header
V4 DSA/SHA1 Signature, key ID 863a853d: NOKEY
error: Failed dependencies:
        libxml2 = 2.7.6-12.el6_4.1 is needed by
libxml2-python-2.7.6-12.el6_4.1.x86_64
Can't open /etc/sysconfig/rhn/up2date: No such file or directory.
cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory
--2013-11-07 18:26:11--  http://spacewalk/pub/RHN-ORG-TRUSTED-SSL-CERT
Resolving spacewalk... 128.2.101.107
Connecting to spacewalk|128.2.101.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5217 (5.1K) [text/plain]
Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'

     0K .....                                                 100% 19.2M=0s

2013-11-07 18:26:11 (19.2 MB/s) -
`/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5217/5217]

Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file.
/tmp/ks-script-cO9ZoN: line 137: rhnreg_ks: command not found
/tmp/ks-script-cO9ZoN: line 143: rhn_check: command not found


Thanks in advance , best regards.




More information about the Spacewalk-list mailing list