Project

General

Profile

Feature #2650

Put linux distro info in the startd's classad

Added by Parag Mhashilkar over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Douglas Strain
Category:
-
Target version:
Start date:
04/13/2012
Due date:
% Done:

0%

Estimated time:
Stakeholders:
Duration:

Description

Use lsb_release if available

Possible classad attributes

LSB_DISTRIBUTOR = `lsb_release -ds`
LSB_RELEASE = `lsb_release -rs`

If lsb_release is not available try to find it the hard way or default to UNKNOWN

History

#1 Updated by Igor Sfiligoi over 8 years ago

Shouldn't this be something Condor should be doing natively?
I.e. wouldn't it be better to push on the Condor team to implement this, if they have not done it already?

It is not a glidein specific functionality, so I believe it belongs there.

Igor

#2 Updated by Parag Mhashilkar over 8 years ago

Agreed, it is better if it comes from Condor if they agree to it. Playing Devil's advocate, Condor release tarballs that are generic enough to run on different distros. This came from Burt as one of the requests from CMS. I think the idea is to give users as much information as possible related to the distro glidein is running on before matching it to jobs.

#3 Updated by Burt Holzman over 8 years ago

  • Assignee set to Douglas Strain

#4 Updated by Douglas Strain over 8 years ago

This is done in the branch branch_v2plus_2650 and branch_master_2650.

#5 Updated by Douglas Strain over 8 years ago

  • Status changed from New to Assigned
  • Assignee changed from Douglas Strain to Parag Mhashilkar

Parag, could you do a quick review of this branch then I will merge it in? Thanks!

#6 Updated by Parag Mhashilkar over 8 years ago

  • Status changed from Assigned to Reviewed
  • Assignee changed from Parag Mhashilkar to Douglas Strain

lsb_release -ds should be LSB_DESCRIPTION it's not the distributor. As such LSB_DESCRIPTION has everything by itself but if we are adding LSB_RELEASE, we may also want to add LSB_DISTRIBUTOR_ID=`lsb_release -is`

Also, I connect recollect, but don't we need to make the changes to some other condor_config as well?

#7 Updated by Douglas Strain over 8 years ago

I have updated this branch with your suggestions.

I added the variables to condor_startup.sh so they should be added in both multi_schedd and dedicated modes.

#8 Updated by Igor Sfiligoi over 8 years ago

I think we should drop this.

Condor now natively supports this.

See page 22 of Todd presentation at CondorWeek:
http://research.cs.wisc.edu/condor/CondorWeek2012/presentations/tannenba-roadmap.pdf

#9 Updated by Douglas Strain over 8 years ago

  • Status changed from Reviewed to Accepted

I have merged this into branch_v2plus and master. We have decided to go ahead with this, since this feature may take a while to get into Condor 7.9 and for people to upgrade to that version.

#10 Updated by Douglas Strain over 8 years ago

  • Status changed from Accepted to Resolved

#11 Updated by Parag Mhashilkar over 8 years ago

  • Target version set to v2_6

#12 Updated by Parag Mhashilkar over 8 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF