From: Zack Cerza Date: Thu, 15 Aug 2013 17:42:47 +0000 (-0500) Subject: Don't raise an exception if apt-key list fails X-Git-Tag: 1.1.0~1958^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=17667301f3feea72e94739847009c46007da7793;p=teuthology.git Don't raise an exception if apt-key list fails --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index 3964951ad7..91b43c4a18 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -202,6 +202,7 @@ def _update_deb_package_list_and_install(ctx, remote, debs, config): 'sudo', 'apt-key', 'list', run.Raw('|'), 'grep', 'Ceph', ], stdout=StringIO(), + check_status=False, ) if r.stdout.getvalue().find('Ceph automated package') == -1: # if it doesn't exist, add it @@ -619,6 +620,7 @@ def _upgrade_deb_packages(ctx, config, remote, debs, branch): 'sudo', 'apt-key', 'list', run.Raw('|'), 'grep', 'Ceph', ], stdout=StringIO(), + check_status=False, ) if r.stdout.getvalue().find('Ceph automated package') == -1: # if it doesn't exist, add it