Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 3)

2010-08-30 Thread Mohammed Morsi
On 08/27/2010 02:35 PM, Ian Main wrote: > On Fri, 2010-08-27 at 09:14 -0400, Chris Lalancette wrote: >> On 08/26/10 - 07:14:29PM, Mohammed Morsi wrote: >>> As with the previous revisions make sure to add the following >>> to /var/lib/condor/condor_config.local >>> >>> EVENT_LOG=$(LOG)/EventLo

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 3)

2010-08-27 Thread Ian Main
On Fri, 2010-08-27 at 09:14 -0400, Chris Lalancette wrote: > On 08/26/10 - 07:14:29PM, Mohammed Morsi wrote: > > As with the previous revisions make sure to add the following > > to /var/lib/condor/condor_config.local > > > >EVENT_LOG=$(LOG)/EventLog > >EVENT_LOG_USE_XML=True > > > > E

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 3)

2010-08-27 Thread Chris Lalancette
On 08/26/10 - 07:14:29PM, Mohammed Morsi wrote: > As with the previous revisions make sure to add the following > to /var/lib/condor/condor_config.local > >EVENT_LOG=$(LOG)/EventLog >EVENT_LOG_USE_XML=True > > EVENT_LOG_JOB_AD_INFORMATION_ATTRS=Owner,GlobalJobId,Cmd,JobStartDate,JobCur

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-26 Thread Mohammed Morsi
On 08/26/2010 04:00 PM, Chris Lalancette wrote: > On 08/26/10 - 11:10:45AM, Ian Main wrote: >> On Wed, 2010-08-25 at 11:49 -0400, Chris Lalancette wrote: >>> On 08/24/10 - 12:19:07AM, Mohammed Morsi wrote: diff --git a/src/app/models/instance_event.rb b/src/app/models/instance_event.rb

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-26 Thread Mohammed Morsi
On 08/25/2010 11:49 AM, Chris Lalancette wrote: > On 08/24/10 - 12:19:07AM, Mohammed Morsi wrote: >> diff --git a/src/app/models/instance_event.rb >> b/src/app/models/instance_event.rb >> new file mode 100644 >> index 000..cc1eaa0 >> --- /dev/null >> +++ b/src/app/models/instance_event.rb >>

[deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 3)

2010-08-26 Thread Mohammed Morsi
As with the previous revisions make sure to add the following to /var/lib/condor/condor_config.local EVENT_LOG=$(LOG)/EventLog EVENT_LOG_USE_XML=True EVENT_LOG_JOB_AD_INFORMATION_ATTRS=Owner,GlobalJobId,Cmd,JobStartDate,JobCurrentStartDate,JobFinishedHookDone and set CONDOR_HOST appropr

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-26 Thread Chris Lalancette
On 08/26/10 - 11:10:45AM, Ian Main wrote: > On Wed, 2010-08-25 at 11:49 -0400, Chris Lalancette wrote: > > On 08/24/10 - 12:19:07AM, Mohammed Morsi wrote: > > > diff --git a/src/app/models/instance_event.rb > > > b/src/app/models/instance_event.rb > > > new file mode 100644 > > > index 000..cc

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-26 Thread Ian Main
On Wed, 2010-08-25 at 11:49 -0400, Chris Lalancette wrote: > On 08/24/10 - 12:19:07AM, Mohammed Morsi wrote: > > diff --git a/src/app/models/instance_event.rb > > b/src/app/models/instance_event.rb > > new file mode 100644 > > index 000..cc1eaa0 > > --- /dev/null > > +++ b/src/app/models/insta

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-25 Thread Chris Lalancette
On 08/24/10 - 12:19:07AM, Mohammed Morsi wrote: > diff --git a/src/app/models/instance_event.rb > b/src/app/models/instance_event.rb > new file mode 100644 > index 000..cc1eaa0 > --- /dev/null > +++ b/src/app/models/instance_event.rb > @@ -0,0 +1,30 @@ > +# Copyright (C) 2010 Red Hat, Inc. > +

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation

2010-08-25 Thread Chris Lalancette
On 08/24/10 - 12:28:17AM, Mohammed Morsi wrote: > >So, this is a really good start. It looks like it's the framework we need > >for doing additional work here. The biggest questions that come to mind have > >to do more with the types of events that condor is generating, and whether > >we can prop

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation

2010-08-23 Thread Mohammed Morsi
Sorry for the delay, was busy with the deltacloud appliance. On 08/13/2010 03:28 PM, Chris Lalancette wrote: > >> +end >> + end >> +end >> +parser = Nokogiri::XML::SAX::PushParser.new(CondorEventLog.new) >> + >> +# XXX bit of a hack, condor event log doesn't seem to have a top level >> el

[deltacloud-devel] [PATCH aggregator] initial dbomatic implementation (rev 2)

2010-08-23 Thread Mohammed Morsi
As with the first revision make sure to add the following to /var/lib/condor/condor_config.local EVENT_LOG=$(LOG)/EventLog EVENT_LOG_USE_XML=True EVENT_LOG_JOB_AD_INFORMATION_ATTRS=Owner,GlobalJobId,Cmd,JobStartDate,JobCurrentStartDate,JobFinishedHookDone and set CONDOR_HOST appropriate

Re: [deltacloud-devel] [PATCH aggregator] initial dbomatic implementation

2010-08-13 Thread Chris Lalancette
On 08/11/10 - 09:26:43AM, Mohammed Morsi wrote: > This patch contains the rough first pass of dbomatic's implementation. > There are various things TBD such as event error handling and making sure > all the correct events are collected with all their metadata but what > is present should be

[deltacloud-devel] [PATCH aggregator] initial dbomatic implementation

2010-08-11 Thread Mohammed Morsi
This patch contains the rough first pass of dbomatic's implementation. There are various things TBD such as event error handling and making sure all the correct events are collected with all their metadata but what is present should be a rough estimate as to the parsing strategy. To get