[Spacewalk-list] Need help with registration problems.

key 1 spacewalkList-iscool at snkmail.com
Thu Jan 31 16:14:09 UTC 2013


Can anyone help me. I'm new to spacewalk and a little bit stuck.

I have installed spacewalk1.8-postgres on a f17 box. I have repo-sync'ed
channels for fedora 16 & 17, as well as CentOS 5 & 6. (all x86_64).

My first attempts at installing have been to try to install a bare bones
(just @Base) fedora 16 client. I would like to get this sparse install
working first and then clone the kickstart file, adding things to it.

My kickstart file has Management Configuration and Remote Commands set true,
partitioning scheme, etc and one activation key. The key has one group
assocation, one config channel association and these child channels:
fedora16-x86_64-updates
spacewalk18-client-fedora16-x86_64
which were created by the 'spacewalk-common-channels' script.
There are no child channels on the ks file itself, just on the key.

The problem I have is the registration fails. Looking at the tail of
/root/ks-rhn-post.log, What I see is:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2013-01-30 10:40:36 (9.21 MB/s) -
`/tmp/rhn_rpms/optional/rhnlib-2.5.55-1.fc16.noarch.rpm' saved [69601/69601]

FINISHED --2013-01-30 10:40:36--
Downloaded: 3 files, 618K in 0.06s (10.8 MB/s)
error: Failed dependencies:
        libxml2 = 2.7.8-8.fc16 is needed by
libxml2-python-2.7.8-8.fc16.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-01-30 10:40:36--  http://deuterium/pub/RHN-ORG-TRUSTED-SSL-CERT
Resolving deuterium... 172.26.251.100
Connecting to deuterium|172.26.251.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 5132 (5.0K) [text/plain]
Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'

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

2013-01-30 10:40:36 (78.3 MB/s) - `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
saved [5132/5132]

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

>From /root/ks.cfg, I see it trying to do this:

mkdir -p /tmp/rhn_rpms/optional
cd /tmp/rhn_rpms/optional
wget -P /tmp/rhn_rpms/optional \

http://deuterium/download/package/570ee34bc9323015500c13874ab9bff8420dc6af/0/1/26812/pyOpenSSL-0.12-1.fc16.x86_64.rpm\

http://deuterium/download/package/c46a2fcb6951b3256f635c79cba72d03606fbedb/0/1/60267/libxml2-python-2.7.8-8.fc16.x86_64.rpm\

http://deuterium/download/package/2cd4abbd1443e59467c0b51f1076cb5072591aab/0/1/81511/rhnlib-2.5.55-1.fc16.noarch.rpm
rpm -Uvh --replacepkgs --replacefiles /tmp/rhn_rpms/optional/pyOpenSSL*
/tmp/rhn_rpms/optional/rhnlib* /tmp/rhn_rpms/optional/libxml2-python*

Which really throws me. libxml2-2.7.8-8.fc16.x86_64 is in
fedora16-x86_64-updates, but is not installed.
rhnlib-2.5.55-1.fc16.noarch.rpm
appears to come from fedora16-x86_64-updates just fine. Why not
libxml2-2.7.8-8.fc16.x86_64?

Can I influence the 'wget' somehow and include libxml2-2.7.8-8? I tried
adding it to the
only key with no luck. If I add it to the file itself, the install stops
and tells me the
package does not exist.

What am I missing here? Is there something I should have read, but didn't?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20130131/7134b876/attachment.htm>


More information about the Spacewalk-list mailing list