Project

General

Profile

Bug #64901

Updated by Patrick Donnelly about 2 months ago

With the expectation that the second specification of the option should override the first, instead teuthology-suite exits: 

 <pre> 
 (virtualenv) pdonnell@teuthology ~$ teuthology-suite -c main -s fs -p 100 -p 101    --dry-run 
 usage: teuthology-suite --help 
        teuthology-suite [-v | -vv ] --suite <suite> [options] [<config_yaml>...] 
        teuthology-suite [-v | -vv ] --rerun <name>    [options] [<config_yaml>...] 
 ^C 
 (virtualenv) pdonnell@teuthology ~$ teuthology-suite -c main -s fs -p 100 --dry-run 
 2024-03-13 16:49:38,022.022 INFO:teuthology.suite:Using random seed=8265 
 2024-03-13 16:49:38,023.023 INFO:teuthology.suite.run:kernel sha1: distro 
 2024-03-13 16:49:38,446.446 INFO:teuthology.suite.run:ceph sha1: 1fb5d10608dccee73edd6ef8a2c7b804a097c324 
 2024-03-13 16:49:38,671.671 INFO:teuthology.suite.util:Container build incomplete 
 Traceback (most recent call last): 
   File "/cephfs/home/pdonnell/teuthology/virtualenv/bin/teuthology-suite", line 8, in <module> 
     sys.exit(main()) 
   File "/cephfs/home/pdonnell/teuthology/scripts/suite.py", line 223, in main 
     return teuthology.suite.main(args) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/__init__.py", line 143, in main 
     run = Run(conf) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 56, in __init__ 
     self.base_config = self.create_initial_config() 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 94, in create_initial_config 
     self.choose_ceph_version(ceph_hash) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/run.py", line 212, in choose_ceph_version 
     util.schedule_fail(msg, self.name, dry_run=self.args.dry_run) 
   File "/cephfs/home/pdonnell/teuthology/teuthology/suite/util.py", line 77, in schedule_fail 
     raise ScheduleFailError(message, name) 
 teuthology.exceptions.ScheduleFailError: Scheduling pdonnell-2024-03-13_16:49:38-fs-main-distro-default-smithi failed: Packages for os_type 'centos', flavor default and ceph hash '1fb5d10608dccee73edd6ef8a2c7b804a097c324' not found 
 </pre>

Back