Changes between Version 3 and Version 4 of Development/Templates/ClientSideDepsCheck


Ignore:
Timestamp:
May 19, 2008, 12:38:32 PM (17 years ago)
Author:
/C=IE/O=Grid-Ireland/OU=cs.tcd.ie/L=RA-TCD/CN=Stephen O. Childs
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Development/Templates/ClientSideDepsCheck

    v3 v4  
    3232
    3333= Get checkdeps =
    34 checkdeps is available in the QWG tree at
     34checkdeps is available in the SCDB distribution at src/utils/profiles/checkdeps
     35
     36= Run checkdeps =
     37Here is the output when your profile is consistent:
     38{{{
     39[childss@frascati checkdeps]$ ./checkdeps.py -x gridgate.cs.tcd.ie.xml -c yum.quattor.conf -r ~/yumroot/ -g
     40checkdeps: Reading package list from target file gridgate.cs.tcd.ie.xml
     41checkdeps: Adding 1007 packages to install list
     42checkdeps: Calling YUM to check dependencies for package list
     43checkdeps: YUM didn't need to add any packages, profile seems OK.
     44}}}
     45
     46If we remove a package from the profile and run again, we get this:
     47{{{
     48[childss@frascati checkdeps]$ ./checkdeps.py -x gridgate.cs.tcd.ie.broken.xml -c yum.quattor.conf -r ~/yumroot/ -g
     49checkdeps: Reading package list from target file gridgate.cs.tcd.ie.broken.xml
     50checkdeps: Adding 1006 packages to install list
     51checkdeps: Calling YUM to check dependencies for package list
     52YUM wants to add 1 new packages that are missing from profile:
     53
     54Package                             Version                      Needed by
     55================================================================================
     56glite-security-voms-admin-interface 1.0.5-1.noarch               lcg-CE_torque
     57}}}
     58
     59YUM detects a dependency problem and suggests a solution. The list of enabled repositories was generated from those contained in the profile, so the package suggested should be sensible.
     60
     61= TODO =
     62 * Tool for automatically running createrepo on all Quattor repositories on the server
     63 * Output Pan code for adding the missing packages
     64 * Remove the need for a YUM config file