Project

General

Profile

Feature #11671

Updated by Loïc Dachary almost 9 years ago

when running on targets where chef is not available or desired, it should be possible to disable chef which gets added always to every task. See a hack at https://github.com/ceph/teuthology/compare/master...SUSE:suse-master#diff-2313ccf8d658fc1076ca2c2e5c66f855L687 that exemplifies what's needed. 

 Here is how the problem manifests itself when trying to run a rgw job on a new teuthology install with targets manually provisionned: 
 <pre> 
 2015-04-29T18:17:27.499 INFO:teuthology.orchestra.run.vEnv-2-1-vm-5.stdout:Error fetching http://apt-mirror.front.sepia.ceph.com/rubygems.org/: 
 2015-04-29T18:17:27.499 INFO:teuthology.orchestra.run.vEnv-2-1-vm-5.stdout: 	 Errno::ETIMEDOUT: Connection timed out - connect(2) (http://apt-mirror.front.sepia.ceph.com/rubygems.org/specs.4.8.gz) 
 2015-04-29T18:17:27.502 INFO:teuthology.orchestra.run.vEnv-2-1-vm-5.stderr:+ cleanup 
 2015-04-29T18:17:27.503 INFO:teuthology.orchestra.run.vEnv-2-1-vm-5.stderr:+ rm -rf /tmp/solo-from-scratch.LiMPwnbXnzSv 
 2015-04-29T18:17:27.509 ERROR:teuthology.run_tasks:Saw exception from tasks. 
 Traceback (most recent call last): 
   File "/root/src/teuthology_master/teuthology/run_tasks.py", line 53, in run_tasks 
     manager = run_one_task(taskname, ctx=ctx, config=config) 
   File "/root/src/teuthology_master/teuthology/run_tasks.py", line 41, in run_one_task 
     return fn(**kwargs) 
   File "/root/src/ceph-qa-suite_master/tasks/chef.py", line 45, in task 
     wait=False, 
   File "/root/src/teuthology_master/teuthology/orchestra/run.py", line 401, in wait 
     proc.wait() 
   File "/root/src/teuthology_master/teuthology/orchestra/run.py", line 114, in wait 
     label=self.label) 
 CommandFailedError: Command failed on vEnv-2-1-vm-5 with status 1: "wget -O- 'http://git.ceph.com/?p=ceph-qa-chef.git;a=blob_plain;f=solo/solo-from-scratch;hb=HEAD' | CHEF_REPO= CHEF_BRANCH= sh -x" 
 </pre> 
 which is a run from  
 <pre> 
 archive_path: teuthworker/root-2015-04-29_18:09:00-rgw-master---basic-vEnv-2-1/1 
 branch: master 
 description: rgw/multifs/{clusters/fixed-2.yaml frontend/apache.yaml fs/btrfs.yaml 
   overrides.yaml rgw_pool_type/ec-cache.yaml tasks/rgw_bucket_quota.yaml} 
 </pre> 

Back