[Ocata only] Fix inventory - no PublicVip in ocata tht

The PublicVip output doesn't exist in stable/ocata deployments
so remove this from the inventory otherwise it will fail some
validations

Change-Id: Icc39371af43a28111d3af01e7d61f29eb284cd24
Closes-Bug: 1697940
This commit is contained in:
marios 2017-06-14 15:53:45 +03:00 committed by Marios Andreou
parent 94c51d3008
commit 02910006cd
1 changed files with 1 additions and 4 deletions

View File

@ -124,11 +124,8 @@ class TripleoInventory(object):
}
}
public_vip = self.get_overcloud_output('PublicVip')
if public_vip:
ret['undercloud']['vars']['overcloud_public_vip'] = public_vip
keystone_url = self.get_overcloud_output('KeystoneURL')
if public_vip:
if keystone_url:
ret['undercloud']['vars']['overcloud_keystone_url'] = keystone_url
overcloud_environment = self.get_overcloud_environment()
passwords = overcloud_environment.get('passwords', {})