From 5d325d0db34ffe738da71c260c5c259f94d46ff4 Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Tue, 6 Feb 2018 21:21:31 -0800 Subject: Fix return of rancher IP address Change-Id: I4aa4711ffe1cdd10b69271ca305b95a2f6f406dd Issue-ID: INT-278 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/onap-oom.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deployment/heat/onap-oom/onap-oom.yaml') diff --git a/deployment/heat/onap-oom/onap-oom.yaml b/deployment/heat/onap-oom/onap-oom.yaml index e54a7b0f2..42c12a77a 100644 --- a/deployment/heat/onap-oom/onap-oom.yaml +++ b/deployment/heat/onap-oom/onap-oom.yaml @@ -197,7 +197,7 @@ resources: params: __docker_proxy__: { get_param: docker_proxy } __apt_proxy__: { get_param: apt_proxy } - __rancher_ip_addr__: { get_attr: [rancher_vm, first_address] } + __rancher_ip_addr__: { get_attr: [rancher_floating_ip, floating_ip_address] } __k8s_ip_addr__: { get_attr: [k8s_floating_ip, floating_ip_address] } __openstack_tenant_id__: { get_param: openstack_tenant_id } __openstack_tenant_name__: { get_param: openstack_tenant_name } @@ -227,7 +227,7 @@ resources: outputs: rancher_vm_ip: description: The IP address of the rancher instance - value: { get_attr: [rancher_vm, first_address] } + value: { get_attr: [rancher_floating_ip, floating_ip_address] } k8s_vm_ip: description: The IP address of the k8s instance -- cgit 1.2.3-korg