+ # do not use yardstick.common.utils.parse_yaml
+ # since yardstick.common.utils creates a logger
+ # and so it cannot be imported before this code
+ try:
+ with open(conf_file) as f:
+ value = yaml_load(f)
+ except (IOError, OSError) as e:
+ if e.errno != errno.ENOENT:
+ raise
+ else:
+ CONF.update(value)