Opened 14 years ago

Closed 5 years ago

#636 closed task (fixed)

Chown GEOS downloads to pramsey

Reported by: pramsey Owned by: warmerdam
Priority: normal Milestone:
Component: SysAdmin Keywords:
Cc:

Description

I need write access to /osgeo/downloads/geos so I can write new archives in, and so I can set up the regular generation of the doxygen builds and changelogs from GEOS. Also, whether it is preferred to run those processes on upload or download would be good knowledge.

Change History (15)

comment:1 by jef, 14 years ago

/osgeo/download/geos is group writable for users and upload/download are now the same machine (198.202.74.218).

comment:2 by pramsey, 14 years ago

The machine seems lacking in "stuff"... no 'svn', no 'doxygen'. Is anyone else building out snapshots here?

comment:3 by warmerdam, 14 years ago

Paul,

We are not generating the GDAL (or I think the mapserver) snapshots on the download system any more. At least for GDAL I do it on the projects vm and keep the latest snapshot on the web site instead of the download site.

Among other things this reduces the churn on the mirrored download site. It also keeps non-downloading work off the download server.

It looks like the chown for /osgeo/download/geos is taken care of, perhaps by jef?

comment:4 by pramsey, 14 years ago

Chown is handled, so I can drop download bundles now, but the problem I actually set out to solve was the missing doxygen and svn snaps, which it sounds like I am discouraged from running on upload/download. Any suggestions on alternate locales for doing that?

comment:5 by warmerdam, 14 years ago

As I mentioned, I've been doing it on the ProjectsVM.

In the past I maintained the upload/download machines as distinct things so the upload machine could be used to do stuff like snapshots, etc. Now we don't have a spare available blade for that.

The downside to doing stuff on the ProjectsVM is that it is not so easy to push things to the download server and cleanup up old versions.

comment:6 by pramsey, 14 years ago

I have access to the ProjectsVM? Could it mount /osgeo/downloads to make life easier on the pushing side?

comment:7 by warmerdam, 14 years ago

Paul,

Yes you have access to the projects vm (some info is at http://wiki.osgeo.org/wiki/ProjectsVM).

We can't practically cross mount the download's disk here since it is a different data center. I'm not keen on cross-country nfs mounts though possibly I'm just to conservative.

comment:8 by pramsey, 14 years ago

OK, getting closer... accessing that box. Now, if I could have geos.osgeo.org pointed there, /osgeo/geos created and chowned to me. and an apache vhost entry added that exposes /osgeo/geos as geos.osgeo.org, I'll be ready to go :)

comment:9 by warmerdam, 14 years ago

Owner: changed from sac@… to warmerdam

I'll take this action item.

comment:10 by warmerdam, 14 years ago

Paul,

I have given you sudo, created /osgeo/geos/geos-web, owned by you, and setup the vhost.

I haven't repointed geos.osgeo.org to it yet but you can modify your local /etc/hosts to point to it while testing. I can update the dns when you are ready to deploy.

Does this mean that trac.osgeo.org/geos won't be the main page any more? Perhaps the web site with the doxygen docs and the nightly snapshots could be www.geos.osgeo.org and the main entry point could still be geos.osgeo.org - the trac site?

comment:11 by pramsey, 14 years ago

I figured I would just redirect geos.osgeo.org back to trac.osgeo.org/geos and put geos.osgeo.org/doxygen and geos.osgeo.org/snapshots in place under the domain. Currently geos.osgeo.org just redirects so the behavior would remain identical.

in reply to:  7 comment:12 by hamish, 14 years ago

Replying to warmerdam:

We can't practically cross mount the download's disk here since it is a different data center.

for the occasional single-user one-off, sshfs is a great alternative to NFS.

  #mount:
  sshfs -o idmap=user "$SERVER:/$DIRNAME" ~/mnt/"$DIRNAME"

  # do stuff...

  #unmount:
  fusermount -u ~/mnt/"$DIRNAME"

I'm not keen on cross-country nfs mounts though possibly I'm just to conservative.

IMHO that's not too conservative at all, NFS is not secure by design. Also fwiw&iiuc NFS would mean that if a user had sudo on ProjectsVM they'd essentially have sudo on the xblade as well (for that dir structure). Not that I wouldn't trust any of the Projects people, just fyi.

Hamish

comment:13 by pramsey, 14 years ago

OK, I am ready to have geos.osgeo.org point to the projectsvm.

comment:14 by warmerdam, 14 years ago

Change applied, presumably it will take several hours to spread.

comment:15 by robe, 5 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.