bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
> Divan Santana skribis: > >> So guixsd.santanas.co.za is my build system VM. >> Laptop, is a guixsd system I want to not compile code, and rather offload. >> >> root@laptop ~# ssh ad...@guixsd.santanas.co.za env |grep GUILE_ >> >> Returns nothing. >> >> However, an interactive session has the cor

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
Ricardo Wurmus writes: > On build nodes I added the following variable definitions to > /etc/environment: > > GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2 > > GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/

bug#27386: offloading documentation and env

2017-09-29 Thread Ricardo Wurmus
On build nodes I added the following variable definitions to /etc/environment: GUILE_LOAD_PATH=/run/current-system/profile/share/guile/site/2.2 GUILE_LOAD_COMPILED_PATH=/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2 You need to make sur

bug#27386: offloading documentation and env

2017-09-29 Thread Ludovic Courtès
Hello Divan, Divan Santana skribis: > So guixsd.santanas.co.za is my build system VM. > Laptop, is a guixsd system I want to not compile code, and rather offload. > > root@laptop ~# ssh ad...@guixsd.santanas.co.za env |grep GUILE_ > > Returns nothing. > > However, an interactive session has the

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
Divan Santana writes: > So I'm trying to set up the same offloading and followed the > documentation and seem to have resulted in the same issue as ng0. > > Ludovic Courtès writes: > >> ng0 skribis: >> >>> Ludovic Courtès transcribed 2.1K bytes: ng0 skribis: > And this is from

bug#27386: offloading documentation and env

2017-09-29 Thread Divan Santana
So I'm trying to set up the same offloading and followed the documentation and seem to have resulted in the same issue as ng0. Ludovic Courtès writes: > ng0 skribis: > >> Ludovic Courtès transcribed 2.1K bytes: >>> ng0 skribis: >>> >>> > And this is from master running an offloading test as

bug#27386: [SOLVED] Re: bug#27386: offloading documentation and env

2017-07-08 Thread Ludovic Courtès
Hi Oleg, Oleg Pykhalov skribis: > Solution > > > https://lists.gnu.org/archive/html/help-guix/2017-05/msg00196.html > >> The ‘guix offload’ command is invoked by guix-daemon as root. So when >> it is invoked, (getenv "HOME") returns "/root" or similar. Could that >> be the problem? >

bug#27386: offloading documentation and env

2017-07-07 Thread Ludovic Courtès
Oleg Pykhalov skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hmm could it be that ‘machine-load’ in (guix scripts offload) always >> returns +inf.0, for instance because it fails to run “cat /proc/loadavg” >> on the remote machine? (If it succeeded we would see the message “load >> on ma

bug#27386: offloading documentation and env

2017-07-06 Thread Oleg Pykhalov
l...@gnu.org (Ludovic Courtès) writes: > Hmm could it be that ‘machine-load’ in (guix scripts offload) always > returns +inf.0, for instance because it fails to run “cat /proc/loadavg” > on the remote machine? (If it succeeded we would see the message “load > on machine XYZ is N”.) > > > https

bug#27386: offloading documentation and env

2017-07-06 Thread Ludovic Courtès
Oleg Pykhalov skribis: > l...@gnu.org (Ludovic Courtès) writes: > >> Hi, >> >> Oleg Pykhalov skribis: >> >>> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >>> waiting for locks or build slots... >>> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >>>

bug#27386: offloading documentation and env

2017-07-05 Thread Oleg Pykhalov
l...@gnu.org (Ludovic Courtès) writes: > Hi, > > Oleg Pykhalov skribis: > >> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >> waiting for locks or build slots... >> process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' >> process 5294 acquired build slot '/

bug#27386: offloading documentation and env

2017-07-04 Thread Ludovic Courtès
Hi, Oleg Pykhalov skribis: > process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' > waiting for locks or build slots... > process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' > process 5294 acquired build slot '/var/guix/offload/magnolia.local/0' > process 5294

bug#27386: offloading documentation and env

2017-07-04 Thread Oleg Pykhalov
Oleg Pykhalov writes: > Oleg Pykhalov writes: > >> I'm trying to setup offloading too. Just for the report I had an issue >> after setting up `%load-path` for guile with `.bashrc` snippet. It >> seems that also required call `guix build` with `--substitute-urls=HOST` >> because without it I ge

bug#27386: offloading documentation and env

2017-07-04 Thread Oleg Pykhalov
Oleg Pykhalov writes: > I'm trying to setup offloading too. Just for the report I had an issue > after setting up `%load-path` for guile with `.bashrc` snippet. It > seems that also required call `guix build` with `--substitute-urls=HOST` > because without it I get `acquired build slot` loop li

bug#27386: offloading documentation and env

2017-07-04 Thread Oleg Pykhalov
Hi, I'm trying to setup offloading too. Just for the report I had an issue after setting up `%load-path` for guile with `.bashrc` snippet. It seems that also required call `guix build` with `--substitute-urls=HOST` because without it I get `acquired build slot` loop like in https://lists.gnu.org

bug#27386: offloading documentation and env

2017-06-29 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.2K bytes: [...] >> > GUILE_LOAD_COMPILED_PATH="${GUILE_LOAD_COMPILED_PATH}:/run/current-system/profile/lib/guile/2.2/site-ccache:/run/current-system/profile/share/guile/site/2.2" >> > GUILE_LOAD_PATH="${GUILE_LOAD_PATH}:/run/current-system/profile/sh

bug#27386: offloading documentation and env

2017-06-28 Thread ng0
Ludovic Courtès transcribed 2.2K bytes: > ng0 skribis: > > > I think the method as described never really worked. > > > > When I do as you (and the manual) suggested, I no longer > > have any results for ssh host env | grep "GUILE_". > > > > When I extend it like this it works. I include the full

bug#27386: offloading documentation and env

2017-06-28 Thread Ludovic Courtès
ng0 skribis: > I think the method as described never really worked. > > When I do as you (and the manual) suggested, I no longer > have any results for ssh host env | grep "GUILE_". > > When I extend it like this it works. I include the full > paste to show that previously I had the sourcing of /

bug#27386: offloading documentation and env

2017-06-28 Thread ng0
Ludovic Courtès transcribed 1.8K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.2K bytes: > >> ng0 skribis: > >> > >> > Ludovic Courtès transcribed 2.8K bytes: > > [...] > > >> The problem here is that > >> /run/current-system/profile/share/guile/site/2.2, which is where the > >> G

bug#27386: offloading documentation and env

2017-06-28 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.2K bytes: >> ng0 skribis: >> >> > Ludovic Courtès transcribed 2.8K bytes: [...] >> The problem here is that >> /run/current-system/profile/share/guile/site/2.2, which is where the >> Guix modules are on GuixSD as I wrote above, is missing from the

bug#27386: offloading documentation and env

2017-06-27 Thread ng0
Ludovic Courtès transcribed 2.2K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.8K bytes: > > [...] > > >> >> The test is to run something like: > >> >> > >> >> $ ssh localhost env |grep GUILE_ > >> >> > >> >> GUILE_LOAD_COMPILED_PATH=/home/ludo/.guix-profile/lib/guile/2.2/site

bug#27386: offloading documentation and env

2017-06-27 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.8K bytes: [...] >> >> The test is to run something like: >> >> >> >> $ ssh localhost env |grep GUILE_ >> >> >> >> GUILE_LOAD_COMPILED_PATH=/home/ludo/.guix-profile/lib/guile/2.2/site-ccache:/home/ludo/.guix-profile/share/guile/site/2.2:/run/cur

bug#27386: offloading documentation and env

2017-06-27 Thread ng0
Ludovic Courtès transcribed 2.8K bytes: > ng0 skribis: > > > Ludovic Courtès transcribed 2.1K bytes: > >> ng0 skribis: > >> > >> > And this is from master running an offloading test as it is right now. > >> > Both ends have GuixSD. > >> > > >> > user@abyayala ~$ guix offload test > >> > guix of

bug#27386: offloading documentation and env

2017-06-27 Thread Ludovic Courtès
ng0 skribis: > Ludovic Courtès transcribed 2.1K bytes: >> ng0 skribis: >> >> > And this is from master running an offloading test as it is right now. >> > Both ends have GuixSD. >> > >> > user@abyayala ~$ guix offload test >> > guix offload: testing 1 build machines defined in >> > '/usr/local

bug#27386: offloading documentation and env

2017-06-26 Thread ng0
Ludovic Courtès transcribed 2.1K bytes: > ng0 skribis: > > > And this is from master running an offloading test as it is right now. > > Both ends have GuixSD. > > > > user@abyayala ~$ guix offload test > > guix offload: testing 1 build machines defined in > > '/usr/local/etc/guix/machines.scm'..

bug#27386: offloading documentation and env

2017-06-26 Thread Ludovic Courtès
ng0 skribis: > And this is from master running an offloading test as it is right now. > Both ends have GuixSD. > > user@abyayala ~$ guix offload test > guix offload: testing 1 build machines defined in > '/usr/local/etc/guix/machines.scm'... > guix offload: '192.168.1.179' is running guile (GNU

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
ng0 transcribed 7.0K bytes: > ng0 transcribed 6.4K bytes: > > ng0 transcribed 1.6K bytes: > > > Hi, > > > > > > I am setting up local offloading systems and I just ran > > > into the same issue like I did every time in the last year: > > > > > > with guile in the remote 'user' PATH the guile test

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
ng0 transcribed 6.4K bytes: > ng0 transcribed 1.6K bytes: > > Hi, > > > > I am setting up local offloading systems and I just ran > > into the same issue like I did every time in the last year: > > > > with guile in the remote 'user' PATH the guile test works *locally*. > > Through ssh, the 'env'

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
ng0 transcribed 1.6K bytes: > Hi, > > I am setting up local offloading systems and I just ran > into the same issue like I did every time in the last year: > > with guile in the remote 'user' PATH the guile test works *locally*. > Through ssh, the 'env' output is different than local. I'm now try

bug#27386: offloading documentation and env

2017-06-15 Thread ng0
Hi, I am setting up local offloading systems and I just ran into the same issue like I did every time in the last year: with guile in the remote 'user' PATH the guile test works *locally*. Through ssh, the 'env' output is different than local. I'm now trying to fix this the same way 'scp' is fixe