Bug Fix : Fail to create Kubernetes VIM
When tacker create Kubernetes VIM, It has an error due to authentication URL. Because, authentication URL is changed since plugin add 'v3'. Change-Id: I8d821581b1e8071580601b27564d20bf999f54f0 Closes-Bug: #1829348
This commit is contained in:
parent
1fe295ca88
commit
831eae097f
@ -117,8 +117,9 @@ class NfvoPlugin(nfvo_db_plugin.NfvoPluginDb, vnffg_db.VnffgPluginDbMixin,
|
|||||||
LOG.debug('Create vim called with parameters %s',
|
LOG.debug('Create vim called with parameters %s',
|
||||||
strutils.mask_password(vim))
|
strutils.mask_password(vim))
|
||||||
vim_obj = vim['vim']
|
vim_obj = vim['vim']
|
||||||
vim_obj['auth_url'] = utils.get_auth_url_v3(vim_obj['auth_url'])
|
|
||||||
vim_type = vim_obj['type']
|
vim_type = vim_obj['type']
|
||||||
|
if vim_type == 'openstack':
|
||||||
|
vim_obj['auth_url'] = utils.get_auth_url_v3(vim_obj['auth_url'])
|
||||||
vim_obj['id'] = uuidutils.generate_uuid()
|
vim_obj['id'] = uuidutils.generate_uuid()
|
||||||
vim_obj['status'] = 'PENDING'
|
vim_obj['status'] = 'PENDING'
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user