[Spacewalk-list] having trouble with installation documentation

Tommy Butler ace at tommybutler.me
Tue Jun 2 09:00:32 UTC 2015


OK, as was the original response to my question -- check epel (and perhaps
jpackage?).  When reading over the documentation for the install, it was
using headers over paragraphs of text, each delineating what to do for
different platforms, distros, and circumstances.  Given that it looked like
I'd done my part in following the instructions under the centos and rhel
header, I moved on to the next section.  Jpackage wasn't standing out to me
because it didn't look like it was a subtopic of that section, or maybe
it's just because it's almost 4 AM and I'm sleepy.

Some good lessons learned here though:

Thanks to Bernd Helber whose advice led to the the successful installation
and implementation of spacewalk.  I've got a running setup now, after
playing around with ip-tables more than I really wanted to.  RHEL 7 is a
game changer and simply adding a rule like the following just won't work
"-A INPUT -p tcp -m state --state NEW -m tcp --dport 5222 -j ACCEPT"

You have to go and add custom service xml files to
/usr/lib/firewalld/services/ -or- /etc/sysconfig/services/, edit them for
each port that spacewalk wants to use, and then restart firewalld and run
firewall-cmd --add-service=mynewspacewalksvc

        Side note: I named my spacewalk services "spacewalkpush" (5222) and
"spacewalkprox" (5269).

Doing that will create the iptables rules that RHEL7/Centos 7 really want
to see, in the "IN_public_allow" chain.  Then things will work and you will
be happy.

Now I'm in business!

-- 
Tommy Butler

On Tue, Jun 2, 2015 at 2:48 AM, Tommy Butler <ace at tommybutler.me> wrote:

> I feel a bit like a dunce.  I'm installing the jpackage repo as you
> hinted.  I thought this was epel-centric.  I'll update the thread after I
> get jpackage configured.  Sorry to skip ahead.
>
> --
> Tommy Butler
>
> On Tue, Jun 2, 2015 at 2:46 AM, Tommy Butler <ace at tommybutler.me> wrote:
>
>> Thanks for the reply and the suggestion.  Here's the output of that
>> command, as well as the cat-ted .repo files for epel.
>>
>> [root at centos7 ~]# yum install epel-release # this is how I installed
>> epel, according to the documentation fedoraproject.org
>>
>> [root at centos7 ~]# rpm -q epel-release # how I checked that it was
>> installed and at the current version.  Looks OK...
>> epel-release-7-5.noarch
>>
>> Now for the stuff which was requested:
>>
>> ==== yum repolist ======
>> [root at centos7 ~]# yum repolist
>> Loaded plugins: fastestmirror, langpacks
>> Loading mirror speeds from cached hostfile
>>  * base: pubmirrors.dal.corespace.com
>>  * extras: centos.den.host-engine.com
>>  * updates: centos.mbni.med.umich.edu
>> repo id               repo name
>> status
>> base/7/x86_64         CentOS-7 - Base
>> 8,652
>> epel/x86_64           Extra Packages for Enterprise Linux 7 - x86_64
>>  7,990
>> extras/7/x86_64       CentOS-7 - Extras
>>   128
>> spacewalk/x86_64      Spacewalk
>>   114
>> updates/7/x86_64      CentOS-7 - Updates
>>    601
>> repolist: 17,485
>> ===========================
>>
>> ====== epel .repo files =========
>>
>> [root at centos7 ~]# ls -1 /etc/yum.repos.d/
>> CentOS-Base.repo
>> CentOS-CR.repo
>> CentOS-Debuginfo.repo
>> CentOS-fasttrack.repo
>> CentOS-Sources.repo
>> CentOS-Vault.repo
>> epel.repo
>> epel-testing.repo
>> spacewalk-nightly.repo
>> spacewalk.repo
>> spacewalk-source.repo
>>
>> [root at centos7 ~]# cat /etc/yum.repos.d/epel.repo
>> => see http://pastebin.com/jZK2Mkaw
>>
>> [root at centos7 ~]# cat /etc/yum.repos.d/epel-testing.repo
>> => see http://pastebin.com/vYKiFdcw
>>
>> Again, my thanks for any help. I look forward to getting this off the
>> ground so I can auto-provision several bare metal servers and start
>> creating an open-stack cloud proof of concept.
>>
>>
>> --
>> Tommy Butler
>>
>> On Tue, Jun 2, 2015 at 1:10 AM, Bernd Helber <
>> bernd at helber-it-services.com> wrote:
>>
>>> Der Tommy,
>>> can you provide a
>>>
>>> yum repolist
>>>
>>> >From what i can see accordingly to your output, it seems that the EPEL
>>> Repos  are missing.
>>>
>>> EPEL and Jpackage Repos are mandatory.
>>>
>>>
>>> Please have a second look on the following Document.
>>>
>>>
>>>
>>> https://fedorahosted.org/spacewalk/wiki/HowToInstall#SettingupSpacewalkrepo
>>>
>>> Kind regerds.
>>>
>>> Am 02.06.15 um 06:27 schrieb Tommy Butler:
>>> > I'm currently running Centos 7.
>>> >
>>> > having problems with documentation at
>>> >
>>> https://fedorahosted.org/spacewalk/wiki/HowToInstall#SettingupSpacewalkrepo
>>> >
>>> > After having followed the instructions up to that point, including =>
>>> yum
>>> > install spacewalk-setup-postgresql ...
>>> >
>>> > I am getting a huge list of dependency errors when I attempt to follow
>>> this
>>> > step => yum install spacewalk-postgresql
>>> >
>>> > The error message can be seen in full at http://pastebin.com/mxT56eth
>>> >
>>> > You can also see all installed packages on my CentOS machine here
>>> > http://pastebin.com/BwQ8yqTr
>>> >
>>> > Thanks for any insight folks.  I look forward to getting this
>>> installed and
>>> > humming along nicely.
>>> >
>>> > [root at centos7 ~]# cat /etc/redhat-release
>>> > CentOS Linux release 7.1.1503 (Core)
>>> > [root at centos7 ~]# uname -a
>>> > Linux centos7.butler.sh 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6
>>> 11:36:42 UTC
>>> > 2015 x86_64 x86_64 x86_64 GNU/Linux
>>> >
>>> >
>>> >
>>> > _______________________________________________
>>> > Spacewalk-list mailing list
>>> > Spacewalk-list at redhat.com
>>> > https://www.redhat.com/mailman/listinfo/spacewalk-list
>>> >
>>>
>>>
>>> --
>>> with kind regards
>>>
>>>  Bernd Helber
>>>
>>>
>>> _______________________________________________
>>> 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/20150602/00b2f50e/attachment.htm>


More information about the Spacewalk-list mailing list