Uploaded image for project: 'CernVM'
  1. CernVM
  2. CVM-892

Stop quicker if CVMFS_SERVER_URL= is unset.

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Medium
    • Resolution: Fixed
    • CernVM-FS 2.1.20
    • CernVM-FS 2.2.0
    • CVMFS
    • Suggestion
    • 3 - Normal
    • x86_64-slc6-gcc48-opt

    Description

      After removing a global CVMFS_SERVER_URL from
      /etc/cvmfs/default.local then show config correctly shows
      no value for this variable on a non-existing repository.

      cvmfs_config showconfig abc.example.org | grep CVMFS_SERVER_URL
      CVMFS_SERVER_URL=

      If I try to actually mount this repo.

      # ls /cvmfs/notexisting.example.org
      ls: cannot access /cvmfs/notexisting.example.org: No such file or directory

      which is perfect other than behind the scenes this logs

      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.184.148.164:3128 to http://128.142.163.110:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://128.142.163.110:3128 to http://188.185.164.64:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.164.64:3128 to http://128.142.152.230:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://128.142.152.230:3128 to http://188.185.165.173:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.165.173:3128 to http://188.185.165.93:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.165.93:3128 to http://188.185.164.128:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.164.128:3128 to http://188.185.163.104:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.163.104:3128 to http://188.184.148.164:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.184.148.164:3128 to http://128.142.152.230:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://128.142.152.230:3128 to http://188.185.164.128:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.164.128:3128 to http://188.185.165.173:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) switching proxy from http://188.185.165.173:3128 to http://188.185.165.93:3128
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) failed to download repository manifest (8 - proxy returned HTTP error)
      Aug  7 14:48:40 lxplus0014 cvmfs2: (notexising.example.org) Failed to initialize root file catalog (16 - file catalog failure)

      Doing all these checks for something that we knew is doomed to fail anyway is probably best avoided, fail faster if CVMFS_SERVER_URL is unset I think.

      For info the site ca-proxy service logs these URLs.

      1438951916.667      0 188.184.68.146 TCP_DENIED/403 3591 GET http://localhost/.cvmfspublished - HIER_NONE/- text/html

      For info centrally managed CvmFS clients at CERN are now migrating
      to where default.local does not contain this value anymore. We
      rely on cern.ch.* settings - CRM-1311.

      Steve.

      Attachments

        Activity

          People

            jblomer Jakob Blomer
            straylen Steve Traylen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: