Hi Steve,
We don't really support SL6 any more as the OS is very close to being
completely out-of-support.
Having said that, I don't see any reason why this shouldn't work (I've just
tried running it on a new CentOS6 cloud node and it appears to work)...
Could you please try running the following in the DIRAC environment and
send me the full output off-list?
env | grep PYTHON
which python
python -v -c "import six"
Do you have an alternate python interpreter or anything installed in your
python user site-packages directory in ~/.local/lib? The six package is
included in the DIRACOS bundle, so the error implies that an external
setting is preventing it from successfully finding/loading the bundled
packages.
Did you start in a completely clean shell with no other DIRAC settings
configured? If an old bashrc is already sourced at the start of the
install process it can cause weird problems like this.
Regards,
Simon
On Mon, Nov 16, 2020 at 05:16:22PM +0000, Steve Lloyd wrote:
> Hi,
> I get the error below (Scientific Linux release 6.10).
> Cheers
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Steve Lloyd
> Emeritus Professor, School of Physics and Astronomy
> Queen Mary University of London, Mile End Road, London E1 4NS, UK
> E-mail: s.l.lloyd@qmul.ac.uk
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> [lloyd@atlastest1 dirac_ui]$ wget -np -O dirac-install https://raw.githubusercontent.com/DIRACGrid/DIRAC/integration/Core/scripts/dirac-install.py
> --2020-11-16 17:04:39-- https://raw.githubusercontent.com/DIRACGrid/DIRAC/integration/Core/scripts/dirac-install.py
> Resolving raw.githubusercontent.com... 151.101.192.133, 151.101.0.133, 151.101.64.133, ...
> Connecting to raw.githubusercontent.com|151.101.192.133|:443... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 98298 (96K) [text/plain]
> Saving to: `dirac-install'
>
> 100%[=================================================================================>] 98,298 --.-K/s in 0.008s
>
> 2020-11-16 17:04:39 (11.4 MB/s) - `dirac-install' saved [98298/98298]
>
> [lloyd@atlastest1 dirac_ui]$ chmod u+x dirac-install
> [lloyd@atlastest1 dirac_ui]$ ./dirac-install -r v7r1p17
> 2020-11-16 17:05:04 UTC dirac-install [NOTICE] Processing installation requirements
> 2020-11-16 17:05:06 UTC dirac-install [NOTICE] Defaults for LocalInstallation are in etc/dirac.cfg
> 2020-11-16 17:05:06 UTC dirac-install [NOTICE] Loaded etc/dirac.cfg
> 2020-11-16 17:05:06 UTC dirac-install [NOTICE] Destination path for installation is /home/lloyd/dirac_ui
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Defaults for LocalInstallation are in etc/dirac.cfg
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Loaded etc/dirac.cfg
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Discovering modules to install
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Installing modules...
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Installing DIRAC:v7r1p17
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Using CVMFS copy of DIRAC-v7r1p17.tar.gz
> 2020-11-16 17:05:07 UTC dirac-install [NOTICE] Extract using system tar: /cvmfs/dirac.egi.eu/installSource/DIRAC-v7r1p17.tar.gz
> 2020-11-16 17:05:09 UTC dirac-install [NOTICE] Deploying scripts...
> Scripts will be deployed at /home/lloyd/dirac_ui/scripts
> Inspecting DIRAC module
> 2020-11-16 17:05:13 UTC dirac-install [NOTICE] Installing DIRAC OS ...
> 2020-11-16 17:05:13 UTC dirac-install [NOTICE] Using CVMFS copy of diracos-v1r16.tar.gz
> 2020-11-16 17:05:13 UTC dirac-install [NOTICE] Extract using system tar: /cvmfs/dirac.egi.eu/installSource/diracos-v1r16.tar.gz
> 2020-11-16 17:05:28 UTC dirac-install [NOTICE] Fixing externals paths...
> 2020-11-16 17:06:34 UTC dirac-install [NOTICE] Running externals post install...
> 2020-11-16 17:06:34 UTC dirac-install [NOTICE] Creating /home/lloyd/dirac_ui/bashrc
> 2020-11-16 17:06:34 UTC dirac-install [NOTICE] Defaults written to defaults-DIRAC.cfg
> 2020-11-16 17:06:34 UTC dirac-install [NOTICE] Executing /home/lloyd/dirac_ui/scripts/dirac-externals-requirements...
> 2020-11-16 17:06:34 UTC dirac-install [ERROR] Requirements installation script /home/lloyd/dirac_ui/scripts/dirac-externals-requirements failed. Check /home/lloyd/dirac_ui/scripts/dirac-externals-requirements.err
> 2020-11-16 17:06:34 UTC dirac-install [NOTICE] DIRAC properly installed
> [lloyd@atlastest1 dirac_ui]$ . bashrc
> [lloyd@atlastest1 dirac_ui]$ dirac-proxy-init -x
> Traceback (most recent call last):
> File "/home/lloyd/dirac_ui/DIRAC/FrameworkSystem/scripts/dirac-proxy-init.py", line 14, in <module>
> import DIRAC
> File "/home/lloyd/dirac_ui/DIRAC/__init__.py", line 133, in <module>
> from DIRAC.Core.Utilities.Network import getFQDN
> File "/home/lloyd/dirac_ui/DIRAC/Core/Utilities/Network.py", line 15, in <module>
> from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR
> File "/home/lloyd/dirac_ui/DIRAC/Core/Utilities/ReturnValues.py", line 9, in <module>
> import six
> ImportError: No module named six
>
> [lloyd@atlastest1 dirac_ui]$ more /home/lloyd/dirac_ui/scripts/dirac-externals-requirements.err
> Traceback (most recent call last):
> File "/home/lloyd/dirac_ui/DIRAC/Core/scripts/dirac-externals-requirements.py", line 17, in <module>
> from DIRAC.Core.Base import Script
> File "/home/lloyd/dirac_ui/DIRAC/__init__.py", line 133, in <module>
> from DIRAC.Core.Utilities.Network import getFQDN
> File "/home/lloyd/dirac_ui/DIRAC/Core/Utilities/Network.py", line 15, in <module>
> from DIRAC.Core.Utilities.ReturnValues import S_OK, S_ERROR
> File "/home/lloyd/dirac_ui/DIRAC/Core/Utilities/ReturnValues.py", line 9, in <module>
> import six
> ImportError: No module named six
> [lloyd@atlastest1 dirac_ui]$
>
> > On 16 Nov 2020, at 14:21, Daniela Bauer <daniela.bauer.grid@googlemail.com> wrote:
> >
> > This email from daniela.bauer.grid@googlemail.com originates from outside Imperial. Do not click on links and attachments unless you recognise the sender. If you trust the sender, add them to your safe senders list to disable email stamping for this address.
> >
> > Dear All,
> >
> > We have finished the DIRAC upgrade and the server should be usable again.
> > This was a major upgrade and you will have to upgrade your UIs (apologies).
> > Please find the instructions/version in the usual place:
> > https://www.gridpp.ac.uk/wiki/Quick_Guide_to_Dirac#Dirac_client_installation
> >
> > If you find any issues, please email this list as it is likely other people might see it as well.
> >
> > For LZ only: Submission to the cloud currently only works when using JDLs (not the API). We are working on it.
> >
> > Regards,
> > Daniela
--
_______________________________________________
Gridpp-Dirac-Users mailing list
Gridpp-Dirac-Users@imperial.ac.uk
https://mailman.ic.ac.uk/mailman/listinfo/gridpp-dirac-users