Be specific about glance API version when uploading metadata
The command is apparently not available in some versions of the API so be specific.
This commit is contained in:
parent
19b9e92b26
commit
6a89da3d12
|
@ -189,6 +189,8 @@ def install(args):
|
|||
logger.info('Importing IPA metadata')
|
||||
(stdout, stderr, returncode) = run(
|
||||
['glance',
|
||||
'--os-image-api-version',
|
||||
'2',
|
||||
'md-namespace-import',
|
||||
'--file',
|
||||
'/usr/share/novajoin/freeipa.json'], raiseonerr=False)
|
||||
|
|
Loading…
Reference in New Issue