Page MenuHomePhabricator

`setup-tomcat` failing with "range_list containes no elements" error
Closed, DuplicatePublic

Description

$ setup-tomcat
Setting up your public_tomcat directory...

Unable to initialize environment because of error: range_list containes no elements
Exiting.
All done.
You can edit the configuration in /data/project/bd808-test/public_tomcat/conf/server.xml as needed.

Event Timeline

With set -e and set -x added to the wrapper script

$ ./setup-tomcat
++ /bin/cat /etc/wmflabs-project
+ prefix=tools
++ /usr/bin/id -nu
++ sed -e 's/^tools.//'
+ tool=bd808-test
+ user=tools.bd808-test
++ getent passwd tools.bd808-test
++ cut -d : -f 6
++ sed -e 's/\/$//'
+ home=/data/project/bd808-test
++ getent group tools.bd808-test
++ cut -d : -f 1
+ '[' tools.bd808-test '!=' tools.bd808-test ']'
+ '[' -d /data/project/bd808-test/public_tomcat ']'
+ echo 'Setting up your public_tomcat directory...'
Setting up your public_tomcat directory...
+ /usr/bin/qsub -sync y -o /dev/null -e /dev/null -i /dev/null -q webgrid-generic -l h_vmem=512m -l release=trusty -b y -N setup-bd808-test tomcat7-instance-create public_tomcat

Unable to initialize environment because of error: range_list containes no elements
Exiting.