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,JobCurrentStartDate,JobFinishedHookDone
> 
> and set CONDOR_HOST appropriately. Make sure to restart condor after these 
> changes.
> ---
>  src/app/models/instance_event.rb                   |   26 +++++
>  src/app/util/condormatic.rb                        |    2 +-
>  .../20100810221250_create_instance_events.rb       |   34 ++++++
>  src/dbomatic/dbomatic.rb                           |  114 
> ++++++++++++++++++++
>  4 files changed, 175 insertions(+), 1 deletions(-)
>  create mode 100644 src/app/models/instance_event.rb
>  create mode 100644 src/db/migrate/20100810221250_create_instance_events.rb
>  create mode 100644 src/dbomatic/dbomatic.rb

ACK.  We can deal with the external->internal event mapping later.  I've now
pushed this, except...

<snip>

> diff --git a/src/app/util/condormatic.rb b/src/app/util/condormatic.rb
> index 3491f7f..9ac4b45 100644
> --- a/src/app/util/condormatic.rb
> +++ b/src/app/util/condormatic.rb
> @@ -41,7 +41,7 @@ def condormatic_instance_create(task)
>      pipe.puts "log = #{job_log}\n"
>      Rails.logger.info "log = #{job_log}\n"
>  
> -    requirements = "requirements = hardwareprofile == 
> \"#{instance.hardware_profile.id}\" && image == \"#{instance.image.id}\""
> +    requirements = "requirements = hardwareprofile == 
> \"#{instance.hardware_profile.external_key}\" && image == 
> \"#{instance.image.external_key}\""
>      requirements += " && realm == \"#{realm.name}\"" if realm != nil
>      requirements += "\n"
>  

...this bit, which seems unrelated.

-- 
Chris Lalancette
_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to