[SAC] [OSGeo] #1830: CS-Map SVN server

#1830: CS-Map SVN server
---------------------------+-------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
There have been a couple of issues reported with the CS-Map SVN server

http://osgeo-org.1560.x6.nabble.com/Cannot-submit-code-to-CS-Map-SVN-
server-td5299529.html
http://osgeo-org.1560.x6.nabble.com/Submission-failed-td5296668.html

I am also getting this issue trying to export from SVN

Running svnrdump fails with

Access to '/metacrs/!svn/vcc/default' forbidden

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by normanb):

Hi, any update on this please? It is a blocker.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:1&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

Sounds like the user is failing to use https for posting ?

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:2&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

What does `svn info` give you ?

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:3&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

NOTE: "normanb" is not part of the "metacrs" group, so is not allowed to
commit code.
Group composition can be seen here (by registered users):
  https://www.osgeo.org/cgi-bin/auth/ldap_group.py?group=metacrs

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:4&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by normanb):

svn info below, I get the same error with either https or http, I can't
comment on the other two people with the same issue.

I am not trying to commit code, I am trying to fork to github. Norm Olsen
also reported this error and he has commit access.

{{{
svn info https://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev/
Path: CsMapDev
URL: https://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev
Relative URL: ^/csmap/trunk/CsMapDev
Repository Root: https://svn.osgeo.org/metacrs
Repository UUID: 4e78687f-474d-0410-85f9-8d5e500ac6b2
Revision: 2745
Node Kind: directory
Last Changed Author: steffen
Last Changed Rev: 2717
Last Changed Date: 2016-01-18 00:35:10 -0600 (Mon, 18 Jan 2016)
}}}

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:5&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

Does github allow forking from SVN ?
I can checkout from the SVN just fine, can't you ?

{{{
svn checkout https://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev
}}}

svn, version 1.8.10 (r1615264)

Can the one having the problem give feedback here ?
If not else we'd know if he can still login to LDAP...

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:6&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------
Changes (by strk):

* cc: normolsen (added)

Comment:

For the record, normolsen does have rights to push (answering his question
on the list)

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:7&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by normanb):

I logged in using ldap (normanb) to view the metacrs group. I am the one
having problems exporting from SVN. Others have reported similar issues
(as in the ticket) but they may be unrelated.

For me svnrdump fails with

Access to '/metacrs/!svn/vcc/default' forbidden

I can checkout from svn just fine.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:8&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

Ok I could reproduce:
{{{
svnrdump dump https://svn.osgeo.org/metacrs/csmap/trunk/CsMapDev >
CsMapDev.svndump
* Dumped revision 0.
* Dumped revision 1.
* Dumped revision 2.
* Dumped revision 3.
* Dumped revision 4.
* Dumped revision 5.
* Dumped revision 6.
svnrdump: E175009: XML parsing failed: (403 Forbidden)
}}}

Checking

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:9&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

It might have to do with DOS protection as looking at the logs it seems
that svnrdump hits the server heavily

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:10&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

http://serverfault.com/questions/133959/problems-with-apache-svn-
server-403-forbidden

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:11&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

Just as a possible workaround, while we try to fix the issue,
I've been mirroring SVN repositories to git via git-svn.
As you mention a checkout worked, I guess a git svn clone would also
work, then you can setup you remote and push there.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:12&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

Confirmed. The dump makes more than 5 requests to the same URL within the
same second. It's not the first time we see such weird behavior from SVN
client. Let me know if the {{{git svn clone}}} solution helps.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:13&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

I've raised the allowed number of hits per second, please see if it works
for you now

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:14&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by normanb):

svnrdump is failing, just at a later point in the process.

I think git svn clone will work, thank you for the help.

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:15&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

What's the IP you're dumping from ? The only trace of DOS protection I
find are for the IP I'm doing tests from and an amazonaws ip, but last
trace is before your comment

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:16&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by normanb):

I am going from github.com which is running svnrdump (they emailed me when
I asked them why it was failing).

Looks like git svn clone is working and I am pushing to a git repo now.

https://github.com/normanb/CS-Map

Thanks

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:17&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+--------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------

Comment (by strk):

I'd close this as fixed then. I hope we can soon move everything out of
SVN and into GIT.
BTW, did you give git.osgeo.org a try yet ? :slight_smile:

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:18&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.

#1830: CS-Map SVN server
---------------------------+-------------------------
Reporter: normanb | Owner: sac@…
     Type: defect | Status: closed
Priority: normal | Milestone:
Component: Systems Admin | Resolution: worksforme
Keywords: |
---------------------------+-------------------------
Changes (by strk):

* status: new => closed
* resolution: => worksforme

Comment:

assuming the problem is solved

--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/1830#comment:19&gt;
OSGeo <http://www.osgeo.org/&gt;
OSGeo committee and general foundation issue tracker.