]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
ShamanProject: don't write broken repos
authorZack Cerza <zack@redhat.com>
Fri, 18 Nov 2016 18:34:29 +0000 (11:34 -0700)
committerZack Cerza <zack@redhat.com>
Fri, 18 Nov 2016 18:34:29 +0000 (11:34 -0700)
commita62ffe119b6610e665ad48168aaeab5339fc59e4
tree20c6442f811fd37a1a2e72ee3146c9e68973de1d
parentb092eabfbe5bac1b119935c48d477e91d048037a
ShamanProject: don't write broken repos

We saw several cases where repo file contents were actually small HTML
files containing "502 Bad Gateway" errors. This will cause ShamanProject
to raise an exception if that happens - and not write broken repo files.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/packaging.py