mirror of
https://github.com/ceph/ceph
synced 2025-02-22 10:37:15 +00:00
task/rbd_fio: allow for unsigned packages
Similar to what the teuthology install.py task does, add --force-yes to the apt-get install so that unsigned packages are successfully installed. It is needed when the buildpackages task is used to create packages on the fly. There is no need to do the same for rpm packages because the verification is controlled from the ceph-release package instead of from the command line. http://tracker.ceph.com/issues/13899 Fixes: #13899 Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
63d3569d93
commit
d14f2da437
@ -120,7 +120,9 @@ def run_fio(remote, config, rbd_test_dir):
|
||||
remote.run(args=['sudo', 'yum' , 'install', 'librbd1-devel', '-y'])
|
||||
elif ioengine == 'rbd':
|
||||
log.info("Installing librbd devel package on {sn}".format(sn=sn))
|
||||
remote.run(args=['sudo', 'apt-get', '-y', 'install', 'librbd-dev'])
|
||||
remote.run(args=['sudo', 'apt-get', '-y',
|
||||
'--force-yes',
|
||||
'install', 'librbd-dev'])
|
||||
if ioengine == 'rbd':
|
||||
fio_config.write('clientname=admin\n')
|
||||
fio_config.write('pool=rbd\n')
|
||||
|
Loading…
Reference in New Issue
Block a user