Changes between Version 8 and Version 9 of Doc/SCDB/FAQ


Ignore:
Timestamp:
Dec 3, 2009, 3:05:57 PM (14 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Michel Jouvin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/SCDB/FAQ

    v8 v9  
    3131== Deploy failure ==
    3232
     33=== Failed to switch SVN cache to new tag: url1 is not the same repository as url2 ===
     34
     35This error means you have an existing working copy of your Quattor repository on the Quattor deployment server that was checked out from a repository different from the one defined in `/etc/quattor-deploy.conf` (option `repository_url` in `[scdb]` section). A common mistake is to use `http` in one case and `https` in the other one which leads SVN to consider they are different repositories.
     36
     37Depending on the URL you really want to use, either fix the configuration file or remove the existing working copy. If removing the working copy, be sure to remove the directory, not only its contents (as you may leave some hidden directories).
     38
     39The location of the working copy is defined in `/etc/quattor-deploy.conf` (`svn_cache` option in `[build-tag]` section). If not defined, the default location is `svncache` directory in the parent directory of `build-tag.py` location (`/root/quattor/svncache` by default).
     40
    3341=== Unable to get information on tags branch ===
    3442
    35 If you get this error at the beginning of the deploy phase when executing `ant deploy`, this means you don't have valid cached credentials to access the `tags` branch in your configuration database that can be used by `svnkit`, the SVN client used by `ant`. To fix the problem, try to write to `tags` branch using `jsvn` utility provided in `external/svnkit`. You can use the following commands as an example, changing the URLs to match your configuration database:
     43If you get this error at the beginning of the deploy phase when executing `ant deploy` and you have not consistency problem between the SVN client version you use and the one embedded in `ant tools`( `external/svnkit`), this means you don't have valid cached credentials to access the `tags` branch in your configuration database that can be used by `svnkit`, the SVN client used by `ant`. To fix the problem, try to write to `tags` branch using `jsvn` utility provided in `external/svnkit`. You can use the following commands as an example, changing the URLs to match your configuration database:
    3644{{{
    3745external/svnkit/jsvn cp htpp://quattorsrv.example.org/quattor/trunk htpp://quattorsrv.example.org/quattor/tags/test -m 'Deploy test'
     
    4452external/svnkit/jsvn rm htpp://quattorsrv.example.org/quattor/tags/test -m 'Remove test'
    4553}}}
     54
    4655
    4756== AII Issues ==