Re: [Spacewalk-devel] F10 Spacewalk Progress

2009-02-25 Thread Jan Pazdziora
On Sun, Feb 22, 2009 at 11:34:15PM -0400, Devan Goodwin wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Staring at Spacewalk UI running on F10 right now!

I'd like to stare at Spacewalk UI as well. Instead, I stare at

# yum install spacewalk
[...]
Error: Missing Dependency: quartz is needed by package 
spacewalk-search-0.5.8-1.fc10.noarch (spacewalk)
Error: Missing Dependency: cglib is needed by package 
spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: quartz is needed by package 
spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: hibernate3 = 3.2.4 is needed by package 
spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk)
Error: Missing Dependency: hibernate3 = 3.2.4 is needed by package 
spacewalk-java-0.5.22-1.fc10.noarch (spacewalk)

So I'm doing something wrong because I'm not even able to *install*
the thing. I'm using

# cat /etc/yum.repos.d/spacewalk.repo 
[spacewalk]
name=Spacewalk

baseurl=http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/
gpgkey=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk
enabled=1
gpgcheck=0

How did you install Spacewalk on F10?

-- 
Jan Pazdziora
Satellite Engineering, Red Hat

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] F10 Spacewalk Progress

2009-02-25 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 25 Feb 2009 11:26:28 +0100
Jan Pazdziora jpazdzi...@redhat.com wrote:

 
 I'd like to stare at Spacewalk UI as well. Instead, I stare at
 
   # yum install spacewalk
   [...]
   Error: Missing Dependency: quartz is needed by package
 spacewalk-search-0.5.8-1.fc10.noarch (spacewalk) Error: Missing
 Dependency: cglib is needed by package
 spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk) Error: Missing
 Dependency: quartz is needed by package
 spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk) Error: Missing
 Dependency: hibernate3 = 3.2.4 is needed by package
 spacewalk-taskomatic-0.5.22-1.fc10.noarch (spacewalk) Error: Missing
 Dependency: hibernate3 = 3.2.4 is needed by package
 spacewalk-java-0.5.22-1.fc10.noarch (spacewalk)
 
 So I'm doing something wrong because I'm not even able to *install*
 the thing. I'm using
 
   # cat /etc/yum.repos.d/spacewalk.repo 
   [spacewalk]
   name=Spacewalk
   
 baseurl=http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/
   gpgkey=http://spacewalk.redhat.com/yum/RPM-GPG-KEY-spacewalk
   enabled=1
   gpgcheck=0
 
 How did you install Spacewalk on F10?
 

I forgot to mention:

[r...@fedorasw ~]# cat /etc/yum.repos.d/jpackage.repo 
[jpackage]
name=jpackage-f10
baseurl=http://mirrors.dotsrc.org/jpackage/6.0/fedora-10/free/
gpgcheck=0

[r...@fedorasw ~]# 

Cheers,

Devan


- -- 
  Devan Goodwin dgood...@redhat.com
  Software Engineer Spacewalk / RHN Satellite
  Halifax, Canada   650.567.9039x79267
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmlRu0ACgkQAyHWaPV9my41OACfSKL0UBuDaZu37DNQxng2OhIa
UkMAoKd6eu3KNGKPj6VfhFH1azVBnL2+
=ZT72
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


Re: [Spacewalk-devel] F10 Spacewalk Progress

2009-02-22 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Staring at Spacewalk UI running on F10 right now!

Blocked out of the box by two very minor bugs, both with workarounds
noted in

https://bugzilla.redhat.com/show_bug.cgi?id=486749
- - Two missing jar symlinks in Tomcat lib directories.

https://bugzilla.redhat.com/show_bug.cgi?id=486749
- - mod_version needs to be loaded in httpd.conf.

Note that this implies you install from the Spacewalk 0.5 devel repo
for F10, available at:

http://miroslav.suchy.cz/spacewalk/nightly-candidate-f10/i386/os/

After this the webapp should run. Tested a custom channel creation,
system registration, hell even the perl pages are displaying fine.

Looks like rhnpush will need some love however, it bonks out after
three tries uploading the first package. No obvious errors in any file
in /var/log/rhn/ so this'll need a little more attention. 

Cheers,

Devan



- -- 
  Devan Goodwin dgood...@redhat.com
  Software Engineer Spacewalk / RHN Satellite
  Halifax, Canada   650.567.9039x79267
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmiGT0ACgkQAyHWaPV9my4umQCg4ZGEKWDIU2vE2e+uB3oYRb27
BLIAoIBJIFMlJhz6fencFPG1Ef/0F6NN
=n9oZ
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel


[Spacewalk-devel] F10 Spacewalk Progress

2009-02-21 Thread Devan Goodwin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

First bug that breaks the activation during spacewalk-setup has been
fixed, was a change in Python relating to trying to use
objects as booleans with __nonzero__. Easy to workaround in a more
reliable way.

After this restarting services hangs. If you kill it and rhn-satellite
restart you can see a couple failures more clearly.

Issue with errors in tomcat5 boiling down to missing the
apache commons SequencedHashMap collection. In
el5 /var/lib/tomcat/common/lib will have a symlink to the installed
collections jar in /usr/share/java. On F10 this symlink doesn't exist.
Workaround is easy, just copy or symlink the jar into the common lib
directory. I'm not sure how to address this properly in the long run,
probably drop a symlink into /var/lib/tomcat5/webapps/rhn/WEB-INF/lib/
like we do for many other libraries.

Next up is httpd refusing to start due to:

Syntax error on line 209 of /etc/httpd/conf/httpd.conf: Syntax error on
line 36 of /etc/httpd/conf.d/zz-spacewalk-www.conf: Cannot
load /etc/httpd/modules/mod_jk.so into
server: /etc/httpd/modules/mod_jk.so: cannot open shared object file:
No such file or directory

It looks to me like this shouldn't even be triggering:

IfVersion = 2.1
IfModule !proxy_ajp_module
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
/IfModule
/IfVersion
IfVersion  2.1
LoadModule jk_module modules/mod_jk.so
/IfVersion

httpd-2.2.10-2.i386 is installed.

Turns out in EL5 httpd.conf has:

LoadModule version_module modules/mod_version.so

In F10 this module is not loaded, adding the LoadModule allows httpd to
start up fine.

So there's two packaging issues to address, will file bugs.

After this I tried to hit the webapp and got:
java.lang.ClassNotFoundException: javax.transaction.Synchronization,
probably just another missing symlink. Will pick up here next go around.


Cheers,

Devan

- -- 
  Devan Goodwin dgood...@redhat.com
  Software Engineer Spacewalk / RHN Satellite
  Halifax, Canada   650.567.9039x79267
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkmgP2YACgkQAyHWaPV9my4e5wCg3Pd1gIcF3ErhFnWRAM7tJ31S
EuAAn0CLekjnd932DkN800x40qExAXWz
=EAw3
-END PGP SIGNATURE-

___
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel