<p>Cobbler 2.2 support is the big thing preventing the release of spacewalk 1.8<br>
No cobbler 2.2 was not supported by 1.6<br>
The cobbler upgrade in epel from 2.0 to 2.2 caused major compatibility issues between spacewalk and cobbler.<br>
If you search the list you will find a lot of conversations about it and there is atleast 1 ticket in bugzilla about it.<br>
</p>
<div class="gmail_quote">On Aug 30, 2012 10:33 AM, "Giovanni Torres" <<a href="mailto:giovtorres@hotmail.com">giovtorres@hotmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div><div dir="ltr">Is this still the case?  I thought cobbler 2.2 support was added in 1.6.  Cobbler 2.2 exists in both EPEL 5 and 6 repos.  I remember running into an issue with mod_python and mod_wsgi when upgrading spacewalk to 1.7 on a CentOS 5 machine.  But then again, I've only started to use cobbler extensively.<br>
<br><div><div></div><hr>Date: Thu, 30 Aug 2012 10:00:03 -0400<br>From: <a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a><br>To: <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a><br>
CC: <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br>Subject: Re: [Spacewalk-list] FQDN can't solve 'Unable to connect to jabber       servers'<br><br>This is the second time I've told you to downgrade cobbler there are plenty of posts abou this and tickets in bugzilla.<br>

<div>On Aug 30, 2012 9:57 AM, "Paul Robert Marino" <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">

You need to downgrade cobbler to version 2.0.x cobbler 2.2 is not supported yet.<br>
<div>On Aug 30, 2012 9:55 AM,  <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">

<div><div style="font-size:12pt;font-family:garamond,new york,times,serif">The cobbler version is 2.2.3.<br><div><span><br></span></div><div>This spacewalk-hostname-rename issue is not solved yet. I had to give it up finally to save time.<br>


After manually replaced all hostname with its FQDN in files under /etc/jabberd, osa-dispatcher starts working. At least the client was upgraded successfully.<br><br>Thanks!<br><br></div><div>nz<br><br></div>  <div style="font-family:garamond,new york,times,serif;font-size:12pt">


 <div style="font-family:times new roman,new york,times,serif;font-size:12pt"> <div dir="ltr"> <font face="Arial"> <hr size="1">  <b><span style="font-weight:bold">From:</span></b> Jan Hutař <<a href="mailto:jhutar@redhat.com" target="_blank">jhutar@redhat.com</a>><br>


 <b><span style="font-weight:bold">To:</span></b> <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>; <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a> <br><b><span style="font-weight:bold">Cc:</span></b>
 <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>; Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>>; "<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>> <br>


 <b><span style="font-weight:bold">Sent:</span></b> Thursday, August 30, 2012 12:25:22 AM<br> <b><span style="font-weight:bold">Subject:</span></b> Re: [Spacewalk-list] FQDN can't solve 'Unable to connect to jabber servers'<br>


 </font> </div> <br>On Thu, 23 Aug 2012 12:36:06 -0700 (PDT) <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a> wrote:<br><br>> One issue is gone and another issue is coming right away -<br>> this is our life :( :)<br>


> <br>> # spacewalk-hostname-rename 192.168.10.99<br>> ......<br>> Validating IP ... OK<br>> =============================================<br>> hostname: <a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a><br>


> ip: 192.168.10.99<br>> =============================================<br>> Stopping rhn-satellite services ... OK<br>> Testing DB
 connection ... psql:<stdin>:1: ERROR:  syntax error<br>> at or near "off" LINE 1: set feed off;<br>> Updating /etc/rhn/rhn.conf ... OK<br>> Actual SSL key pair package:<br>> rhn-org-httpd-ssl-key-pair-spacewalkhost.ourdomain-1.0-1.noarch<br>


> Starting generation of new SSL certificate: Generating SSL<br>> certificate: Removing old SSL certificate<br>> (rhn-org-httpd-ssl-key-pair-spacewalkhost.ourdomain-1.0-1.noarch) ...<br>> OK Installing new SSL certificate<br>


> (rhn-org-httpd-ssl-key-pair-spacewalkhost.ourdomain-1.0-2.noarch.rpm) ...<br>> OK Deploying jabberd certificate ... OK Regenerating new<br>> bootstrap client-config-overrides.txt ... OK Updating<br>> NOCpulse.ini ... OK Updating monitoring data ... OK Updating<br>


> other DB entries ... OK Changing cobbler settings ... FAILED<br>> Fix the problem and run /usr/bin/spacewalk-hostname-rename<br>> again<br>> <br>> # tail
 /var/log/rhn/rhn_hostname_rename.log:<br>> Changing cobbler settings ... Traceback (most recent call<br>> last): File "/usr/bin/cobbler-setup", line 78, in <module><br>>     main()<br>>   File "/usr/bin/cobbler-setup", line 55, in main<br>


>     answers = dict(loadFile(DEFAULTS))<br>>   File "/usr/bin/cobbler-setup", line 26, in loadFile<br>>     return load(open(fl).read())<br>> IOError: [Errno 2] No such file or directory:<br>> '/usr/share/cobbler/installer_templates/defaults' FAILED<br>


<br>This is strange. Which version of cobbler package you have?<br><br>Regards,<br>Jan<br><br><br><br>> # service cobblerd status<br>> cobblerd is stopped<br>> <br>> # service cobblerd start<br>> Starting cobbler
 daemon:                                   [<br>> OK  ]<br>> <br>> # service cobblerd status<br>> cobblerd (pid 12373) is running...<br>> <br>> Please help. Thanks.<br>>  <br>> <br>> nz<br>> <br>


> <br>> <br>> ________________________________<br>>  From: "<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>" <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>><br>


> To: "<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>" <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>>; Paul Robert Marino<br>> <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>>; "<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>"<br>


> <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>>; "<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>"<br>> <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>> Sent: Thursday, August 23, 2012<br>


> 2:19:06 PM Subject: Re: [Spacewalk-list] FQDN can't solve<br>> 'Unable to connect to jabber servers' <br>> <br>> This issue is fixed by using<br>> <br>> # patch /usr/bin/spacewalk-hostname-rename /root/spacewalk-hostname-rename_patch<br>


> # (the codes in<br>> # <a href="https://bugzilla.redhat.com/show_bug.cgi?id=809444" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=809444</a>)<br>> <br>>  <br>> nz<br>> <br>> <br>> <br>


> ________________________________<br>>  From: "<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>" <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>><br>> To: Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>>;<br>


> "<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>" <<a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a>> Sent:<br>> Thursday, August 23, 2012 1:44:56 PM Subject: Re:<br>


> [Spacewalk-list] FQDN can't solve 'Unable to connect to jabber<br>> servers' <br>> <br>> Paul,<br>> <br>> I've
 found the issue and answer in the link you<br>> provided:<a href="https://bugzilla.redhat.com/show_bug.cgi?id=809444" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=809444</a> I<br>> am studying your answer now. I don't quite understand it.<br>


> <br>>  <br>> nz<br>> <br>> <br>> <br>> ________________________________<br>>  From: Paul Robert Marino <<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>><br>> To: <a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>; <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a> <br>


> Sent: Thursday, August 23, 2012 11:03:28 AM<br>> Subject: Re: [Spacewalk-list] FQDN can't solve 'Unable to<br>> connect to jabber servers' <br>> On Thu, Aug 23, 2012 at 10:29 AM,  <<a href="mailto:fnwsa@yahoo.com" target="_blank">fnwsa@yahoo.com</a>> wrote:<br>


> > Hi, I've got a tough issue - Unable to connect to jabber<br>> > servers<br>> ><br>> > # service osa-dispatcher start<br>> > Starting osa-dispatcher: RHN 32080 2012/08/23 09:58:53<br>

> > -04:00: ('Not<br>
>  able to<br>> > reconnect',)<br>> > RHN 32080 2012/08/23 09:58:53 -04:00: ('Traceback (most<br>> > recent call last):\n File<br>> > "/usr/share/rhn/osad/jabber_lib.py", line 252, in<br>


> > setup_connection\n c = self._get_jabber_client(js)\n  File<br>> > "/usr/share/rhn/osad/jabber_lib.py", line 309, in<br>> > _get_jabber_client\n    c.connect()\n  File<br>> > "/usr/share/rhn/osad/jabber_lib.py", line 589, in connect\n<br>


> >   raise SSLDisabledError\nSSLDisabledError\n',) [  OK  ]<br>> ><br>> > I've changed all spacewalk server's hostname
 with its FQDN<br>> > in all config files I can found:<br>> ><br>> > # grep osa /etc/rhn/rhn.conf<br>> > osa-dispatcher.jabber_server = <a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a><br>


> > osa-dispatcher.jabber_username = rhn-dispatcher-sat<br>> > osa-dispatcher.jabber_password = rhn-dispatcher-RANDOM_STRING<br>> > osa-dispatcher.osa_ssl_cert =<br>>  /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT<br>


> ><br>> > # grep spacewalkhost /etc/jabberd/*<br>> > /etc/jabberd/c2s.xml:    <id require-starttls="false"<br>> > pemfile="/etc/pki/spacewalk/jabberd/server.pem" realm=""<br>


> > register-enable="true"><a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a></id><br>> > /etc/jabberd/server.pem:8ZHSDZRzaSm7bNl2l8om83QrPMG/WDJh40PANPh/b60asdvSb5uwpb6dc4rxxxxx<br>


> > /etc/jabberd/sm.xml:  <id><a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a></id><br>> > /etc/jabberd/sm.xml:   
 <id><a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a></id><br>> ><br>> > # grep<br>> > # spacewalkhost /var/www/html/pub/RHN-ORG-TRUSTED-SSL-CERT<br>


> >         Issuer: C=US, ST=..., L=..., O=...,<br>> >OU=<a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a>,<br>> > CN=<a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a><br>


> >         Subject: C=US, ST=..., L=..., O=...,<br>> >OU=<a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a>,<br>> > CN=<a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a><br>


> ><br>> ><br>>  DirName:/C=US/ST=.../L=.../O=.../OU=<a href="http://spacewalkhost.ourdomain.com/CN=spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com/CN=spacewalkhost.ourdomain.com</a><br>


> ><br>> > # tail /var/log/rhn/osa-dispatcher.log<br>> > 2012/08/23 10:17:16 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>> > osad/jabber_lib.__init__ 2012/08/23 10:17:16 -04:00 32080<br>


> > <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>: osad/jabber_lib.connect('Server did not return a<br>> > <features /> stanza, reconnecting',) 2012/08/23
 10:17:17<br>> > -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>: osad/jabber_lib.connect('Server did<br>> > not return a <features /> stanza, reconnecting',) 2012/08/23<br>> > 10:17:18 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>: osad/jabber_lib.connect<br>


> > ('Server did not return a <features /> stanza,<br>> > reconnecting',) 2012/08/23 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>> > osad/jabber_lib.connect('ERROR', 'Not able to reconnect')<br>


> > 2012/08/23 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>> > osad/jabber_lib.print_message('SSLError',) 2012/08/23<br>> > 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>


> ><br>>  osad/jabber_lib.print_message('Could not connect to jabber<br>> server',<br>> > '<a href="http://spacewalkhost.ourdomain.com" target="_blank">spacewalkhost.ourdomain.com</a>')<br>


> > 2012/08/23 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>> > osad/jabber_lib.setup_connection('ERROR', 'Traceback (most<br>> > recent call last):\n  File<br>


> >
 "/usr/share/rhn/osad/jabber_lib.py", line 252, in<br>> > setup_connection\n    c = self._get_jabber_client(js)\n<br>> > File "/usr/share/rhn/osad/jabber_lib.py", line 309, in<br>> > _get_jabber_client\n c.connect()\n  File<br>


> > "/usr/share/rhn/osad/jabber_lib.py", line 589, in connect\n<br>> >   raise SSLDisabledError\nSSLDisabledError\n') 2012/08/23<br>> > 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>


> > osad/jabber_lib.setup_connection('Could not connect to any<br>> > jabber server',) 2012/08/23 10:17:19 -04:00 32080 <a href="http://0.0.0.0" target="_blank">0.0.0.0</a>:<br>> > osad/jabber_lib.main('Unable to connect to jabber servers,<br>


> > sleeping 10 seconds',)<br>> ><br>> > # tail /var/log/messages<br>> > Aug 23<br>>  10:20:46 spacewalkhost jabberd/c2s[15904]: [7]<br>> [::ffff:192.168.10.99,<br>> > port=48416] connect<br>


> > Aug 23 10:20:46 spacewalkhost jabberd/c2s[15904]:
 [7]<br>> > [::ffff:192.168.10.99, port=48416] disconnect jid=unbound,<br>> > packets: 0 Aug 23 10:20:47 spacewalkhost jabberd/c2s[15904]:<br>> > [7] [::ffff:192.168.10.99, port=48417] connect<br>> > Aug 23 10:20:47 spacewalkhost jabberd/c2s[15904]: [7]<br>


> > [::ffff:192.168.10.99, port=48417] disconnect jid=unbound,<br>> > packets: 0 Aug 23 10:20:58 spacewalkhost jabberd/c2s[15904]:<br>> > [7] [::ffff:192.168.10.99, port=48418] connect<br>> > Aug 23 10:20:58 spacewalkhost jabberd/c2s[15904]: [7]<br>


> > [::ffff:192.168.10.99, port=48418] disconnect jid=unbound,<br>> > packets: 0 Aug 23 10:20:59 spacewalkhost jabberd/c2s[15904]:<br>> > [7] [::ffff:192.168.10.99, port=48419] connect<br>> > Aug 23 10:20:59 spacewalkhost jabberd/c2s[15904]: [7]<br>


> > [::ffff:192.168.10.99, port=48419]<br>>  disconnect jid=unbound, packets: 0<br>> > Aug 23 10:21:00 spacewalkhost
 jabberd/c2s[15904]: [7]<br>> > [::ffff:192.168.10.99, port=48425] connect<br>> > Aug 23 10:21:00 spacewalkhost jabberd/c2s[15904]: [7]<br>> > [::ffff:192.168.10.99, port=48425] disconnect jid=unbound,<br>


> > packets: 0<br>> ><br>> > Why does the spacewalk server's hostname rather than its<br>> > FQDN display in messages? What do I still miss? Please help<br>> > and thank you in advance!<br>


> in answer to the log question Thats because its syslog or<br>> rsyslog writing that log file and thats how its configured by<br>> default<br>> <br>> Also there is more to renaming the host than altering a few<br>


> config files there is actually a tool for this<br>> The current version of the tool has a bug with PostgreSQL but<br>> if you download the latest version from the git repo it should<br>> work. see the bug report here<br>


> <a href="https://bugzilla.redhat.com/show_bug.cgi?id=809444" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=809444</a><br>> <br>> ><br>> > Nick<br>> ><br>> > _______________________________________________<br>


> > Spacewalk-list mailing list<br>> > <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>> > <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>


> <br>> <br>> <br>> _______________________________________________<br>> Spacewalk-list mailing list<br>> <a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>


<br><br>-- <br>Jan Hutar     Systems Management QA<br><a href="mailto:jhutar@redhat.com" target="_blank">jhutar@redhat.com</a>     Red Hat, Inc.<br><br><br> </div> </div>  </div></div></blockquote></div>
</blockquote></div>
<br>_______________________________________________
Spacewalk-list mailing list
<a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div>                                           </div></div>
<br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div>