Format arguments are not passed correctly, leading
to a "TypeError: not enough arguments for format string"
failure.
Fix the same issue introduced in hosts.py _list_hosts().
Closes-Bug: #
1438607
Change-Id: Id2d4fe2eeb401361fac2ff24c3b04df7944aea9f
if host['disabled']:
active = 'disabled'
LOG.debug('status, active and update: %s, %s, %s',
- (status, active, host['updated_at']))
+ status, active, host['updated_at'])
hosts.append({'host_name': host['host'],
'service': host['topic'],
'zone': host['availability_zone'],
# check via 'qemu-img info' that what we copied was in fact a raw
# image and not a different format with a backing file, which may be
# malicious.
- LOG.debug("%s was %s, converting to %s ", (image_id, fmt,
- volume_format))
+ LOG.debug("%s was %s, converting to %s ", image_id, fmt, volume_format)
convert_image(tmp, dest, volume_format,
run_as_root=run_as_root)