Re: [Spacewalk-devel] PostgreSQL status
Do the oracle dependencies still exist for the postgres install? Just doesn't seem right having to install oracle parts for the Postgres install. Travis Camechis Software Engineer On Sat, Jul 10, 2010 at 3:00 PM, Jan Pazdziora jpazdzi...@redhat.comwrote: On Fri, Jul 09, 2010 at 07:37:48PM -0400, Tom Lane wrote: Personally though I'm more interested in an F-13 build. Sure. Folks are working on getting the missing dependencies of Spacewalk packages built for F13 so I hope you will see it within a week or so. Then the PostgreSQL port should work on F13 just fine (famous last words). -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Moving postgres support forward
I know this is easier said then done but I know lots opensource products support many different types of databases. Mainly I believe because everything is implemented on the java side using JPA/Hibernate. Switching between databases would be a matter of switching the Hibernate dialect in a config file. It would be awesome if we could get to something like that but I know there are so many stored procedures that are currently in place and oracle specific pieces. On Tue, May 4, 2010 at 12:16 PM, Hooker, Jonathan jonathan.hoo...@garmin.com wrote: From where I am in corporate land, many of the corporations using this will either be large and have many DBAs to support many different types of databases or they will be small Linux shops that have a very open source mentality. Either way, they (we) are very much desiring a low cost alternative to Oracle. In this economy, many, if not all, corporations are looking to pinch every penny they can. Oracle is an easy way to do so. If the Spacewalk project isn't careful, we will drive many of these corporations away. If a company is putting in a Spacewalk server, they are looking to save money. Generally speaking, if they are willing to pull for an Oracle database, most would be willing to pull for a Satellite server rather than a Spacewalk server because the Satellite server comes with support. In general, those implementing Spacewalk have the mental prowess to install and manage a PostgreSQL server by themselves anyhow. Anymore these days, corporations are not necessarily looking to consolidate all their databases, they are looking to consolidate the ones that cost them money due to the benefits they receive if they do. I would definitely echo Duncan's comment that PostgreSQL should be the primary focus for development and Oracle should be kept around at most as a supported environment but definitely not a heavily developed one. Jonathan Hooker Desktop Support - Engineering Garmin International jonathan.hoo...@garmin.com -Original Message- From: spacewalk-devel-boun...@redhat.com [mailto: spacewalk-devel-boun...@redhat.com] On Behalf Of Andy Speagle Sent: Tuesday, May 04, 2010 10:36 AM To: spacewalk-devel@redhat.com Subject: Re: [Spacewalk-devel] Moving postgres support forward El mar, 04-05-2010 a las 04:27 -0500, dun...@innes.net escribió: I'd echo this sentiment. Having worked on a number of large corporate Satellite installations, I can't think of a single client who wouldn't jump at the chance of ditching the extra Oracle licenses involved. Indeed... but many larger organizations won't even blink at this license. Maintaining support for an Oracle back end may be a requirement, but from my own experience, moving to PostgreSQL as the primary development effort would not raise any eyebrows in corporate-land. It would also help broaden the appeal of Spacewalk amongst the open source development community as coders for other distros will likely (IMO) view the Oracle dependency as a blocker to them investing their time. Opening the path for other distros to develop Spacewalk as their management tool can only be a good thing I reckon. I will be quite happy to see the database options expand, but I assert that many organizations standardize their database environments and build a wealth of support infrastructure around them. Having to implement a new database architecture to support Spacewalk/Satellite could be quite unpalatable. Unless I'm mistaken, reducing administrative overhead is one goal of the spacewalk/satellite projects. The addition of another database architecture to support would be counter-productive for some organizations. While I agree that opening doors for smaller organizations to use the products on PostgreSQL is desirable, I would not like to see this happen as the expense of the existing user base. -- Andy Speagle Systems Storage Administrator UCATS - Wichita State University O: 316.978.3869 C: 316.617.2431 This e-mail and any attachments may contain confidential material for the sole use of the intended recipient. If you are not the intended recipient, please be aware that any disclosure, copying, distribution or use of this e-mail or any attachment is prohibited. If you have received this e-mail in error, please contact the sender and delete all copies. Thank you for your cooperation. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Moving postgres support forward
Was the original Postgres plan to keep both the Oracle Schema and the postgres schema requiring any new changes to the schema to be done in both places? That would seem to be a testing/dev nightmare. On Tue, May 4, 2010 at 4:27 PM, Tom Lane t...@redhat.com wrote: Kevin Fox kevin@pnl.gov writes: On Tue, 2010-05-04 at 12:26 -0700, Tom Lane wrote: Indeed. I don't *want* to see a fork, I'm just pointing out that that might happen if nothing gets done. At the rate things are going, I doubt it. Space walk developers are willing to accept postgres support patches, and those aren't forthcoming so I don't think a fork is likely. No, you miss my point. What is currently acceptable, AIUI, is patches that fit with the design goal of supporting Oracle and Postgres in parallel. And even then, we're being asked to solve extremely hard problems like how to keep two different schema declarations in sync (with, it's implied, no ongoing developer time invested in managing that). My point is that jettisoning Oracle support and cutting over to Postgres-only would be orders of magnitude easier to do than what this design approach requires. And if some people want to do that and the current project won't do it, a fork is the likely result. The lack of any work towards an unattainable goal doesn't prove that people wouldn't work on an attainable one. regards, tom lane PS: again, speaking for myself. I have no control over what the spacewalk project decides to do. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Moving postgres support forward
It would be nice if we could get to the point where you could just choose the DB of your choice in s fashion like the Atlassian products, however, I know they don't have boat loads of PL/SQL procedures. On Tue, May 4, 2010 at 6:43 PM, Colin Coe colin@gmail.com wrote: My point was that many organisations have Oracle anyway. Its paid for and they have the DBA's to support it. Spinning up an RHN instance on an existing Oracle DB doesn't cost anymore. The penny pinching with Oracle and RHN Satellite/Spacewalk only makes sense (to me) if there isn't the existing Oracle infrastructure. CC On Wed, May 5, 2010 at 6:18 AM, Tom Lane t...@redhat.com wrote: Travis Camechis camec...@gmail.com writes: Was the original Postgres plan to keep both the Oracle Schema and the postgres schema requiring any new changes to the schema to be done in both places? That would seem to be a testing/dev nightmare. Yup. There was a fair amount of work on a schema generation tool (chameleon) that would let both schemas be generated from a common source, but I'm not sure that ever got to the 100% stage. In any case it was ignoring the elephant in the room, namely the thousands of lines of PL/SQL code that could not by any stretch of the imagination be handled that way. There was also a good deal of work (some of it done by me) on doing a manual translation of that code to plpgsql, and as of sometime last year we had a complete though largely untested translation. But I never heard a credible proposal for keeping those two code bases in sync, and I'm sure by now the plpgsql version has bitrotted from failure to track subsequent changes in the PL/SQL code. regards, tom lane ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] spacewalk build info
the main thing I am trying to figure out is the procedure to build individual rpms if need be for development. ( for instance the spacewalk-postgresql.rpm ) On Mon, Apr 26, 2010 at 3:45 AM, Jan Pazdziora jpazdzi...@redhat.comwrote: On Sun, Apr 25, 2010 at 03:40:37PM -0400, Travis Camechis wrote: Is there documentation anywhere on the wiki that describes the spacwalk repository structure and how to build the different components i.e building the individual rpms as well as building all the rpms at once(main build)? I haven't seen any docs on this not sure if I am missing them or not. The closest to what you are looking for is https://fedorahosted.org/spacewalk/wiki/ReleaseProcess To build the whole set, we usually use rel-eng/build-missing-builds-in-koji.sh which checks what packages are tagged in git repo but not tagged/built in the koji repo. Hope this helps, -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Postgresql DB
Yeah, that info does look out of date. If I get time I will try and get my env back up and running. On Thu, Apr 22, 2010 at 4:43 AM, James Hogarth james.hoga...@gmail.comwrote: On 22 April 2010 01:29, Travis Camechis camec...@gmail.com wrote: What is the status for the Postgresql DB migration these days? Is it still being worked? What kind of help may be needed? Travis Camechis Software Engineer ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel Last I recall it had stalled due to a lack of devs and/or priorities Looking at my task list I think I'll be able to find time in the coming weeks to set up a test environment. But I'm a sysadmin not a dev so my code might be somewhat questionable trying to get it to work ^^ If I get the time I'll report on this list how far I get through etc Have a feeling the postgresql status on the wiki is well out of date ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] Postgresql DB
What is the status for the Postgresql DB migration these days? Is it still being worked? What kind of help may be needed? Travis Camechis Software Engineer ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Fedora dev workstation
hmm, I am having no problems building the java side on the Fedora 12 x86_64. The error basically means your missing some stuff in your classpath at build time. You could try and running ant clean-cache which will clean out your ivy repo. I removed the stuff out of java/lib as well so it could all get sucked in again. On Mon, Mar 1, 2010 at 4:58 AM, Tomas Lestach tlest...@redhat.com wrote: Hey Colin, I'm running WebDevSetup on x86_64 F12 (still with tomcat5, but I plan to upgrade soon). I remember, it wasn't that easy to setup. :-) Your jaxp_parser_impl issue: $ locate jaxp_parser_impl /etc/alternatives/jaxp_parser_impl /usr/share/java/jaxp_parser_impl.jar /var/lib/alternatives/jaxp_parser_impl /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar $ rpm -qf /usr/share/java/jaxp_parser_impl.jar xerces-j2-2.7.1-12.3.fc12.1.x86_64 $ ll /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar lrwxrwxrwx. 1 root root 36 2009-11-20 02:34 /var/lib/tomcat5/common/endorsed/[jaxp_parser_impl].jar - /usr/share/java/jaxp_parser_impl.jar $ alternatives --display jaxp_parser_impl jaxp_parser_impl - status is auto. link currently points to /usr/share/java/xerces-j2.jar /usr/share/java/libgcj-4.3.2.jar - priority 20 /usr/share/java/libgcj-4.4.1.jar - priority 20 /usr/share/java/libgcj-4.4.0.jar - priority 20 /usr/share/java/xerces-j2.jar - priority 40 /usr/share/java/libgcj-4.4.2.jar - priority 20 /usr/share/java/libgcj-4.4.3.jar - priority 20 Current `best' version is /usr/share/java/xerces-j2.jar. I'm using : $ java -version java version 1.6.0_0 OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-x86_64) OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode) Regarding xml-common-apis: # rpm -qa 'xml-commons-apis*' xml-commons-apis-1.3.04-3.5.fc12.x86_64 xml-commons-apis12-1.2.04-3.5.fc12.x86_64 Feel free to ping me on #satellite/#satellite-devel or contact me off list, if you'd need some info about my setup. Regards, Tomas -- Tomas Lestach RHN Satellite Engineering, Red Hat - Colin Coe colin@gmail.com wrote: [c...@rsim ~]$ locate java/lib/xerces /home/coec/git/spacewalk/java/lib/xerces-j2-2.6.2.jar [c...@rsim ~]$ java -version java version 1.6.0_0 OpenJDK Runtime Environment (IcedTea6 1.6) (fedora-33.b16.fc12-i386) OpenJDK Client VM (build 14.0-b16, mixed mode) [c...@rsim ~]$ CC On Mon, Mar 1, 2010 at 11:18 AM, Travis Camechis camec...@gmail.com wrote: Also do you have the xerces-j2-2.6.2.jar under the java/lib directory ? On Sun, Feb 28, 2010 at 10:11 PM, Travis Camechis camec...@gmail.com wrote: what version of java are you using? java -version On Sun, Feb 28, 2010 at 9:55 PM, Colin Coe colin@gmail.com wrote: This is very frustrating. --- [c...@rsim java]$ ant clean all /usr/bin/build-classpath: error: Could not find jaxp_parser_impl Java extension for this JVM /usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Buildfile: build.xml clean: [delete] Deleting directory /home/coec/git/spacewalk/java/build boot-deps: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/boot-lib init-ivy: resolve-ivy: :: Ivy non official version :: http://ivy.jayasoft.org/ :: no configuration file found, using default... :: configuring :: url = jar:file:/home/coec/git/spacewalk/java/build/boot-lib/ivy.jar!/fr/jayasoft/ivy/conf/ivyconf.xml :: resolving dependencies :: [ redhat | rhn-java | work...@rsim.coesta.com ] confs: [default] :: resolution report :: - | |modules|| artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| - | default | 71 | 0 | 0 | 0 || 71 | 0 | - :: retrieving :: [ redhat | rhn-java ] confs: [default] 0 artifacts copied, 71 already retrieved resolve-local: resolve: test-deps: link-jars: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/build-lib [mkdir] Created dir: /home/coec/git/spacewalk/java/build/run-lib [mkdir] Created dir: /home/coec/git/spacewalk/java/build/run-lib/external [mkdir] Created dir: /home/coec/git/spacewalk/java/build/test-lib [exec] WARNING: ant was not found. [exec] WARNING: ant-junit was not found. [exec] WARNING: velocity was not found. [exec] WARNING: jmap was not found. [exec] WARNING: velocity was not found. [copy] Copying 2 files to /home/coec
Re: [Spacewalk-devel] Fedora dev workstation
The most I have done is checked out the code and built the java side. I run my dev server on a separate machine and use scripts to push the new wars to it. On Sun, Feb 28, 2010 at 12:28 AM, Colin Coe colin@gmail.com wrote: Hi all I've been following https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup but I can't seem to get a working dev environment in Fedora 12. Has anyone got this going? CC -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Fedora dev workstation
( more specific on my server) my server is a VM that I use cobbler and koan to rebuild it as necessary. On Sun, Feb 28, 2010 at 9:47 AM, Travis Camechis camec...@gmail.com wrote: The most I have done is checked out the code and built the java side. I run my dev server on a separate machine and use scripts to push the new wars to it. On Sun, Feb 28, 2010 at 12:28 AM, Colin Coe colin@gmail.com wrote: Hi all I've been following https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup but I can't seem to get a working dev environment in Fedora 12. Has anyone got this going? CC -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Fedora dev workstation
As far as I know fedora is a supported Dev platform as well as CentOS. On Sun, Feb 28, 2010 at 8:57 PM, Colin Coe colin@gmail.com wrote: Well, since my primary PC died, I no longer have a PC that has the resources to do virtualisation. All I have is the old PC I used to use for spacewalk dev work. So, is Fedora a 'supported' dev platform or not? If not, I assume CentOS should be OK? CC On Sun, Feb 28, 2010 at 10:49 PM, Travis Camechis camec...@gmail.com wrote: ( more specific on my server) my server is a VM that I use cobbler and koan to rebuild it as necessary. On Sun, Feb 28, 2010 at 9:47 AM, Travis Camechis camec...@gmail.com wrote: The most I have done is checked out the code and built the java side. I run my dev server on a separate machine and use scripts to push the new wars to it. On Sun, Feb 28, 2010 at 12:28 AM, Colin Coe colin@gmail.com wrote: Hi all I've been following https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup but I can't seem to get a working dev environment in Fedora 12. Has anyone got this going? CC -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Fedora dev workstation
XMLSerializer(writer, of); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:66: cannot find symbol [javac] symbol : class XMLSerializer [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdWriter [javac] XMLSerializer serializer = new XMLSerializer(writer, of); [javac]^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:58: cannot find symbol [javac] symbol : class OutputFormat [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter [javac] OutputFormat of = new OutputFormat(); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:58: cannot find symbol [javac] symbol : class OutputFormat [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter [javac] OutputFormat of = new OutputFormat(); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:60: cannot find symbol [javac] symbol : class XMLSerializer [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter [javac] XMLSerializer serializer = new XMLSerializer(writerIn, of); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:60: cannot find symbol [javac] symbol : class XMLSerializer [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdIndexWriter [javac] XMLSerializer serializer = new XMLSerializer(writerIn, of); [javac]^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 12 errors BUILD FAILED /home/coec/git/spacewalk/java/build.xml:460: Compile failed; see the compiler error output for details. Total time: 27 seconds --- On Mon, Mar 1, 2010 at 10:40 AM, Travis Camechis camec...@gmail.com wrote: As far as I know fedora is a supported Dev platform as well as CentOS. On Sun, Feb 28, 2010 at 8:57 PM, Colin Coe colin@gmail.com wrote: Well, since my primary PC died, I no longer have a PC that has the resources to do virtualisation. All I have is the old PC I used to use for spacewalk dev work. So, is Fedora a 'supported' dev platform or not? If not, I assume CentOS should be OK? CC On Sun, Feb 28, 2010 at 10:49 PM, Travis Camechis camec...@gmail.com wrote: ( more specific on my server) my server is a VM that I use cobbler and koan to rebuild it as necessary. On Sun, Feb 28, 2010 at 9:47 AM, Travis Camechis camec...@gmail.com wrote: The most I have done is checked out the code and built the java side. I run my dev server on a separate machine and use scripts to push the new wars to it. On Sun, Feb 28, 2010 at 12:28 AM, Colin Coe colin@gmail.com wrote: Hi all I've been following https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup but I can't seem to get a working dev environment in Fedora 12. Has anyone got this going? CC -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel -- RHCE#805007969328369 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Fedora dev workstation
Also do you have the xerces-j2-2.6.2.jar under the java/lib directory ? On Sun, Feb 28, 2010 at 10:11 PM, Travis Camechis camec...@gmail.comwrote: what version of java are you using? java -version On Sun, Feb 28, 2010 at 9:55 PM, Colin Coe colin@gmail.com wrote: This is very frustrating. --- [c...@rsim java]$ ant clean all /usr/bin/build-classpath: error: Could not find jaxp_parser_impl Java extension for this JVM /usr/bin/build-classpath: error: Could not find xml-commons-apis Java extension for this JVM /usr/bin/build-classpath: error: Some specified jars were not found Buildfile: build.xml clean: [delete] Deleting directory /home/coec/git/spacewalk/java/build boot-deps: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/boot-lib init-ivy: resolve-ivy: :: Ivy non official version :: http://ivy.jayasoft.org/ :: no configuration file found, using default... :: configuring :: url = jar:file:/home/coec/git/spacewalk/java/build/boot-lib/ivy.jar!/fr/jayasoft/ivy/conf/ivyconf.xml :: resolving dependencies :: [ redhat | rhn-java | work...@rsim.coesta.com ] confs: [default] :: resolution report :: - | |modules|| artifacts | | conf | number| search|dwnlded|evicted|| number|dwnlded| - | default | 71 | 0 | 0 | 0 || 71 | 0 | - :: retrieving :: [ redhat | rhn-java ] confs: [default] 0 artifacts copied, 71 already retrieved resolve-local: resolve: test-deps: link-jars: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/build-lib [mkdir] Created dir: /home/coec/git/spacewalk/java/build/run-lib [mkdir] Created dir: /home/coec/git/spacewalk/java/build/run-lib/external [mkdir] Created dir: /home/coec/git/spacewalk/java/build/test-lib [exec] WARNING: ant was not found. [exec] WARNING: ant-junit was not found. [exec] WARNING: velocity was not found. [exec] WARNING: jmap was not found. [exec] WARNING: velocity was not found. [copy] Copying 2 files to /home/coec/git/spacewalk/java/build/build-lib [copy] Copying 2 files to /home/coec/git/spacewalk/java/build/run-lib/external compile-internal: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/classes [javac] Compiling 15 source files to /home/coec/git/spacewalk/java/build/classes [javac] Note: /home/coec/git/spacewalk/java/code/internal/src/com/redhat/rhn/internal/junit/RhnCustomFormatter.java uses unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. init-taskdefs: set-default-config-dir: init: prepare: [mkdir] Created dir: /home/coec/git/spacewalk/java/build/src do-compile-main: [javac] Compiling 2496 source files to /home/coec/git/spacewalk/java/build/classes [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:26: package org.apache.xml.serialize does not exis t [javac] import org.apache.xml.serialize.OutputFormat; [javac]^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:27: package org.apache.xml.serialize does not exis t [javac] import org.apache.xml.serialize.XMLSerializer; [javac]^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:17: package org.apache.xml.serialize does not exist [javac] import org.apache.xml.serialize.OutputFormat; [javac]^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdIndexWriter.java:18: package org.apache.xml.serialize does not exist [javac] import org.apache.xml.serialize.XMLSerializer; [javac]^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:63: cannot find symbol [javac] symbol : class OutputFormat [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdWriter [javac] OutputFormat of = new OutputFormat(); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:63: cannot find symbol [javac] symbol : class OutputFormat [javac] location: class com.redhat.rhn.taskomatic.task.repomd.RepomdWriter [javac] OutputFormat of = new OutputFormat(); [javac] ^ [javac] /home/coec/git/spacewalk/java/code/src/com/redhat/rhn/taskomatic/task/repomd/RepomdWriter.java:66: cannot find symbol [javac] symbol
[Spacewalk-devel] Answer file documentation added to the wiki
I have added a little section to the wiki about using an answer file to configure spacewalk. Travis Camechis Software Engineer ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] Spacewalk Answer file
Is there any documentation on the wiki about the possible values for a spacewalk answer file? I haven't seen any and if there is can some one point me to it and if not it might not be bad idea to put up on the wiki somewhere. Travis ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] Spacewalk 0.5
Great Work on the new release guys! Travis Camechis ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] making log statment debug as it was intended to be
That is interesting. Seems like a silly thing to do just for a debug statement. On Wed, Mar 18, 2009 at 12:05 PM, Devan Goodwin dgood...@redhat.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Mar 2009 11:57:00 -0400 Justin Sherrill jsher...@redhat.com wrote: Might be a nice thing to do after the next fork for Sat. Having to use log.isDebugEnabled() is ugly IMO and it'd be nice not to have to do it where we don't have to. I hate doing this too. I was gonna take issue with it as it's ugly and seemed pretty silly until I googled and saw that it is best practice if the statement is doing string contact. 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) iEYEARECAAYFAknBG7sACgkQAyHWaPV9my7NmwCg4KNXj7yWOtiKunCAywIgYPkX yqwAn0fG+PANkMCW/fBj6AwqynQRKayq =ebH1 -END PGP SIGNATURE- ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Change needed to Oracle Instructions
It may have just been something stupid I did on my box. I was having issues finding a library. Although, think I may have actually had a typo now that I look back. On Sun, Mar 1, 2009 at 8:23 AM, Jan Pazdziora jpazdzi...@redhat.com wrote: On Sat, Feb 28, 2009 at 02:25:55PM -0500, Travis Camechis wrote: I believe the instructions for setting up the oracle user env need to be moved. Currently it exists under the alternate web setup but I believe this needs to be done before you create the spacewalk user ( SQL method ). I I've tried the approach without having anything in ~oracle/.bash_profile, connecting to the Oracle XE server via sqlplus 'sys/password@//localhost:1521/xe as sysdba' and it seemed to work just fine. What issues do you hit with this approach? -- Jan Pazdziora | adelton at #satellite*, #brno Satellite Engineering, Red Hat ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] bugzilla
Is there a way for me to get emails when bugs are entered/updated? I haven't used bugzilla before and Im not sure if that is even possible without being a core developer. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Informal Devel Environment Survey
Sounds like a good idea. I think another useful think would to have people describe how they setup there environment. It would be good to see how people streamline there development and testing. One thing Im wondering is how people do a lot of there testing. It looks like testing a lot of the features could involve rebuilding VMS a lot and running the test ( not for sure since I haven't actually used the product yet ). Currently I set up my Development box on a CentOs workstation. I setup a NFS mount so I could mount my checkout on my F10 laptop. I also plan on installing a couple VMS on the Centos machine to act as test clients. I currently have one installed so far. On Fri, Jan 23, 2009 at 8:06 PM, Jesus M. Rodriguez jmro...@gmail.comwrote: On Fri, Jan 23, 2009 at 12:27 PM, Michael DeHaan mdeh...@redhat.com wrote: Jesus M. Rodriguez wrote: On Thu, Jan 22, 2009 at 3:03 PM, Coe, Colin C. (Unix Engineer) colin@woodside.com.au wrote: I've found that doing the steps under 'Deploying Development Schema' doesn't work (for me anyway) and ends up needing to redo the dev environment. Also, I'd like to see https://fedorahosted.org/spacewalk/wiki/JavaDesign fleshed out a lot more. Anything in particular? I'd be happy to update it. jesus ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel Could the dev-environment be more appliancey? How about a shell-script/recipe to automate environment setup, or publishing a kickstart for installation of a dev-environment in a virtual machine (with just the virt-install command and kickstart, you should be good to go)? One problem is grabbing the Oracle bits, for now, so that may have to be a one-off, but everything else, perhaps... The appliance idea is a decent one, and worth adding to the list of dev setups. I personally use a virt guest to do my development in. I wouldn't want the appliance to be the only way of dev setup. A great idea though. jesus ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Informal Devel Environment Survey
One thing I think would be helpful is a page on the build system and building all the pieces. I am not new to ant but I am new to actually building RPMS so I thought that might be helpful. On Thu, Jan 22, 2009 at 1:08 PM, Devan Goodwin dgood...@redhat.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noticing a lot of newcomers really struggling with our devel setup lately and got to wondering how many others out there aren't actually even using it. Anyone feel like sharing what, if anything, they're doing differently from the standard devel environment setup defined here (and why): https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup I have a gut feeling we should recommend something drastically different to lower the barrier to entry. Thanks, 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) iEYEARECAAYFAkl4tg4ACgkQAyHWaPV9my4fagCgxk0kpwBihkzTyqi3gHtT7nnT gfgAn1ZXXS83qkq1nGQB+qrjTbEBim9M =ZRP5 -END PGP SIGNATURE- ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] Informal Devel Environment Survey
I also had issues with deploying development schema. On Thu, Jan 22, 2009 at 3:03 PM, Coe, Colin C. (Unix Engineer) colin@woodside.com.au wrote: I've found that doing the steps under 'Deploying Development Schema' doesn't work (for me anyway) and ends up needing to redo the dev environment. Also, I'd like to see https://fedorahosted.org/spacewalk/wiki/JavaDesignfleshed out a lot more. CC From: spacewalk-devel-boun...@redhat.com [ spacewalk-devel-boun...@redhat.com] On Behalf Of Devan Goodwin [ dgood...@redhat.com] Sent: Friday, 23 January 2009 3:08 AM To: spacewalk-devel@redhat.com Subject: [Spacewalk-devel] Informal Devel Environment Survey -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Noticing a lot of newcomers really struggling with our devel setup lately and got to wondering how many others out there aren't actually even using it. Anyone feel like sharing what, if anything, they're doing differently from the standard devel environment setup defined here (and why): https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup I have a gut feeling we should recommend something drastically different to lower the barrier to entry. Thanks, 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) iEYEARECAAYFAkl4tg4ACgkQAyHWaPV9my4fagCgxk0kpwBihkzTyqi3gHtT7nnT gfgAn1ZXXS83qkq1nGQB+qrjTbEBim9M =ZRP5 -END PGP SIGNATURE- ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
Re: [Spacewalk-devel] schema update issue
Thanks, I will continue with the setup and see what happens. On Sun, Jan 18, 2009 at 12:12 PM, Justin Sherrill jsher...@redhat.comwrote: Travis Camechis wrote: I am trying to deploy the development schema as documented under the wiki I am running this command make satellite-clean satellite-release TBS=USERS SQLUSER=spacewalk/spacew...@xe It goes for awhile setting up the DB and then dies with this error. Does anyone have any suggestions ? SQL_FILE - rhnsat/tables/rhnVersionInfo_data.sql S - 0 rows deleted. 1 row created. Commit complete. SQL_FILE --- rhnsat/quit.sql Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jan 17 21:46:28 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jan 17 21:46:29 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: SP2-0306: Invalid option. Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] where logon ::= username[/password][@connect_identifier] | / SP2-0306: Invalid option. Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] where logon ::= username[/password][@connect_identifier] | / SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus make[1]: *** [universe.satellite-synonyms.lst] Error 255 make[1]: Leaving directory `/mnt/projects/spacewalk/schema/spacewalk' make: *** [test-make-release] Error 2 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel Hi Travis, It actually looks like that completed sucessfully. As long as it gets to : rhnsat/quit.sql The schema has deployed just fine. I'm not sure why that error gets printed, but from my experience you should be ok. Just keep following the directions found here: https://fedorahosted.org/spacewalk/wiki/DevelopmentWorkstationSetup and you should be good to go. Any other devs know why that error gets thrown ? -Justin ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] error after completing development workstation setup
After completing the development workstation setup, I attempted to hit the spacewalk page but received an error on the page. After looking at the logs it appeared to be a null pointer exception on line 90 of CertificateManager.java. I attempted to redo the spacewalk-setup --disconnected, thinking that it may need to recreate the cert. At the end of the spacewalk-setup I received another error in that the directory /var/www/html/pub did not exist. It did exist during the regular install but since the dev env symlinked to the html dir in my git checkout which did not have the pub dir. I went ahead and added the pub and ran the spacewalk-setup again. This time it completed successfully and spacewalk appeared to work. Was this the right thing to do or was there a better/correct way to fix this ? Travis Camechis Software Engineer ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel
[Spacewalk-devel] schema update issue
I am trying to deploy the development schema as documented under the wiki I am running this command make satellite-clean satellite-release TBS=USERS SQLUSER=spacewalk/spacew...@xe It goes for awhile setting up the DB and then dies with this error. Does anyone have any suggestions ? SQL_FILE - rhnsat/tables/rhnVersionInfo_data.sql S - 0 rows deleted. 1 row created. Commit complete. SQL_FILE --- rhnsat/quit.sql Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jan 17 21:46:28 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: SQL*Plus: Release 10.2.0.4.0 - Production on Sat Jan 17 21:46:29 2009 Copyright (c) 1982, 2007, Oracle. All Rights Reserved. ERROR: ORA-12154: TNS:could not resolve the connect identifier specified Enter user-name: SP2-0306: Invalid option. Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] where logon ::= username[/password][@connect_identifier] | / SP2-0306: Invalid option. Usage: CONN[ECT] [logon] [AS {SYSDBA|SYSOPER}] where logon ::= username[/password][@connect_identifier] | / SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus make[1]: *** [universe.satellite-synonyms.lst] Error 255 make[1]: Leaving directory `/mnt/projects/spacewalk/schema/spacewalk' make: *** [test-make-release] Error 2 ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo/spacewalk-devel