Re: [Spacewalk-devel] [PATCH] Query not elaborated?

2012-08-13 Thread Justin Sherrill
On 08/13/2012 04:37 AM, Johannes Renner wrote: On 08/06/2012 05:59 PM, Tomas Lestach wrote: Hello Johannes, On Friday 03 of August 2012 12:44:11 Johannes Renner wrote: Hi, We found out that commit 16f30f97d657ab7019489dfac5a11f67afc2143e apparently broke the Errata page for custom channels:

Re: [Spacewalk-devel] [PATCH] SUSE/AutoYaST Support

2011-03-10 Thread Justin Sherrill
to the spacewalk server. I'm not sure what the solution here is though Ideally you would be able to use a cobbler variable such as $http_server, so you could add --install=http://$http_server/ks/dist/LABEL to the kernel options, but cobbler does not seem to render the kernel opts as

Re: [Spacewalk-devel] Java for web GUI

2011-02-08 Thread Justin Sherrill
On 2/8/11 7:59 AM, Miroslav Suchý wrote: On 02/08/2011 12:07 PM, derleader mail wrote: Hi, I'm interested why do you decided to use Java as building block for Web GUI. That is deep history. I will just guess... Probably because "Java" was buzzword in that time and everything in Java was sexy

[Spacewalk-devel] Need to delete local tags (PLEASE READ)

2010-11-02 Thread Justin Sherrill
Any developers with commit access please run the following two commands: git tag -d list git tag -d show a couple of tags were accidentally made and we're trying to clean them up. Thanks! -Justin ___ Spacewalk-devel mailing list Spacewalk-devel@red

Re: [Spacewalk-devel] cobbler/koan versioning issue in EPEL and broken fresh spacewalk installations

2010-08-27 Thread Justin Sherrill
bbler 2.0.3 that would be very helpful (or if it's already been posted somewhere, point me to it). Thanks! -Justin Sherrill James ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/ma

Re: [Spacewalk-devel] Current git state

2010-08-27 Thread Justin Sherrill
On 8/27/10 2:24 AM, Colin Coe wrote: Hi all Is it just me or is the current state of the spacewalk git tree borken? 'ant all' builds okay and tomcat5 restarts OK but 'https://127.0.0.1/rhn/Login.do' gives a 404. Also 'INFO: Server startup in 1668 ms' but tomcat usually takes at least 25 secon

Re: [Spacewalk-devel] cobbler/koan versioning issue in EPEL and broken fresh spacewalk installations

2010-08-27 Thread Justin Sherrill
On 8/26/10 9:49 AM, James Hogarth wrote: On 24 August 2010 20:16, James Hogarth wrote: Hi all, Twice in as many weeks there has been someone on the users list with a cobbler issue causing problems with their updated/fresh spacewalk instances. The install instructions on the wiki say to use t

Re: [Spacewalk-devel] No Users tab

2010-08-04 Thread Justin Sherrill
On 8/2/10 7:05 PM, Colin Coe wrote: Hey Colin, So essentially this was more related to rhn.redhat.com (the hosted service). In order to be able to create other users, it was required to have at least one management entitlement. And thus, each org currently requires at least one management ent

Re: [Spacewalk-devel] No Users tab

2010-08-02 Thread Justin Sherrill
On 8/2/10 3:24 AM, Colin Coe wrote: Well, been poking it with a stick it see if it moves... --- diff --git a/java/code/src/com/redhat/rhn/common/db/datasource/xml/General_queries.xml b/java/code/src/com/redhat/rhn/common/db/datasource/xml/General_queries.xml index 1c0e43a..7167ede 100644 --- a/j

Re: [Spacewalk-devel] SQL errors

2010-07-26 Thread Justin Sherrill
On 7/26/10 9:23 AM, Colin Coe wrote: On Mon, Jul 26, 2010 at 3:30 PM, Michael Mraka wrote: Colin Coe wrote: % Hmmm, when I say 'works', I mean that when browsing to % http://spacewalk.example.com/ a login screen is displayed. In 'dev % mode', it does not. % % CC % % On 7/26/10, Colin Coe

[Spacewalk-devel] java db connection changes

2010-07-22 Thread Justin Sherrill
So in order to use Michael's new connection code, you'll need to add a variable to rhn.conf: hibernate.connection.driver_proto=jdbc:log:oracle.jdbc.driver.OracleDriver:oracle:thin Michael originally wrote it to only use the oci driver, but i've added support for the thin as well, since i'm

Re: [Spacewalk-devel] spacewalk-java on Fedora 13

2010-07-21 Thread Justin Sherrill
ine 84 in '/home/coec/git/spacewalk/java/buildconf/build-props.xml' it does look related to this change, apologies if my problem is between the chair and keyboard or just local to my setup. Could you advise? Thanks CC On Wed, Jul 21, 2010 at 6:28 AM, Justin Sherrill wrote: Hey Mil

Re: [Spacewalk-devel] spacewalk-java on Fedora 13

2010-07-21 Thread Justin Sherrill
ine 84 in '/home/coec/git/spacewalk/java/buildconf/build-props.xml' it does look related to this change, apologies if my problem is between the chair and keyboard or just local to my setup. Could you advise? Thanks CC On Wed, Jul 21, 2010 at 6:28 AM, Justin Sherrill wrote: Hey Mil

Re: [Spacewalk-devel] PostgreSQL status

2010-07-21 Thread Justin Sherrill
On 7/21/10 8:22 AM, Jan Pazdziora wrote: On Tue, Jul 20, 2010 at 06:25:06PM -0400, Justin Sherrill wrote: I've finished those changes and have built packages. If you could give them a try, that'd be awesome :} The newest spacewalk-java within koji are the ones you want. I be

[Spacewalk-devel] spacewalk-java on Fedora 13

2010-07-20 Thread Justin Sherrill
Hey Milan, I've made the changes that I think should get spacewalk-java and tomcat6 working on Fedora 13. Fedora 13 had a newer version of cglib which required objectweb-asm (instead of the older asm we were using before). It took me a while to figure out the java build scripts, but It sho

Re: [Spacewalk-devel] PostgreSQL status

2010-07-20 Thread Justin Sherrill
On 7/19/10 10:56 AM, Jan Pazdziora wrote: On Fri, Jul 09, 2010 at 06:15:22PM -0400, Justin Sherrill wrote: - You need to patch spacewalk-java to remove reference to blob columns to start tomcat6 -- link to 1.1.21 packages with this patch is provided. - Better solution is

Re: [Spacewalk-devel] Migrating systems

2010-07-20 Thread Justin Sherrill
On 7/19/10 8:50 PM, Colin Coe wrote: Hi all I'm nearly finished a patch that adds a 'Migrate' tab to 'https://172.22.102.223/rhn/systems/details/Overview.do?sid=110001' The problem I'm having is that when click on the 'Migrate System' submit button (see sw2.png) I get an ISE and a large tra

Re: [Spacewalk-devel] PostgreSQL status

2010-07-09 Thread Justin Sherrill
On 7/9/10 10:40 AM, Jan Pazdziora wrote: Hello, in the past couple of weeks, I've been looking at the status of PostgreSQL database backend for Spacewalk, trying to get it install and at least start. I've summarized my findings at https://fedorahosted.org/spacewalk/wiki/PostgreSQL and

Re: [Spacewalk-devel] Primary is a reserved work -- used as column name in rhnPackageRepodata

2010-06-20 Thread Justin Sherrill
On 6/18/10 10:52 AM, Jan Pazdziora wrote: Hello Justin, in the rhnPackageRepodata table definition, we have a column named primary. The word primary is reserved in SQL-92. Could you please rename that column to something which would not be a reserved word? It will save us some hacking and pain i

Re: [Spacewalk-devel] BZ: 600323

2010-06-09 Thread Justin Sherrill
On 6/9/10 10:25 PM, Justin Sherrill wrote: On 6/9/10 4:25 PM, Chuck Renshaw wrote: Regarding "*Bug 600323* <https://bugzilla.redhat.com/show_bug.cgi?id=600323> - rhnpush, KeyError: 'checksums'": Just curious, is th

Re: [Spacewalk-devel] BZ: 600323

2010-06-09 Thread Justin Sherrill
On 6/9/10 4:25 PM, Chuck Renshaw wrote: Regarding "*Bug 600323* - rhnpush, KeyError: 'checksums'": Just curious, is there any quick-fix for this? ___ Spacewalk-devel mailing list Spacewalk-devel@

Re: [Spacewalk-devel] Satellite-sync "Linking packages" now takes hours

2010-05-17 Thread Justin Sherrill
On 5/17/10 3:11 PM, Justin Sherrill wrote: > On 5/14/10 6:32 PM, Justin Sherrill wrote: >> On 5/14/10 11:48 AM, Justin Sherrill wrote: >>> On 5/14/10 8:43 AM, Michael Mraka wrote: >>>> Justin Sherrill wrote: >>>> % So with a recent build of spac

Re: [Spacewalk-devel] Satellite-sync "Linking packages" now takes hours

2010-05-17 Thread Justin Sherrill
On 5/14/10 6:32 PM, Justin Sherrill wrote: > On 5/14/10 11:48 AM, Justin Sherrill wrote: >> On 5/14/10 8:43 AM, Michael Mraka wrote: >>> Justin Sherrill wrote: >>> % So with a recent build of spacewalk-backend from master, i'm not able to >>> % sync chan

Re: [Spacewalk-devel] Satellite-sync "Linking packages" now takes hours

2010-05-14 Thread Justin Sherrill
On 5/14/10 11:48 AM, Justin Sherrill wrote: > On 5/14/10 8:43 AM, Michael Mraka wrote: >> Justin Sherrill wrote: >> % So with a recent build of spacewalk-backend from master, i'm not able to >> % sync channels with a large number of packages (i.e. rhel-i386-server-5) >

Re: [Spacewalk-devel] Satellite-sync "Linking packages" now takes hours

2010-05-14 Thread Justin Sherrill
On 5/14/10 8:43 AM, Michael Mraka wrote: > Justin Sherrill wrote: > % So with a recent build of spacewalk-backend from master, i'm not able to > % sync channels with a large number of packages (i.e. rhel-i386-server-5) > % > % It does everything at a normal speed with the e

[Spacewalk-devel] Satellite-sync "Linking packages" now takes hours

2010-05-13 Thread Justin Sherrill
, line 356, in get return cPickle.loads(pickled) Some packages seem to load fairly quick (i.e. >1 sec), other take a few secionds, but some seem to take an extremely long time, (but I think at that point it was because my machine was swap

[Spacewalk-devel] Remove jabberd from our repos?

2010-04-29 Thread Justin Sherrill
(which is what our rpm does). when he upgraded to 1.0, the perms got set to 0640 which cause jabberd to fail. So it seems we just need to remove those packages from our repo (and compose?). Thoughts? -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. Software Engineer

Re: [Spacewalk-devel] Patch: add arch to channel.list*Channels

2010-04-07 Thread Justin Sherrill
I would either add joins to rhnChannelArch to get the label in each of the queries or write a elaborator that just gets the channel arch and make each of those queries use the elaborator. Thanks, -Justin -- Justin Sherrill, RHCA 1801 Varsity Dr

[Spacewalk-devel] removing tito from spacewalk git

2010-03-26 Thread Justin Sherrill
Hi, Is there any reason why we shouldn't remove tito from spacewalk git? It's maintained as an upstream project and can be installed via the fedora repos or epel. If no objects i'm gonna remove him! -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. So

[Spacewalk-devel] Any reason to not add a FK constraint to rhnReleaseChannelMap

2010-03-02 Thread Justin Sherrill
llite sync (when you sync the channel). -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleigh, NC 27603 Red Hat, Inc. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.c

[Spacewalk-devel] Jabber password after upgrade

2010-02-09 Thread Justin Sherrill
o osa-dispatcher and push doesn't work until /var/lib/jabber is cleared. Is there any reason not to run it during the upgrade process? The config in question is osa-dispatcher.jabber_password in /etc/rhn/rhn.conf -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. Softwar

[Spacewalk-devel] Download only future feature

2010-01-27 Thread Justin Sherrill
Here's a very rough plan on how to implement Download Only functionality that we are thinking of adding in the future: https://fedorahosted.org/spacewalk/wiki/DownloadOnly -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleigh, NC 27603 Red Hat

[Spacewalk-devel] mod_wsgi support merged with master

2010-01-07 Thread Justin Sherrill
ly install the mod_wsgi package and swap /etc/httpd/conf.d/zz-spacewalk-server-python.conf with backend/apache-config/zz-spacewalk-server-wsgi.conf from git (such that zz-spacewalk-server-pytyhon.conf no longer exists, but zz-spacewalk-server-wsgi.conf does. ) -Justin -- Justin Sherrill, RHCA

Re: [Spacewalk-devel] need to add python-ethtool to 0.7 client repo

2010-01-07 Thread Justin Sherrill
Justin Sherrill wrote: > Miroslav Suchý wrote: >> Miroslav Suchý wrote: >>> Justin Sherrill wrote: >>>> rhn-client-tools requires python-ethtool yet it's not in the client repo >>>> for RHEL, only in the full 0.7 server repo. >>>> >>

Re: [Spacewalk-devel] need to add python-ethtool to 0.7 client repo

2010-01-07 Thread Justin Sherrill
Miroslav Suchý wrote: > Miroslav Suchý wrote: >> Justin Sherrill wrote: >>> rhn-client-tools requires python-ethtool yet it's not in the client repo >>> for RHEL, only in the full 0.7 server repo. >>> >>> What needs to be done to get this package a

[Spacewalk-devel] need to add python-ethtool to 0.7 client repo

2010-01-06 Thread Justin Sherrill
rhn-client-tools requires python-ethtool yet it's not in the client repo for RHEL, only in the full 0.7 server repo. What needs to be done to get this package added to the client repo? -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleig

Re: [Spacewalk-devel] Errata Cloning

2009-11-13 Thread Justin Sherrill
Andy Speagle wrote: > On Thu, 2009-10-01 at 09:55 -0500, Greg DeKoenigsberg wrote: >> Fascinating. Not that I have any deeper insight, other than that >> next >> step is obviously to compare the errata cloning code in the two >> different >> parts of the codebase. :) > > Indeed. Sadly, I'm no

Re: [Spacewalk-devel] some little fixes

2009-09-17 Thread Justin Sherrill
y it took a couple days to get to. Thanks ! -Justin > > > > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel -- Justin Sherrill, RHCA 1801 V

[Spacewalk-devel] Fixed eclipse setup instructions

2009-09-16 Thread Justin Sherrill
wanna give it a try again. -Justin -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleigh, NC 27603 Red Hat, Inc. ___ Spacewalk-devel mailing list Spacewalk-devel@redhat.com https://www.redhat.com/mailman/listinfo

[Spacewalk-devel] Getting started with java side development

2009-09-01 Thread Justin Sherrill
orahosted.org/spacewalk/wiki/NavigationSystem Creating lists within the WebUI: https://fedorahosted.org/spacewalk/wiki/ListTag -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleigh, NC 27603 Red Hat, Inc. _

Re: [Spacewalk-devel] Package Ownership - spacewalk-repo-sync

2009-08-14 Thread Justin Sherrill
7;ll look into it hopefully shortly. -Justin > > > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel -- Ju

Re: [Spacewalk-devel] Cloned Channel Problems - SW 0.6

2009-08-12 Thread Justin Sherrill
t. > > Thoughts? > I think re-running this sql script will fix all the currently broken channels, but you'll have to rerun it to fix newly created channels every time (until a permanent fix gets created): SQL> UPDATE rhnChannel SET checksum_type_id = (select id

Re: [Spacewalk-devel] Channel Sync - "Last Sync Time" Discrepancy

2009-08-12 Thread Justin Sherrill
> > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel -- Justin Sherrill, RHCA 1801 Varsity Drive. Software EngineerRaleigh, NC 276

Re: [Spacewalk-devel] SW 6 - Repo Sync Issues

2009-08-10 Thread Justin Sherrill
#x27;t support mirror list urls directly, so we'd have to do some of the parsing ourselves most likely. -Justin > > > > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/list

[Spacewalk-devel] Need to rebuild Java packages for 0.6

2009-08-06 Thread Justin Sherrill
I realized after playing around with our 0.6 test server that i had forgotten to include the new reposync task in the taskomatic config. I went ahead and added it in SPACEWALK-0.6 and master, we just need to rebuild the java packages. Thanks! -Justin -- Justin Sherrill, RHCA 1801

Re: [Spacewalk-devel] RHN Errata Import

2009-08-06 Thread Justin Sherrill
Andy Speagle wrote: > On Thu, 2009-08-06 at 12:56 -0500, Justin Sherrill wrote: >> Ah, it looks like you're hitting this bug: >> >> https://bugzilla.redhat.com/show_bug.cgi?id=514591 >> >> Although I'm not sure why it would cause the ISE in the web UI (a

Re: [Spacewalk-devel] RHN Errata Import

2009-08-06 Thread Justin Sherrill
Andy Speagle wrote: > On Thu, 2009-08-06 at 09:59 -0500, Justin Sherrill wrote: >> Hi Andy, >> >> Could you provide the traceback that it is generating? >> >> Simply: >> >> 1. run "tail -n 0 -f /var/log/tomcat5/catalina.out" >> 2. Gene

Re: [Spacewalk-devel] RHN Errata Import

2009-08-06 Thread Justin Sherrill
b UI) 3. email us the traceback you see in the tail command. -Justin > > Andy Speagle > > > > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > h

[Spacewalk-devel] Re: [Spacewalk-list] Retrieve uptime via the API

2009-08-04 Thread Justin Sherrill
Miroslav Suchý wrote: > Justin Sherrill wrote: >> Luis Garcia wrote: >>> Cool. Thanks for getting that added. For now, I used python to call >>> ssh and ran the results through awk. Nothing fancy, and no doubt >>> error-prone, but it got the job done. Gr

Re: [Spacewalk-devel] commit messages proposal

2009-03-31 Thread Justin Sherrill
gt; lengths, I try to stick to 80 chars for first line and whatever vim >>> does for the rest. >>> If the line lengths don't fly could we agree on just a single line >>> summary (preferably < 72 chars), blank line, then all the details you >>> want. (and we d

Re: [Spacewalk-devel] adding the enforce task to the checkstyle task, and making our calls to java...

2009-03-18 Thread Justin Sherrill
ositories - spacewalk.git/rss log > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=summary> by Justin > Sherrill on 3/18/09 > > adding the enforce task to the checkstyle task, and making our calls to > javadoc a little less verbose > > * [D >

Re: [Spacewalk-devel] making log statment debug as it was intended to be

2009-03-18 Thread Justin Sherrill
it is (probably when doing it multiple times repeatedly) such that it warrants being wrapped. > > On Wed, Mar 18, 2009 at 12:05 PM, Devan Goodwin <mailto:dgood...@redhat.com>> wrote: > > On Wed, 18 Mar 2009 11:57:00 -0400 > Justin Sherrill mailto:jsher...@redhat.com>>

Re: [Spacewalk-devel] making log statment debug as it was intended to be

2009-03-18 Thread Justin Sherrill
ing to use log.isDebugEnabled() is ugly IMO and it'd be nice not to have to do it where we don't have to. > > > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listi

Re: [Spacewalk-devel] making log statment debug as it was intended to be

2009-03-17 Thread Justin Sherrill
; > > > > > making log statment debug as it was intended to be > > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=commitdiff;h=77f50aaa8774e1b1812a73308b2c55eacd717454> > > via Fedora Hosted Git Repositories - spacewalk.git/rss log > <http://gi

Re: [Spacewalk-devel] 489775 - fixing listERrata api due to bad query

2009-03-13 Thread Justin Sherrill
Jan Pazdziora wrote: > On Fri, Mar 13, 2009 at 10:55:18AM -0400, Justin Sherrill wrote: >> jmrodri wrote: >>> why is this a BAD query? I think this was done on purpose to return the >>> issue_date as date. >> The query was 'bad' because evidently date is

Re: [Spacewalk-devel] 489775 - fixing listERrata api due to bad query

2009-03-13 Thread Justin Sherrill
?p=spacewalk.git;a=commitdiff;h=f69734cdefad18cb49501c50d256f1f452a4804f> > > via Fedora Hosted Git Repositories - spacewalk.git/rss log > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=summary> by Justin > Sherrill on 3/12/09 > > 489775 - fixing listERrata api d

Re: [Spacewalk-devel] 489792- fixing incorrect api return types

2009-03-13 Thread Justin Sherrill
diff;h=0dfd9aec01df9467e8c4a659efeb86f126bbd037> > > via Fedora Hosted Git Repositories - spacewalk.git/rss log > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=summary> by Justin > Sherrill on 3/12/09 > > 489792- fixing incorrect api return types > >

Re: [Spacewalk-devel] more kickstart unit test fixes

2009-03-04 Thread Justin Sherrill
> <http://git.fedoraproject.org/git/?p=spacewalk.git;a=commitdiff;h=0b0b2bc9487b66fbac0c162d820811b7dd08e7f4> > > via Fedora Hosted Git Repositories - spacewalk.git/rss log > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=summary> by Justin > Sherrill on 3/4

Re: [Spacewalk-devel] 487563 - switching take_snapshots to enable_snapshots

2009-03-04 Thread Justin Sherrill
;a=commitdiff;h=e21a89a899233c95628c825e25eea6b3efacaab0> > > via Fedora Hosted Git Repositories - spacewalk.git/rss log > <http://git.fedoraproject.org/git/?p=spacewalk.git;a=summary> by Justin > Sherrill on 3/4/09 > > 487563 - switching take_snapshots to enable_snapshots >

Re: [Spacewalk-devel] spacewalk and CentOS

2009-03-04 Thread Justin Sherrill
Michael's repo and see what needs > adding. Anyone want to help with the 'knock rhn bits out' process ? > I went ahead and made a page on our wiki: https://fedorahosted.org/spacewalk/wiki/CentPackages to track these. I'm gonna probably start to tackle one or two in th

Re: [Spacewalk-devel] spacewalk and CentOS

2009-03-04 Thread Justin Sherrill
I see http://wiki.centos.org/HowTos/Packages/ContributeYourRPMs so basically we just need to submit patches and a spec file for each of the rpms. We should create a wiki page to track them. Karanbir would our wiki or Cent's be best for that? -Justin -- Justin Sherrill, RHCA 1801 Varis

Re: [Spacewalk-devel] new kickstart file locations

2009-02-27 Thread Justin Sherrill
e they are for old profiles. If users want to move them, they are free too :} -Justin > Partha > > Mike McCune wrote: >> Justin Sherrill wrote: >>> Hi, >>> >>> >>> To help signify which kickstart configs are editable and which ones are >>&g

[Spacewalk-devel] new kickstart file locations

2009-02-26 Thread Justin Sherrill
ave a devel workstation, you need to run: mkdir /var/lib/rhn/kickstarts/upload mkdir /var/lib/rhn/kickstarts/wizard chown tomcat /var/lib/rhn/kickstarts/wizard /var/lib/rhn/kickstarts/upload Let me know if you hit any issues. -Justin -- Justin Sherrill, RHCA 1801 Varisty Drive. Sof

Re: [Spacewalk-devel] Re: [PATCH] Experimental fix for inconsistency in generation rule of cloned errata advisory names

2009-02-11 Thread Justin Sherrill
to add yourself as a CC to this bug. >> >> Regards, >> Clifford > > ___ > Spacewalk-devel mailing list > Spacewalk-devel@redhat.com > https://www.redhat.com/mailman/listinfo/spacewalk-devel -- Justin Sherrill, R

[Spacewalk-devel] errata cache changes merged, schema upgrade required

2009-02-02 Thread Justin Sherrill
Please apply schema/spacewalk/upgrade/spacewalk-0.4-spacewalk-0.5/100-errata-cache.sql to your local dbs. Thanks -- Justin Sherrill, RHCA 1801 Varisty Drive. Software EngineerRaleigh, NC 27603 Red Hat, Inc. ___ Spacewalk

Re: [Spacewalk-devel] SSM Asynchronous Actions

2009-01-28 Thread Justin Sherrill
Jesus M. Rodriguez wrote: > On Wed, Jan 28, 2009 at 10:09 AM, Justin Sherrill wrote: >> Jesus M. Rodriguez wrote: >>> On Tue, Jan 27, 2009 at 5:30 PM, Justin Sherrill >>> wrote: >>>> Jesus Rodriguez wrote: >>>>> On Tue, Jan 27, 200

Re: [Spacewalk-devel] SSM Asynchronous Actions

2009-01-28 Thread Justin Sherrill
Jesus M. Rodriguez wrote: > On Tue, Jan 27, 2009 at 5:30 PM, Justin Sherrill wrote: >> Jesus Rodriguez wrote: >>> On Tue, Jan 27, 2009 at 04:12:43PM -0500, Jason Dobies wrote: >>> [snip] >>> >>>> Outside of what we track for a request, the

Re: [Spacewalk-devel] SSM Asynchronous Actions

2009-01-27 Thread Justin Sherrill
Jesus Rodriguez wrote: > On Tue, Jan 27, 2009 at 04:12:43PM -0500, Jason Dobies wrote: > [snip] > >> Outside of what we track for a request, the big question is how to >> thread off the work. >> >> One possibility is taskomatic, which I'm not entirely familiar with. I >> do see from the wiki that

Re: [Spacewalk-devel] error after completing development workstation setup

2009-01-19 Thread Justin Sherrill
Travis Camechis wrote: > 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 "spacewal

Re: [Spacewalk-devel] schema update issue

2009-01-18 Thread Justin Sherrill
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

[Spacewalk-devel] Couple of schema updates

2009-01-06 Thread Justin Sherrill
Hi All, You'll need to run the following to ensure your java devel env is working: ALTER TABLE rhnKickstartableTree ADD cobbler_xen_id varchar2(64); ALTER TABLE rhnActionKickstartGuest ADD cobbler_profile varchar2(256); or you can rerun the files: 132-rhnActionKickstartGuest-add-kshost.sql

Re: [Spacewalk-devel] Dev environment

2009-01-05 Thread Justin Sherrill
Devan Goodwin wrote: > On Mon, 5 Jan 2009 15:03:19 -0500 > "Travis Camechis" wrote: > >> Hi, > >> I am slowly getting my development environment completely setup. I am >> currently in the process of setting up some VMs running CentOS for >> actually running the server / clients. Does anyone ha

[Spacewalk-devel] Schema change needed

2008-12-02 Thread Justin Sherrill
Another schema change needed, so you will probably need to update your DBs: (Re)Apply these two files: 137-rhnKickstartableTree.sql 112-rhnKSData-drop-name.sql from $GIT_DIR/schema/spacewalk/upgrades/spacewalk-0.3-spacewalk-0.4/ and you should be good. -Justin ___

Re: [Spacewalk-devel] Re: Updating koan for SSL, and other port things..

2008-11-25 Thread Justin Sherrill
Justin Sherrill wrote: > Michael DeHaan wrote: > >> Justin Sherrill wrote: >> >> >>> Hi All, >>> >>> Currently when you specify a port for koan it: >>> >>> 1. Tries port 80, if that fails: >>> >>&g

[Spacewalk-devel] Re: Updating koan for SSL, and other port things..

2008-11-25 Thread Justin Sherrill
Michael DeHaan wrote: > Justin Sherrill wrote: > >> Hi All, >> >> Currently when you specify a port for koan it: >> >> 1. Tries port 80, if that fails: >> >> > > Yes, specifically it tries http://$server:80/cobbler_api_rw first

[Spacewalk-devel] Speedier bulk updates with hibernate

2008-11-24 Thread Justin Sherrill
Hi All, Recently I had been assigned a bz where rescheduling a large number of failed actions (~5000) would take a very very long time and in the end would time out for me. Looking at the code it was basically looping over a set of ServerActions and setting a couple of object attributes dependin

Re: [Spacewalk-devel] satellite.certificate. namespace

2008-11-18 Thread Justin Sherrill
Jesus M. Rodriguez wrote: > On Tue, Nov 18, 2008 at 9:00 PM, Justin Sherrill <[EMAIL PROTECTED]> wrote: > >> Jesus M. Rodriguez wrote: >> >>> I would've voted for satellite.certificate. namespace for this type of >>> thing. I'm n

Re: [Spacewalk-devel] satellite.certificate. namespace

2008-11-18 Thread Justin Sherrill
Jesus M. Rodriguez wrote: > I would've voted for satellite.certificate. namespace for this type of > thing. I'm not a big fan of getObjectAttribute type method names. > > So instead of satellite.getCertificateExpirationDate() how about > satellite.certificate.getExpirationDate()? > > http://git.fed

Re: [Spacewalk-devel] listAllChildren?

2008-10-14 Thread Justin Sherrill
Originally I was toying with the notion of simply deleting all child channels (assuming you have permissions to) of a parent when you called channel.software.delete() on the parent. Since we don't allow this in the web ui I decided to simply throw an error telling you to delete the child channels

Re: [Spacewalk-devel] cleanup.py

2008-10-14 Thread Justin Sherrill
This is a work in progress script that does a good job testing the api delete() calls on a loaded satellite. I had temporarily thrown "if True:" in there so I could 'disable' sections that were hitting buggy delete() calls. I intend to make the script a bit more robust and have paramters to selec

Re: [Spacewalk-devel] Re: fixing a few small api bugs

2008-10-13 Thread Justin Sherrill
Jesus M. Rodriguez wrote: > Justin, > > http://git.fedorahosted.org/git/?p=spacewalk.git;a=commitdiff;h=e1ba307250261976090d3c02131028a01b2f35c6 > > > Use StringUtils.defaultString() instead of creating emptify :) > ah yes, forgot about StringUtils.defaultString(). Will fix that. Thanks :} _