Change nova/virt/images.py's _fetch_local_image to accept 4 args, since fetch() tries to call it with that many.
This commit is contained in:
commit
c0c2f5851a
@ -65,7 +65,7 @@ def _fetch_s3_image(image, path, user, project):
|
||||
cmd += ['-o', path]
|
||||
return process.SharedPool().execute(executable=cmd[0], args=cmd[1:])
|
||||
|
||||
def _fetch_local_image(image, path, _):
|
||||
def _fetch_local_image(image, path, user, project):
|
||||
source = _image_path('%s/image' % image)
|
||||
return process.simple_execute('cp %s %s' % (source, path))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user