This reverts commit
1b155707a2b463240e5bf1c73f9ef0ade93cd7be.
This should have been a default in teuthology.yaml. My reasoning for the revert is:
- This is hardcoding a value
- Folks wouldn't know this is configurable without looking at cephadm.py
- Instead of doing what the error message said to do, we removed the error message
Signed-off-by: David Galloway <david.galloway@ibm.com>
ref = ctx.config.get("branch", "main")
if not ctx.ceph[cluster_name].image:
if not container_image_name:
- container_image_name = 'quay.ceph.io/ceph-ci/ceph'
+ raise Exception("Configuration error occurred. "
+ "The 'image' value is undefined for 'cephadm' task. "
+ "Please provide corresponding options in the task's "
+ "config, task 'overrides', or teuthology 'defaults' "
+ "section.")
sha1 = config.get('sha1')
flavor = config.get('flavor', 'default')