Because our CASC script now has hardcoded values that translate the
flavor name to hardware ID, the flavor check is no longer valuable.
It also blocks our ability to use non-standard names in order to
simplify having different hardware IDs in different regions.
Issue: RELENG-5748
Change-Id: Ic1b0464bf42c228e5e2373a0a8036f9cc5654c1d
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
echo "ERROR: No matching image found for $IMAGE_NAME"
error=true
fi
- # Set the $HARDWARE_ID variable to the the file's HARDWARE_ID value
- export "$(grep ^HARDWARE_ID= "$file")"
- # The flavor should be listed. Spaces in grep string ensure complete match.
-
- if ! openstack flavor list | grep " $HARDWARE_ID "; then
- echo "ERROR: No matching flavor found for $HARDWARE_ID"
- error=true
- fi
fi
done
}