Difference: GlideinWMS (1 vs. 36)

Revision 362013/05/02 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Added:
>
>
This page is obsoleted!
Project management has moved to the FNAL's redmine.
 

This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Revision 352011/05/24 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 7 to 7
 This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Task List

Changed:
<
<
Current ReleaseTaskList?
>
>
Current TaskList
 

Getting Started

Revision 342011/05/24 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 7 to 7
 This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Task List

Changed:
<
<
Current TaskList
>
>
Current ReleaseTaskList?
 

Getting Started

Revision 332011/05/03 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 36 to 36
 
v2_1+, v2_2+, v2_3+, v2_5+ branch_v2plus Production Releases: This is for now v2.5+and should be default for committing changes for v2.5 and above
v2_4+ branch_v2_4plus Production Releases: You shouldn't commit anything here any more
v2_6+ (?), v3+ HEAD Development Releases
Added:
>
>
Corral branch_ (?) Forked off branch_v2plus
Cloud glideinWMS_Cloud_Branch Forked off branch_v2plus
 

Non-Production Branches

  • Branches not in the list above are development/testing branches owned by individual developers.

Revision 322011/04/26 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 49 to 49
 

Code Formatting Guidelines

Added:
>
>

Code Documentation Guidelines

def x_intercept(m, b):
 """
Return the x intercept of the line M{y=m*x+b}. The X{x intercept}
of a line is the point at which it crosses the x axis (M{y=0}).

This function can be used in conjuction with L{z_transform} to
find an arbitrary function's zeros.

@type m: number
@param m: The slope of the line.
@type b: number
@param b: The y intercept of the line. The X{y intercept} of a
line is the point at which it crosses the y axis (M{x=0}).
@rtype: number
@return: the x intercept of the line M{y=m*x+b}.
"""
return -b/m
 

Testing

Testing Framework
Line: 78 to 84
 To get access to the release manager:
  • Register with Fermi Redmine
  • Check Parag or Burt to get access to the release manager code repository
Changed:
<
<
  • Add following to your ~/.ssh/config
         Host cdcvs.fnal.gov
             ForwardX11 = no
             GSSAPIAuthentication yes
             GSSAPIDelegateCredentials yes
         
>
>
  • Add following to your ~/.ssh/config
     Host cdcvs.fnal.gov
    ForwardX11 = no
    GSSAPIAuthentication yes
    GSSAPIDelegateCredentials yes
 
  • Get a Kerberos principle (kinit)
Changed:
<
<
  • Checkout the release manager code
    svn checkout svn+ssh://p-gwms-release-manager@cdcvs.fnal.gov/cvs/projects/gwms-release-manager
>
>
  • Checkout the release manager code
    svn checkout svn+ssh://p-gwms-release-manager@cdcvs.fnal.gov/cvs/projects/gwms-release-manager
  To make a release:

  • Make the changes and test them.
  • Update the tags file with the release notes and release version (glideinWMS/doc/tags.txt)
  • Update the documentation pages glideinWMS/doc/download.html and glideinWMS/doc/history.html including possible links to be release tarballs
Changed:
<
<
  • Create the checksum files and release tarballs for your release. Run the command below giving the release version, --source-dir=<path to glideinwms code> and --release-dir=<path to create release related files>. Release tarballs will be created in <path to create release related files>/v2_5_1/
         # For example for release v2_5_1 run the command below
         gwms-release-manager/trunk/bin/make_release.py --release-version=v2_5_1 --source-dir=/tmp/release/glideinWMS --release-dir=/tmp/release/distro
         
>
>
  • Create the checksum files and release tarballs for your release. Run the command below giving the release version, --source-dir=<path to glideinwms code> and --release-dir=<path to create release related files>. Release tarballs will be created in <path to create release related files>/v2_5_1/
     # For example for release v2_5_1 run the command below
    gwms-release-manager/trunk/bin/make_release.py --release-version=v2_5_1 --source-dir=/tmp/release/glideinWMS --release-dir=/tmp/release/distro
 
  • Commit the changes to CVS.
  • Tag the release in CVS
  • Copy the release tarballs to the web area

Revision 312011/04/05 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 87 to 87
 
  • Get a Kerberos principle (kinit)
  • Checkout the release manager code
Changed:
<
<
svn checkout svn+ssh://p-gwms-release-manager@cdcvs.fnal.gov/cvs/projects/gwms-release-manager/branches
>
>
svn checkout svn+ssh://p-gwms-release-manager@cdcvs.fnal.gov/cvs/projects/gwms-release-manager
  To make a release:

Revision 302011/03/10 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 27 to 27
 

Current CVS structure

Changed:
<
<
All production/development releases are tagged. Use these tags to download a particular release. For example: Do download release v2_5_1
>
>
All production/development releases are tagged. Use these tags to download a particular release. For example: Do download release v2_5_1
 
cvs co -r v2_5_1 glideinWMS
Added:
>
>
 

Production Branches

glideinWMS Release Branch Name Comments
Line: 62 to 62
 
  • Update the tags.txt file with notes on your recent changes. The information in this file act as release notes, so updating this file is very important.

Making a glideinWMS release

Deleted:
<
<
NOTE: Following is outdated. We have a new process now Steps to release new glideinWMS version
 
Changed:
<
<
CURRENT WEB AREA: /afs/fnal.gov/files/expwww/uscms/html/SoftwareComputing/Grid/WMS/glideinWMS
>
>
CURRENT WEB AREA: /afs/fnal.gov/files/expwww/uscms/html/SoftwareComputing/Grid/WMS/glideinWMS

Instructions for release v2_5 and later

Starting glideinWMS v2_5, glideinWMS releases are managed by gwms_release_manager package. Release manager package is in Fermi Redmine

gwms_release_manager automates following tasks for you

  • Creates the required checksum files in glideinWMS/etc directory
  • Strips off the non-essential files and creates 3 release tarballs (factory, frontend and full glideinWMS release).
  • Anything you want to be automated during the release process should go in the release manager

To get access to the release manager:

  • Register with Fermi Redmine
  • Check Parag or Burt to get access to the release manager code repository
  • Add following to your ~/.ssh/config
         Host cdcvs.fnal.gov
             ForwardX11 = no
             GSSAPIAuthentication yes
             GSSAPIDelegateCredentials yes
         
  • Get a Kerberos principle (kinit)
  • Checkout the release manager code
    svn checkout svn+ssh://p-gwms-release-manager@cdcvs.fnal.gov/cvs/projects/gwms-release-manager/branches

To make a release:

  • Make the changes and test them.
  • Update the tags file with the release notes and release version (glideinWMS/doc/tags.txt)
  • Update the documentation pages glideinWMS/doc/download.html and glideinWMS/doc/history.html including possible links to be release tarballs
  • Create the checksum files and release tarballs for your release. Run the command below giving the release version, --source-dir=<path to glideinwms code> and --release-dir=<path to create release related files>. Release tarballs will be created in <path to create release related files>/v2_5_1/
         # For example for release v2_5_1 run the command below
         gwms-release-manager/trunk/bin/make_release.py --release-version=v2_5_1 --source-dir=/tmp/release/glideinWMS --release-dir=/tmp/release/distro
         
  • Commit the changes to CVS.
  • Tag the release in CVS
  • Copy the release tarballs to the web area
  • Check out the doc subdirectory in the web area.
  • Create the required symlinks to latest docs directory.
  • Announce the release to following mailing lists: osg-wms@opensciencegrid.org, cms-dct-wms@fnal.gov, glideinwms-support@fnal.gov, corralwms@fnal.gov
  • If you made any changes to the release manager to accommodate the release, commit those changes.
  • Tag the gwms_release_manager with same tag name as the glideinWMS release.

Instructions for release v2_4_x and earlier

 
  • Make the changes and test them.
  • Update the tags file with the release notes and release version (glideinWMS/doc/tags.txt)
Line: 76 to 119
 
Deleted:
<
<

Recent code changes

RecentCodeChanges has been moved into it's own page.

Revision 292011/03/09 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 27 to 27
 

Current CVS structure

Added:
>
>
All production/development releases are tagged. Use these tags to download a particular release. For example: Do download release v2_5_1
cvs co -r v2_5_1 glideinWMS
 

Production Branches

Changed:
<
<
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for committing changes for v2.5 and above. To facilitate merging features for v2.5.1 until v2.5 is released you can either use a personal branch or use branch_v2_5plus_temp. Please don't use branch_v2_5plus_temp without asking Parag as this branch may go away soon once v2.5 is released.
  • Version v2.4+: Branch branch_v2_4plus. Should be used in case we need to release v2.4.3+ before we release v2.5.
  • Version v3+: CVS Head
>
>
glideinWMS Release Branch Name Comments
v2_1+, v2_2+, v2_3+, v2_5+ branch_v2plus Production Releases: This is for now v2.5+and should be default for committing changes for v2.5 and above
v2_4+ branch_v2_4plus Production Releases: You shouldn't commit anything here any more
v2_6+ (?), v3+ HEAD Development Releases
 

Non-Production Branches

  • Branches not in the list above are development/testing branches owned by individual developers.
Line: 57 to 62
 
  • Update the tags.txt file with notes on your recent changes. The information in this file act as release notes, so updating this file is very important.

Making a glideinWMS release

Added:
>
>
NOTE: Following is outdated. We have a new process now
  Steps to release new glideinWMS version

CURRENT WEB AREA: /afs/fnal.gov/files/expwww/uscms/html/SoftwareComputing/Grid/WMS/glideinWMS

Revision 282011/03/01 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 68 to 68
 
  • Create and put the glideinWMS_<version>.tar.gz file in the web area
  • Check out the doc subdirectory in the web area.
  • Create the required symlinks to latest docs directory.
Changed:
<
<
  • Update the main page, the download page and the history page with the required information.
>
>
  • Update the download page and the history page with the required release information.
 

Recent code changes

Revision 272010/11/22 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 28 to 28
 

Current CVS structure

Production Branches

Changed:
<
<
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for commiting changes for v2.4.3 and above.
>
>
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for committing changes for v2.5 and above. To facilitate merging features for v2.5.1 until v2.5 is released you can either use a personal branch or use branch_v2_5plus_temp. Please don't use branch_v2_5plus_temp without asking Parag as this branch may go away soon once v2.5 is released.
 
  • Version v2.4+: Branch branch_v2_4plus. Should be used in case we need to release v2.4.3+ before we release v2.5.
  • Version v3+: CVS Head

Revision 262010/10/07 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 45 to 45
 

Code Formatting Guidelines

Changed:
<
<

Testing Guidelines

>
>

Testing

Testing Framework
Details on TestingFramework

Testing Guidelines
 
  • Follow Code TestingGuideLines?

Documentation Guidelines (Needs more work)

Revision 252010/09/21 - Main.BurtHolzman

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 22 to 22
  export CVSRSH=ssh
Added:
>
>

Nightly NMI builds

Status of the daily builds are here: http://nmi-s001.cs.wisc.edu/nmi/index.php?page=results%2Foverview&opt_index_search=p%3AglideinWMS&searchSubmit=Search
 

Current CVS structure

Production Branches

Revision 242010/08/13 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 36 to 36
  As the group grows in size, it is important that we all adhere to certain guidelines when making changes to the code. These are general guidelines that will help simplify task to work in a collaborative environment.
Added:
>
>

Code Branching Guidelines

 
Added:
>
>

Code Formatting Guidelines

 
Added:
>
>

Testing Guidelines

  • Follow Code TestingGuideLines?

Documentation Guidelines (Needs more work)

 
  • Document your changes. This is very important!
  • Update the tags.txt file with notes on your recent changes. The information in this file act as release notes, so updating this file is very important.

Revision 232010/08/03 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 25 to 25
 

Current CVS structure

Production Branches

Changed:
<
<
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for commiting changes for v2.4.1 and above.
  • Version v2.4+: Branch branch_v2_4plus. Should be used in case we need to release v2.4.2+ before we release v2.5.
>
>
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for commiting changes for v2.4.3 and above.
  • Version v2.4+: Branch branch_v2_4plus. Should be used in case we need to release v2.4.3+ before we release v2.5.
 
  • Version v3+: CVS Head

Non-Production Branches

Line: 50 to 50
 
  • Update the tags file with the release notes and release version (glideinWMS/doc/tags.txt)
  • Commit the changes to CVS.
  • Tag the release in CVS
Changed:
<
<
  • Create and put the glideinWMS_.tar.gz file in the web area
>
>
  • Create and put the glideinWMS_<version>.tar.gz file in the web area
 
  • Check out the doc subdirectory in the web area.
  • Create the required symlinks to latest docs directory.
  • Update the main page, the download page and the history page with the required information.

Revision 222010/07/14 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 26 to 26
 

Production Branches

  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for commiting changes for v2.4.1 and above.
Changed:
<
<
  • Version v2.4+: Branch branch_v2_4plus. Anything related to v2.4 should go here.
>
>
  • Version v2.4+: Branch branch_v2_4plus. Should be used in case we need to release v2.4.2+ before we release v2.5.
 
  • Version v3+: CVS Head

Non-Production Branches

Revision 212010/05/12 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 18 to 17
 
  • One needs a valid Fermilab Kerberos principle and a krb5 ticket
  • You need write access to the cdcvs CVS repository. If you don't, open a Servicedesk Ticket at http://servicedesk.fnal.gov requesting access to the cdcvs.
  • You need write access to the glideinWMS CVS module. Check with one of the existing glideinWMS team members or email glideinwms-support@fnal.gov
Changed:
<
<
  • Set following environment variables before you checkout the code from CVS.

>
>
  • Set following environment variables before you checkout the code from CVS.
  export CVSROOT=cvsuser@cdcvs.fnal.gov:/cvs/cd export CVSRSH=ssh
Line: 27 to 25
 

Current CVS structure

Production Branches

Changed:
<
<
  • Version v2+: Branch branch_v2plus. This is for now v2.5+
  • Version v2.3+: Branch branch_v2_3plus. This was created since we wanted to release changes to v2.3 but we were not yet ready for v2.4
>
>
  • Version v2+: Branch branch_v2plus. This is for now v2.5+and should be default for commiting changes for v2.4.1 and above.
 
  • Version v2.4+: Branch branch_v2_4plus. Anything related to v2.4 should go here.
  • Version v3+: CVS Head

Revision 202010/04/15 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 27 to 27
 

Current CVS structure

Production Branches

Changed:
<
<
  • Version v2+: Branch branch_v2plus
>
>
  • Version v2+: Branch branch_v2plus. This is for now v2.5+
 
  • Version v2.3+: Branch branch_v2_3plus. This was created since we wanted to release changes to v2.3 but we were not yet ready for v2.4
Added:
>
>
  • Version v2.4+: Branch branch_v2_4plus. Anything related to v2.4 should go here.
 
  • Version v3+: CVS Head

Non-Production Branches

Revision 192010/04/12 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project Developer's Home Page

Line: 26 to 26
 

Current CVS structure

Added:
>
>

Production Branches

 
  • Version v2+: Branch branch_v2plus
Added:
>
>
  • Version v2.3+: Branch branch_v2_3plus. This was created since we wanted to release changes to v2.3 but we were not yet ready for v2.4
 
  • Version v3+: CVS Head
Added:
>
>

Non-Production Branches

  • Branches not in the list above are development/testing branches owned by individual developers.
 

Making Changes to glideinWMS Code

As the group grows in size, it is important that we all adhere to certain guidelines when making changes to the code. These are general guidelines that will help simplify task to work in a collaborative environment.

Changed:
<
<
>
>
 
  • Document your changes. This is very important!
  • Update the tags.txt file with notes on your recent changes. The information in this file act as release notes, so updating this file is very important.

Revision 182010/03/30 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"
Changed:
<
<

glideinWMS Project TWiki Home Page

>
>

glideinWMS Project Developer's Home Page

 
Changed:
<
<
This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Task List

TaskList

Developer access to the code

To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

-- IgorSfiligoi - 2010/01/22- head/installer

Add SEC_TOOL_SESSION_DURATION = 60 to prevent daemon bloat.

-- IgorSfiligoi - 2010/01/15- head/factory

Add better protections against failures during condor_q.

Fixed a small logical error as well.

-- IgorSfiligoi - 2009/12/14- head/frontend

Slightly restructured the frontend and factory code in order to make the frontend group optional.

Tagged it as snapshot_091214.

- IgorSfiligoi - 2009/12/07- head/frontend

Restructured glideinFrontendInterface, to make it a proper library module.

Removed any dependence of glideinFrontendLib in the process.

Added a MultiAdvertizeWork class to glideinFrontendInterface so one can make optimizations in there without changing the interface (too much).

Several changes needed to glideinFrontendElement to use the changed interface.

Tagged it as snapshot_091207.

-- IgorSfiligoi - 2009/10/28- head/install&creation

Change the default of

GLEXEC_JOB

from False to True. All new versions of condor require this to be true.

-- IgorSfiligoi - 2009/10/28- head/most dirs

Frontend will now only communicate with trusted factories. This is acchieved by using AuthenticatedIdentity? attribute of the classads.

The frontend config needed to be changed to acchieve this. But the previous format was not very apt for this, as all the factory collectors were listed as a single string. So the new frontend config now has a proper XML tree for the factories:

Old New
<factory collectors="node1,node2"/>
<factory>
  <collectors>
    <collector node="node1" classad_identity="id1@node1"/>
    <collector node="node2" classad_identity="id2@domain2"/>
  </collectors>
</factory>
>
>
 
Changed:
<
<
To keep the consistency between the factory collectors and job schedds, I also changed the schedds from a string to a XML tree:
Old New
<job schedds="node1,sched2@node2"/>

<job>
  <schedds>
    <schedd fullname="node1"/>
    <schedd fullname="schedd2@node2"/>
  </schedds>
</job>

The installer has been updated to properly create the new config.


-- IgorSfiligoi - 2009/10/26 - head/most dirs

Changed protocol between frontend and factory.

Frontend classad added

 ReqEncIdentity

The factory check this and after decoding, compares it to AuthenticatedIdentity? . This prevents replay attacks

The frontend config changed to add this info:

 <security classad_identity="identity" classad_proxy="fname">

The factory, the frontend and the installer were modified.

The documentation was updated to reflect the change.


-- IgorSfiligoi - 2009/10/26 - head/install&creation/web_base

Found and fixed the GLEXEC problem.

I had enabled publish_glidein for GLEXEC_BIN. Since it is not quoted, it cannot be exported, and this created a lot of problems for Condor.


-- IgorSfiligoi - 2009/10/16 - head&branch_v1_6plus/creation

Improved the proxy_url="OSG" handling in glidein_startup.sh.

It was way too simplistic and would fail on some OSG sites.


-- IgorSfiligoi - 2009/10/16 - head/creation

Implemented support for multiple condor binaries.

The config changes from

<condor base_dir="/home/igorfactory/glidecondor"/>
>
>
This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.
 
Changed:
<
<
to
>
>

Task List

Current TaskList
 
Deleted:
<
<
 <condor_tarballs>
   <condor_tarball arch="x86" os="linux-rhel3" base_dir="/home/igorfactory/glidecondor_rhel3"/>
   <condor_tarball arch="x86" os="linux-rhel5" base_dir="/home/igorfactory/glidecondor_rhel5"/>
</condor_tarballs>
 
Changed:
<
<
The factory must also define the gollowing attributes
<attr name="CONDOR_ARCH" const="True" glidein_publish="False" job_publish="False" parameter="True" publish="False" type="string" value="x86"/>
<attr name="CONDOR_OS" const="True" glidein_publish="False" job_publish="False" parameter="True" publish="False" type="string" value="linux-rhel3"/>
>
>

Getting Started

 
Changed:
<
<
If not defined, it defaults to "default". A value of "auto" for either or both of the above will enable auto-detection of that component.
>
>

Gaining access to the glideinWMS code

 
Changed:
<
<
The implementation creates one tarball per os/arch pair. The "condor_platform_select.sh" script will enable the downloading of the appropriate tarball at runtime.
>
>
To write access to the code,
  • One needs a valid Fermilab Kerberos principle and a krb5 ticket
  • You need write access to the cdcvs CVS repository. If you don't, open a Servicedesk Ticket at http://servicedesk.fnal.gov requesting access to the cdcvs.
  • You need write access to the glideinWMS CVS module. Check with one of the existing glideinWMS team members or email glideinwms-support@fnal.gov
  • Set following environment variables before you checkout the code from CVS.
          export CVSROOT=cvsuser@cdcvs.fnal.gov:/cvs/cd
          export CVSRSH=ssh
       
 
Changed:
<
<
Installer and documentation also updated.
>
>

Current CVS structure

 
Changed:
<
<

>
>
  • Version v2+: Branch branch_v2plus
  • Version v3+: CVS Head
 
Changed:
<
<
-- IgorSfiligoi - 2009/10/15 - head/creation
>
>

Making Changes to glideinWMS Code

 
Changed:
<
<
Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.
>
>
As the group grows in size, it is important that we all adhere to certain guidelines when making changes to the code. These are general guidelines that will help simplify task to work in a collaborative environment.
 
Changed:
<
<

>
>
  • Follow BranchingGuideLines
  • Follow FormattingGuideLines
  • Document your changes. This is very important!
  • Update the tags.txt file with notes on your recent changes. The information in this file act as release notes, so updating this file is very important.
 
Changed:
<
<
-- IgorSfiligoi - 2009/10/09 - head/installer
>
>

Making a glideinWMS release

Steps to release new glideinWMS version
 
Changed:
<
<
Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.
>
>
CURRENT WEB AREA: /afs/fnal.gov/files/expwww/uscms/html/SoftwareComputing/Grid/WMS/glideinWMS
 
Changed:
<
<
Added support for VDT 2.0, and made it the default.
Also added Globus-Client and Myproxy-Client in the minimal VDT install.
>
>
  • Make the changes and test them.
  • Update the tags file with the release notes and release version (glideinWMS/doc/tags.txt)
  • Commit the changes to CVS.
  • Tag the release in CVS
  • Create and put the glideinWMS_.tar.gz file in the web area
  • Check out the doc subdirectory in the web area.
  • Create the required symlinks to latest docs directory.
  • Update the main page, the download page and the history page with the required information.
  • Announce the release to following mailing lists: osg-wms@opensciencegrid.org, cms-dct-wms@fnal.gov, glideinwms-support@fnal.gov
 
Deleted:
<
<
The installer now asks for the collector port number. This allows several users to coexist on the same node.
 
Deleted:
<
<

 
Changed:
<
<
-- IgorSfiligoi - 2009/10/09 - head/factory
>
>

Recent code changes

 
Deleted:
<
<
Factory now only checks X509_USER_PROXY if it needs it.
 \ No newline at end of file
Added:
>
>
RecentCodeChanges has been moved into it's own page.

Revision 172010/01/23 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2010/01/22- head/installer

Add SEC_TOOL_SESSION_DURATION = 60 to prevent daemon bloat.

 -- IgorSfiligoi - 2010/01/15- head/factory

Add better protections against failures during condor_q.

Revision 162010/01/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2010/01/15- head/factory

Add better protections against failures during condor_q.

Fixed a small logical error as well.

 -- IgorSfiligoi - 2009/12/14- head/frontend

Slightly restructured the frontend and factory code in order to make the frontend group optional.

Revision 152009/12/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Changed:
<
<
-- IgorSfiligoi - 2009/12/07- head/frontend
>
>
-- IgorSfiligoi - 2009/12/14- head/frontend
 
Changed:
<
<
Restructured glideinFrontendInterface, to make it a proper library module.
Removed any dependence of glideinFrontendLib in the process.
>
>
Slightly restructured the frontend and factory code in order to make the frontend group optional.

Tagged it as snapshot_091214.

- IgorSfiligoi - 2009/12/07- head/frontend

Restructured glideinFrontendInterface, to make it a proper library module.

Removed any dependence of glideinFrontendLib in the process.

  Added a MultiAdvertizeWork class to glideinFrontendInterface so one can make optimizations in there without changing the interface (too much).

Revision 142009/12/08 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/12/07- head/frontend

Restructured glideinFrontendInterface, to make it a proper library module.
Removed any dependence of glideinFrontendLib in the process.

Added a MultiAdvertizeWork class to glideinFrontendInterface so one can make optimizations in there without changing the interface (too much).

Several changes needed to glideinFrontendElement to use the changed interface.

Tagged it as snapshot_091207.

 -- IgorSfiligoi - 2009/10/28- head/install&creation

Change the default of

Revision 132009/10/30 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/10/28- head/install&creation

Change the default of

GLEXEC_JOB

from False to True. All new versions of condor require this to be true.

 -- IgorSfiligoi - 2009/10/28- head/most dirs

Frontend will now only communicate with trusted factories. This is acchieved by using AuthenticatedIdentity? attribute of the classads.

Revision 122009/10/29 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/10/28- head/most dirs

Frontend will now only communicate with trusted factories. This is acchieved by using AuthenticatedIdentity? attribute of the classads.

The frontend config needed to be changed to acchieve this. But the previous format was not very apt for this, as all the factory collectors were listed as a single string. So the new frontend config now has a proper XML tree for the factories:

Old New
<factory collectors="node1,node2"/>
<factory>
  <collectors>
    <collector node="node1" classad_identity="id1@node1"/>
    <collector node="node2" classad_identity="id2@domain2"/>
  </collectors>
</factory>

To keep the consistency between the factory collectors and job schedds, I also changed the schedds from a string to a XML tree:

Old New
<job schedds="node1,sched2@node2"/>

<job>
  <schedds>
    <schedd fullname="node1"/>
    <schedd fullname="schedd2@node2"/>
  </schedds>
</job>

The installer has been updated to properly create the new config.


 -- IgorSfiligoi - 2009/10/26 - head/most dirs
Changed:
<
<
Changesd protocol between frontend and factory.
>
>
Changed protocol between frontend and factory.
  Frontend classad added
 ReqEncIdentity

Revision 112009/10/28 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 11 to 11
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/10/26 - head/most dirs

Changesd protocol between frontend and factory.

Frontend classad added

 ReqEncIdentity

The factory check this and after decoding, compares it to AuthenticatedIdentity? . This prevents replay attacks

The frontend config changed to add this info:

 <security classad_identity="identity" classad_proxy="fname">

The factory, the frontend and the installer were modified.

The documentation was updated to reflect the change.


-- IgorSfiligoi - 2009/10/26 - head/install&creation/web_base

Found and fixed the GLEXEC problem.

I had enabled publish_glidein for GLEXEC_BIN. Since it is not quoted, it cannot be exported, and this created a lot of problems for Condor.


 -- IgorSfiligoi - 2009/10/16 - head&branch_v1_6plus/creation

Improved the proxy_url="OSG" handling in glidein_startup.sh.

It was way too simplistic and would fail on some OSG sites.

Added:
>
>

 -- IgorSfiligoi - 2009/10/16 - head/creation

Implemented support for multiple condor binaries.

Line: 41 to 69
  Installer and documentation also updated.
Added:
>
>

 -- IgorSfiligoi - 2009/10/15 - head/creation

Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.

Added:
>
>

 -- IgorSfiligoi - 2009/10/09 - head/installer

Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.

Line: 53 to 85
  The installer now asks for the collector port number. This allows several users to coexist on the same node.
Added:
>
>

 -- IgorSfiligoi - 2009/10/09 - head/factory

Factory now only checks X509_USER_PROXY if it needs it.

Revision 102009/10/28 - Main.ParagMhashilkar

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Added:
>
>

Task List

TaskList

 

Developer access to the code

To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Revision 92009/10/16 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 8 to 8
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/10/16 - head&branch_v1_6plus/creation

Improved the proxy_url="OSG" handling in glidein_startup.sh.

It was way too simplistic and would fail on some OSG sites.

 -- IgorSfiligoi - 2009/10/16 - head/creation

Implemented support for multiple condor binaries.

Revision 82009/10/16 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 8 to 8
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Changed:
<
<
-- IgorSfiligoi - 2009/10/15 - head/creation

Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.

-- IgorSfiligoi - 2009/10/15 - branch_igor_0910_multicondor/creation

>
>
-- IgorSfiligoi - 2009/10/16 - head/creation
  Implemented support for multiple condor binaries.
Line: 34 to 30
  The implementation creates one tarball per os/arch pair. The "condor_platform_select.sh" script will enable the downloading of the appropriate tarball at runtime.
Changed:
<
<
The plan is to change also the installer and update the documentation before merging back into the head.
>
>
Installer and documentation also updated.

-- IgorSfiligoi - 2009/10/15 - head/creation

Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.

  -- IgorSfiligoi - 2009/10/09 - head/installer

Revision 72009/10/16 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 8 to 8
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Changed:
<
<
-- IgorSfiligoi - 2009/10/13 - head/creation
>
>
-- IgorSfiligoi - 2009/10/15 - head/creation
  Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.
Added:
>
>
-- IgorSfiligoi - 2009/10/15 - branch_igor_0910_multicondor/creation

Implemented support for multiple condor binaries.

The config changes from

<condor base_dir="/home/igorfactory/glidecondor"/>

to

 <condor_tarballs>
   <condor_tarball arch="x86" os="linux-rhel3" base_dir="/home/igorfactory/glidecondor_rhel3"/>
   <condor_tarball arch="x86" os="linux-rhel5" base_dir="/home/igorfactory/glidecondor_rhel5"/>
</condor_tarballs>

The factory must also define the gollowing attributes

<attr name="CONDOR_ARCH" const="True" glidein_publish="False" job_publish="False" parameter="True" publish="False" type="string" value="x86"/>
<attr name="CONDOR_OS" const="True" glidein_publish="False" job_publish="False" parameter="True" publish="False" type="string" value="linux-rhel3"/>

If not defined, it defaults to "default". A value of "auto" for either or both of the above will enable auto-detection of that component.

The implementation creates one tarball per os/arch pair. The "condor_platform_select.sh" script will enable the downloading of the appropriate tarball at runtime.

The plan is to change also the installer and update the documentation before merging back into the head.

 -- IgorSfiligoi - 2009/10/09 - head/installer

Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.

Revision 62009/10/15 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 8 to 8
 To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Recent code changes

Added:
>
>
-- IgorSfiligoi - 2009/10/13 - head/creation

Add debug option to both create_glidein and create_frontend. Will print out the full traceback in case of problems.

 -- IgorSfiligoi - 2009/10/09 - head/installer

Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.

Revision 52009/10/09 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 15 to 15
 Added support for VDT 2.0, and made it the default.
Also added Globus-Client and Myproxy-Client in the minimal VDT install.

The installer now asks for the collector port number. This allows several users to coexist on the same node. \ No newline at end of file

Added:
>
>
-- IgorSfiligoi - 2009/10/09 - head/factory

Factory now only checks X509_USER_PROXY if it needs it.

 \ No newline at end of file

Revision 42009/10/09 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 12 to 12
  Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.
Changed:
<
<
Addedd support for VDT 2.0, and made it the default.
Also added Globus-Client and Myproxy-Client in the minimal VDT install.
>
>
Added support for VDT 2.0, and made it the default.
Also added Globus-Client and Myproxy-Client in the minimal VDT install.

The installer now asks for the collector port number. This allows several users to coexist on the same node.

 \ No newline at end of file

Revision 32009/10/09 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Line: 6 to 6
 

Developer access to the code

To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

Added:
>
>

Recent code changes

 
Changed:
<
<
-- IgorSfiligoi - 2009/09/29
>
>
-- IgorSfiligoi - 2009/10/09 - head/installer

Made VDT optional. openssl used anywhere where grid-proxy-info was used before.
User can now provide its ownTRUSTED_CA dir and its own voms-proxy-info.

Addedd support for VDT 2.0, and made it the default.
Also added Globus-Client and Myproxy-Client in the minimal VDT install.

Revision 22009/10/09 - Main.IgorSfiligoi

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

Changed:
<
<
This page should be used by the glideinWMS development team for the project related information.
>
>
This page should be used by the glideinWMS development team for the project related information.
The official page for users is located at http://www.uscms.org/SoftwareComputing/Grid/WMS/glideinWMS/.

Developer access to the code

To access the code in read-write mode, one first needs a valid krb5 ticket and be explicitly authorized.
Once that is acchieved,
set CVSROOT to cvsuser@cdcvs.fnal.gov:/cvs/cd
and CVSRSH to ssh.

  -- IgorSfiligoi - 2009/09/29 \ No newline at end of file

Revision 12009/09/29 - Main.IgorSfiligoi

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

glideinWMS Project TWiki Home Page

This page should be used by the glideinWMS development team for the project related information.

-- IgorSfiligoi - 2009/09/29

 
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback