[torqueusers] TORQUE 4.0.0 does not allow submitting jobs as root

Ken Nielson knielson at adaptivecomputing.com
Wed Mar 21 11:06:47 MDT 2012


We know about this problem on CentOS. It has to do with getaddrinfo(3) and
how it resolves localhost. I will let you know when we have it fixed.

Ken

On Tue, Mar 20, 2012 at 10:32 PM, Shantanu Gadgil
<shantanugadgil at yahoo.com>wrote:

> Hi,
>
> I tried to allow job submission by root by executing:
>
> $> qmgr -c 's s acl_roots += root@*'
>
> ... but it doesn't seem to work! Any clue as to what else I might be
> missing? The same steps work for torque 3.0.4
>
> --- snip ---
> [root at server ~]# cat /etc/centos-release
> CentOS release 6.2 (Final)
>
> [root at server ~]# uname -a
> Linux server 2.6.32-220.el6.x86_64 #1 SMP Tue Dec 6 19:48:22 GMT 2011
> x86_64 x86_64 x86_64 GNU/Linux
>
> [root at server ~]# ls -l torque-4.0.0.tar.gz
> -rwx------. 1 root root 6103619 Mar 21 01:11 torque-4.0.0.tar.gz
>
> [root at server ~]# rpmbuild --with gui -tb torque-4.0.0.tar.gz
>
> [root at server torque-4.0.0]# rpm -Uvh
> /root/rpmbuild/RPMS/x86_64/torque-*.x86_64.rpm
>
> [root at server torque-4.0.0]# tar xvf torque-4.0.0.tar.gz
>
> [root at server torque-4.0.0]# ./torque.setup root
> initializing TORQUE (admin: root at server)
>
> You have selected to start pbs_server in create mode.
> If the server database exists it will be overwritten.
> do you wish to continue y/(n)?y
> Max open servers: 9
> set server operators += root at server
> Max open servers: 9
> set server managers += root at server
>
> [root at server torque-4.0.0]# qterm
> [root at server torque-4.0.0]# /etc/init.d/pbs_server start
>
> [root at server torque-4.0.0]# qmgr -c 'p s'
> #
> # Create queues and set their attributes.
> #
> #
> # Create and define queue batch
> #
> create queue batch
> set queue batch queue_type = Execution
> set queue batch resources_default.nodes = 1
> set queue batch resources_default.walltime = 01:00:00
> set queue batch enabled = True
> set queue batch started = True
> #
> # Set server attributes.
> #
> set server scheduling = True
> set server acl_hosts = server
> set server acl_roots = root at server
> set server acl_roots += root@*
> set server managers = root at server
> set server operators = root at server
> set server default_queue = batch
> set server log_events = 511
> set server mail_from = adm
> set server scheduler_iteration = 600
> set server node_check_rate = 150
> set server tcp_timeout = 300
> set server job_stat_rate = 45
> set server poll_jobs = True
> set server mom_job_sync = True
> set server keep_completed = 300
> set server next_job_number = 0
> set server moab_array_compatible = True
>
> [root at server ~]# echo "sleep 100" | qsub
> qsub can not be run as root
>
> --- snip ---
> _______________________________________________
> torqueusers mailing list
> torqueusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/torqueusers
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/torqueusers/attachments/20120321/539085ad/attachment.html 


More information about the torqueusers mailing list