Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10149 - Enterprise Portage Server :)
Summary: Enterprise Portage Server :)
Status: RESOLVED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 18814 25651 69037 90322 (view as bug list)
Depends on: 21449
Blocks:
  Show dependency tree
 
Reported: 2002-11-03 14:36 UTC by Joshua Brindle (RETIRED)
Modified: 2011-10-30 22:37 UTC (History)
13 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joshua Brindle (RETIRED) gentoo-dev 2002-11-03 14:36:46 UTC
Ok, the idea is this (and i'm sure it's already been thought of, but i'll put 
it here so maybe someone will work on it)
emerge portage-server on a single machine in your network, this machine will 
do these things
  1) host the local portage tree
  2) host all distfiles
  3) host all binary packages
  4) get distfiles which it doesn't have, add them locally and then send them 
to the requesting leaf

then, each 'leaf' server will have a single variable in make.conf or whatever 
that says simple "get everything you need from this server ->" 
the leaf servers will not have portage tree's, distfiles, or anything
even an emerge -p or something that uses the ebuild cache would be redirected 
to the portage server for enumeration.

basically this will need an http rpc-xml setup to request and deliver the 
information and packages. The leafs will hold the packages long enough to 
compile and install, but after that it's gone. Each leaf will still maintain 
it's own install data (/var/db) 

LordVan expressed interest in helping with this (using Twisted) 
and I would also like to help, although i don't know much python.. Hope you 
think this is a good idea :)

The whole point to this is that the leaf servers dont' need *anything* on them 
to run gentoo, only 1 machine needs an up to date portage tree and storage to 
hold distfiles, this addition will make portage much more 'enterprise' friendly
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-11-07 12:18:12 UTC
same idea as #1191
Comment 2 Ken Nowack 2002-12-27 12:57:24 UTC
One potential possibility of this is to remove the need of having a compiler on
every box on my network. Having a compiler on every production server is a bad
idea. Would be really nice to be able to manage all those boxen from a central
portage tree/server. 

Comment 3 Charles Goodwin 2003-10-08 05:22:19 UTC
This can be done anyway.  Search the forums for tips on how to do this. 
This bug should be closed as 'invalid' as it's really beyond the scope of
portage.
Comment 4 Joshua Brindle (RETIRED) gentoo-dev 2003-10-08 10:43:29 UTC
umm
no it isn't beyond the scope of portage
Comment 5 Charles Goodwin 2003-10-09 06:41:55 UTC
My point is that there are ways to acheive all of the requested items without
modifying portage.  So... really... should portage be modified when it doesn't
need to be?
Comment 6 Joshua Brindle (RETIRED) gentoo-dev 2003-10-09 09:18:17 UTC
one can compile packages without portage.. one can install packages without
portage.. one can do their own dependancy checking and installation, but
why do that when portage does it.. I think you get my point.

portage acting as a server to slave portages is a natural extention for portage,
and you can't do everything without modification.. you can sync and download
distfiles from a central server but you can't keep the whole cache in a central
place, and dessiminate prebuilt packages easily, pass compile requests to
other machines, etc. I'm talking about using a central portage server to
manage package versions on all your other servers, this cannot be done with
standard utilities and certainly not easily. Please stop arguing with me
about this, if you don't want this feature then great, don't use it, I and
other do want this feature.
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2004-03-02 06:59:43 UTC
tantive any news on your scripts ?
Comment 8 Michael Imhof (RETIRED) gentoo-dev 2004-03-02 09:13:20 UTC
pyrania is currently preparing a script that provides kind of a distfiles proxy.
clients will contact that server when they need disfiles. when the server has the file it will provide it from the local disc. if not it will fetch it, store it and provide it.
Comment 9 Martin Holzer (RETIRED) gentoo-dev 2004-04-06 01:56:48 UTC
pyrania are there any sample scripts or pre releases i could try ?
Comment 10 Brian Harring (RETIRED) gentoo-dev 2005-02-27 22:07:18 UTC
Slapping this one as later for the time being.
To do remote management of portage installations, a sane api is required.  Doesn't matter if the transport mechanism is soap/corba/xml-rpc, an api is required *first*.

Aside from that, implementation of a client/server body of code to handle talking to each other is outside of portages daemon, although related- the new code should be a seperate package.
Portage, ultimately is a library.  Responding/talking over the network regarding the installation should be a seperate add-on.
Comment 11 Brian Harring (RETIRED) gentoo-dev 2005-02-27 22:23:40 UTC
Bah...
s:daemon:domain:.
Point I was trying to get across is that network 'awareness' is outside of portage's focus- it's a side project, relying on portage, as such should be implemented that way...
Comment 12 Brian Harring (RETIRED) gentoo-dev 2005-02-27 22:32:42 UTC
*** Bug 18814 has been marked as a duplicate of this bug. ***
Comment 13 Brian Harring (RETIRED) gentoo-dev 2005-02-27 23:10:12 UTC
*** Bug 25651 has been marked as a duplicate of this bug. ***
Comment 14 Brian Harring (RETIRED) gentoo-dev 2005-02-28 01:26:28 UTC
*** Bug 69037 has been marked as a duplicate of this bug. ***
Comment 15 Marius Mauch (RETIRED) gentoo-dev 2005-04-24 20:41:05 UTC
*** Bug 90322 has been marked as a duplicate of this bug. ***