hep-gc/cloud-scheduler — Issue #213: CDS - Missing proxy file, CS still executes nimbus create
Author: SharonGoliath
Created: 2012-01-27 18:45:44+00:00
State: open

Condor configuration is separate submit host and central manager.

The user creates their proxy on the submit host, Cloud Scheduler runs on the central manager. User does condor_submit with "x509userproxy=" set. CS can't find the proxy on the central manager.

From cloud_scheduler.log:

Traceback (most recent call last):
File "/opt/python/lib/python2.7/site-packages/cloud_scheduler-1.1-py2.7.egg/cloudscheduler/cluster_tools.py", line 617, in vm_create
with open(job_proxy_file_path) as proxy:
IOError: [Errno 2] No such file or directory: '/tmp/x509up_u517'
2012-01-27 10:13:40,520 - ERROR - Scheduler - Problem caching proxy.
Traceback (most recent call last):
File "/opt/python/lib/python2.7/site-packages/cloud_scheduler-1.1-py2.7.egg/cloudscheduler/cluster_tools.py", line 649, in vm_create
vm_proxy_file_path = self._cache_proxy(job_proxy_file_path)
File "/opt/python/lib/python2.7/site-packages/cloud_scheduler-1.1-py2.7.egg/cloudscheduler/cluster_tools.py", line 1089, in _cache_proxy
shutil.copy2(proxy_file_path, tmp_proxy_file_path)
File "/opt/python/lib/python2.7/shutil.py", line 127, in copy2
copyfile(src, dst)
File "/opt/python/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:

From the nimbus log:

2012-01-27 10:30:41,253 INFO defaults.CreationManagerImpl [ServiceThread-18,create:362] [NIMBUS-EVENT]: Create request for instance from '/C=CA/O=
Grid/OU=hia.nrc.ca/CN=Sharon Goliath'