2019-10-14T00:00:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:01:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:02:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:06:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:07:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:07:24.773Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 151
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/0520dc90-47ea-409c-83bb-1c00c97f55e1/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[f7b8e3e0-101d-49b4-90ec-2b09d2725dbd], x-onap-invocationid=[bb26e367-4788-471e-9a0f-641731d04e65,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[f7b8e3e0-101d-49b4-90ec-2b09d2725dbd,f7b8e3e0-101d-49b4-90ec-2b09d2725dbd], x-requestid=[f7b8e3e0-101d-49b4-90ec-2b09d2725dbd], x-transactionid=[f7b8e3e0-101d-49b4-90ec-2b09d2725dbd]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
0520dc90-47ea-409c-83bb-1c00c97f55e1
Ete_vLB_fb30f0c2_0
Vfmodule_Ete_vLB_fb30f0c2_0
526d05e9-0f30-46a3-b34f-758c11b2230c
vLB 2019-10-14 00:00:54/vLBMS ee25d2fe-e7ae 0
VlbmsEe25d2feE7ae..base_vlb..module-0
1.0
205e4fab-a4e3-4fcf-bb0a-ae71bd99ca8c
true
true
true
vf_module_id
526d05e9-0f30-46a3-b34f-758c11b2230c
vdns_flavor_name
m1.medium
vip
192.168.9.112
oof_directives
{}
pktgen_private_net_cidr
192.168.9.0/24
vpg_image_name
ubuntu-16-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vlb_int_private_ip_0
192.168.30.100
vnf_name
Ete_vLB_fb30f0c2_0
key_name
vfw_keyfb30f0c2
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_fb30f0c2_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblbf0c2
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgenf0c2
gre_ipaddr
192.168.30.112
vnf_id
0520dc90-47ea-409c-83bb-1c00c97f55e1
cloud_env
openstack
vlb_image_name
ubuntu-16-04-cloud-amd64
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vdns_image_name
ubuntu-16-04-cloud-amd64
vlb_onap_private_ip_0
10.0.195.24
vdns_onap_private_ip_0
10.0.195.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgnf0c2
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
vlb_int_pktgen_private_ip_0
192.168.9.111
environment_context
vlb_private_net_cidr
192.168.30.0/24
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"526d05e9-0f30-46a3-b34f-758c11b2230c"},{"attribute_name":"vdns_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vip","attribute_value":"192.168.9.112"},{"attribute_name":"pktgen_private_net_cidr","attribute_value":"192.168.9.0/24"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vlb_int_private_ip_0","attribute_value":"192.168.30.100"},{"attribute_name":"vnf_name","attribute_value":"Ete_vLB_fb30f0c2_0"},{"attribute_name":"key_name","attribute_value":"vfw_keyfb30f0c2"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_fb30f0c2_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblbf0c2"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgenf0c2"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"0520dc90-47ea-409c-83bb-1c00c97f55e1"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vlb_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vdns_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"vlb_onap_private_ip_0","attribute_value":"10.0.195.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.195.25"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"clvlbpgnf0c2"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"vlb_int_pktgen_private_ip_0","attribute_value":"192.168.9.111"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vlb_private_net_cidr","attribute_value":"192.168.30.0/24"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vdns_name_0","attribute_value":"vlbdnsf0c2"},{"attribute_name":"vdns_int_private_ip_0","attribute_value":"192.168.30.110"},{"attribute_name":"vlb_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"pg_int","attribute_value":"192.168.9.109"},{"attribute_name":"vlb_private_net_id","attribute_value":"lb01_privatef0c2"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.195.27"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
demo_artifacts_version
1.5.0-SNAPSHOT
vdns_name_0
vlbdnsf0c2
vdns_int_private_ip_0
192.168.30.110
vlb_flavor_name
m1.medium
dcae_collector_ip
10.12.5.135
pg_int
192.168.9.109
vlb_private_net_id
lb01_privatef0c2
vpg_onap_private_ip_0
10.0.195.27
vf_module_index
0
f7b8e3e0-101d-49b4-90ec-2b09d2725dbd
4027f4f5-602b-4f97-8c55-d479456291ac
f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135
--------------------------------------
2019-10-14T00:07:24.799Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"0520dc90-47ea-409c-83bb-1c00c97f55e1","vnfType":"vLB 2019-10-14 00:00:54/vLBMS ee25d2fe-e7ae 0","vnfVersion":"1.0","vfModuleId":"526d05e9-0f30-46a3-b34f-758c11b2230c","vfModuleName":"Vfmodule_Ete_vLB_fb30f0c2_0","vfModuleType":"VlbmsEe25d2feE7ae..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"205e4fab-a4e3-4fcf-bb0a-ae71bd99ca8c","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"526d05e9-0f30-46a3-b34f-758c11b2230c","vlb_int_pktgen_private_ip_0":"192.168.9.111","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vlb_private_net_cidr":"192.168.30.0/24","vdns_onap_private_ip_0":"10.0.195.25","vlb_private_net_id":"lb01_privatef0c2","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_fb30f0c2_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","gre_ipaddr":"192.168.30.112","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vLB_fb30f0c2_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdnsf0c2","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.195.27","vnf_id":"0520dc90-47ea-409c-83bb-1c00c97f55e1","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","vip":"192.168.9.112","oof_directives":"{}","vpg_name_0":"clvlbpgnf0c2","vlb_flavor_name":"m1.medium","pktgen_private_net_cidr":"192.168.9.0/24","vpg_image_name":"ubuntu-16-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vdns_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","vpg_int_pktgen_private_ip_0":"192.168.9.110","vlb_int_private_ip_0":"192.168.30.100","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"526d05e9-0f30-46a3-b34f-758c11b2230c\"},{\"attribute_name\":\"vdns_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vip\",\"attribute_value\":\"192.168.9.112\"},{\"attribute_name\":\"pktgen_private_net_cidr\",\"attribute_value\":\"192.168.9.0/24\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vlb_int_private_ip_0\",\"attribute_value\":\"192.168.30.100\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vLB_fb30f0c2_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyfb30f0c2\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_fb30f0c2_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblbf0c2\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgenf0c2\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"0520dc90-47ea-409c-83bb-1c00c97f55e1\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vlb_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vdns_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"vlb_onap_private_ip_0\",\"attribute_value\":\"10.0.195.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.195.25\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"clvlbpgnf0c2\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"vlb_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.111\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vlb_private_net_cidr\",\"attribute_value\":\"192.168.30.0/24\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vdns_name_0\",\"attribute_value\":\"vlbdnsf0c2\"},{\"attribute_name\":\"vdns_int_private_ip_0\",\"attribute_value\":\"192.168.30.110\"},{\"attribute_name\":\"vlb_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"pg_int\",\"attribute_value\":\"192.168.9.109\"},{\"attribute_name\":\"vlb_private_net_id\",\"attribute_value\":\"lb01_privatef0c2\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.195.27\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_keyfb30f0c2","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblbf0c2","pktgen_private_net_id":"lb01_pktgenf0c2","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.195.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"f7b8e3e0-101d-49b4-90ec-2b09d2725dbd","serviceInstanceId":"4027f4f5-602b-4f97-8c55-d479456291ac"},"synchronous":false}}
2019-10-14T00:07:24.799Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T00:07:24.799Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 00:00:54/vLBMS ee25d2fe-e7ae 0::VlbmsEe25d2feE7ae..base_vlb..module-0
2019-10-14T00:07:24.799Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T00:07:24.800Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 205e4fab-a4e3-4fcf-bb0a-ae71bd99ca8c
2019-10-14T00:07:24.800Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T00:07:24.801Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T00:07:24.801Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_fb30f0c2_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T00:07:24.801Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T00:07:24.801Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:07:24.801Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T00:07:24.801Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T00:07:24.802Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 151
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 00:07:24 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T00:07:25.349Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T00:07:25.349Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:07:25.350Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_fb30f0c2_0
2019-10-14T00:07:25.358Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=86f9b296-9ef7-40eb-9a06-5f3f1085d6db
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=ac519708-584c-4fab-b3ea-4e7d26ecc1cb
2019-10-14T00:07:25.359Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T00:07:25.360Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
cloud_env, required=true vlb_private_net_cidr, required=true install_script_version, required=true vdns_image_name, required=true vlb_private_net_id, required=true vpg_flavor_name, required=true dcae_collector_port, required=true vf_module_id, required=true vlb_flavor_name, required=true vlb_image_name, required=true vpg_name_0, required=true sec_group, required=true vnf_id, required=true vdns_onap_private_ip_0, required=true onap_private_subnet_id, required=true gre_ipaddr, required=true pktgen_private_net_id, required=true onap_private_net_id, required=true vlb_int_pktgen_private_ip_0, required=true nexus_artifact_repo, required=true public_net_id, required=true vnf_name, required=true demo_artifacts_version, required=true vlb_onap_private_ip_0, required=true vpg_int_pktgen_private_ip_0, required=true nb_api_version, required=true vip, required=true vdns_flavor_name, required=true vpg_image_name, required=true pg_int, required=true vdns_name_0, required=true dcae_collector_ip, required=true vlb_name_0, required=true key_name, required=true vpg_onap_private_ip_0, required=true vlb_int_private_ip_0, required=true pktgen_private_net_cidr, required=true vdns_int_private_ip_0, required=true onap_private_net_cidr, required=true pub_key, required=true
Environment:parameters:
vf_module_id: vLoadBalancer
vlb_int_pktgen_private_ip_0: 192.168.9.111
vlb_private_net_cidr: 192.168.10.0/24
vdns_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS
vlb_private_net_id: zdfw1lb01_private
vdns_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
public_net_id: PUT THE NETWORK ID HERE
vnf_name: vLBMS
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
gre_ipaddr: 192.168.10.112
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: PUT THE ONAP NETWORK CIDR HERE
pg_int: 192.168.9.109
vdns_int_private_ip_0: 192.168.10.211
vdns_name_0: zdfw1lb01dns01
vpg_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN
dcae_collector_ip: 10.0.4.1
vnf_id: vLoadBalancer_demo_app
vpg_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
dcae_collector_port: '30235'
vip: 192.168.9.112
vpg_name_0: zdfw1lb01pg01
vlb_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
pktgen_private_net_cidr: 192.168.9.0/24
vpg_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vdns_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
nb_api_version: 1.2.0
vpg_int_pktgen_private_ip_0: 192.168.9.110
vlb_int_private_ip_0: 192.168.10.111
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
key_name: vlb_key
vlb_name_0: zdfw1lb01lb01
pktgen_private_net_id: zdfw1pktgen01_private
install_script_version: 1.6.0-SNAPSHOT
vlb_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
cloud_env: PUT openstack OR rackspace HERE
vlb_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
2019-10-14T00:07:25.360Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=cloud_env
param[1]=vlb_private_net_cidr
param[2]=install_script_version
param[3]=vdns_image_name
param[4]=vlb_private_net_id
param[5]=vpg_flavor_name
param[6]=dcae_collector_port
param[7]=vf_module_id
param[8]=vlb_flavor_name
param[9]=vlb_image_name
param[10]=vpg_name_0
param[11]=sec_group
param[12]=vnf_id
param[13]=vdns_onap_private_ip_0
param[14]=onap_private_subnet_id
param[15]=gre_ipaddr
param[16]=pktgen_private_net_id
param[17]=onap_private_net_id
param[18]=vlb_int_pktgen_private_ip_0
param[19]=nexus_artifact_repo
param[20]=public_net_id
param[21]=vnf_name
param[22]=demo_artifacts_version
param[23]=vlb_onap_private_ip_0
param[24]=vpg_int_pktgen_private_ip_0
param[25]=nb_api_version
param[26]=vip
param[27]=vdns_flavor_name
param[28]=vpg_image_name
param[29]=pg_int
param[30]=vdns_name_0
param[31]=dcae_collector_ip
param[32]=vlb_name_0
param[33]=key_name
param[34]=vpg_onap_private_ip_0
param[35]=vlb_int_private_ip_0
param[36]=pktgen_private_net_cidr
param[37]=vdns_int_private_ip_0
param[38]=onap_private_net_cidr
param[39]=pub_key
2019-10-14T00:07:25.360Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T00:07:25.360Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T00:07:25.360Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T00:07:25.361Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T00:07:25.362Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T00:07:25.363Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T00:07:25.364Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T00:07:25.364Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T00:07:25.364Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T00:07:25.364Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_fb30f0c2_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
', parameters={vf_module_id=526d05e9-0f30-46a3-b34f-758c11b2230c, vlb_int_pktgen_private_ip_0=192.168.9.111, vlb_private_net_cidr=192.168.30.0/24, vdns_onap_private_ip_0=10.0.195.25, vlb_private_net_id=lb01_privatef0c2, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_fb30f0c2_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, gre_ipaddr=192.168.30.112, onap_private_net_cidr=10.0.0.0/16, vdns_name_0=vlbdnsf0c2, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.195.27, vnf_id=0520dc90-47ea-409c-83bb-1c00c97f55e1, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgnf0c2, vlb_flavor_name=m1.medium, pktgen_private_net_cidr=192.168.9.0/24, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vdns_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, vpg_int_pktgen_private_ip_0=192.168.9.110, vlb_int_private_ip_0=192.168.30.100, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_keyfb30f0c2, vlb_name_0=vlblbf0c2, pktgen_private_net_id=lb01_pktgenf0c2, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.195.24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
', disableRollback='true', files=null}
2019-10-14T00:07:25.365Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:07:25.528Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/f7b8e3e0-101d-49b4-90ec-2b09d2725dbd
2019-10-14T00:07:25.529Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/f7b8e3e0-101d-49b4-90ec-2b09d2725dbd": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T00:07:31.373Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_fb30f0c2_0)
2019-10-14T00:07:31.374Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:07:46.613Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_fb30f0c2_0)
2019-10-14T00:07:46.613Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:08:01.855Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_fb30f0c2_0)
2019-10-14T00:08:01.855Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:08:17.090Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_fb30f0c2_0)
2019-10-14T00:08:17.090Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:08:17.090Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template to deploy vLoadBalancer/vDNS demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vLB_fb30f0c2_0/5b654d77-b035-41ab-8e46-2dd661eea85d', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_fb30f0c2_0', updatedTime=Mon Oct 14 00:07:30 GMT 2019, creationTime=Mon Oct 14 00:07:30 GMT 2019, stackStatus='CREATE_COMPLETE', id='5b654d77-b035-41ab-8e46-2dd661eea85d', outputs='[Output [key=int_private_net_id, value=7f86c6a9-47ff-499a-880e-27b68c2479fd], Output [key=int_private_subnet_id, value=751aed5b-334d-43d2-9643-a398d58e770e]]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vdns_int_private_ip_0=192.168.30.110, onap_private_net_cidr=10.0.0.0/16, vf_module_id=526d05e9-0f30-46a3-b34f-758c11b2230c, dcae_collector_port=30235, vlb_name_0=vlblbf0c2, vpg_onap_private_ip_0=10.0.195.27, vlb_private_net_id=lb01_privatef0c2, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.195.24, vlb_private_net_cidr=192.168.30.0/24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64, vpg_int_pktgen_private_ip_0=192.168.9.110, vdns_flavor_name=m1.medium, vdns_name_0=vlbdnsf0c2, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=0520dc90-47ea-409c-83bb-1c00c97f55e1, OS::stack_name=Vfmodule_Ete_vLB_fb30f0c2_0, key_name=vfw_keyfb30f0c2, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgenf0c2, vlb_int_pktgen_private_ip_0=192.168.9.111, pktgen_private_net_cidr=192.168.9.0/24, demo_artifacts_version=1.5.0-SNAPSHOT, vlb_int_private_ip_0=192.168.30.100, vpg_name_0=clvlbpgnf0c2, dcae_collector_ip=10.12.5.135, OS::stack_id=5b654d77-b035-41ab-8e46-2dd661eea85d, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.195.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_fb30f0c2_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T00:08:17.090Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_fb30f0c2_0 successfully created
2019-10-14T00:08:17.090Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:08:17.104Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_fb30f0c2_0/5b654d77-b035-41ab-8e46-2dd661eea85d
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:08:17.115Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135
2019-10-14T00:08:17.115Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - Content is:
f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135
CloudOwner
RegionOne
f7b8e3e0-101d-49b4-90ec-2b09d2725dbd-1571011644135
HEAT
f7b8e3e0-101d-49b4-90ec-2b09d2725dbd
4027f4f5-602b-4f97-8c55-d479456291ac
28481f6939614cfd83e6767a0e039bcc
true
526d05e9-0f30-46a3-b34f-758c11b2230c
Vfmodule_Ete_vLB_fb30f0c2_0/5b654d77-b035-41ab-8e46-2dd661eea85d
Vfmodule_Ete_vLB_fb30f0c2_0/5b654d77-b035-41ab-8e46-2dd661eea85d
true
526d05e9-0f30-46a3-b34f-758c11b2230c
int_private_subnet_id
751aed5b-334d-43d2-9643-a398d58e770e
int_private_net_id
7f86c6a9-47ff-499a-880e-27b68c2479fd
Vfmodule_Ete_vLB_fb30f0c2_0/5b654d77-b035-41ab-8e46-2dd661eea85d
0520dc90-47ea-409c-83bb-1c00c97f55e1
2019-10-14T00:08:17.115Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T00:08:17.633Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T00:08:17.633Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T00:08:17.633Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T00:08:17.633Z|f7b8e3e0-101d-49b4-90ec-2b09d2725dbd|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T00:08:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:10:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:11:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:12:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:13:00.355Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T00:13:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:16:00.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:16:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:17:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:18:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T00:18:45.354Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:19:06.827Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 152
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/d1996b67-4ad1-4a1d-bcd4-9630ae222212/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[b842f36b-19ed-41a9-92d2-8923e5413799], x-onap-invocationid=[31bb0410-8183-464c-b77f-30f78ba2d69f,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[b842f36b-19ed-41a9-92d2-8923e5413799,b842f36b-19ed-41a9-92d2-8923e5413799], x-requestid=[b842f36b-19ed-41a9-92d2-8923e5413799], x-transactionid=[b842f36b-19ed-41a9-92d2-8923e5413799]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
d1996b67-4ad1-4a1d-bcd4-9630ae222212
Ete_vVG_980cdec1_0
Vfmodule_Ete_vVG_980cdec1_0
048c5ae0-b838-4303-8502-217015f1e560
vVG 2019-10-14 00:13:22/vVG 2993662b-cea8 0
Vvg2993662bCea8..base_vvg..module-0
1.0
82cf316e-b2a2-400e-9fde-228c54ec045b
true
true
true
vf_module_id
048c5ae0-b838-4303-8502-217015f1e560
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_980cdec1_0
key_name
vfw_key980cdec1
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_980cdec1_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
d1996b67-4ad1-4a1d-bcd4-9630ae222212
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
61c11f6e-cc63-4f5d-a128-b0b92e849c37
repo_url_blob
https://nexus.onap.org/content/repositories/raw
dcae_collector_port
30235
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"048c5ae0-b838-4303-8502-217015f1e560"},{"attribute_name":"nova_instance","attribute_value":"61c11f6e-cc63-4f5d-a128-b0b92e849c37"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vVG_980cdec1_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_key980cdec1"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vVG_980cdec1_0"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"d1996b67-4ad1-4a1d-bcd4-9630ae222212"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
dcae_collector_ip
10.12.5.135
vf_module_index
0
b842f36b-19ed-41a9-92d2-8923e5413799
4b9dbd8b-6bed-4cd7-aed4-572e44e68aaa
b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177
--------------------------------------
2019-10-14T00:19:06.841Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"d1996b67-4ad1-4a1d-bcd4-9630ae222212","vnfType":"vVG 2019-10-14 00:13:22/vVG 2993662b-cea8 0","vnfVersion":"1.0","vfModuleId":"048c5ae0-b838-4303-8502-217015f1e560","vfModuleName":"Vfmodule_Ete_vVG_980cdec1_0","vfModuleType":"Vvg2993662bCea8..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"82cf316e-b2a2-400e-9fde-228c54ec045b","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"048c5ae0-b838-4303-8502-217015f1e560","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"61c11f6e-cc63-4f5d-a128-b0b92e849c37","vnf_name":"Ete_vVG_980cdec1_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vVG_980cdec1_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"d1996b67-4ad1-4a1d-bcd4-9630ae222212","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"048c5ae0-b838-4303-8502-217015f1e560\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"61c11f6e-cc63-4f5d-a128-b0b92e849c37\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vVG_980cdec1_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key980cdec1\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vVG_980cdec1_0\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"d1996b67-4ad1-4a1d-bcd4-9630ae222212\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key980cdec1","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"b842f36b-19ed-41a9-92d2-8923e5413799","serviceInstanceId":"4b9dbd8b-6bed-4cd7-aed4-572e44e68aaa"},"synchronous":false}}
2019-10-14T00:19:06.842Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T00:19:06.842Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 00:13:22/vVG 2993662b-cea8 0::Vvg2993662bCea8..base_vvg..module-0
2019-10-14T00:19:06.842Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T00:19:06.843Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T00:19:06.843Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T00:19:06.844Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T00:19:06.844Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T00:19:06.844Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 152
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 00:19:06 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T00:19:06.845Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 82cf316e-b2a2-400e-9fde-228c54ec045b
2019-10-14T00:19:06.845Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T00:19:06.845Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_980cdec1_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T00:19:06.846Z|b842f36b-19ed-41a9-92d2-8923e5413799|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:19:07.208Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T00:19:07.208Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:19:07.208Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_980cdec1_0
2019-10-14T00:19:07.215Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T00:19:07.215Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }
2019-10-14T00:19:07.215Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T00:19:07.215Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=cf2fd697-4caf-4637-a249-dd7f73a6d1db
2019-10-14T00:19:07.215Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=d2c402f6-87cf-42e5-9e69-880772428dac
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
volume_size, required=true nova_instance, required=true
Environment:parameters:
nova_instance: '1234456'
volume_size: 100
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=volume_size
param[1]=nova_instance
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T00:19:07.216Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T00:19:07.217Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T00:19:07.218Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T00:19:07.218Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_980cdec1_0', templateUrl='null', template='heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }', parameters={nova_instance=61c11f6e-cc63-4f5d-a128-b0b92e849c37}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T00:19:07.219Z|b842f36b-19ed-41a9-92d2-8923e5413799|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:19:07.376Z|b842f36b-19ed-41a9-92d2-8923e5413799|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/b842f36b-19ed-41a9-92d2-8923e5413799
2019-10-14T00:19:07.377Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/b842f36b-19ed-41a9-92d2-8923e5413799": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T00:19:08.451Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_980cdec1_0)
2019-10-14T00:19:08.452Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:19:23.809Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_980cdec1_0)
2019-10-14T00:19:23.810Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:19:23.810Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='create a Nova instance, a Cinder volume and attach the volume to the instance.', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vVG_980cdec1_0/7fa7d6af-91b6-44bd-a8f4-e267f4120990', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_980cdec1_0', updatedTime=Mon Oct 14 00:19:07 GMT 2019, creationTime=Mon Oct 14 00:19:07 GMT 2019, stackStatus='CREATE_COMPLETE', id='7fa7d6af-91b6-44bd-a8f4-e267f4120990', outputs='[]', parameters='{OS::stack_id=7fa7d6af-91b6-44bd-a8f4-e267f4120990, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=61c11f6e-cc63-4f5d-a128-b0b92e849c37, OS::stack_name=Vfmodule_Ete_vVG_980cdec1_0, volume_size=100}', files='null'}
2019-10-14T00:19:23.810Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_980cdec1_0 successfully created
2019-10-14T00:19:23.811Z|b842f36b-19ed-41a9-92d2-8923e5413799|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:19:23.835Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_980cdec1_0/7fa7d6af-91b6-44bd-a8f4-e267f4120990
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:19:23.847Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177
2019-10-14T00:19:23.847Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - Content is:
b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177
CloudOwner
RegionOne
b842f36b-19ed-41a9-92d2-8923e5413799-1571012346177
HEAT
b842f36b-19ed-41a9-92d2-8923e5413799
4b9dbd8b-6bed-4cd7-aed4-572e44e68aaa
28481f6939614cfd83e6767a0e039bcc
true
048c5ae0-b838-4303-8502-217015f1e560
Vfmodule_Ete_vVG_980cdec1_0/7fa7d6af-91b6-44bd-a8f4-e267f4120990
Vfmodule_Ete_vVG_980cdec1_0/7fa7d6af-91b6-44bd-a8f4-e267f4120990
true
048c5ae0-b838-4303-8502-217015f1e560
Vfmodule_Ete_vVG_980cdec1_0/7fa7d6af-91b6-44bd-a8f4-e267f4120990
d1996b67-4ad1-4a1d-bcd4-9630ae222212
2019-10-14T00:19:23.847Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T00:19:24.464Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T00:19:24.464Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T00:19:24.464Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T00:19:24.464Z|b842f36b-19ed-41a9-92d2-8923e5413799|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T00:20:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:21:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:22:30.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:23:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:24:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:24:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:25:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:27:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:27:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:29:15.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:29:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:30:16.888Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 153
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/8ea957ea-f4a7-4391-b1d9-45269495c7a7/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[86011872-835c-4638-aca3-1c5d4677f3d9], x-onap-invocationid=[488b6196-3fa1-40ea-8e19-d65dfda95ac2,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[86011872-835c-4638-aca3-1c5d4677f3d9,86011872-835c-4638-aca3-1c5d4677f3d9], x-requestid=[86011872-835c-4638-aca3-1c5d4677f3d9], x-transactionid=[86011872-835c-4638-aca3-1c5d4677f3d9]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
8ea957ea-f4a7-4391-b1d9-45269495c7a7
Ete_vFWCLvFWSNK_7ef50265_0
Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0
743d8f9d-505e-4914-ac85-e299d4c94c79
vFWCL 2019-10-14 00:21:/vFWCL_vFWSNK f485cf31-d938 0
VfwclVfwsnkF485cf31D938..base_vfw..module-0
1.0
6d4c8c49-ac9e-4d33-b689-d70265af9f3e
true
true
true
vf_module_id
743d8f9d-505e-4914-ac85-e299d4c94c79
oof_directives
{}
vfw_onap_private_ip_0
10.0.195.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snk0265
vnf_name
Ete_vFWCLvFWSNK_7ef50265_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_sub0265
vfw_int_protected_private_ip_0
192.168.20.100
vsn_image_name
ubuntu-14-04-cloud-amd64
vfw_flavor_name
m1.medium
key_name
vfw_key7ef50265
workload_context
vsn_onap_private_ip_0
10.0.195.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
8ea957ea-f4a7-4391-b1d9-45269495c7a7
int_protected_private_net_id
vofwlsnk_protected0265
cloud_env
openstack
vsn_int_protected_private_ip_0
192.168.20.250
vsn_flavor_name
m1.medium
int_protected_private_subnet_id
vofwlsnk_protected_sub0265
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwl0265
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotected0265
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
vfw_int_protected_private_floating_ip
192.168.10.200
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"743d8f9d-505e-4914-ac85-e299d4c94c79"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.195.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snk0265"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_7ef50265_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_sub0265"},{"attribute_name":"vfw_int_protected_private_ip_0","attribute_value":"192.168.20.100"},{"attribute_name":"vsn_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vfw_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"key_name","attribute_value":"vfw_key7ef50265"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.195.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vfw_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vnf_id","attribute_value":"8ea957ea-f4a7-4391-b1d9-45269495c7a7"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protected0265"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vsn_int_protected_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"vsn_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"int_protected_private_subnet_id","attribute_value":"vofwlsnk_protected_sub0265"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwl0265"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"int_unprotected_private_net_id","attribute_value":"vofwlsnk_unprotected0265"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vfw_int_protected_private_floating_ip","attribute_value":"192.168.10.200"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vfw_int_unprotected_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vfw_int_unprotected_private_ip_0
192.168.10.100
dcae_collector_ip
10.12.5.135
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
86011872-835c-4638-aca3-1c5d4677f3d9
00c7048d-10f0-4d1f-bd54-b64d7408ea76
86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221
--------------------------------------
2019-10-14T00:30:16.922Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"8ea957ea-f4a7-4391-b1d9-45269495c7a7","vnfType":"vFWCL 2019-10-14 00:21:/vFWCL_vFWSNK f485cf31-d938 0","vnfVersion":"1.0","vfModuleId":"743d8f9d-505e-4914-ac85-e299d4c94c79","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0","vfModuleType":"VfwclVfwsnkF485cf31D938..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"6d4c8c49-ac9e-4d33-b689-d70265af9f3e","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"743d8f9d-505e-4914-ac85-e299d4c94c79","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_7ef50265_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotected0265","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwl0265","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0","onap_private_net_cidr":"10.0.0.0/16","vfw_int_protected_private_floating_ip":"192.168.10.200","vsn_image_name":"ubuntu-14-04-cloud-amd64","vnf_id":"8ea957ea-f4a7-4391-b1d9-45269495c7a7","vfw_int_unprotected_private_ip_0":"192.168.10.100","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vsn_name_0":"vofwl01snk0265","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_sub0265","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.195.102","vfw_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"743d8f9d-505e-4914-ac85-e299d4c94c79\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.195.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snk0265\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_7ef50265_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_sub0265\"},{\"attribute_name\":\"vfw_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.100\"},{\"attribute_name\":\"vsn_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vfw_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key7ef50265\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.195.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vfw_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"8ea957ea-f4a7-4391-b1d9-45269495c7a7\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protected0265\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vsn_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"vsn_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"int_protected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_protected_sub0265\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwl0265\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"int_unprotected_private_net_id\",\"attribute_value\":\"vofwlsnk_unprotected0265\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vfw_int_protected_private_floating_ip\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vfw_int_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key7ef50265","int_protected_private_net_id":"vofwlsnk_protected0265","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vsn_int_protected_private_ip_0":"192.168.20.250","vfw_int_protected_private_ip_0":"192.168.20.100","install_script_version":"1.5.0-SNAPSHOT","vfw_image_name":"ubuntu-14-04-cloud-amd64","vfw_onap_private_ip_0":"10.0.195.101","int_protected_private_subnet_id":"vofwlsnk_protected_sub0265","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"86011872-835c-4638-aca3-1c5d4677f3d9","serviceInstanceId":"00c7048d-10f0-4d1f-bd54-b64d7408ea76"},"synchronous":false}}
2019-10-14T00:30:16.923Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T00:30:16.923Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 00:21:/vFWCL_vFWSNK f485cf31-d938 0::VfwclVfwsnkF485cf31D938..base_vfw..module-0
2019-10-14T00:30:16.922Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T00:30:16.924Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 6d4c8c49-ac9e-4d33-b689-d70265af9f3e
2019-10-14T00:30:16.923Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T00:30:16.924Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T00:30:16.924Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T00:30:16.924Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T00:30:16.924Z|86011872-835c-4638-aca3-1c5d4677f3d9|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:30:16.924Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T00:30:16.925Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T00:30:16.926Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 153
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 00:30:16 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T00:30:17.261Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T00:30:17.262Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:30:17.262Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=a9711e19-cdfd-4a3e-8c2f-c7a435ac28a0
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=c8acc65b-783e-425f-b573-aa960a369f8a
2019-10-14T00:30:17.272Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
onap_private_net_cidr, required=true vnf_id, required=true public_net_id, required=true int_unprotected_private_net_id, required=true onap_private_subnet_id, required=true sec_group, required=true vfw_int_unprotected_private_ip_0, required=true pub_key, required=true vfw_name_0, required=true demo_artifacts_version, required=true cloud_env, required=true int_protected_private_subnet_id, required=true vsn_onap_private_ip_0, required=true vfw_image_name, required=true install_script_version, required=true vfw_flavor_name, required=true vsn_flavor_name, required=true key_name, required=true vf_module_id, required=true int_protected_private_net_id, required=true dcae_collector_ip, required=true vsn_image_name, required=true vfw_onap_private_ip_0, required=true vfw_int_protected_private_ip_0, required=true nexus_artifact_repo, required=true net_prefix, required=true onap_private_net_id, required=true vnf_name, required=true vsn_int_protected_private_ip_0, required=true vsn_name_0, required=true protected_private_net_cidr, required=true int_unprotected_private_subnet_id, required=true unprotected_private_net_cidr, required=true vfw_int_protected_private_floating_ip, required=true dcae_collector_port, required=true
Environment:parameters:
vf_module_id: vFirewallCL
vsn_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
public_net_id: PUT THE PUBLIC NETWORK ID HERE
vnf_name: vFWSNK
int_unprotected_private_net_id: zdfw1fwl01_unprotected
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
vfw_name_0: zdfw1fwl01fwl01
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vfw_int_protected_private_floating_ip: 192.168.10.200
dcae_collector_ip: 10.0.4.1
vfw_int_unprotected_private_ip_0: 192.168.10.100
vnf_id: vFirewall_demo_app
vsn_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
dcae_collector_port: '30235'
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
int_unprotected_private_subnet_id: zdfw1fwl01_unprotected_sub
vsn_name_0: zdfw1fwl01snk01
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vsn_onap_private_ip_0: 10.0.100.3
vfw_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
net_prefix: vFWSNK
pub_key: PUT YOUR KEY HERE
int_protected_private_net_id: zdfw1fwl01_protected
key_name: vfw_key
vsn_int_protected_private_ip_0: 192.168.20.250
vfw_int_protected_private_ip_0: 192.168.20.100
install_script_version: 1.6.0-SNAPSHOT
vfw_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
vfw_onap_private_ip_0: 10.0.100.1
int_protected_private_subnet_id: zdfw1fwl01_protected_sub
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=onap_private_net_cidr
param[1]=vnf_id
param[2]=public_net_id
param[3]=int_unprotected_private_net_id
param[4]=onap_private_subnet_id
param[5]=sec_group
param[6]=vfw_int_unprotected_private_ip_0
param[7]=pub_key
param[8]=vfw_name_0
param[9]=demo_artifacts_version
param[10]=cloud_env
param[11]=int_protected_private_subnet_id
param[12]=vsn_onap_private_ip_0
param[13]=vfw_image_name
param[14]=install_script_version
param[15]=vfw_flavor_name
param[16]=vsn_flavor_name
param[17]=key_name
param[18]=vf_module_id
param[19]=int_protected_private_net_id
param[20]=dcae_collector_ip
param[21]=vsn_image_name
param[22]=vfw_onap_private_ip_0
param[23]=vfw_int_protected_private_ip_0
param[24]=nexus_artifact_repo
param[25]=net_prefix
param[26]=onap_private_net_id
param[27]=vnf_name
param[28]=vsn_int_protected_private_ip_0
param[29]=vsn_name_0
param[30]=protected_private_net_cidr
param[31]=int_unprotected_private_subnet_id
param[32]=unprotected_private_net_cidr
param[33]=vfw_int_protected_private_floating_ip
param[34]=dcae_collector_port
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:30:17.273Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T00:30:17.274Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T00:30:17.275Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T00:30:17.276Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T00:30:17.277Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T00:30:17.277Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
', parameters={vf_module_id=743d8f9d-505e-4914-ac85-e299d4c94c79, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_7ef50265_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotected0265, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwl0265, onap_private_net_cidr=10.0.0.0/16, vfw_int_protected_private_floating_ip=192.168.10.200, vsn_image_name=ubuntu-14-04-cloud-amd64, vnf_id=8ea957ea-f4a7-4391-b1d9-45269495c7a7, vfw_int_unprotected_private_ip_0=192.168.10.100, dcae_collector_ip=10.12.5.135, dcae_collector_port=30235, protected_private_net_cidr=192.168.20.0/24, unprotected_private_net_cidr=192.168.10.0/24, vsn_name_0=vofwl01snk0265, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub0265, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.195.102, vfw_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_key7ef50265, int_protected_private_net_id=vofwlsnk_protected0265, vsn_int_protected_private_ip_0=192.168.20.250, vfw_int_protected_private_ip_0=192.168.20.100, install_script_version=1.5.0-SNAPSHOT, vfw_image_name=ubuntu-14-04-cloud-amd64, vfw_onap_private_ip_0=10.0.195.101, int_protected_private_subnet_id=vofwlsnk_protected_sub0265, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
', disableRollback='true', files=null}
2019-10-14T00:30:17.277Z|86011872-835c-4638-aca3-1c5d4677f3d9|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:30:17.454Z|86011872-835c-4638-aca3-1c5d4677f3d9|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/86011872-835c-4638-aca3-1c5d4677f3d9
2019-10-14T00:30:17.455Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/86011872-835c-4638-aca3-1c5d4677f3d9": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T00:30:22.082Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0)
2019-10-14T00:30:22.082Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:30:37.392Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0)
2019-10-14T00:30:37.392Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:30:52.625Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0)
2019-10-14T00:30:52.625Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:31:07.851Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0)
2019-10-14T00:31:07.852Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0/53a566a5-e509-4570-84f0-d284253f9c51', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0', updatedTime=Mon Oct 14 00:30:21 GMT 2019, creationTime=Mon Oct 14 00:30:20 GMT 2019, stackStatus='CREATE_COMPLETE', id='53a566a5-e509-4570-84f0-d284253f9c51', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vfw_int_protected_private_ip_0=192.168.20.100, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_flavor_name=m1.medium, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vsn_onap_private_ip_0=10.0.195.102, vsn_image_name=ubuntu-14-04-cloud-amd64, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, onap_private_net_cidr=10.0.0.0/16, vf_module_id=743d8f9d-505e-4914-ac85-e299d4c94c79, protected_private_net_cidr=192.168.20.0/24, dcae_collector_port=30235, net_prefix=vFWSNK, vsn_int_protected_private_ip_0=192.168.20.250, int_unprotected_private_net_id=vofwlsnk_unprotected0265, vfw_int_protected_private_floating_ip=192.168.10.200, vfw_int_unprotected_private_ip_0=192.168.10.100, int_protected_private_subnet_id=vofwlsnk_protected_sub0265, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub0265, vnf_id=8ea957ea-f4a7-4391-b1d9-45269495c7a7, vfw_onap_private_ip_0=10.0.195.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0, key_name=vfw_key7ef50265, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protected0265, OS::stack_id=53a566a5-e509-4570-84f0-d284253f9c51, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwl0265, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snk0265, vnf_name=Ete_vFWCLvFWSNK_7ef50265_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vfw_image_name=ubuntu-14-04-cloud-amd64}', files='null'}
2019-10-14T00:31:07.852Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:31:07.852Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0 successfully created
2019-10-14T00:31:07.852Z|86011872-835c-4638-aca3-1c5d4677f3d9|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:31:07.865Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0/53a566a5-e509-4570-84f0-d284253f9c51
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:31:07.875Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221
2019-10-14T00:31:07.875Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - Content is:
86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221
CloudOwner
RegionOne
86011872-835c-4638-aca3-1c5d4677f3d9-1571013016221
HEAT
86011872-835c-4638-aca3-1c5d4677f3d9
00c7048d-10f0-4d1f-bd54-b64d7408ea76
28481f6939614cfd83e6767a0e039bcc
true
743d8f9d-505e-4914-ac85-e299d4c94c79
Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0/53a566a5-e509-4570-84f0-d284253f9c51
Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0/53a566a5-e509-4570-84f0-d284253f9c51
true
743d8f9d-505e-4914-ac85-e299d4c94c79
Vfmodule_Ete_vFWCLvFWSNK_7ef50265_0/53a566a5-e509-4570-84f0-d284253f9c51
8ea957ea-f4a7-4391-b1d9-45269495c7a7
2019-10-14T00:31:07.875Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T00:31:08.458Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T00:31:08.458Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T00:31:08.458Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T00:31:08.458Z|86011872-835c-4638-aca3-1c5d4677f3d9|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T00:31:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:32:00.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:33:09.265Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 154
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/e45792d7-371d-4de7-807f-ad945fd8c7d3/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[f2170fb9-0ce4-486f-8275-88a8410d1010], x-onap-invocationid=[fde7cdce-b2d6-4417-92cb-3127e4e5165d,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[f2170fb9-0ce4-486f-8275-88a8410d1010,f2170fb9-0ce4-486f-8275-88a8410d1010], x-requestid=[f2170fb9-0ce4-486f-8275-88a8410d1010], x-transactionid=[f2170fb9-0ce4-486f-8275-88a8410d1010]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
e45792d7-371d-4de7-807f-ad945fd8c7d3
Ete_vFWCLvPKG_7ef50265_1
Vfmodule_Ete_vFWCLvPKG_7ef50265_1
fe44498d-99d7-48a5-81b4-4e790ef39499
vFWCL 2019-10-14 00:21:/vFWCL_vPKG b3c2b01e-3cfb 0
VfwclVpkgB3c2b01e3cfb..base_vpkg..module-0
1.0
bcc6c5d1-43b4-4bd4-8268-6acc9d4ba6cf
true
true
true
vf_module_id
fe44498d-99d7-48a5-81b4-4e790ef39499
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_7ef50265_1
key_name
vfw_key7ef50265
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_7ef50265_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected0265
install_script_version
1.5.0-SNAPSHOT
vnf_id
e45792d7-371d-4de7-807f-ad945fd8c7d3
cloud_env
openstack
vpg_unprotected_private_ip_0
192.168.10.200
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
vofwl01pgn0265
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub0265
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"fe44498d-99d7-48a5-81b4-4e790ef39499"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvPKG_7ef50265_1"},{"attribute_name":"key_name","attribute_value":"vfw_key7ef50265"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_7ef50265_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected0265"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"e45792d7-371d-4de7-807f-ad945fd8c7d3"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vpg_unprotected_private_ip_0","attribute_value":"192.168.10.200"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"vofwl01pgn0265"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub0265"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vfw_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vsn_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.195.103"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
vfw_private_ip_0
192.168.10.100
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vsn_private_ip_0
192.168.20.250
dcae_collector_ip
10.12.5.135
vpg_onap_private_ip_0
10.0.195.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
f2170fb9-0ce4-486f-8275-88a8410d1010
00c7048d-10f0-4d1f-bd54-b64d7408ea76
f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597
--------------------------------------
2019-10-14T00:33:09.283Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"e45792d7-371d-4de7-807f-ad945fd8c7d3","vnfType":"vFWCL 2019-10-14 00:21:/vFWCL_vPKG b3c2b01e-3cfb 0","vnfVersion":"1.0","vfModuleId":"fe44498d-99d7-48a5-81b4-4e790ef39499","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_7ef50265_1","vfModuleType":"VfwclVpkgB3c2b01e3cfb..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"bcc6c5d1-43b4-4bd4-8268-6acc9d4ba6cf","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"fe44498d-99d7-48a5-81b4-4e790ef39499","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_7ef50265_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub0265","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","vfw_private_ip_0":"192.168.10.100","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vFWCLvPKG_7ef50265_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.195.103","vnf_id":"e45792d7-371d-4de7-807f-ad945fd8c7d3","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn0265","vsn_private_ip_0":"192.168.20.250","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vpg_image_name":"ubuntu-14-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","unprotected_private_net_id":"vFWSNK_vofwlsnk_unprotected0265","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"fe44498d-99d7-48a5-81b4-4e790ef39499\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvPKG_7ef50265_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key7ef50265\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_7ef50265_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected0265\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"e45792d7-371d-4de7-807f-ad945fd8c7d3\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vpg_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"vofwl01pgn0265\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub0265\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vfw_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vsn_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.195.103\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key7ef50265","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vpg_unprotected_private_ip_0":"192.168.10.200","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"f2170fb9-0ce4-486f-8275-88a8410d1010","serviceInstanceId":"00c7048d-10f0-4d1f-bd54-b64d7408ea76"},"synchronous":false}}
2019-10-14T00:33:09.284Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T00:33:09.283Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T00:33:09.284Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 00:21:/vFWCL_vPKG b3c2b01e-3cfb 0::VfwclVpkgB3c2b01e3cfb..base_vpkg..module-0
2019-10-14T00:33:09.284Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T00:33:09.285Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: bcc6c5d1-43b4-4bd4-8268-6acc9d4ba6cf
2019-10-14T00:33:09.285Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T00:33:09.285Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T00:33:09.285Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_7ef50265_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T00:33:09.285Z|f2170fb9-0ce4-486f-8275-88a8410d1010|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:33:09.285Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T00:33:09.285Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T00:33:09.286Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 154
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 00:33:09 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T00:33:09.722Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T00:33:09.723Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:33:09.723Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_7ef50265_1
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=6cc06b03-4de1-4fc1-85cf-9742e10a66fb
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=c878e91a-57a1-40c7-9bfc-4c281e0a4f8d
2019-10-14T00:33:09.732Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vnf_id, required=true vpg_unprotected_private_ip_0, required=true onap_private_net_cidr, required=true pub_key, required=true unprotected_private_subnet_id, required=true demo_artifacts_version, required=true vf_module_id, required=true cloud_env, required=true vfw_private_ip_0, required=true install_script_version, required=true key_name, required=true nexus_artifact_repo, required=true vpg_onap_private_ip_0, required=true unprotected_private_net_cidr, required=true onap_private_net_id, required=true vpg_image_name, required=true protected_private_net_cidr, required=true vsn_private_ip_0, required=true vnf_name, required=true vpg_name_0, required=true public_net_id, required=true sec_group, required=true vpg_flavor_name, required=true unprotected_private_net_id, required=true onap_private_subnet_id, required=true
Environment:parameters:
vf_module_id: vTrafficPNG
public_net_id: PUT THE PUBLIC NETWORK ID HERE
unprotected_private_subnet_id: vFWSNK_zdfw1fwl01_unprotected_sub
vnf_name: vPGK
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vfw_private_ip_0: 192.168.10.100
sec_group: PUT THE ONAP SECURITY GROUP HERE
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vpg_onap_private_ip_0: 10.0.100.2
vnf_id: vPNG_Firewall_demo_app
vpg_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
vpg_name_0: zdfw1fwl01pgn01
vsn_private_ip_0: 192.168.20.250
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
vpg_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
unprotected_private_net_id: vFWSNK_zdfw1fwl01_unprotected
demo_artifacts_version: 1.6.0-SNAPSHOT
pub_key: PUT YOUR PUBLIC KEY HERE
key_name: vfw_key
vpg_unprotected_private_ip_0: 192.168.10.200
install_script_version: 1.6.0-SNAPSHOT
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vnf_id
param[1]=vpg_unprotected_private_ip_0
param[2]=onap_private_net_cidr
param[3]=pub_key
param[4]=unprotected_private_subnet_id
param[5]=demo_artifacts_version
param[6]=vf_module_id
param[7]=cloud_env
param[8]=vfw_private_ip_0
param[9]=install_script_version
param[10]=key_name
param[11]=nexus_artifact_repo
param[12]=vpg_onap_private_ip_0
param[13]=unprotected_private_net_cidr
param[14]=onap_private_net_id
param[15]=vpg_image_name
param[16]=protected_private_net_cidr
param[17]=vsn_private_ip_0
param[18]=vnf_name
param[19]=vpg_name_0
param[20]=public_net_id
param[21]=sec_group
param[22]=vpg_flavor_name
param[23]=unprotected_private_net_id
param[24]=onap_private_subnet_id
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:33:09.733Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T00:33:09.734Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T00:33:09.735Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T00:33:09.736Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T00:33:09.736Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_7ef50265_1', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
', parameters={vf_module_id=fe44498d-99d7-48a5-81b4-4e790ef39499, unprotected_private_net_cidr=192.168.10.0/24, vpg_image_name=ubuntu-14-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected0265, vnf_name=Ete_vFWCLvPKG_7ef50265_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub0265, demo_artifacts_version=1.5.0-SNAPSHOT, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vpg_onap_private_ip_0=10.0.195.103, key_name=vfw_key7ef50265, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=e45792d7-371d-4de7-807f-ad945fd8c7d3, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn0265, vsn_private_ip_0=192.168.20.250, protected_private_net_cidr=192.168.20.0/24, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
', disableRollback='true', files=null}
2019-10-14T00:33:09.737Z|f2170fb9-0ce4-486f-8275-88a8410d1010|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:33:09.903Z|f2170fb9-0ce4-486f-8275-88a8410d1010|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/f2170fb9-0ce4-486f-8275-88a8410d1010
2019-10-14T00:33:09.904Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/f2170fb9-0ce4-486f-8275-88a8410d1010": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T00:33:13.076Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_7ef50265_1)
2019-10-14T00:33:13.077Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:33:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:33:28.363Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_7ef50265_1)
2019-10-14T00:33:28.363Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:33:43.641Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_7ef50265_1)
2019-10-14T00:33:43.641Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:33:43.641Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys the vFirewall Traffic Generator demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvPKG_7ef50265_1/0cf59c98-2e43-454c-965c-7945807d5e8a', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_7ef50265_1', updatedTime=Mon Oct 14 00:33:11 GMT 2019, creationTime=Mon Oct 14 00:33:11 GMT 2019, stackStatus='CREATE_COMPLETE', id='0cf59c98-2e43-454c-965c-7945807d5e8a', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=fe44498d-99d7-48a5-81b4-4e790ef39499, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, vnf_id=e45792d7-371d-4de7-807f-ad945fd8c7d3, protected_private_net_cidr=192.168.20.0/24, vpg_unprotected_private_ip_0=192.168.10.200, vpg_onap_private_ip_0=10.0.195.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected0265, vpg_name_0=vofwl01pgn0265, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub0265, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_7ef50265_1, key_name=vfw_key7ef50265, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=0cf59c98-2e43-454c-965c-7945807d5e8a, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_7ef50265_1, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh}', files='null'}
2019-10-14T00:33:43.641Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_7ef50265_1 successfully created
2019-10-14T00:33:43.642Z|f2170fb9-0ce4-486f-8275-88a8410d1010|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T00:33:43.654Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_7ef50265_1/0cf59c98-2e43-454c-965c-7945807d5e8a
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T00:33:43.665Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597
2019-10-14T00:33:43.665Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - Content is:
f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597
CloudOwner
RegionOne
f2170fb9-0ce4-486f-8275-88a8410d1010-1571013188597
HEAT
f2170fb9-0ce4-486f-8275-88a8410d1010
00c7048d-10f0-4d1f-bd54-b64d7408ea76
28481f6939614cfd83e6767a0e039bcc
true
fe44498d-99d7-48a5-81b4-4e790ef39499
Vfmodule_Ete_vFWCLvPKG_7ef50265_1/0cf59c98-2e43-454c-965c-7945807d5e8a
Vfmodule_Ete_vFWCLvPKG_7ef50265_1/0cf59c98-2e43-454c-965c-7945807d5e8a
true
fe44498d-99d7-48a5-81b4-4e790ef39499
Vfmodule_Ete_vFWCLvPKG_7ef50265_1/0cf59c98-2e43-454c-965c-7945807d5e8a
e45792d7-371d-4de7-807f-ad945fd8c7d3
2019-10-14T00:33:43.665Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T00:33:44.194Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T00:33:44.194Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T00:33:44.194Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T00:33:44.194Z|f2170fb9-0ce4-486f-8275-88a8410d1010|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T00:37:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:37:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:38:30.355Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T00:40:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:42:15.357Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T00:43:00.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:43:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:44:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:46:00.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:47:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:48:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:49:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T00:50:15.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T00:51:00.358Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T00:52:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T00:53:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:54:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:56:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T00:58:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T00:59:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:00:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:00:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:01:30.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:02:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:03:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:05:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:05:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:07:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:07:25.430Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 155
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/005b7d54-3ff1-4992-94ad-1c9b39bcf868/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[45e705a9-bab9-4754-b197-2758f3d7003e], x-onap-invocationid=[7a6fc9b8-28fa-41d7-b375-08640950b902,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[45e705a9-bab9-4754-b197-2758f3d7003e,45e705a9-bab9-4754-b197-2758f3d7003e], x-requestid=[45e705a9-bab9-4754-b197-2758f3d7003e], x-transactionid=[45e705a9-bab9-4754-b197-2758f3d7003e]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
005b7d54-3ff1-4992-94ad-1c9b39bcf868
Ete_vLB_28b09d62_0
Vfmodule_Ete_vLB_28b09d62_0
b2ee784f-f810-48c7-b33d-4604cc6f8bf4
vLB 2019-10-14 01:00:53/vLBMS a399af20-54ca 0
VlbmsA399af2054ca..base_vlb..module-0
1.0
292b043e-c1d7-4a54-9c01-6ea5bf3f1d18
true
true
true
vf_module_id
b2ee784f-f810-48c7-b33d-4604cc6f8bf4
vdns_flavor_name
m1.medium
vip
192.168.9.112
oof_directives
{}
pktgen_private_net_cidr
192.168.9.0/24
vpg_image_name
ubuntu-16-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vlb_int_private_ip_0
192.168.30.100
vnf_name
Ete_vLB_28b09d62_0
key_name
vfw_key28b09d62
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_28b09d62_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblb9d62
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgen9d62
gre_ipaddr
192.168.30.112
vnf_id
005b7d54-3ff1-4992-94ad-1c9b39bcf868
cloud_env
openstack
vlb_image_name
ubuntu-16-04-cloud-amd64
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vdns_image_name
ubuntu-16-04-cloud-amd64
vlb_onap_private_ip_0
10.0.158.24
vdns_onap_private_ip_0
10.0.158.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgn9d62
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
vlb_int_pktgen_private_ip_0
192.168.9.111
environment_context
vlb_private_net_cidr
192.168.30.0/24
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"b2ee784f-f810-48c7-b33d-4604cc6f8bf4"},{"attribute_name":"vdns_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vip","attribute_value":"192.168.9.112"},{"attribute_name":"pktgen_private_net_cidr","attribute_value":"192.168.9.0/24"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vlb_int_private_ip_0","attribute_value":"192.168.30.100"},{"attribute_name":"vnf_name","attribute_value":"Ete_vLB_28b09d62_0"},{"attribute_name":"key_name","attribute_value":"vfw_key28b09d62"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_28b09d62_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblb9d62"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgen9d62"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"005b7d54-3ff1-4992-94ad-1c9b39bcf868"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vlb_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vdns_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"vlb_onap_private_ip_0","attribute_value":"10.0.158.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.158.25"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"clvlbpgn9d62"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"vlb_int_pktgen_private_ip_0","attribute_value":"192.168.9.111"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vlb_private_net_cidr","attribute_value":"192.168.30.0/24"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vdns_name_0","attribute_value":"vlbdns9d62"},{"attribute_name":"vdns_int_private_ip_0","attribute_value":"192.168.30.110"},{"attribute_name":"vlb_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"pg_int","attribute_value":"192.168.9.109"},{"attribute_name":"vlb_private_net_id","attribute_value":"lb01_private9d62"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.158.27"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
demo_artifacts_version
1.5.0-SNAPSHOT
vdns_name_0
vlbdns9d62
vdns_int_private_ip_0
192.168.30.110
vlb_flavor_name
m1.medium
dcae_collector_ip
10.12.5.135
pg_int
192.168.9.109
vlb_private_net_id
lb01_private9d62
vpg_onap_private_ip_0
10.0.158.27
vf_module_index
0
45e705a9-bab9-4754-b197-2758f3d7003e
a1b57477-f6bf-48c5-b372-06bbcff00528
45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741
--------------------------------------
2019-10-14T01:07:25.466Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"005b7d54-3ff1-4992-94ad-1c9b39bcf868","vnfType":"vLB 2019-10-14 01:00:53/vLBMS a399af20-54ca 0","vnfVersion":"1.0","vfModuleId":"b2ee784f-f810-48c7-b33d-4604cc6f8bf4","vfModuleName":"Vfmodule_Ete_vLB_28b09d62_0","vfModuleType":"VlbmsA399af2054ca..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"292b043e-c1d7-4a54-9c01-6ea5bf3f1d18","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"b2ee784f-f810-48c7-b33d-4604cc6f8bf4","vlb_int_pktgen_private_ip_0":"192.168.9.111","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vlb_private_net_cidr":"192.168.30.0/24","vdns_onap_private_ip_0":"10.0.158.25","vlb_private_net_id":"lb01_private9d62","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_28b09d62_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","gre_ipaddr":"192.168.30.112","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vLB_28b09d62_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdns9d62","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.158.27","vnf_id":"005b7d54-3ff1-4992-94ad-1c9b39bcf868","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","vip":"192.168.9.112","oof_directives":"{}","vpg_name_0":"clvlbpgn9d62","vlb_flavor_name":"m1.medium","pktgen_private_net_cidr":"192.168.9.0/24","vpg_image_name":"ubuntu-16-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vdns_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","vpg_int_pktgen_private_ip_0":"192.168.9.110","vlb_int_private_ip_0":"192.168.30.100","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"b2ee784f-f810-48c7-b33d-4604cc6f8bf4\"},{\"attribute_name\":\"vdns_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vip\",\"attribute_value\":\"192.168.9.112\"},{\"attribute_name\":\"pktgen_private_net_cidr\",\"attribute_value\":\"192.168.9.0/24\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vlb_int_private_ip_0\",\"attribute_value\":\"192.168.30.100\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vLB_28b09d62_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key28b09d62\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_28b09d62_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblb9d62\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgen9d62\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"005b7d54-3ff1-4992-94ad-1c9b39bcf868\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vlb_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vdns_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"vlb_onap_private_ip_0\",\"attribute_value\":\"10.0.158.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.158.25\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"clvlbpgn9d62\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"vlb_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.111\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vlb_private_net_cidr\",\"attribute_value\":\"192.168.30.0/24\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vdns_name_0\",\"attribute_value\":\"vlbdns9d62\"},{\"attribute_name\":\"vdns_int_private_ip_0\",\"attribute_value\":\"192.168.30.110\"},{\"attribute_name\":\"vlb_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"pg_int\",\"attribute_value\":\"192.168.9.109\"},{\"attribute_name\":\"vlb_private_net_id\",\"attribute_value\":\"lb01_private9d62\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.158.27\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key28b09d62","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblb9d62","pktgen_private_net_id":"lb01_pktgen9d62","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.158.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"45e705a9-bab9-4754-b197-2758f3d7003e","serviceInstanceId":"a1b57477-f6bf-48c5-b372-06bbcff00528"},"synchronous":false}}
2019-10-14T01:07:25.467Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T01:07:25.467Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 01:00:53/vLBMS a399af20-54ca 0::VlbmsA399af2054ca..base_vlb..module-0
2019-10-14T01:07:25.467Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T01:07:25.468Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 292b043e-c1d7-4a54-9c01-6ea5bf3f1d18
2019-10-14T01:07:25.468Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T01:07:25.469Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_28b09d62_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T01:07:25.468Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T01:07:25.469Z|45e705a9-bab9-4754-b197-2758f3d7003e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:07:25.469Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T01:07:25.469Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T01:07:25.469Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T01:07:25.470Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 155
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 01:07:25 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T01:07:25.922Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T01:07:25.922Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:07:25.922Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_28b09d62_0
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=7a1b148d-966e-49a7-b1cd-646293045d28
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=316eaeca-7a98-45a8-ae5a-4ca6b986bcdb
2019-10-14T01:07:25.932Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T01:07:25.933Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
public_net_id, required=true sec_group, required=true dcae_collector_port, required=true onap_private_net_cidr, required=true vpg_name_0, required=true vnf_id, required=true vlb_private_net_cidr, required=true onap_private_subnet_id, required=true vpg_int_pktgen_private_ip_0, required=true install_script_version, required=true vlb_onap_private_ip_0, required=true cloud_env, required=true gre_ipaddr, required=true nexus_artifact_repo, required=true vlb_image_name, required=true vnf_name, required=true onap_private_net_id, required=true vf_module_id, required=true vlb_int_pktgen_private_ip_0, required=true pktgen_private_net_id, required=true vdns_image_name, required=true vdns_onap_private_ip_0, required=true vdns_flavor_name, required=true vip, required=true vlb_int_private_ip_0, required=true vlb_flavor_name, required=true key_name, required=true vpg_image_name, required=true vpg_flavor_name, required=true vlb_name_0, required=true nb_api_version, required=true demo_artifacts_version, required=true pub_key, required=true vdns_int_private_ip_0, required=true vdns_name_0, required=true pg_int, required=true vlb_private_net_id, required=true vpg_onap_private_ip_0, required=true pktgen_private_net_cidr, required=true dcae_collector_ip, required=true
Environment:parameters:
vf_module_id: vLoadBalancer
vlb_int_pktgen_private_ip_0: 192.168.9.111
vlb_private_net_cidr: 192.168.10.0/24
vdns_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS
vlb_private_net_id: zdfw1lb01_private
vdns_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
public_net_id: PUT THE NETWORK ID HERE
vnf_name: vLBMS
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
gre_ipaddr: 192.168.10.112
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: PUT THE ONAP NETWORK CIDR HERE
pg_int: 192.168.9.109
vdns_int_private_ip_0: 192.168.10.211
vdns_name_0: zdfw1lb01dns01
vpg_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN
dcae_collector_ip: 10.0.4.1
vnf_id: vLoadBalancer_demo_app
vpg_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
dcae_collector_port: '30235'
vip: 192.168.9.112
vpg_name_0: zdfw1lb01pg01
vlb_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
pktgen_private_net_cidr: 192.168.9.0/24
vpg_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vdns_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
nb_api_version: 1.2.0
vpg_int_pktgen_private_ip_0: 192.168.9.110
vlb_int_private_ip_0: 192.168.10.111
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
key_name: vlb_key
vlb_name_0: zdfw1lb01lb01
pktgen_private_net_id: zdfw1pktgen01_private
install_script_version: 1.6.0-SNAPSHOT
vlb_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
cloud_env: PUT openstack OR rackspace HERE
vlb_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
2019-10-14T01:07:25.933Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=public_net_id
param[1]=sec_group
param[2]=dcae_collector_port
param[3]=onap_private_net_cidr
param[4]=vpg_name_0
param[5]=vnf_id
param[6]=vlb_private_net_cidr
param[7]=onap_private_subnet_id
param[8]=vpg_int_pktgen_private_ip_0
param[9]=install_script_version
param[10]=vlb_onap_private_ip_0
param[11]=cloud_env
param[12]=gre_ipaddr
param[13]=nexus_artifact_repo
param[14]=vlb_image_name
param[15]=vnf_name
param[16]=onap_private_net_id
param[17]=vf_module_id
param[18]=vlb_int_pktgen_private_ip_0
param[19]=pktgen_private_net_id
param[20]=vdns_image_name
param[21]=vdns_onap_private_ip_0
param[22]=vdns_flavor_name
param[23]=vip
param[24]=vlb_int_private_ip_0
param[25]=vlb_flavor_name
param[26]=key_name
param[27]=vpg_image_name
param[28]=vpg_flavor_name
param[29]=vlb_name_0
param[30]=nb_api_version
param[31]=demo_artifacts_version
param[32]=pub_key
param[33]=vdns_int_private_ip_0
param[34]=vdns_name_0
param[35]=pg_int
param[36]=vlb_private_net_id
param[37]=vpg_onap_private_ip_0
param[38]=pktgen_private_net_cidr
param[39]=dcae_collector_ip
2019-10-14T01:07:25.933Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T01:07:25.933Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T01:07:25.934Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T01:07:25.935Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:07:25.936Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T01:07:25.937Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T01:07:25.937Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T01:07:25.937Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T01:07:25.937Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T01:07:25.937Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T01:07:25.938Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T01:07:25.938Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_28b09d62_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
', parameters={vf_module_id=b2ee784f-f810-48c7-b33d-4604cc6f8bf4, vlb_int_pktgen_private_ip_0=192.168.9.111, vlb_private_net_cidr=192.168.30.0/24, vdns_onap_private_ip_0=10.0.158.25, vlb_private_net_id=lb01_private9d62, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_28b09d62_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, gre_ipaddr=192.168.30.112, onap_private_net_cidr=10.0.0.0/16, vdns_name_0=vlbdns9d62, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.158.27, vnf_id=005b7d54-3ff1-4992-94ad-1c9b39bcf868, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgn9d62, vlb_flavor_name=m1.medium, pktgen_private_net_cidr=192.168.9.0/24, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vdns_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, vpg_int_pktgen_private_ip_0=192.168.9.110, vlb_int_private_ip_0=192.168.30.100, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_key28b09d62, vlb_name_0=vlblb9d62, pktgen_private_net_id=lb01_pktgen9d62, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.158.24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
', disableRollback='true', files=null}
2019-10-14T01:07:25.938Z|45e705a9-bab9-4754-b197-2758f3d7003e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:07:26.119Z|45e705a9-bab9-4754-b197-2758f3d7003e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/45e705a9-bab9-4754-b197-2758f3d7003e
2019-10-14T01:07:26.120Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/45e705a9-bab9-4754-b197-2758f3d7003e": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T01:07:31.315Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_28b09d62_0)
2019-10-14T01:07:31.316Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:07:46.638Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_28b09d62_0)
2019-10-14T01:07:46.638Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:08:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:08:01.721Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_28b09d62_0)
2019-10-14T01:08:01.721Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:08:16.814Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_28b09d62_0)
2019-10-14T01:08:16.814Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:08:16.814Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template to deploy vLoadBalancer/vDNS demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vLB_28b09d62_0/63d64b08-fb52-498e-b5e0-4409a7733017', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_28b09d62_0', updatedTime=Mon Oct 14 01:07:30 GMT 2019, creationTime=Mon Oct 14 01:07:30 GMT 2019, stackStatus='CREATE_COMPLETE', id='63d64b08-fb52-498e-b5e0-4409a7733017', outputs='[Output [key=int_private_net_id, value=a42134f6-750f-4c22-9a9d-b29c770006c7], Output [key=int_private_subnet_id, value=84a9d16d-718c-4718-a3b7-c060d9d02431]]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vdns_int_private_ip_0=192.168.30.110, onap_private_net_cidr=10.0.0.0/16, vf_module_id=b2ee784f-f810-48c7-b33d-4604cc6f8bf4, dcae_collector_port=30235, vlb_name_0=vlblb9d62, vpg_onap_private_ip_0=10.0.158.27, vlb_private_net_id=lb01_private9d62, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.158.24, vlb_private_net_cidr=192.168.30.0/24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64, vpg_int_pktgen_private_ip_0=192.168.9.110, vdns_flavor_name=m1.medium, vdns_name_0=vlbdns9d62, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=005b7d54-3ff1-4992-94ad-1c9b39bcf868, OS::stack_name=Vfmodule_Ete_vLB_28b09d62_0, key_name=vfw_key28b09d62, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgen9d62, vlb_int_pktgen_private_ip_0=192.168.9.111, pktgen_private_net_cidr=192.168.9.0/24, demo_artifacts_version=1.5.0-SNAPSHOT, vlb_int_private_ip_0=192.168.30.100, vpg_name_0=clvlbpgn9d62, dcae_collector_ip=10.12.5.135, OS::stack_id=63d64b08-fb52-498e-b5e0-4409a7733017, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.158.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_28b09d62_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T01:08:16.814Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_28b09d62_0 successfully created
2019-10-14T01:08:16.815Z|45e705a9-bab9-4754-b197-2758f3d7003e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:08:16.833Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_28b09d62_0/63d64b08-fb52-498e-b5e0-4409a7733017
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:08:16.844Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741
2019-10-14T01:08:16.844Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - Content is:
45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741
CloudOwner
RegionOne
45e705a9-bab9-4754-b197-2758f3d7003e-1571015244741
HEAT
45e705a9-bab9-4754-b197-2758f3d7003e
a1b57477-f6bf-48c5-b372-06bbcff00528
28481f6939614cfd83e6767a0e039bcc
true
b2ee784f-f810-48c7-b33d-4604cc6f8bf4
Vfmodule_Ete_vLB_28b09d62_0/63d64b08-fb52-498e-b5e0-4409a7733017
Vfmodule_Ete_vLB_28b09d62_0/63d64b08-fb52-498e-b5e0-4409a7733017
true
b2ee784f-f810-48c7-b33d-4604cc6f8bf4
int_private_subnet_id
84a9d16d-718c-4718-a3b7-c060d9d02431
int_private_net_id
a42134f6-750f-4c22-9a9d-b29c770006c7
Vfmodule_Ete_vLB_28b09d62_0/63d64b08-fb52-498e-b5e0-4409a7733017
005b7d54-3ff1-4992-94ad-1c9b39bcf868
2019-10-14T01:08:16.845Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:08:17.588Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T01:08:17.588Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:08:17.588Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T01:08:17.589Z|45e705a9-bab9-4754-b197-2758f3d7003e|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T01:08:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:10:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:11:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:11:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:12:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:15:30.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:16:00.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:16:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:18:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:18:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:19:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:20:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:21:14.924Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 156
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/c88305d8-7369-4747-80f6-777152bba506/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[c3b45cb0-67de-475e-9d4e-09fcd4038677], x-onap-invocationid=[203f6a47-1e95-4f4f-941c-180a8f66fe32,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[c3b45cb0-67de-475e-9d4e-09fcd4038677,c3b45cb0-67de-475e-9d4e-09fcd4038677], x-requestid=[c3b45cb0-67de-475e-9d4e-09fcd4038677], x-transactionid=[c3b45cb0-67de-475e-9d4e-09fcd4038677]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
c88305d8-7369-4747-80f6-777152bba506
Ete_vVG_f648635d_0
Vfmodule_Ete_vVG_f648635d_0
9e7f0d59-8176-4960-b028-f603f8d69edd
vVG 2019-10-14 01:13:18/vVG a42fcf2e-fc65 0
VvgA42fcf2eFc65..base_vvg..module-0
1.0
e4f2fc12-4acd-4985-a2d8-ce370d8a2817
true
true
true
vf_module_id
9e7f0d59-8176-4960-b028-f603f8d69edd
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_f648635d_0
key_name
vfw_keyf648635d
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_f648635d_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
c88305d8-7369-4747-80f6-777152bba506
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6
repo_url_blob
https://nexus.onap.org/content/repositories/raw
dcae_collector_port
30235
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"9e7f0d59-8176-4960-b028-f603f8d69edd"},{"attribute_name":"nova_instance","attribute_value":"fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vVG_f648635d_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_keyf648635d"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vVG_f648635d_0"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"c88305d8-7369-4747-80f6-777152bba506"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
dcae_collector_ip
10.12.5.135
vf_module_index
0
c3b45cb0-67de-475e-9d4e-09fcd4038677
85137ca7-ceaa-4507-8411-ebed0d0b01cb
c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256
--------------------------------------
2019-10-14T01:21:14.939Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"c88305d8-7369-4747-80f6-777152bba506","vnfType":"vVG 2019-10-14 01:13:18/vVG a42fcf2e-fc65 0","vnfVersion":"1.0","vfModuleId":"9e7f0d59-8176-4960-b028-f603f8d69edd","vfModuleName":"Vfmodule_Ete_vVG_f648635d_0","vfModuleType":"VvgA42fcf2eFc65..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"e4f2fc12-4acd-4985-a2d8-ce370d8a2817","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"9e7f0d59-8176-4960-b028-f603f8d69edd","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6","vnf_name":"Ete_vVG_f648635d_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vVG_f648635d_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"c88305d8-7369-4747-80f6-777152bba506","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"9e7f0d59-8176-4960-b028-f603f8d69edd\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vVG_f648635d_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyf648635d\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vVG_f648635d_0\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"c88305d8-7369-4747-80f6-777152bba506\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_keyf648635d","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"c3b45cb0-67de-475e-9d4e-09fcd4038677","serviceInstanceId":"85137ca7-ceaa-4507-8411-ebed0d0b01cb"},"synchronous":false}}
2019-10-14T01:21:14.940Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T01:21:14.940Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 01:13:18/vVG a42fcf2e-fc65 0::VvgA42fcf2eFc65..base_vvg..module-0
2019-10-14T01:21:14.940Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T01:21:14.940Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: e4f2fc12-4acd-4985-a2d8-ce370d8a2817
2019-10-14T01:21:14.941Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T01:21:14.940Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T01:21:14.941Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_f648635d_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T01:21:14.941Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T01:21:14.941Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:21:14.941Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T01:21:14.941Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T01:21:14.942Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 156
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 01:21:14 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T01:21:15.286Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T01:21:15.286Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:21:15.286Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_f648635d_0
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=3f3378ec-c37a-4848-b02a-952d3f2b1620
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=c6873ede-d4f2-4b1c-bda8-9f31e30e2fc0
2019-10-14T01:21:15.294Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T01:21:15.295Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
volume_size, required=true nova_instance, required=true
Environment:parameters:
nova_instance: '1234456'
volume_size: 100
2019-10-14T01:21:15.295Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=volume_size
param[1]=nova_instance
2019-10-14T01:21:15.295Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T01:21:15.295Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T01:21:15.295Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T01:21:15.296Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T01:21:15.297Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T01:21:15.297Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_f648635d_0', templateUrl='null', template='heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }', parameters={nova_instance=fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T01:21:15.298Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:21:15.481Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/c3b45cb0-67de-475e-9d4e-09fcd4038677
2019-10-14T01:21:15.482Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/c3b45cb0-67de-475e-9d4e-09fcd4038677": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T01:21:16.578Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_f648635d_0)
2019-10-14T01:21:16.579Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:21:31.789Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_f648635d_0)
2019-10-14T01:21:31.789Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:21:31.789Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='create a Nova instance, a Cinder volume and attach the volume to the instance.', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vVG_f648635d_0/32363295-e87a-481c-a3da-59e14d7f30f2', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_f648635d_0', updatedTime=Mon Oct 14 01:21:15 GMT 2019, creationTime=Mon Oct 14 01:21:15 GMT 2019, stackStatus='CREATE_COMPLETE', id='32363295-e87a-481c-a3da-59e14d7f30f2', outputs='[]', parameters='{OS::stack_id=32363295-e87a-481c-a3da-59e14d7f30f2, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=fc87aad9-a6f5-4cbe-86ef-88ecf5d96fd6, OS::stack_name=Vfmodule_Ete_vVG_f648635d_0, volume_size=100}', files='null'}
2019-10-14T01:21:31.790Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_f648635d_0 successfully created
2019-10-14T01:21:31.791Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:21:31.805Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_f648635d_0/32363295-e87a-481c-a3da-59e14d7f30f2
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:21:31.821Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256
2019-10-14T01:21:31.821Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - Content is:
c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256
CloudOwner
RegionOne
c3b45cb0-67de-475e-9d4e-09fcd4038677-1571016074256
HEAT
c3b45cb0-67de-475e-9d4e-09fcd4038677
85137ca7-ceaa-4507-8411-ebed0d0b01cb
28481f6939614cfd83e6767a0e039bcc
true
9e7f0d59-8176-4960-b028-f603f8d69edd
Vfmodule_Ete_vVG_f648635d_0/32363295-e87a-481c-a3da-59e14d7f30f2
Vfmodule_Ete_vVG_f648635d_0/32363295-e87a-481c-a3da-59e14d7f30f2
true
9e7f0d59-8176-4960-b028-f603f8d69edd
Vfmodule_Ete_vVG_f648635d_0/32363295-e87a-481c-a3da-59e14d7f30f2
c88305d8-7369-4747-80f6-777152bba506
2019-10-14T01:21:31.821Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:21:32.487Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T01:21:32.487Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:21:32.488Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T01:21:32.488Z|c3b45cb0-67de-475e-9d4e-09fcd4038677|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T01:21:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:23:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:24:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:24:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:25:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:27:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:27:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:28:30.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:29:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:29:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:30:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:31:15.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:31:45.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:32:16.921Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 157
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/bc7a33d1-d8c3-46af-ba19-a00701743b3d/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[11a16adc-f586-48f9-b368-2c01e1e382af], x-onap-invocationid=[b58a7766-48f5-4484-b980-9f3f52400138,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[11a16adc-f586-48f9-b368-2c01e1e382af,11a16adc-f586-48f9-b368-2c01e1e382af], x-requestid=[11a16adc-f586-48f9-b368-2c01e1e382af], x-transactionid=[11a16adc-f586-48f9-b368-2c01e1e382af]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
bc7a33d1-d8c3-46af-ba19-a00701743b3d
Ete_vFWCLvFWSNK_3cd57462_0
Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0
659d4fce-9584-420b-84b7-9991c9f62f6a
vFWCL 2019-10-14 01:23:/vFWCL_vFWSNK d2dac771-453c 0
VfwclVfwsnkD2dac771453c..base_vfw..module-0
1.0
341182fa-7646-41a1-84ca-b94115cc0507
true
true
true
vf_module_id
659d4fce-9584-420b-84b7-9991c9f62f6a
oof_directives
{}
vfw_onap_private_ip_0
10.0.158.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snk7462
vnf_name
Ete_vFWCLvFWSNK_3cd57462_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_sub7462
vfw_int_protected_private_ip_0
192.168.20.100
vsn_image_name
ubuntu-14-04-cloud-amd64
vfw_flavor_name
m1.medium
key_name
vfw_key3cd57462
workload_context
vsn_onap_private_ip_0
10.0.158.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
bc7a33d1-d8c3-46af-ba19-a00701743b3d
int_protected_private_net_id
vofwlsnk_protected7462
cloud_env
openstack
vsn_int_protected_private_ip_0
192.168.20.250
vsn_flavor_name
m1.medium
int_protected_private_subnet_id
vofwlsnk_protected_sub7462
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwl7462
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotected7462
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
vfw_int_protected_private_floating_ip
192.168.10.200
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"659d4fce-9584-420b-84b7-9991c9f62f6a"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.158.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snk7462"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_3cd57462_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_sub7462"},{"attribute_name":"vfw_int_protected_private_ip_0","attribute_value":"192.168.20.100"},{"attribute_name":"vsn_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vfw_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"key_name","attribute_value":"vfw_key3cd57462"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.158.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vfw_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vnf_id","attribute_value":"bc7a33d1-d8c3-46af-ba19-a00701743b3d"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protected7462"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vsn_int_protected_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"vsn_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"int_protected_private_subnet_id","attribute_value":"vofwlsnk_protected_sub7462"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwl7462"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"int_unprotected_private_net_id","attribute_value":"vofwlsnk_unprotected7462"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vfw_int_protected_private_floating_ip","attribute_value":"192.168.10.200"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vfw_int_unprotected_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vfw_int_unprotected_private_ip_0
192.168.10.100
dcae_collector_ip
10.12.5.135
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
11a16adc-f586-48f9-b368-2c01e1e382af
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226
--------------------------------------
2019-10-14T01:32:16.945Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"bc7a33d1-d8c3-46af-ba19-a00701743b3d","vnfType":"vFWCL 2019-10-14 01:23:/vFWCL_vFWSNK d2dac771-453c 0","vnfVersion":"1.0","vfModuleId":"659d4fce-9584-420b-84b7-9991c9f62f6a","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0","vfModuleType":"VfwclVfwsnkD2dac771453c..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"341182fa-7646-41a1-84ca-b94115cc0507","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"659d4fce-9584-420b-84b7-9991c9f62f6a","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_3cd57462_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotected7462","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwl7462","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0","onap_private_net_cidr":"10.0.0.0/16","vfw_int_protected_private_floating_ip":"192.168.10.200","vsn_image_name":"ubuntu-14-04-cloud-amd64","vnf_id":"bc7a33d1-d8c3-46af-ba19-a00701743b3d","vfw_int_unprotected_private_ip_0":"192.168.10.100","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vsn_name_0":"vofwl01snk7462","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_sub7462","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.158.102","vfw_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"659d4fce-9584-420b-84b7-9991c9f62f6a\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.158.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snk7462\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_3cd57462_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_sub7462\"},{\"attribute_name\":\"vfw_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.100\"},{\"attribute_name\":\"vsn_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vfw_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key3cd57462\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.158.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vfw_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"bc7a33d1-d8c3-46af-ba19-a00701743b3d\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protected7462\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vsn_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"vsn_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"int_protected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_protected_sub7462\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwl7462\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"int_unprotected_private_net_id\",\"attribute_value\":\"vofwlsnk_unprotected7462\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vfw_int_protected_private_floating_ip\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vfw_int_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key3cd57462","int_protected_private_net_id":"vofwlsnk_protected7462","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vsn_int_protected_private_ip_0":"192.168.20.250","vfw_int_protected_private_ip_0":"192.168.20.100","install_script_version":"1.5.0-SNAPSHOT","vfw_image_name":"ubuntu-14-04-cloud-amd64","vfw_onap_private_ip_0":"10.0.158.101","int_protected_private_subnet_id":"vofwlsnk_protected_sub7462","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"11a16adc-f586-48f9-b368-2c01e1e382af","serviceInstanceId":"7374c399-e4af-4cc8-81b3-cb0ff810ac7c"},"synchronous":false}}
2019-10-14T01:32:16.946Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T01:32:16.946Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 01:23:/vFWCL_vFWSNK d2dac771-453c 0::VfwclVfwsnkD2dac771453c..base_vfw..module-0
2019-10-14T01:32:16.946Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T01:32:16.953Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T01:32:16.953Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T01:32:16.954Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T01:32:16.954Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T01:32:16.954Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 341182fa-7646-41a1-84ca-b94115cc0507
2019-10-14T01:32:16.954Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 157
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 01:32:16 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T01:32:16.955Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T01:32:16.955Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T01:32:16.955Z|11a16adc-f586-48f9-b368-2c01e1e382af|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:32:17.397Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T01:32:17.397Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:32:17.397Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0
2019-10-14T01:32:17.420Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T01:32:17.420Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
2019-10-14T01:32:17.421Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T01:32:17.421Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=c8c111a0-54cb-4ec8-b6e1-ad149b3fe791
2019-10-14T01:32:17.421Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T01:32:17.421Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=d895f14a-3513-430c-901e-c7d61e6a0a3f
2019-10-14T01:32:17.421Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T01:32:17.422Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vsn_flavor_name, required=true cloud_env, required=true int_protected_private_subnet_id, required=true install_script_version, required=true vfw_image_name, required=true dcae_collector_port, required=true vf_module_id, required=true vfw_int_unprotected_private_ip_0, required=true vfw_int_protected_private_ip_0, required=true int_protected_private_net_id, required=true vfw_onap_private_ip_0, required=true dcae_collector_ip, required=true key_name, required=true pub_key, required=true onap_private_net_cidr, required=true net_prefix, required=true int_unprotected_private_subnet_id, required=true onap_private_net_id, required=true protected_private_net_cidr, required=true vsn_name_0, required=true demo_artifacts_version, required=true unprotected_private_net_cidr, required=true vsn_onap_private_ip_0, required=true vfw_flavor_name, required=true vnf_id, required=true vsn_int_protected_private_ip_0, required=true onap_private_subnet_id, required=true vfw_int_protected_private_floating_ip, required=true vsn_image_name, required=true vfw_name_0, required=true sec_group, required=true vnf_name, required=true int_unprotected_private_net_id, required=true nexus_artifact_repo, required=true public_net_id, required=true
Environment:parameters:
vf_module_id: vFirewallCL
vsn_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
public_net_id: PUT THE PUBLIC NETWORK ID HERE
vnf_name: vFWSNK
int_unprotected_private_net_id: zdfw1fwl01_unprotected
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
vfw_name_0: zdfw1fwl01fwl01
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vfw_int_protected_private_floating_ip: 192.168.10.200
dcae_collector_ip: 10.0.4.1
vfw_int_unprotected_private_ip_0: 192.168.10.100
vnf_id: vFirewall_demo_app
vsn_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
dcae_collector_port: '30235'
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
int_unprotected_private_subnet_id: zdfw1fwl01_unprotected_sub
vsn_name_0: zdfw1fwl01snk01
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vsn_onap_private_ip_0: 10.0.100.3
vfw_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
net_prefix: vFWSNK
pub_key: PUT YOUR KEY HERE
int_protected_private_net_id: zdfw1fwl01_protected
key_name: vfw_key
vsn_int_protected_private_ip_0: 192.168.20.250
vfw_int_protected_private_ip_0: 192.168.20.100
install_script_version: 1.6.0-SNAPSHOT
vfw_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
vfw_onap_private_ip_0: 10.0.100.1
int_protected_private_subnet_id: zdfw1fwl01_protected_sub
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T01:32:17.422Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vsn_flavor_name
param[1]=cloud_env
param[2]=int_protected_private_subnet_id
param[3]=install_script_version
param[4]=vfw_image_name
param[5]=dcae_collector_port
param[6]=vf_module_id
param[7]=vfw_int_unprotected_private_ip_0
param[8]=vfw_int_protected_private_ip_0
param[9]=int_protected_private_net_id
param[10]=vfw_onap_private_ip_0
param[11]=dcae_collector_ip
param[12]=key_name
param[13]=pub_key
param[14]=onap_private_net_cidr
param[15]=net_prefix
param[16]=int_unprotected_private_subnet_id
param[17]=onap_private_net_id
param[18]=protected_private_net_cidr
param[19]=vsn_name_0
param[20]=demo_artifacts_version
param[21]=unprotected_private_net_cidr
param[22]=vsn_onap_private_ip_0
param[23]=vfw_flavor_name
param[24]=vnf_id
param[25]=vsn_int_protected_private_ip_0
param[26]=onap_private_subnet_id
param[27]=vfw_int_protected_private_floating_ip
param[28]=vsn_image_name
param[29]=vfw_name_0
param[30]=sec_group
param[31]=vnf_name
param[32]=int_unprotected_private_net_id
param[33]=nexus_artifact_repo
param[34]=public_net_id
2019-10-14T01:32:17.422Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T01:32:17.422Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T01:32:17.422Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:32:17.423Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:32:17.424Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T01:32:17.425Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T01:32:17.426Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T01:32:17.426Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T01:32:17.426Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T01:32:17.426Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T01:32:17.427Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
', parameters={vf_module_id=659d4fce-9584-420b-84b7-9991c9f62f6a, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_3cd57462_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotected7462, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwl7462, onap_private_net_cidr=10.0.0.0/16, vfw_int_protected_private_floating_ip=192.168.10.200, vsn_image_name=ubuntu-14-04-cloud-amd64, vnf_id=bc7a33d1-d8c3-46af-ba19-a00701743b3d, vfw_int_unprotected_private_ip_0=192.168.10.100, dcae_collector_ip=10.12.5.135, dcae_collector_port=30235, protected_private_net_cidr=192.168.20.0/24, unprotected_private_net_cidr=192.168.10.0/24, vsn_name_0=vofwl01snk7462, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub7462, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.158.102, vfw_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_key3cd57462, int_protected_private_net_id=vofwlsnk_protected7462, vsn_int_protected_private_ip_0=192.168.20.250, vfw_int_protected_private_ip_0=192.168.20.100, install_script_version=1.5.0-SNAPSHOT, vfw_image_name=ubuntu-14-04-cloud-amd64, vfw_onap_private_ip_0=10.0.158.101, int_protected_private_subnet_id=vofwlsnk_protected_sub7462, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
', disableRollback='true', files=null}
2019-10-14T01:32:17.427Z|11a16adc-f586-48f9-b368-2c01e1e382af|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:32:17.598Z|11a16adc-f586-48f9-b368-2c01e1e382af|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/11a16adc-f586-48f9-b368-2c01e1e382af
2019-10-14T01:32:17.599Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/11a16adc-f586-48f9-b368-2c01e1e382af": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T01:32:21.726Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0)
2019-10-14T01:32:21.727Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:32:30.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:32:37.123Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0)
2019-10-14T01:32:37.124Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:32:52.434Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0)
2019-10-14T01:32:52.434Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:33:07.679Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0)
2019-10-14T01:33:07.679Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:33:07.679Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0/95c0cf46-9794-41d0-9296-f40cf4da85f4', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0', updatedTime=Mon Oct 14 01:32:20 GMT 2019, creationTime=Mon Oct 14 01:32:20 GMT 2019, stackStatus='CREATE_COMPLETE', id='95c0cf46-9794-41d0-9296-f40cf4da85f4', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vfw_int_protected_private_ip_0=192.168.20.100, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_flavor_name=m1.medium, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vsn_onap_private_ip_0=10.0.158.102, vsn_image_name=ubuntu-14-04-cloud-amd64, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, onap_private_net_cidr=10.0.0.0/16, vf_module_id=659d4fce-9584-420b-84b7-9991c9f62f6a, protected_private_net_cidr=192.168.20.0/24, dcae_collector_port=30235, net_prefix=vFWSNK, vsn_int_protected_private_ip_0=192.168.20.250, int_unprotected_private_net_id=vofwlsnk_unprotected7462, vfw_int_protected_private_floating_ip=192.168.10.200, vfw_int_unprotected_private_ip_0=192.168.10.100, int_protected_private_subnet_id=vofwlsnk_protected_sub7462, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub7462, vnf_id=bc7a33d1-d8c3-46af-ba19-a00701743b3d, vfw_onap_private_ip_0=10.0.158.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0, key_name=vfw_key3cd57462, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protected7462, OS::stack_id=95c0cf46-9794-41d0-9296-f40cf4da85f4, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwl7462, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snk7462, vnf_name=Ete_vFWCLvFWSNK_3cd57462_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vfw_image_name=ubuntu-14-04-cloud-amd64}', files='null'}
2019-10-14T01:33:07.680Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0 successfully created
2019-10-14T01:33:07.680Z|11a16adc-f586-48f9-b368-2c01e1e382af|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:33:07.695Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0/95c0cf46-9794-41d0-9296-f40cf4da85f4
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:33:07.712Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226
2019-10-14T01:33:07.712Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - Content is:
11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226
CloudOwner
RegionOne
11a16adc-f586-48f9-b368-2c01e1e382af-1571016736226
HEAT
11a16adc-f586-48f9-b368-2c01e1e382af
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
659d4fce-9584-420b-84b7-9991c9f62f6a
Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0/95c0cf46-9794-41d0-9296-f40cf4da85f4
Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0/95c0cf46-9794-41d0-9296-f40cf4da85f4
true
659d4fce-9584-420b-84b7-9991c9f62f6a
Vfmodule_Ete_vFWCLvFWSNK_3cd57462_0/95c0cf46-9794-41d0-9296-f40cf4da85f4
bc7a33d1-d8c3-46af-ba19-a00701743b3d
2019-10-14T01:33:07.712Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:33:08.356Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T01:33:08.357Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:33:08.357Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T01:33:08.357Z|11a16adc-f586-48f9-b368-2c01e1e382af|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T01:33:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:34:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:34:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:35:23.133Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 158
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/06888576-bd1b-4b30-b27f-3b61a0898bee/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2], x-onap-invocationid=[6217649d-81f5-4c2c-80bf-373e395dba0c,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2,469b361b-6a24-489f-906c-f256dcb6a5a2], x-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2], x-transactionid=[469b361b-6a24-489f-906c-f256dcb6a5a2]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
06888576-bd1b-4b30-b27f-3b61a0898bee
Ete_vFWCLvPKG_3cd57462_1
Vfmodule_Ete_vFWCLvPKG_3cd57462_1
51a0400c-9578-4315-83e3-1c0047e57a66
vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0
VfwclVpkgC4a68d9856e0..base_vpkg..module-0
1.0
bce863f0-ebda-437b-8c3d-10dd50fefcea
true
true
true
vf_module_id
51a0400c-9578-4315-83e3-1c0047e57a66
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_3cd57462_1
key_name
vfw_key3cd57462
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_3cd57462_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected7462
install_script_version
1.5.0-SNAPSHOT
vnf_id
06888576-bd1b-4b30-b27f-3b61a0898bee
cloud_env
openstack
vpg_unprotected_private_ip_0
192.168.10.200
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
vofwl01pgn7462
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub7462
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"51a0400c-9578-4315-83e3-1c0047e57a66"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvPKG_3cd57462_1"},{"attribute_name":"key_name","attribute_value":"vfw_key3cd57462"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected7462"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"06888576-bd1b-4b30-b27f-3b61a0898bee"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vpg_unprotected_private_ip_0","attribute_value":"192.168.10.200"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"vofwl01pgn7462"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub7462"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vfw_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vsn_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.158.103"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
vfw_private_ip_0
192.168.10.100
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vsn_private_ip_0
192.168.20.250
dcae_collector_ip
10.12.5.135
vpg_onap_private_ip_0
10.0.158.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
--------------------------------------
2019-10-14T01:35:23.152Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"06888576-bd1b-4b30-b27f-3b61a0898bee","vnfType":"vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0","vnfVersion":"1.0","vfModuleId":"51a0400c-9578-4315-83e3-1c0047e57a66","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1","vfModuleType":"VfwclVpkgC4a68d9856e0..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"bce863f0-ebda-437b-8c3d-10dd50fefcea","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"51a0400c-9578-4315-83e3-1c0047e57a66","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_3cd57462_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub7462","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","vfw_private_ip_0":"192.168.10.100","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.158.103","vnf_id":"06888576-bd1b-4b30-b27f-3b61a0898bee","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn7462","vsn_private_ip_0":"192.168.20.250","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vpg_image_name":"ubuntu-14-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","unprotected_private_net_id":"vFWSNK_vofwlsnk_unprotected7462","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"51a0400c-9578-4315-83e3-1c0047e57a66\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvPKG_3cd57462_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key3cd57462\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_3cd57462_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected7462\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"06888576-bd1b-4b30-b27f-3b61a0898bee\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vpg_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"vofwl01pgn7462\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub7462\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vfw_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vsn_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.158.103\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key3cd57462","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vpg_unprotected_private_ip_0":"192.168.10.200","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"469b361b-6a24-489f-906c-f256dcb6a5a2","serviceInstanceId":"7374c399-e4af-4cc8-81b3-cb0ff810ac7c"},"synchronous":false}}
2019-10-14T01:35:23.153Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T01:35:23.153Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0::VfwclVpkgC4a68d9856e0..base_vpkg..module-0
2019-10-14T01:35:23.153Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T01:35:23.154Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: bce863f0-ebda-437b-8c3d-10dd50fefcea
2019-10-14T01:35:23.154Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T01:35:23.154Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T01:35:23.154Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_3cd57462_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T01:35:23.154Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T01:35:23.154Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:23.154Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T01:35:23.155Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T01:35:23.155Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 158
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 01:35:23 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T01:35:23.567Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 159
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/06888576-bd1b-4b30-b27f-3b61a0898bee/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2], x-onap-invocationid=[8f01ada7-60e6-4eec-92aa-0a187c621061,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2,469b361b-6a24-489f-906c-f256dcb6a5a2], x-requestid=[469b361b-6a24-489f-906c-f256dcb6a5a2], x-transactionid=[469b361b-6a24-489f-906c-f256dcb6a5a2]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
06888576-bd1b-4b30-b27f-3b61a0898bee
Ete_vFWCLvPKG_3cd57462_1
Vfmodule_Ete_vFWCLvPKG_3cd57462_1
51a0400c-9578-4315-83e3-1c0047e57a66
vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0
VfwclVpkgC4a68d9856e0..base_vpkg..module-0
1.0
bce863f0-ebda-437b-8c3d-10dd50fefcea
true
true
true
vf_module_id
51a0400c-9578-4315-83e3-1c0047e57a66
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_3cd57462_1
key_name
vfw_key3cd57462
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_3cd57462_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected7462
install_script_version
1.5.0-SNAPSHOT
vnf_id
06888576-bd1b-4b30-b27f-3b61a0898bee
cloud_env
openstack
vpg_unprotected_private_ip_0
192.168.10.200
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
vofwl01pgn7462
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub7462
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"51a0400c-9578-4315-83e3-1c0047e57a66"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvPKG_3cd57462_1"},{"attribute_name":"key_name","attribute_value":"vfw_key3cd57462"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected7462"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"06888576-bd1b-4b30-b27f-3b61a0898bee"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vpg_unprotected_private_ip_0","attribute_value":"192.168.10.200"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"vofwl01pgn7462"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub7462"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vfw_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vsn_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.158.103"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
vfw_private_ip_0
192.168.10.100
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vsn_private_ip_0
192.168.20.250
dcae_collector_ip
10.12.5.135
vpg_onap_private_ip_0
10.0.158.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876
--------------------------------------
2019-10-14T01:35:23.582Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T01:35:23.583Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:23.583Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_3cd57462_1
2019-10-14T01:35:23.587Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"06888576-bd1b-4b30-b27f-3b61a0898bee","vnfType":"vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0","vnfVersion":"1.0","vfModuleId":"51a0400c-9578-4315-83e3-1c0047e57a66","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1","vfModuleType":"VfwclVpkgC4a68d9856e0..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"bce863f0-ebda-437b-8c3d-10dd50fefcea","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"51a0400c-9578-4315-83e3-1c0047e57a66","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_3cd57462_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub7462","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","vfw_private_ip_0":"192.168.10.100","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vFWCLvPKG_3cd57462_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.158.103","vnf_id":"06888576-bd1b-4b30-b27f-3b61a0898bee","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn7462","vsn_private_ip_0":"192.168.20.250","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vpg_image_name":"ubuntu-14-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","unprotected_private_net_id":"vFWSNK_vofwlsnk_unprotected7462","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"51a0400c-9578-4315-83e3-1c0047e57a66\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvPKG_3cd57462_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key3cd57462\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_3cd57462_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected7462\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"06888576-bd1b-4b30-b27f-3b61a0898bee\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vpg_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"vofwl01pgn7462\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub7462\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vfw_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vsn_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.158.103\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key3cd57462","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vpg_unprotected_private_ip_0":"192.168.10.200","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"469b361b-6a24-489f-906c-f256dcb6a5a2","serviceInstanceId":"7374c399-e4af-4cc8-81b3-cb0ff810ac7c"},"synchronous":false}}
2019-10-14T01:35:23.587Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T01:35:23.587Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 01:23:/vFWCL_vPKG c4a68d98-56e0 0::VfwclVpkgC4a68d9856e0..base_vpkg..module-0
2019-10-14T01:35:23.587Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T01:35:23.588Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: bce863f0-ebda-437b-8c3d-10dd50fefcea
2019-10-14T01:35:23.588Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T01:35:23.588Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_3cd57462_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T01:35:23.589Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:23.594Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T01:35:23.595Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T01:35:23.595Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T01:35:23.595Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T01:35:23.596Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 159
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 01:35:23 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T01:35:23.596Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T01:35:23.596Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
2019-10-14T01:35:23.597Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.597Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=14535b95-465b-4743-a4a2-f07275effb60
2019-10-14T01:35:23.597Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T01:35:23.597Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=525d4bc2-79f7-44bc-8e69-ad8cbfcbe9ca
2019-10-14T01:35:23.597Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vfw_private_ip_0, required=true cloud_env, required=true vnf_name, required=true vf_module_id, required=true vpg_onap_private_ip_0, required=true onap_private_net_cidr, required=true key_name, required=true install_script_version, required=true demo_artifacts_version, required=true protected_private_net_cidr, required=true pub_key, required=true vsn_private_ip_0, required=true vpg_unprotected_private_ip_0, required=true onap_private_net_id, required=true unprotected_private_net_cidr, required=true onap_private_subnet_id, required=true public_net_id, required=true unprotected_private_subnet_id, required=true sec_group, required=true vpg_name_0, required=true nexus_artifact_repo, required=true vpg_image_name, required=true unprotected_private_net_id, required=true vnf_id, required=true vpg_flavor_name, required=true
Environment:parameters:
vf_module_id: vTrafficPNG
public_net_id: PUT THE PUBLIC NETWORK ID HERE
unprotected_private_subnet_id: vFWSNK_zdfw1fwl01_unprotected_sub
vnf_name: vPGK
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vfw_private_ip_0: 192.168.10.100
sec_group: PUT THE ONAP SECURITY GROUP HERE
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vpg_onap_private_ip_0: 10.0.100.2
vnf_id: vPNG_Firewall_demo_app
vpg_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
vpg_name_0: zdfw1fwl01pgn01
vsn_private_ip_0: 192.168.20.250
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
vpg_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
unprotected_private_net_id: vFWSNK_zdfw1fwl01_unprotected
demo_artifacts_version: 1.6.0-SNAPSHOT
pub_key: PUT YOUR PUBLIC KEY HERE
key_name: vfw_key
vpg_unprotected_private_ip_0: 192.168.10.200
install_script_version: 1.6.0-SNAPSHOT
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vfw_private_ip_0
param[1]=cloud_env
param[2]=vnf_name
param[3]=vf_module_id
param[4]=vpg_onap_private_ip_0
param[5]=onap_private_net_cidr
param[6]=key_name
param[7]=install_script_version
param[8]=demo_artifacts_version
param[9]=protected_private_net_cidr
param[10]=pub_key
param[11]=vsn_private_ip_0
param[12]=vpg_unprotected_private_ip_0
param[13]=onap_private_net_id
param[14]=unprotected_private_net_cidr
param[15]=onap_private_subnet_id
param[16]=public_net_id
param[17]=unprotected_private_subnet_id
param[18]=sec_group
param[19]=vpg_name_0
param[20]=nexus_artifact_repo
param[21]=vpg_image_name
param[22]=unprotected_private_net_id
param[23]=vnf_id
param[24]=vpg_flavor_name
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.598Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T01:35:23.599Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T01:35:23.600Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T01:35:23.600Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.600Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T01:35:23.600Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T01:35:23.600Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.601Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_3cd57462_1', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
', parameters={vf_module_id=51a0400c-9578-4315-83e3-1c0047e57a66, unprotected_private_net_cidr=192.168.10.0/24, vpg_image_name=ubuntu-14-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected7462, vnf_name=Ete_vFWCLvPKG_3cd57462_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub7462, demo_artifacts_version=1.5.0-SNAPSHOT, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vpg_onap_private_ip_0=10.0.158.103, key_name=vfw_key3cd57462, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=06888576-bd1b-4b30-b27f-3b61a0898bee, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn7462, vsn_private_ip_0=192.168.20.250, protected_private_net_cidr=192.168.20.0/24, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
', disableRollback='true', files=null}
2019-10-14T01:35:23.601Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:23.764Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/469b361b-6a24-489f-906c-f256dcb6a5a2
2019-10-14T01:35:23.764Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/469b361b-6a24-489f-906c-f256dcb6a5a2": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T01:35:23.930Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T01:35:23.930Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:23.931Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_3cd57462_1
2019-10-14T01:35:23.940Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=14535b95-465b-4743-a4a2-f07275effb60
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=525d4bc2-79f7-44bc-8e69-ad8cbfcbe9ca
2019-10-14T01:35:23.941Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T01:35:23.942Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vfw_private_ip_0, required=true cloud_env, required=true vnf_name, required=true vf_module_id, required=true vpg_onap_private_ip_0, required=true onap_private_net_cidr, required=true key_name, required=true install_script_version, required=true demo_artifacts_version, required=true protected_private_net_cidr, required=true pub_key, required=true vsn_private_ip_0, required=true vpg_unprotected_private_ip_0, required=true onap_private_net_id, required=true unprotected_private_net_cidr, required=true onap_private_subnet_id, required=true public_net_id, required=true unprotected_private_subnet_id, required=true sec_group, required=true vpg_name_0, required=true nexus_artifact_repo, required=true vpg_image_name, required=true unprotected_private_net_id, required=true vnf_id, required=true vpg_flavor_name, required=true
Environment:parameters:
vf_module_id: vTrafficPNG
public_net_id: PUT THE PUBLIC NETWORK ID HERE
unprotected_private_subnet_id: vFWSNK_zdfw1fwl01_unprotected_sub
vnf_name: vPGK
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vfw_private_ip_0: 192.168.10.100
sec_group: PUT THE ONAP SECURITY GROUP HERE
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vpg_onap_private_ip_0: 10.0.100.2
vnf_id: vPNG_Firewall_demo_app
vpg_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
vpg_name_0: zdfw1fwl01pgn01
vsn_private_ip_0: 192.168.20.250
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
vpg_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
unprotected_private_net_id: vFWSNK_zdfw1fwl01_unprotected
demo_artifacts_version: 1.6.0-SNAPSHOT
pub_key: PUT YOUR PUBLIC KEY HERE
key_name: vfw_key
vpg_unprotected_private_ip_0: 192.168.10.200
install_script_version: 1.6.0-SNAPSHOT
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T01:35:23.942Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vfw_private_ip_0
param[1]=cloud_env
param[2]=vnf_name
param[3]=vf_module_id
param[4]=vpg_onap_private_ip_0
param[5]=onap_private_net_cidr
param[6]=key_name
param[7]=install_script_version
param[8]=demo_artifacts_version
param[9]=protected_private_net_cidr
param[10]=pub_key
param[11]=vsn_private_ip_0
param[12]=vpg_unprotected_private_ip_0
param[13]=onap_private_net_id
param[14]=unprotected_private_net_cidr
param[15]=onap_private_subnet_id
param[16]=public_net_id
param[17]=unprotected_private_subnet_id
param[18]=sec_group
param[19]=vpg_name_0
param[20]=nexus_artifact_repo
param[21]=vpg_image_name
param[22]=unprotected_private_net_id
param[23]=vnf_id
param[24]=vpg_flavor_name
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T01:35:23.943Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T01:35:23.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T01:35:23.945Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T01:35:23.946Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T01:35:23.947Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T01:35:23.947Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.947Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T01:35:23.947Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T01:35:23.948Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
2019-10-14T01:35:23.948Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_3cd57462_1', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
', parameters={vf_module_id=51a0400c-9578-4315-83e3-1c0047e57a66, unprotected_private_net_cidr=192.168.10.0/24, vpg_image_name=ubuntu-14-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected7462, vnf_name=Ete_vFWCLvPKG_3cd57462_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub7462, demo_artifacts_version=1.5.0-SNAPSHOT, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vpg_onap_private_ip_0=10.0.158.103, key_name=vfw_key3cd57462, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=06888576-bd1b-4b30-b27f-3b61a0898bee, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn7462, vsn_private_ip_0=192.168.20.250, protected_private_net_cidr=192.168.20.0/24, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vfw_key"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR PUBLIC KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
unprotected_private_net_id: "vFWSNK_zdfw1fwl01_unprotected"
unprotected_private_subnet_id: "vFWSNK_zdfw1fwl01_unprotected_sub"
vf_module_id: "vTrafficPNG"
vfw_private_ip_0: "192.168.10.100"
vnf_id: "vPNG_Firewall_demo_app"
vnf_name: "vPGK"
vpg_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vpg_name_0: "zdfw1fwl01pgn01"
vpg_onap_private_ip_0: "10.0.100.2"
vpg_unprotected_private_ip_0: "192.168.10.200"
vsn_private_ip_0: "192.168.20.250"
', disableRollback='true', files=null}
2019-10-14T01:35:23.948Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:24.146Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/469b361b-6a24-489f-906c-f256dcb6a5a2
2019-10-14T01:35:24.146Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/469b361b-6a24-489f-906c-f256dcb6a5a2": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T01:35:27.230Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:27.230Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:27.722Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:27.722Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:42.510Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:42.510Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:43.006Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_FAILED (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:43.007Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:43.007Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys the vFirewall Traffic Generator demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvPKG_3cd57462_1/c465eeb8-92bc-4e6d-aeba-c86dc4d068e1', rel='self'}], stackStatusReason='Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28']', stackName='Vfmodule_Ete_vFWCLvPKG_3cd57462_1', updatedTime=Mon Oct 14 01:35:26 GMT 2019, creationTime=Mon Oct 14 01:35:26 GMT 2019, stackStatus='CREATE_FAILED', id='c465eeb8-92bc-4e6d-aeba-c86dc4d068e1', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=51a0400c-9578-4315-83e3-1c0047e57a66, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, vnf_id=06888576-bd1b-4b30-b27f-3b61a0898bee, protected_private_net_cidr=192.168.20.0/24, vpg_unprotected_private_ip_0=192.168.10.200, vpg_onap_private_ip_0=10.0.158.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected7462, vpg_name_0=vofwl01pgn7462, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub7462, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_3cd57462_1, key_name=vfw_key3cd57462, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=c465eeb8-92bc-4e6d-aeba-c86dc4d068e1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_3cd57462_1, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh}', files='null'}
2019-10-14T01:35:43.007Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Status is not CREATE_COMPLETE, stack deletion will be executed
2019-10-14T01:35:43.008Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:43.449Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:43.863Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: DELETE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:43.864Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:57.718Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:57.718Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:57.718Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys the vFirewall Traffic Generator demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_3cd57462_1', updatedTime=Mon Oct 14 01:35:26 GMT 2019, creationTime=Mon Oct 14 01:35:26 GMT 2019, stackStatus='CREATE_COMPLETE', id='e7b3da5b-faca-4c8b-9531-9d0adb367e01', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=51a0400c-9578-4315-83e3-1c0047e57a66, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, vnf_id=06888576-bd1b-4b30-b27f-3b61a0898bee, protected_private_net_cidr=192.168.20.0/24, vpg_unprotected_private_ip_0=192.168.10.200, vpg_onap_private_ip_0=10.0.158.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected7462, vpg_name_0=vofwl01pgn7462, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub7462, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_3cd57462_1, key_name=vfw_key3cd57462, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=e7b3da5b-faca-4c8b-9531-9d0adb367e01, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_3cd57462_1, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh}', files='null'}
2019-10-14T01:35:57.718Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_3cd57462_1 successfully created
2019-10-14T01:35:57.719Z|469b361b-6a24-489f-906c-f256dcb6a5a2|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T01:35:57.732Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:57.745Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:35:57.746Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:35:57.746Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:35:59.137Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Polling: DELETE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_3cd57462_1)
2019-10-14T01:35:59.137Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing on delete stack Stack{description='Heat template that deploys the vFirewall Traffic Generator demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvPKG_3cd57462_1/c465eeb8-92bc-4e6d-aeba-c86dc4d068e1', rel='self'}], stackStatusReason='Stack DELETE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_3cd57462_1', updatedTime=Mon Oct 14 01:35:45 GMT 2019, creationTime=Mon Oct 14 01:35:26 GMT 2019, stackStatus='DELETE_COMPLETE', id='c465eeb8-92bc-4e6d-aeba-c86dc4d068e1', outputs='null', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=51a0400c-9578-4315-83e3-1c0047e57a66, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vfw_private_ip_0=192.168.10.100, vnf_id=06888576-bd1b-4b30-b27f-3b61a0898bee, protected_private_net_cidr=192.168.20.0/24, vpg_unprotected_private_ip_0=192.168.10.200, vpg_onap_private_ip_0=10.0.158.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected7462, vpg_name_0=vofwl01pgn7462, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub7462, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_3cd57462_1, key_name=vfw_key3cd57462, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=c465eeb8-92bc-4e6d-aeba-c86dc4d068e1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_3cd57462_1, onap_private_net_cidr=10.0.0.0/16, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh}', files='null'}
2019-10-14T01:35:59.137Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:59.137Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Error creating Stack
org.onap.so.openstack.utils.StackCreationException: Stack Creation Failed Openstack Status: CREATE_FAILED Status Reason: Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28'] , Rollback of Stack Creation completed with status: DELETE_COMPLETE Status Reason: Stack DELETE completed successfully
at org.onap.so.openstack.utils.MsoHeatUtils.postProcessStackCreate(MsoHeatUtils.java:314)
at org.onap.so.openstack.utils.MsoHeatUtils.processCreateStack(MsoHeatUtils.java:277)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:224)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:59.138Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - unhandled exception in create VF
org.onap.so.adapters.vnf.exceptions.VnfException: org.onap.so.openstack.utils.StackCreationException: Stack Creation Failed Openstack Status: CREATE_FAILED Status Reason: Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28'] , Rollback of Stack Creation completed with status: DELETE_COMPLETE Status Reason: Stack DELETE completed successfully
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1215)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.onap.so.openstack.utils.StackCreationException: Stack Creation Failed Openstack Status: CREATE_FAILED Status Reason: Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28'] , Rollback of Stack Creation completed with status: DELETE_COMPLETE Status Reason: Stack DELETE completed successfully
at org.onap.so.openstack.utils.MsoHeatUtils.postProcessStackCreate(MsoHeatUtils.java:314)
at org.onap.so.openstack.utils.MsoHeatUtils.processCreateStack(MsoHeatUtils.java:277)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:224)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
... 11 common frames omitted
2019-10-14T01:35:59.140Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.VnfAdapterRest - Exception :
org.onap.so.adapters.vnf.exceptions.VnfException: Exception during create VF org.onap.so.openstack.utils.StackCreationException: Stack Creation Failed Openstack Status: CREATE_FAILED Status Reason: Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28'] , Rollback of Stack Creation completed with status: DELETE_COMPLETE Status Reason: Stack DELETE completed successfully
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1247)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:35:59.148Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876
2019-10-14T01:35:59.148Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922876
INTERNAL
Exception during create VF org.onap.so.openstack.utils.StackCreationException: Stack Creation Failed Openstack Status: CREATE_FAILED Status Reason: Resource CREATE failed: Conflict: resources.vpg_0_onap_private_port_0: IP address 10.0.158.103 already allocated in subnet 4ed99c09-aed6-4eca-8f94-48357ab4e5d1
Neutron server returns request_ids: ['req-3e4fd376-8698-4211-95a1-eb1312a71c28'] , Rollback of Stack Creation completed with status: DELETE_COMPLETE Status Reason: Stack DELETE completed successfully
true
2019-10-14T01:35:59.148Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:35:59.747Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T01:35:59.747Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:35:59.747Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T01:35:59.747Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=400
2019-10-14T01:36:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:36:27.778Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:36:27.778Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:36:27.778Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:36:27.778Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sleeping for 15 seconds.
2019-10-14T01:36:42.779Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:36:42.779Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:36:42.779Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:37:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:37:12.810Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:37:12.810Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:37:12.810Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:37:12.810Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sleeping for 30 seconds.
2019-10-14T01:37:42.810Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:37:42.811Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:37:42.811Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:37:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:38:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:38:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:38:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:38:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sleeping for 60 seconds.
2019-10-14T01:38:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:39:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:39:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:39:12.844Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:39:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:39:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:39:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:39:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sleeping for 120 seconds.
2019-10-14T01:40:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:41:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:41:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:41:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:41:42.876Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:42:12.909Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:42:12.909Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:42:12.909Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:42:12.909Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sleeping for 240 seconds.
2019-10-14T01:42:45.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:43:30.351Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:45:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:46:12.909Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
2019-10-14T01:46:12.910Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Content is:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:46:12.910Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Exception - Error sending Bpel notification:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
java.net.SocketTimeoutException: Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
at java.net.SocketInputStream.read(SocketInputStream.java:171)
at java.net.SocketInputStream.read(SocketInputStream.java:141)
at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:139)
at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:155)
at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:284)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)
at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)
at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:261)
at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:165)
at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)
at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:272)
at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:124)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108)
at org.onap.so.adapters.vnf.BpelRestClient.sendOne(BpelRestClient.java:265)
at org.onap.so.adapters.vnf.BpelRestClient.bpelPost(BpelRestClient.java:210)
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:376)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 900
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - Retried 5 times, giving up.
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.BpelRestClient - RA_SEND_VNF_NOTIF_ERR 500 Could not deliver response to BPEL after 5 tries:
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
CloudOwner
RegionOne
469b361b-6a24-489f-906c-f256dcb6a5a2-1571016922442
HEAT
469b361b-6a24-489f-906c-f256dcb6a5a2
7374c399-e4af-4cc8-81b3-cb0ff810ac7c
28481f6939614cfd83e6767a0e039bcc
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
true
51a0400c-9578-4315-83e3-1c0047e57a66
Vfmodule_Ete_vFWCLvPKG_3cd57462_1/e7b3da5b-faca-4c8b-9531-9d0adb367e01
06888576-bd1b-4b30-b27f-3b61a0898bee
2019-10-14T01:46:42.944Z|469b361b-6a24-489f-906c-f256dcb6a5a2|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T01:47:30.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:48:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:49:00.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:49:45.353Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:51:15.352Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:51:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T01:53:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T01:54:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:55:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T01:56:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T01:57:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T01:58:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T01:59:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:00:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T02:00:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:01:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:02:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:05:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:05:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:06:44.741Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:08:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:08:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:09:26.697Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 160
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/c9c363ca-a0e4-4286-914c-8a3ccb8875a9/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[cf949e37-c53d-4814-a4d1-051969a03961], x-onap-invocationid=[4acea4d3-a5f6-496f-a902-3029bfcbfdcb,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[cf949e37-c53d-4814-a4d1-051969a03961,cf949e37-c53d-4814-a4d1-051969a03961], x-requestid=[cf949e37-c53d-4814-a4d1-051969a03961], x-transactionid=[cf949e37-c53d-4814-a4d1-051969a03961]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
c9c363ca-a0e4-4286-914c-8a3ccb8875a9
Ete_vLB_b722fc2f_0
Vfmodule_Ete_vLB_b722fc2f_0
91136318-79e8-4ea1-9840-891becacd540
vLB 2019-10-14 02:00:52/vLBMS 638baafb-e2ea 0
Vlbms638baafbE2ea..base_vlb..module-0
1.0
0bb56ac2-8094-4b7f-b460-04a33f5cb511
true
true
true
vf_module_id
91136318-79e8-4ea1-9840-891becacd540
vdns_flavor_name
m1.medium
vip
192.168.9.112
oof_directives
{}
pktgen_private_net_cidr
192.168.9.0/24
vpg_image_name
ubuntu-16-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vlb_int_private_ip_0
192.168.30.100
vnf_name
Ete_vLB_b722fc2f_0
key_name
vfw_keyb722fc2f
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_b722fc2f_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblbfc2f
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgenfc2f
gre_ipaddr
192.168.30.112
vnf_id
c9c363ca-a0e4-4286-914c-8a3ccb8875a9
cloud_env
openstack
vlb_image_name
ubuntu-16-04-cloud-amd64
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vdns_image_name
ubuntu-16-04-cloud-amd64
vlb_onap_private_ip_0
10.0.160.24
vdns_onap_private_ip_0
10.0.160.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgnfc2f
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
vlb_int_pktgen_private_ip_0
192.168.9.111
environment_context
vlb_private_net_cidr
192.168.30.0/24
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"91136318-79e8-4ea1-9840-891becacd540"},{"attribute_name":"vdns_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vip","attribute_value":"192.168.9.112"},{"attribute_name":"pktgen_private_net_cidr","attribute_value":"192.168.9.0/24"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vlb_int_private_ip_0","attribute_value":"192.168.30.100"},{"attribute_name":"vnf_name","attribute_value":"Ete_vLB_b722fc2f_0"},{"attribute_name":"key_name","attribute_value":"vfw_keyb722fc2f"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_b722fc2f_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblbfc2f"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgenfc2f"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"c9c363ca-a0e4-4286-914c-8a3ccb8875a9"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vlb_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vdns_image_name","attribute_value":"ubuntu-16-04-cloud-amd64"},{"attribute_name":"vlb_onap_private_ip_0","attribute_value":"10.0.160.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.160.25"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"clvlbpgnfc2f"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"vlb_int_pktgen_private_ip_0","attribute_value":"192.168.9.111"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vlb_private_net_cidr","attribute_value":"192.168.30.0/24"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vdns_name_0","attribute_value":"vlbdnsfc2f"},{"attribute_name":"vdns_int_private_ip_0","attribute_value":"192.168.30.110"},{"attribute_name":"vlb_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"pg_int","attribute_value":"192.168.9.109"},{"attribute_name":"vlb_private_net_id","attribute_value":"lb01_privatefc2f"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.160.27"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
demo_artifacts_version
1.5.0-SNAPSHOT
vdns_name_0
vlbdnsfc2f
vdns_int_private_ip_0
192.168.30.110
vlb_flavor_name
m1.medium
dcae_collector_ip
10.12.5.135
pg_int
192.168.9.109
vlb_private_net_id
lb01_privatefc2f
vpg_onap_private_ip_0
10.0.160.27
vf_module_index
0
cf949e37-c53d-4814-a4d1-051969a03961
cd79acb0-537c-4025-8baf-7688d3d93544
cf949e37-c53d-4814-a4d1-051969a03961-1571018966609
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf949e37-c53d-4814-a4d1-051969a03961-1571018966609
--------------------------------------
2019-10-14T02:09:26.730Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"cf949e37-c53d-4814-a4d1-051969a03961-1571018966609","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf949e37-c53d-4814-a4d1-051969a03961-1571018966609","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"c9c363ca-a0e4-4286-914c-8a3ccb8875a9","vnfType":"vLB 2019-10-14 02:00:52/vLBMS 638baafb-e2ea 0","vnfVersion":"1.0","vfModuleId":"91136318-79e8-4ea1-9840-891becacd540","vfModuleName":"Vfmodule_Ete_vLB_b722fc2f_0","vfModuleType":"Vlbms638baafbE2ea..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"0bb56ac2-8094-4b7f-b460-04a33f5cb511","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"91136318-79e8-4ea1-9840-891becacd540","vlb_int_pktgen_private_ip_0":"192.168.9.111","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vlb_private_net_cidr":"192.168.30.0/24","vdns_onap_private_ip_0":"10.0.160.25","vlb_private_net_id":"lb01_privatefc2f","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_b722fc2f_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","gre_ipaddr":"192.168.30.112","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vLB_b722fc2f_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdnsfc2f","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.160.27","vnf_id":"c9c363ca-a0e4-4286-914c-8a3ccb8875a9","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","vip":"192.168.9.112","oof_directives":"{}","vpg_name_0":"clvlbpgnfc2f","vlb_flavor_name":"m1.medium","pktgen_private_net_cidr":"192.168.9.0/24","vpg_image_name":"ubuntu-16-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vdns_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","vpg_int_pktgen_private_ip_0":"192.168.9.110","vlb_int_private_ip_0":"192.168.30.100","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"91136318-79e8-4ea1-9840-891becacd540\"},{\"attribute_name\":\"vdns_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vip\",\"attribute_value\":\"192.168.9.112\"},{\"attribute_name\":\"pktgen_private_net_cidr\",\"attribute_value\":\"192.168.9.0/24\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vlb_int_private_ip_0\",\"attribute_value\":\"192.168.30.100\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vLB_b722fc2f_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyb722fc2f\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_b722fc2f_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblbfc2f\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgenfc2f\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"c9c363ca-a0e4-4286-914c-8a3ccb8875a9\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vlb_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vdns_image_name\",\"attribute_value\":\"ubuntu-16-04-cloud-amd64\"},{\"attribute_name\":\"vlb_onap_private_ip_0\",\"attribute_value\":\"10.0.160.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.160.25\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"clvlbpgnfc2f\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"vlb_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.111\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vlb_private_net_cidr\",\"attribute_value\":\"192.168.30.0/24\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vdns_name_0\",\"attribute_value\":\"vlbdnsfc2f\"},{\"attribute_name\":\"vdns_int_private_ip_0\",\"attribute_value\":\"192.168.30.110\"},{\"attribute_name\":\"vlb_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"pg_int\",\"attribute_value\":\"192.168.9.109\"},{\"attribute_name\":\"vlb_private_net_id\",\"attribute_value\":\"lb01_privatefc2f\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.160.27\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_keyb722fc2f","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblbfc2f","pktgen_private_net_id":"lb01_pktgenfc2f","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.160.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"cf949e37-c53d-4814-a4d1-051969a03961","serviceInstanceId":"cd79acb0-537c-4025-8baf-7688d3d93544"},"synchronous":false}}
2019-10-14T02:09:26.731Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T02:09:26.731Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 02:00:52/vLBMS 638baafb-e2ea 0::Vlbms638baafbE2ea..base_vlb..module-0
2019-10-14T02:09:26.731Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T02:09:26.732Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 0bb56ac2-8094-4b7f-b460-04a33f5cb511
2019-10-14T02:09:26.732Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T02:09:26.732Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T02:09:26.732Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_b722fc2f_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T02:09:26.732Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T02:09:26.732Z|cf949e37-c53d-4814-a4d1-051969a03961|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:09:26.732Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T02:09:26.733Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T02:09:26.733Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 160
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 02:09:26 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T02:09:27.210Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T02:09:27.210Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:09:27.210Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_b722fc2f_0
2019-10-14T02:09:27.219Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=51219f0f-b4ce-4dce-9180-9b600d6a5939
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=042208ba-06f0-4b17-8e51-e36638dd1cba
2019-10-14T02:09:27.220Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T02:09:27.221Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
demo_artifacts_version, required=true vlb_onap_private_ip_0, required=true vpg_int_pktgen_private_ip_0, required=true nb_api_version, required=true pub_key, required=true pg_int, required=true vdns_name_0, required=true vdns_flavor_name, required=true vpg_image_name, required=true vnf_id, required=true public_net_id, required=true sec_group, required=true vdns_onap_private_ip_0, required=true onap_private_subnet_id, required=true onap_private_net_id, required=true vlb_int_pktgen_private_ip_0, required=true nexus_artifact_repo, required=true vdns_image_name, required=true pktgen_private_net_id, required=true vnf_name, required=true install_script_version, required=true cloud_env, required=true gre_ipaddr, required=true key_name, required=true vf_module_id, required=true vlb_flavor_name, required=true vlb_image_name, required=true vpg_flavor_name, required=true dcae_collector_port, required=true vlb_private_net_cidr, required=true onap_private_net_cidr, required=true vip, required=true vlb_name_0, required=true vpg_name_0, required=true pktgen_private_net_cidr, required=true vdns_int_private_ip_0, required=true vpg_onap_private_ip_0, required=true vlb_private_net_id, required=true dcae_collector_ip, required=true vlb_int_private_ip_0, required=true
Environment:parameters:
vf_module_id: vLoadBalancer
vlb_int_pktgen_private_ip_0: 192.168.9.111
vlb_private_net_cidr: 192.168.10.0/24
vdns_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS
vlb_private_net_id: zdfw1lb01_private
vdns_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
public_net_id: PUT THE NETWORK ID HERE
vnf_name: vLBMS
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
gre_ipaddr: 192.168.10.112
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: PUT THE ONAP NETWORK CIDR HERE
pg_int: 192.168.9.109
vdns_int_private_ip_0: 192.168.10.211
vdns_name_0: zdfw1lb01dns01
vpg_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN
dcae_collector_ip: 10.0.4.1
vnf_id: vLoadBalancer_demo_app
vpg_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
dcae_collector_port: '30235'
vip: 192.168.9.112
vpg_name_0: zdfw1lb01pg01
vlb_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
pktgen_private_net_cidr: 192.168.9.0/24
vpg_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vdns_flavor_name: PUT THE FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
nb_api_version: 1.2.0
vpg_int_pktgen_private_ip_0: 192.168.9.110
vlb_int_private_ip_0: 192.168.10.111
pub_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN
key_name: vlb_key
vlb_name_0: zdfw1lb01lb01
pktgen_private_net_id: zdfw1pktgen01_private
install_script_version: 1.6.0-SNAPSHOT
vlb_onap_private_ip_0: ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB
cloud_env: PUT openstack OR rackspace HERE
vlb_image_name: PUT THE IMAGE NAME HERE (UBUNTU 1604)
2019-10-14T02:09:27.221Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=demo_artifacts_version
param[1]=vlb_onap_private_ip_0
param[2]=vpg_int_pktgen_private_ip_0
param[3]=nb_api_version
param[4]=pub_key
param[5]=pg_int
param[6]=vdns_name_0
param[7]=vdns_flavor_name
param[8]=vpg_image_name
param[9]=vnf_id
param[10]=public_net_id
param[11]=sec_group
param[12]=vdns_onap_private_ip_0
param[13]=onap_private_subnet_id
param[14]=onap_private_net_id
param[15]=vlb_int_pktgen_private_ip_0
param[16]=nexus_artifact_repo
param[17]=vdns_image_name
param[18]=pktgen_private_net_id
param[19]=vnf_name
param[20]=install_script_version
param[21]=cloud_env
param[22]=gre_ipaddr
param[23]=key_name
param[24]=vf_module_id
param[25]=vlb_flavor_name
param[26]=vlb_image_name
param[27]=vpg_flavor_name
param[28]=dcae_collector_port
param[29]=vlb_private_net_cidr
param[30]=onap_private_net_cidr
param[31]=vip
param[32]=vlb_name_0
param[33]=vpg_name_0
param[34]=pktgen_private_net_cidr
param[35]=vdns_int_private_ip_0
param[36]=vpg_onap_private_ip_0
param[37]=vlb_private_net_id
param[38]=dcae_collector_ip
param[39]=vlb_int_private_ip_0
2019-10-14T02:09:27.221Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T02:09:27.221Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:09:27.222Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T02:09:27.223Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T02:09:27.224Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T02:09:27.225Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T02:09:27.225Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T02:09:27.225Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
2019-10-14T02:09:27.225Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_b722fc2f_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template to deploy vLoadBalancer/vDNS demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_attr: [vpg_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_private_network }
fixed_ips: [{"subnet": { get_resource: int_private_subnet_0 }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_resource: my_keypair_0 }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_pktgen_private_network }
fixed_ips: [{"subnet": { get_resource: int_pktgen_private_subnet_0 }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_attr: [vlb_0_int_pktgen_private_port_0, mac_address] }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
', parameters={vf_module_id=91136318-79e8-4ea1-9840-891becacd540, vlb_int_pktgen_private_ip_0=192.168.9.111, vlb_private_net_cidr=192.168.30.0/24, vdns_onap_private_ip_0=10.0.160.25, vlb_private_net_id=lb01_privatefc2f, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_b722fc2f_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, gre_ipaddr=192.168.30.112, onap_private_net_cidr=10.0.0.0/16, vdns_name_0=vlbdnsfc2f, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.160.27, vnf_id=c9c363ca-a0e4-4286-914c-8a3ccb8875a9, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgnfc2f, vlb_flavor_name=m1.medium, pktgen_private_net_cidr=192.168.9.0/24, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vdns_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, vpg_int_pktgen_private_ip_0=192.168.9.110, vlb_int_private_ip_0=192.168.30.100, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_keyb722fc2f, vlb_name_0=vlblbfc2f, pktgen_private_net_id=lb01_pktgenfc2f, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.160.24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
gre_ipaddr: "192.168.10.112"
install_script_version: "1.6.0-SNAPSHOT"
key_name: "vlb_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "PUT THE ONAP NETWORK CIDR HERE"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN"
public_net_id: "PUT THE NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
vdns_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vdns_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vdns_int_private_ip_0: "192.168.10.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vlb_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.10.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VLB"
vlb_private_net_cidr: "192.168.10.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_flavor_name: "PUT THE FLAVOR NAME HERE (m1.medium suggested)"
vpg_image_name: "PUT THE IMAGE NAME HERE (UBUNTU 1604)"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN"
', disableRollback='true', files=null}
2019-10-14T02:09:27.226Z|cf949e37-c53d-4814-a4d1-051969a03961|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:09:27.382Z|cf949e37-c53d-4814-a4d1-051969a03961|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/cf949e37-c53d-4814-a4d1-051969a03961
2019-10-14T02:09:27.383Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/cf949e37-c53d-4814-a4d1-051969a03961": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T02:09:32.733Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_b722fc2f_0)
2019-10-14T02:09:32.733Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:09:44.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:09:47.979Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_b722fc2f_0)
2019-10-14T02:09:47.980Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:10:03.274Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_b722fc2f_0)
2019-10-14T02:10:03.274Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:10:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:10:18.579Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_b722fc2f_0)
2019-10-14T02:10:18.579Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template to deploy vLoadBalancer/vDNS demo app for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vLB_b722fc2f_0/61b588b0-9e00-475a-98ec-d654def2ab48', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_b722fc2f_0', updatedTime=Mon Oct 14 02:09:32 GMT 2019, creationTime=Mon Oct 14 02:09:32 GMT 2019, stackStatus='CREATE_COMPLETE', id='61b588b0-9e00-475a-98ec-d654def2ab48', outputs='[Output [key=int_private_net_id, value=44a94518-662c-4724-b5a7-e95aaca8ec9e], Output [key=int_private_subnet_id, value=96faacd7-3f7e-419a-8fb8-e4d5dd66ca75]]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-16-04-cloud-amd64, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, vdns_int_private_ip_0=192.168.30.110, onap_private_net_cidr=10.0.0.0/16, vf_module_id=91136318-79e8-4ea1-9840-891becacd540, dcae_collector_port=30235, vlb_name_0=vlblbfc2f, vpg_onap_private_ip_0=10.0.160.27, vlb_private_net_id=lb01_privatefc2f, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.160.24, vlb_private_net_cidr=192.168.30.0/24, cloud_env=openstack, vlb_image_name=ubuntu-16-04-cloud-amd64, vpg_int_pktgen_private_ip_0=192.168.9.110, vdns_flavor_name=m1.medium, vdns_name_0=vlbdnsfc2f, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=c9c363ca-a0e4-4286-914c-8a3ccb8875a9, OS::stack_name=Vfmodule_Ete_vLB_b722fc2f_0, key_name=vfw_keyb722fc2f, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgenfc2f, vlb_int_pktgen_private_ip_0=192.168.9.111, pktgen_private_net_cidr=192.168.9.0/24, demo_artifacts_version=1.5.0-SNAPSHOT, vlb_int_private_ip_0=192.168.30.100, vpg_name_0=clvlbpgnfc2f, dcae_collector_ip=10.12.5.135, OS::stack_id=61b588b0-9e00-475a-98ec-d654def2ab48, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.160.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_b722fc2f_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T02:10:18.579Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:10:18.579Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_b722fc2f_0 successfully created
2019-10-14T02:10:18.579Z|cf949e37-c53d-4814-a4d1-051969a03961|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:10:18.593Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_b722fc2f_0/61b588b0-9e00-475a-98ec-d654def2ab48
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:10:18.604Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf949e37-c53d-4814-a4d1-051969a03961-1571018966609
2019-10-14T02:10:18.604Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - Content is:
cf949e37-c53d-4814-a4d1-051969a03961-1571018966609
CloudOwner
RegionOne
cf949e37-c53d-4814-a4d1-051969a03961-1571018966609
HEAT
cf949e37-c53d-4814-a4d1-051969a03961
cd79acb0-537c-4025-8baf-7688d3d93544
28481f6939614cfd83e6767a0e039bcc
true
91136318-79e8-4ea1-9840-891becacd540
Vfmodule_Ete_vLB_b722fc2f_0/61b588b0-9e00-475a-98ec-d654def2ab48
Vfmodule_Ete_vLB_b722fc2f_0/61b588b0-9e00-475a-98ec-d654def2ab48
true
91136318-79e8-4ea1-9840-891becacd540
int_private_subnet_id
96faacd7-3f7e-419a-8fb8-e4d5dd66ca75
int_private_net_id
44a94518-662c-4724-b5a7-e95aaca8ec9e
Vfmodule_Ete_vLB_b722fc2f_0/61b588b0-9e00-475a-98ec-d654def2ab48
c9c363ca-a0e4-4286-914c-8a3ccb8875a9
2019-10-14T02:10:18.604Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T02:10:19.272Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T02:10:19.273Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T02:10:19.273Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T02:10:19.273Z|cf949e37-c53d-4814-a4d1-051969a03961|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T02:10:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:13:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:13:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:15:29.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:15:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T02:17:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:18:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:18:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:19:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:20:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T02:21:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:22:55.163Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 161
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/7b5fec7a-8157-443c-b969-668206b38809/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[49f7c2c5-f4d2-4175-88b6-a0f67f263eb5], x-onap-invocationid=[ff738383-3a2d-44f1-994d-408049519b71,206f7bae-9ccf-46ab-8077-f82f48dbf47c], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[49f7c2c5-f4d2-4175-88b6-a0f67f263eb5,49f7c2c5-f4d2-4175-88b6-a0f67f263eb5], x-requestid=[49f7c2c5-f4d2-4175-88b6-a0f67f263eb5], x-transactionid=[49f7c2c5-f4d2-4175-88b6-a0f67f263eb5]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
7b5fec7a-8157-443c-b969-668206b38809
Ete_vVG_71a6b0a3_0
Vfmodule_Ete_vVG_71a6b0a3_0
573e55e0-47e3-4f1e-9280-6b3849eb75cf
vVG 2019-10-14 02:15:20/vVG df55133f-ccca 0
VvgDf55133fCcca..base_vvg..module-0
1.0
85d347b1-090a-45a9-946b-2479bc06d62d
true
true
true
vf_module_id
573e55e0-47e3-4f1e-9280-6b3849eb75cf
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_71a6b0a3_0
key_name
vfw_key71a6b0a3
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_71a6b0a3_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
7b5fec7a-8157-443c-b969-668206b38809
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
a5a4bfe7-f3de-4810-b658-e9c78a825c51
repo_url_blob
https://nexus.onap.org/content/repositories/raw
dcae_collector_port
30235
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"573e55e0-47e3-4f1e-9280-6b3849eb75cf"},{"attribute_name":"nova_instance","attribute_value":"a5a4bfe7-f3de-4810-b658-e9c78a825c51"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vVG_71a6b0a3_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_key71a6b0a3"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vVG_71a6b0a3_0"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"7b5fec7a-8157-443c-b969-668206b38809"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
dcae_collector_ip
10.12.5.135
vf_module_index
0
49f7c2c5-f4d2-4175-88b6-a0f67f263eb5
c421beda-38f4-48f5-85e1-34a6408e0b0e
49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058
--------------------------------------
2019-10-14T02:22:55.183Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"7b5fec7a-8157-443c-b969-668206b38809","vnfType":"vVG 2019-10-14 02:15:20/vVG df55133f-ccca 0","vnfVersion":"1.0","vfModuleId":"573e55e0-47e3-4f1e-9280-6b3849eb75cf","vfModuleName":"Vfmodule_Ete_vVG_71a6b0a3_0","vfModuleType":"VvgDf55133fCcca..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"85d347b1-090a-45a9-946b-2479bc06d62d","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"573e55e0-47e3-4f1e-9280-6b3849eb75cf","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"a5a4bfe7-f3de-4810-b658-e9c78a825c51","vnf_name":"Ete_vVG_71a6b0a3_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vVG_71a6b0a3_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"7b5fec7a-8157-443c-b969-668206b38809","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"573e55e0-47e3-4f1e-9280-6b3849eb75cf\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"a5a4bfe7-f3de-4810-b658-e9c78a825c51\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vVG_71a6b0a3_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key71a6b0a3\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vVG_71a6b0a3_0\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"7b5fec7a-8157-443c-b969-668206b38809\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key71a6b0a3","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"49f7c2c5-f4d2-4175-88b6-a0f67f263eb5","serviceInstanceId":"c421beda-38f4-48f5-85e1-34a6408e0b0e"},"synchronous":false}}
2019-10-14T02:22:55.184Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T02:22:55.184Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 02:15:20/vVG df55133f-ccca 0::VvgDf55133fCcca..base_vvg..module-0
2019-10-14T02:22:55.184Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T02:22:55.185Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 85d347b1-090a-45a9-946b-2479bc06d62d
2019-10-14T02:22:55.185Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T02:22:55.185Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T02:22:55.185Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_71a6b0a3_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T02:22:55.185Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T02:22:55.185Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:22:55.185Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T02:22:55.186Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T02:22:55.186Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 161
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 02:22:55 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T02:22:55.530Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T02:22:55.530Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:22:55.530Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_71a6b0a3_0
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=e7230be1-15f1-4424-8d54-e1731b9a150b
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=9f0a1483-a40e-416c-a671-ce39a985b219
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T02:22:55.539Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
volume_size, required=true nova_instance, required=true
Environment:parameters:
nova_instance: '1234456'
volume_size: 100
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=volume_size
param[1]=nova_instance
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T02:22:55.540Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T02:22:55.541Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T02:22:55.541Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_71a6b0a3_0', templateUrl='null', template='heat_template_version: 2013-05-23
description: create a Nova instance, a Cinder volume and attach the volume to the instance.
parameters:
nova_instance:
type: string
label: Instance name or ID
description: ID of the vm to use for the disk to be attached too
volume_size:
type: number
label: GB
description: Size of the volume to be created.
resources:
cinder_volume:
type: OS::Cinder::Volume
properties:
size: { get_param: volume_size }
volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: { get_resource: cinder_volume }
instance_uuid: { get_param: nova_instance }', parameters={nova_instance=a5a4bfe7-f3de-4810-b658-e9c78a825c51}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T02:22:55.541Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:22:55.696Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/49f7c2c5-f4d2-4175-88b6-a0f67f263eb5
2019-10-14T02:22:55.697Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/49f7c2c5-f4d2-4175-88b6-a0f67f263eb5": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T02:22:56.876Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_71a6b0a3_0)
2019-10-14T02:22:56.876Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:23:12.072Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_71a6b0a3_0)
2019-10-14T02:23:12.072Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='create a Nova instance, a Cinder volume and attach the volume to the instance.', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vVG_71a6b0a3_0/1fd5566e-9c31-495a-bbad-67f5a3591dd2', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_71a6b0a3_0', updatedTime=Mon Oct 14 02:22:56 GMT 2019, creationTime=Mon Oct 14 02:22:56 GMT 2019, stackStatus='CREATE_COMPLETE', id='1fd5566e-9c31-495a-bbad-67f5a3591dd2', outputs='[]', parameters='{OS::stack_id=1fd5566e-9c31-495a-bbad-67f5a3591dd2, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=a5a4bfe7-f3de-4810-b658-e9c78a825c51, OS::stack_name=Vfmodule_Ete_vVG_71a6b0a3_0, volume_size=100}', files='null'}
2019-10-14T02:23:12.072Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_71a6b0a3_0 successfully created
2019-10-14T02:23:12.072Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:23:12.073Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:23:12.087Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_71a6b0a3_0/1fd5566e-9c31-495a-bbad-67f5a3591dd2
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:23:12.099Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058
2019-10-14T02:23:12.099Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - Content is:
49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058
CloudOwner
RegionOne
49f7c2c5-f4d2-4175-88b6-a0f67f263eb5-1571019775058
HEAT
49f7c2c5-f4d2-4175-88b6-a0f67f263eb5
c421beda-38f4-48f5-85e1-34a6408e0b0e
28481f6939614cfd83e6767a0e039bcc
true
573e55e0-47e3-4f1e-9280-6b3849eb75cf
Vfmodule_Ete_vVG_71a6b0a3_0/1fd5566e-9c31-495a-bbad-67f5a3591dd2
Vfmodule_Ete_vVG_71a6b0a3_0/1fd5566e-9c31-495a-bbad-67f5a3591dd2
true
573e55e0-47e3-4f1e-9280-6b3849eb75cf
Vfmodule_Ete_vVG_71a6b0a3_0/1fd5566e-9c31-495a-bbad-67f5a3591dd2
7b5fec7a-8157-443c-b969-668206b38809
2019-10-14T02:23:12.099Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T02:23:12.596Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T02:23:12.596Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T02:23:12.596Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T02:23:12.596Z|49f7c2c5-f4d2-4175-88b6-a0f67f263eb5|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T02:23:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:24:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T02:26:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T02:27:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T02:30:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:31:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:33:44.733Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:34:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:35:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:35:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:36:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:37:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:38:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T02:38:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:39:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:39:40.623Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 162
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/bec942cf-b8d7-489d-b53e-4c668d5c3802/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[1756af3e-beb3-4467-bd31-c7ca8862b933], x-onap-invocationid=[fae8fdb0-a403-4dd9-806a-6627ffb7664f,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[1756af3e-beb3-4467-bd31-c7ca8862b933,1756af3e-beb3-4467-bd31-c7ca8862b933], x-requestid=[1756af3e-beb3-4467-bd31-c7ca8862b933], x-transactionid=[1756af3e-beb3-4467-bd31-c7ca8862b933]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
bec942cf-b8d7-489d-b53e-4c668d5c3802
Ete_vFWCLvFWSNK_87e1d8aa_0
Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0
9ecb1c77-fb45-430a-9004-9734bc66d9f2
vFWCL 2019-10-14 02:25:/vFWCL_vFWSNK 664d4374-fdb6 0
VfwclVfwsnk664d4374Fdb6..base_vfw..module-0
1.0
1280486c-8d80-4252-bf3c-397dfb3341bd
true
true
true
vf_module_id
9ecb1c77-fb45-430a-9004-9734bc66d9f2
oof_directives
{}
vfw_onap_private_ip_0
10.0.160.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snkd8aa
vnf_name
Ete_vFWCLvFWSNK_87e1d8aa_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_subd8aa
vfw_int_protected_private_ip_0
192.168.20.100
vsn_image_name
ubuntu-14-04-cloud-amd64
vfw_flavor_name
m1.medium
key_name
vfw_key87e1d8aa
workload_context
vsn_onap_private_ip_0
10.0.160.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
bec942cf-b8d7-489d-b53e-4c668d5c3802
int_protected_private_net_id
vofwlsnk_protectedd8aa
cloud_env
openstack
vsn_int_protected_private_ip_0
192.168.20.250
vsn_flavor_name
m1.medium
int_protected_private_subnet_id
vofwlsnk_protected_subd8aa
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwld8aa
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotectedd8aa
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
onap_private_net_cidr
10.0.0.0/16
environment_context
vfw_int_protected_private_floating_ip
192.168.10.200
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"9ecb1c77-fb45-430a-9004-9734bc66d9f2"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.160.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snkd8aa"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_87e1d8aa_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_subd8aa"},{"attribute_name":"vfw_int_protected_private_ip_0","attribute_value":"192.168.20.100"},{"attribute_name":"vsn_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vfw_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"key_name","attribute_value":"vfw_key87e1d8aa"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.160.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vfw_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"vnf_id","attribute_value":"bec942cf-b8d7-489d-b53e-4c668d5c3802"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protectedd8aa"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vsn_int_protected_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"vsn_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"int_protected_private_subnet_id","attribute_value":"vofwlsnk_protected_subd8aa"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwld8aa"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"int_unprotected_private_net_id","attribute_value":"vofwlsnk_unprotectedd8aa"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"vfw_int_protected_private_floating_ip","attribute_value":"192.168.10.200"},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vfw_int_unprotected_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vfw_int_unprotected_private_ip_0
192.168.10.100
dcae_collector_ip
10.12.5.135
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
1756af3e-beb3-4467-bd31-c7ca8862b933
39264be1-4348-4cc0-9f75-412c58765b65
1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516
--------------------------------------
2019-10-14T02:39:40.647Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"bec942cf-b8d7-489d-b53e-4c668d5c3802","vnfType":"vFWCL 2019-10-14 02:25:/vFWCL_vFWSNK 664d4374-fdb6 0","vnfVersion":"1.0","vfModuleId":"9ecb1c77-fb45-430a-9004-9734bc66d9f2","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0","vfModuleType":"VfwclVfwsnk664d4374Fdb6..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"1280486c-8d80-4252-bf3c-397dfb3341bd","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"9ecb1c77-fb45-430a-9004-9734bc66d9f2","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_87e1d8aa_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotectedd8aa","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwld8aa","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0","onap_private_net_cidr":"10.0.0.0/16","vfw_int_protected_private_floating_ip":"192.168.10.200","vsn_image_name":"ubuntu-14-04-cloud-amd64","vnf_id":"bec942cf-b8d7-489d-b53e-4c668d5c3802","vfw_int_unprotected_private_ip_0":"192.168.10.100","dcae_collector_ip":"10.12.5.135","dcae_collector_port":"30235","oof_directives":"{}","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vsn_name_0":"vofwl01snkd8aa","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_subd8aa","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.160.102","vfw_flavor_name":"m1.medium","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"9ecb1c77-fb45-430a-9004-9734bc66d9f2\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.160.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snkd8aa\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_87e1d8aa_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_subd8aa\"},{\"attribute_name\":\"vfw_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.100\"},{\"attribute_name\":\"vsn_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vfw_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key87e1d8aa\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.160.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vfw_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"bec942cf-b8d7-489d-b53e-4c668d5c3802\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protectedd8aa\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vsn_int_protected_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"vsn_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"int_protected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_protected_subd8aa\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwld8aa\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"int_unprotected_private_net_id\",\"attribute_value\":\"vofwlsnk_unprotectedd8aa\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vfw_int_protected_private_floating_ip\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vfw_int_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key87e1d8aa","int_protected_private_net_id":"vofwlsnk_protectedd8aa","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vsn_int_protected_private_ip_0":"192.168.20.250","vfw_int_protected_private_ip_0":"192.168.20.100","install_script_version":"1.5.0-SNAPSHOT","vfw_image_name":"ubuntu-14-04-cloud-amd64","vfw_onap_private_ip_0":"10.0.160.101","int_protected_private_subnet_id":"vofwlsnk_protected_subd8aa","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"1756af3e-beb3-4467-bd31-c7ca8862b933","serviceInstanceId":"39264be1-4348-4cc0-9f75-412c58765b65"},"synchronous":false}}
2019-10-14T02:39:40.648Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T02:39:40.648Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 02:25:/vFWCL_vFWSNK 664d4374-fdb6 0::VfwclVfwsnk664d4374Fdb6..base_vfw..module-0
2019-10-14T02:39:40.648Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T02:39:40.648Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T02:39:40.649Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 1280486c-8d80-4252-bf3c-397dfb3341bd
2019-10-14T02:39:40.649Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T02:39:40.649Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T02:39:40.649Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T02:39:40.649Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T02:39:40.649Z|1756af3e-beb3-4467-bd31-c7ca8862b933|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:39:40.649Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T02:39:40.650Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 162
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 02:39:40 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T02:39:41.068Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T02:39:41.068Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:39:41.068Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0
2019-10-14T02:39:41.076Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T02:39:41.076Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
2019-10-14T02:39:41.076Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T02:39:41.076Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=ec772413-d206-415b-b0ab-20463c3d17f8
2019-10-14T02:39:41.077Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T02:39:41.077Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=fadb2069-a367-4afd-aaf7-11550070dad4
2019-10-14T02:39:41.077Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
onap_private_net_id, required=true unprotected_private_net_cidr, required=true vfw_flavor_name, required=true vfw_onap_private_ip_0, required=true vsn_image_name, required=true vsn_int_protected_private_ip_0, required=true vfw_int_protected_private_ip_0, required=true vsn_name_0, required=true vsn_onap_private_ip_0, required=true net_prefix, required=true nexus_artifact_repo, required=true int_unprotected_private_subnet_id, required=true pub_key, required=true demo_artifacts_version, required=true vfw_int_protected_private_floating_ip, required=true vnf_id, required=true dcae_collector_ip, required=true protected_private_net_cidr, required=true vfw_int_unprotected_private_ip_0, required=true dcae_collector_port, required=true onap_private_subnet_id, required=true vnf_name, required=true onap_private_net_cidr, required=true public_net_id, required=true sec_group, required=true int_unprotected_private_net_id, required=true vfw_name_0, required=true int_protected_private_net_id, required=true key_name, required=true install_script_version, required=true vfw_image_name, required=true int_protected_private_subnet_id, required=true cloud_env, required=true vsn_flavor_name, required=true vf_module_id, required=true
Environment:parameters:
vf_module_id: vFirewallCL
vsn_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
public_net_id: PUT THE PUBLIC NETWORK ID HERE
vnf_name: vFWSNK
int_unprotected_private_net_id: zdfw1fwl01_unprotected
onap_private_subnet_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
sec_group: PUT THE ONAP SECURITY GROUP HERE
vfw_name_0: zdfw1fwl01fwl01
nexus_artifact_repo: https://nexus.onap.org
onap_private_net_cidr: 10.0.0.0/16
vfw_int_protected_private_floating_ip: 192.168.10.200
dcae_collector_ip: 10.0.4.1
vfw_int_unprotected_private_ip_0: 192.168.10.100
vnf_id: vFirewall_demo_app
vsn_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
dcae_collector_port: '30235'
protected_private_net_cidr: 192.168.20.0/24
unprotected_private_net_cidr: 192.168.10.0/24
int_unprotected_private_subnet_id: zdfw1fwl01_unprotected_sub
vsn_name_0: zdfw1fwl01snk01
onap_private_net_id: PUT THE ONAP PRIVATE NETWORK NAME HERE
vsn_onap_private_ip_0: 10.0.100.3
vfw_flavor_name: PUT THE VM FLAVOR NAME HERE (m1.medium suggested)
demo_artifacts_version: 1.6.0-SNAPSHOT
net_prefix: vFWSNK
pub_key: PUT YOUR KEY HERE
int_protected_private_net_id: zdfw1fwl01_protected
key_name: vfw_key
vsn_int_protected_private_ip_0: 192.168.20.250
vfw_int_protected_private_ip_0: 192.168.20.100
install_script_version: 1.6.0-SNAPSHOT
vfw_image_name: PUT THE VM IMAGE NAME HERE (UBUNTU 1404)
vfw_onap_private_ip_0: 10.0.100.1
int_protected_private_subnet_id: zdfw1fwl01_protected_sub
cloud_env: PUT openstack OR rackspace HERE
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=onap_private_net_id
param[1]=unprotected_private_net_cidr
param[2]=vfw_flavor_name
param[3]=vfw_onap_private_ip_0
param[4]=vsn_image_name
param[5]=vsn_int_protected_private_ip_0
param[6]=vfw_int_protected_private_ip_0
param[7]=vsn_name_0
param[8]=vsn_onap_private_ip_0
param[9]=net_prefix
param[10]=nexus_artifact_repo
param[11]=int_unprotected_private_subnet_id
param[12]=pub_key
param[13]=demo_artifacts_version
param[14]=vfw_int_protected_private_floating_ip
param[15]=vnf_id
param[16]=dcae_collector_ip
param[17]=protected_private_net_cidr
param[18]=vfw_int_unprotected_private_ip_0
param[19]=dcae_collector_port
param[20]=onap_private_subnet_id
param[21]=vnf_name
param[22]=onap_private_net_cidr
param[23]=public_net_id
param[24]=sec_group
param[25]=int_unprotected_private_net_id
param[26]=vfw_name_0
param[27]=int_protected_private_net_id
param[28]=key_name
param[29]=install_script_version
param[30]=vfw_image_name
param[31]=int_protected_private_subnet_id
param[32]=cloud_env
param[33]=vsn_flavor_name
param[34]=vf_module_id
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:39:41.078Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T02:39:41.079Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T02:39:41.080Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T02:39:41.081Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T02:39:41.082Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T02:39:41.082Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
2019-10-14T02:39:41.082Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0', templateUrl='null', template='##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vfw_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vfw_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
vsn_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vsn_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
int_unprotected_private_subnet_id:
type: string
label: Unprotected private subnetwork name or ID
description: Private subnetwork of the protected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
int_protected_private_net_id:
type: string
label: Protected private network name or ID
description: Private network that connects vFirewall with vSink
int_protected_private_subnet_id:
type: string
label: Protected private subnetwork name or ID
description: Private subnetwork of the unprotected network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_int_unprotected_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vfw_int_protected_private_ip_0:
type: string
label: vFirewall private IP address towards the protected network
description: Private IP address that is assigned to the vFirewall to communicate with the vSink
vfw_onap_private_ip_0:
type: string
label: vFirewall private IP address towards the ONAP management network
description: Private IP address that is assigned to the vFirewall to communicate with ONAP components
vfw_int_protected_private_floating_ip:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vsn_int_protected_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vsn_onap_private_ip_0:
type: string
label: vSink private IP address towards the ONAP management network
description: Private IP address that is assigned to the vSink to communicate with ONAP components
vfw_name_0:
type: string
label: vFirewall name
description: Name of the vFirewall
vsn_name_0:
type: string
label: vSink name
description: Name of the vSink
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
net_prefix:
type: string
label: Network prefix
description: Prefix for private network names - Workaround for Dublin
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vFirewall Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
vnfname: { get_param: vnf_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
int_unprotected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_unprotected_private_net_id }
vnfname: { get_param: net_prefix }
int_unprotected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_unprotected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_unprotected_private_network }
cidr: { get_param: unprotected_private_net_cidr }
int_protected_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_netid
params:
netid: { get_param: int_protected_private_net_id }
vnfname: { get_param: net_prefix }
int_protected_private_subnet:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_subnetid
params:
subnetid: { get_param: int_protected_private_subnet_id }
vnfname: { get_param: net_prefix }
network: { get_resource: int_protected_private_network }
cidr: { get_param: protected_private_net_cidr }
# Virtual Firewall instantiation
vfw_0_int_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_unprotected_private_network }
fixed_ips: [{"subnet": { get_resource: int_unprotected_private_subnet }, "ip_address": { get_param: vfw_int_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
allowed_address_pairs: [{ "ip_address": { get_param: vfw_int_protected_private_floating_ip }}]
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vfw_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vfw_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vfw_image_name }
flavor: { get_param: vfw_flavor_name }
name: { get_param: vfw_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vfw_0_int_unprotected_private_port_0 }
- port: { get_resource: vfw_0_int_protected_private_port_0 }
- port: { get_resource: vfw_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__ : { get_param: dcae_collector_ip }
__dcae_collector_port__ : { get_param: dcae_collector_port }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vfw_private_ip_0__ : { get_param: vfw_int_unprotected_private_ip_0 }
__vfw_private_ip_1__ : { get_param: vfw_int_protected_private_ip_0 }
__vfw_private_ip_2__ : { get_param: vfw_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt
echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt
echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh
cd /opt
chmod +x v_firewall_install.sh
./v_firewall_install.sh
# Virtual Sink instantiation
vsn_0_int_protected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_resource: int_protected_private_network }
fixed_ips: [{"subnet": { get_resource: int_protected_private_subnet }, "ip_address": { get_param: vsn_int_protected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vsn_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vsn_image_name }
flavor: { get_param: vsn_flavor_name }
name: { get_param: vsn_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vsn_0_int_protected_private_port_0 }
- port: { get_resource: vsn_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__protected_net_gw__: { get_param: vfw_int_protected_private_ip_0 }
__unprotected_net__: { get_param: unprotected_private_net_cidr }
__install_script_version__ : { get_param: install_script_version }
__vsn_private_ip_0__ : { get_param: vsn_int_protected_private_ip_0 }
__vsn_private_ip_1__ : { get_param: vsn_onap_private_ip_0 }
__protected_private_net_cidr__ : { get_param: protected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__protected_net_gw__" > /opt/config/protected_net_gw.txt
echo "__unprotected_net__" > /opt/config/unprotected_net.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt
echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt
echo "__protected_private_net_cidr__" > /opt/config/protected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh
cd /opt
chmod +x v_sink_install.sh
./v_sink_install.sh
', parameters={vf_module_id=9ecb1c77-fb45-430a-9004-9734bc66d9f2, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_87e1d8aa_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotectedd8aa, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwld8aa, onap_private_net_cidr=10.0.0.0/16, vfw_int_protected_private_floating_ip=192.168.10.200, vsn_image_name=ubuntu-14-04-cloud-amd64, vnf_id=bec942cf-b8d7-489d-b53e-4c668d5c3802, vfw_int_unprotected_private_ip_0=192.168.10.100, dcae_collector_ip=10.12.5.135, dcae_collector_port=30235, protected_private_net_cidr=192.168.20.0/24, unprotected_private_net_cidr=192.168.10.0/24, vsn_name_0=vofwl01snkd8aa, int_unprotected_private_subnet_id=vofwlsnk_unprotected_subd8aa, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.160.102, vfw_flavor_name=m1.medium, demo_artifacts_version=1.5.0-SNAPSHOT, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, key_name=vfw_key87e1d8aa, int_protected_private_net_id=vofwlsnk_protectedd8aa, vsn_int_protected_private_ip_0=192.168.20.250, vfw_int_protected_private_ip_0=192.168.20.100, install_script_version=1.5.0-SNAPSHOT, vfw_image_name=ubuntu-14-04-cloud-amd64, vfw_onap_private_ip_0=10.0.160.101, int_protected_private_subnet_id=vofwlsnk_protected_subd8aa, cloud_env=openstack}, timeoutMinutes=120, environment='parameters:
cloud_env: "PUT openstack OR rackspace HERE"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.6.0-SNAPSHOT"
install_script_version: "1.6.0-SNAPSHOT"
int_protected_private_net_id: "zdfw1fwl01_protected"
int_protected_private_subnet_id: "zdfw1fwl01_protected_sub"
int_unprotected_private_net_id: "zdfw1fwl01_unprotected"
int_unprotected_private_subnet_id: "zdfw1fwl01_unprotected_sub"
key_name: "vfw_key"
net_prefix: "vFWSNK"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/16"
onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE"
protected_private_net_cidr: "192.168.20.0/24"
pub_key: "PUT YOUR KEY HERE"
public_net_id: "PUT THE PUBLIC NETWORK ID HERE"
sec_group: "PUT THE ONAP SECURITY GROUP HERE"
unprotected_private_net_cidr: "192.168.10.0/24"
vf_module_id: "vFirewallCL"
vfw_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vfw_int_protected_private_floating_ip: "192.168.10.200"
vfw_int_protected_private_ip_0: "192.168.20.100"
vfw_int_unprotected_private_ip_0: "192.168.10.100"
vfw_name_0: "zdfw1fwl01fwl01"
vfw_onap_private_ip_0: "10.0.100.1"
vnf_id: "vFirewall_demo_app"
vnf_name: "vFWSNK"
vsn_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)"
vsn_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404)"
vsn_int_protected_private_ip_0: "192.168.20.250"
vsn_name_0: "zdfw1fwl01snk01"
vsn_onap_private_ip_0: "10.0.100.3"
', disableRollback='true', files=null}
2019-10-14T02:39:41.083Z|1756af3e-beb3-4467-bd31-c7ca8862b933|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:39:41.245Z|1756af3e-beb3-4467-bd31-c7ca8862b933|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/1756af3e-beb3-4467-bd31-c7ca8862b933
2019-10-14T02:39:41.246Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Error updating in flight request with Openstack Create Request
org.springframework.web.client.ResourceAccessException: I/O error on GET request for "null/infraActiveRequests/1756af3e-beb3-4467-bd31-c7ca8862b933": null; nested exception is org.apache.http.client.ClientProtocolException
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:744)
at org.springframework.web.client.RestTemplate.execute(RestTemplate.java:710)
at org.springframework.web.client.RestTemplate.exchange(RestTemplate.java:598)
at org.onap.so.db.request.client.RequestsDbClient.getInfraActiveRequestbyRequestId(RequestsDbClient.java:190)
at org.onap.so.openstack.utils.MsoHeatUtils.saveStackRequest(MsoHeatUtils.java:355)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:250)
at org.onap.so.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:220)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1195)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.apache.http.client.ClientProtocolException: null
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:187)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56)
at org.springframework.http.client.HttpComponentsClientHttpRequest.executeInternal(HttpComponentsClientHttpRequest.java:87)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.BufferingClientHttpRequestWrapper.executeInternal(BufferingClientHttpRequestWrapper.java:63)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:108)
at org.onap.logging.filter.spring.SpringClientFilter.intercept(SpringClientFilter.java:46)
at org.springframework.http.client.InterceptingClientHttpRequest$InterceptingRequestExecution.execute(InterceptingClientHttpRequest.java:92)
at org.springframework.http.client.InterceptingClientHttpRequest.executeInternal(InterceptingClientHttpRequest.java:76)
at org.springframework.http.client.AbstractBufferingClientHttpRequest.executeInternal(AbstractBufferingClientHttpRequest.java:48)
at org.springframework.http.client.AbstractClientHttpRequest.execute(AbstractClientHttpRequest.java:53)
at org.springframework.web.client.RestTemplate.doExecute(RestTemplate.java:735)
... 18 common frames omitted
Caused by: org.apache.http.ProtocolException: Target host is not specified
at org.apache.http.impl.conn.DefaultRoutePlanner.determineRoute(DefaultRoutePlanner.java:71)
at org.apache.http.impl.client.InternalHttpClient.determineRoute(InternalHttpClient.java:125)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
... 33 common frames omitted
2019-10-14T02:39:45.976Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0)
2019-10-14T02:39:45.976Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:40:01.201Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0)
2019-10-14T02:40:01.202Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:40:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T02:40:16.503Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0)
2019-10-14T02:40:16.504Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:40:31.727Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0)
2019-10-14T02:40:31.727Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.openstack.utils.MsoHeatUtils - Performing post processing backout: true cleanUpKeyPair: true, stack Stack{description='Heat template that deploys vFirewall Closed Loop demo app (vFW and vSink) for ONAP', links=[Link{href='http://10.12.25.2:8004/v1/28481f6939614cfd83e6767a0e039bcc/stacks/Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0/3ce932af-98e5-42f4-a392-0e15aa3f067f', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0', updatedTime=Mon Oct 14 02:39:45 GMT 2019, creationTime=Mon Oct 14 02:39:45 GMT 2019, stackStatus='CREATE_COMPLETE', id='3ce932af-98e5-42f4-a392-0e15aa3f067f', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vfw_int_protected_private_ip_0=192.168.20.100, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_flavor_name=m1.medium, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vsn_onap_private_ip_0=10.0.160.102, vsn_image_name=ubuntu-14-04-cloud-amd64, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, onap_private_net_cidr=10.0.0.0/16, vf_module_id=9ecb1c77-fb45-430a-9004-9734bc66d9f2, protected_private_net_cidr=192.168.20.0/24, dcae_collector_port=30235, net_prefix=vFWSNK, vsn_int_protected_private_ip_0=192.168.20.250, int_unprotected_private_net_id=vofwlsnk_unprotectedd8aa, vfw_int_protected_private_floating_ip=192.168.10.200, vfw_int_unprotected_private_ip_0=192.168.10.100, int_protected_private_subnet_id=vofwlsnk_protected_subd8aa, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_subd8aa, vnf_id=bec942cf-b8d7-489d-b53e-4c668d5c3802, vfw_onap_private_ip_0=10.0.160.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0, key_name=vfw_key87e1d8aa, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protectedd8aa, OS::stack_id=3ce932af-98e5-42f4-a392-0e15aa3f067f, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwld8aa, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snkd8aa, vnf_name=Ete_vFWCLvFWSNK_87e1d8aa_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vfw_image_name=ubuntu-14-04-cloud-amd64}', files='null'}
2019-10-14T02:40:31.727Z||org.onap.so.openstack.utils.StackStatusHandler - Error adding stack status to request database
java.lang.IllegalArgumentException: null
at org.apache.cxf.jaxrs.impl.UriBuilderImpl.uri(UriBuilderImpl.java:894)
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:120)
at org.onap.so.db.request.client.RequestsDbClient.getClientFactory(RequestsDbClient.java:154)
at org.onap.so.db.request.client.RequestsDbClient.getRequestProcessingDataBySoRequestIdAndNameAndGrouping(RequestsDbClient.java:370)
at org.onap.so.openstack.utils.StackStatusHandler.updateStackStatus(StackStatusHandler.java:51)
at org.onap.so.openstack.utils.StackStatusHandler$$FastClassBySpringCGLIB$$33f41b9.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.AsyncExecutionInterceptor.lambda$invoke$0(AsyncExecutionInterceptor.java:115)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:40:31.727Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0 successfully created
2019-10-14T02:40:31.728Z|1756af3e-beb3-4467-bd31-c7ca8862b933|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:40:31.741Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0/3ce932af-98e5-42f4-a392-0e15aa3f067f
java.lang.NullPointerException: Initialization error: Null openstack client. Authenticate with Keystone first.
at java.util.Objects.requireNonNull(Objects.java:228)
at org.onap.so.heatbridge.HeatBridgeImpl.queryNestedHeatStackResources(HeatBridgeImpl.java:134)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.heatbridge(MsoVnfAdapterImpl.java:459)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1244)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:40:31.752Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516
2019-10-14T02:40:31.752Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - Content is:
1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516
CloudOwner
RegionOne
1756af3e-beb3-4467-bd31-c7ca8862b933-1571020780516
HEAT
1756af3e-beb3-4467-bd31-c7ca8862b933
39264be1-4348-4cc0-9f75-412c58765b65
28481f6939614cfd83e6767a0e039bcc
true
9ecb1c77-fb45-430a-9004-9734bc66d9f2
Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0/3ce932af-98e5-42f4-a392-0e15aa3f067f
Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0/3ce932af-98e5-42f4-a392-0e15aa3f067f
true
9ecb1c77-fb45-430a-9004-9734bc66d9f2
Vfmodule_Ete_vFWCLvFWSNK_87e1d8aa_0/3ce932af-98e5-42f4-a392-0e15aa3f067f
bec942cf-b8d7-489d-b53e-4c668d5c3802
2019-10-14T02:40:31.752Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T02:40:32.533Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T02:40:32.533Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T02:40:32.533Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T02:40:32.533Z|1756af3e-beb3-4467-bd31-c7ca8862b933|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T02:40:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T02:41:44.732Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:42:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:42:38.051Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 163
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/67ee1b81-8713-4aba-8ef9-096c443125f1/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-ecomp-requestid=[4d4d7c96-545d-40c7-ad13-8194f72c4a46], x-onap-invocationid=[2fc363a9-6e39-4469-8322-b762bf72a2d4,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[4d4d7c96-545d-40c7-ad13-8194f72c4a46,4d4d7c96-545d-40c7-ad13-8194f72c4a46], x-requestid=[4d4d7c96-545d-40c7-ad13-8194f72c4a46], x-transactionid=[4d4d7c96-545d-40c7-ad13-8194f72c4a46]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
67ee1b81-8713-4aba-8ef9-096c443125f1
Ete_vFWCLvPKG_87e1d8aa_1
Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1
1f5aae7a-1d49-47cc-a275-1b2fedda2a98
vFWCL 2019-10-14 02:25:/vFWCL_vPKG 9c0a2a94-2d4a 0
VfwclVpkg9c0a2a942d4a..base_vpkg..module-0
1.0
9ca9fbfd-e8eb-465a-82ed-e1c35559550d
true
true
true
vf_module_id
1f5aae7a-1d49-47cc-a275-1b2fedda2a98
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_87e1d8aa_1
key_name
vfw_key87e1d8aa
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotectedd8aa
install_script_version
1.5.0-SNAPSHOT
vnf_id
67ee1b81-8713-4aba-8ef9-096c443125f1
cloud_env
openstack
vpg_unprotected_private_ip_0
192.168.10.200
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
vofwl01pgnd8aa
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_subd8aa
onap_private_net_cidr
10.0.0.0/16
environment_context
onap_private_subnet_id
4ed99c09-aed6-4eca-8f94-48357ab4e5d1
sec_group
ed916be8-ca11-4512-acb9-10882ad7f99c
sdnc_directives
{ "attributes": [{"attribute_name":"vf_module_id","attribute_value":"1f5aae7a-1d49-47cc-a275-1b2fedda2a98"},{"attribute_name":"vpg_image_name","attribute_value":"ubuntu-14-04-cloud-amd64"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvPKG_87e1d8aa_1"},{"attribute_name":"key_name","attribute_value":"vfw_key87e1d8aa"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotectedd8aa"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"67ee1b81-8713-4aba-8ef9-096c443125f1"},{"attribute_name":"cloud_env","attribute_value":"openstack"},{"attribute_name":"vpg_unprotected_private_ip_0","attribute_value":"192.168.10.200"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"dcae_collector_port","attribute_value":"30235"},{"attribute_name":"repo_url_blob","attribute_value":"https://nexus.onap.org/content/repositories/raw"},{"attribute_name":"vpg_name_0","attribute_value":"vofwl01pgnd8aa"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_subd8aa"},{"attribute_name":"onap_private_net_cidr","attribute_value":"10.0.0.0/16"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"onap_private_subnet_id","attribute_value":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1"},{"attribute_name":"sec_group","attribute_value":"ed916be8-ca11-4512-acb9-10882ad7f99c"},{"attribute_name":"pub_key","attribute_value":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh"},{"attribute_name":"vpg_flavor_name","attribute_value":"m1.medium"},{"attribute_name":"vfw_private_ip_0","attribute_value":"192.168.10.100"},{"attribute_name":"demo_artifacts_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"protected_private_net_cidr","attribute_value":"192.168.20.0/24"},{"attribute_name":"vsn_private_ip_0","attribute_value":"192.168.20.250"},{"attribute_name":"dcae_collector_ip","attribute_value":"10.12.5.135"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.160.103"},{"attribute_name":"unprotected_private_net_cidr","attribute_value":"192.168.10.0/24"},{"attribute_name":"vf_module_index","attribute_value":"0"}]}
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh
vpg_flavor_name
m1.medium
vfw_private_ip_0
192.168.10.100
demo_artifacts_version
1.5.0-SNAPSHOT
protected_private_net_cidr
192.168.20.0/24
vsn_private_ip_0
192.168.20.250
dcae_collector_ip
10.12.5.135
vpg_onap_private_ip_0
10.0.160.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
4d4d7c96-545d-40c7-ad13-8194f72c4a46
39264be1-4348-4cc0-9f75-412c58765b65
4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955
--------------------------------------
2019-10-14T02:42:38.094Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"67ee1b81-8713-4aba-8ef9-096c443125f1","vnfType":"vFWCL 2019-10-14 02:25:/vFWCL_vPKG 9c0a2a94-2d4a 0","vnfVersion":"1.0","vfModuleId":"1f5aae7a-1d49-47cc-a275-1b2fedda2a98","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1","vfModuleType":"VfwclVpkg9c0a2a942d4a..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"9ca9fbfd-e8eb-465a-82ed-e1c35559550d","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"1f5aae7a-1d49-47cc-a275-1b2fedda2a98","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_87e1d8aa_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_subd8aa","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","vfw_private_ip_0":"192.168.10.100","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vf_module_name":"Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.160.103","vnf_id":"67ee1b81-8713-4aba-8ef9-096c443125f1","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgnd8aa","vsn_private_ip_0":"192.168.20.250","protected_private_net_cidr":"192.168.20.0/24","unprotected_private_net_cidr":"192.168.10.0/24","vpg_image_name":"ubuntu-14-04-cloud-amd64","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","unprotected_private_net_id":"vFWSNK_vofwlsnk_unprotectedd8aa","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"1f5aae7a-1d49-47cc-a275-1b2fedda2a98\"},{\"attribute_name\":\"vpg_image_name\",\"attribute_value\":\"ubuntu-14-04-cloud-amd64\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvPKG_87e1d8aa_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key87e1d8aa\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotectedd8aa\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"67ee1b81-8713-4aba-8ef9-096c443125f1\"},{\"attribute_name\":\"cloud_env\",\"attribute_value\":\"openstack\"},{\"attribute_name\":\"vpg_unprotected_private_ip_0\",\"attribute_value\":\"192.168.10.200\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"dcae_collector_port\",\"attribute_value\":\"30235\"},{\"attribute_name\":\"repo_url_blob\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/raw\"},{\"attribute_name\":\"vpg_name_0\",\"attribute_value\":\"vofwl01pgnd8aa\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_subd8aa\"},{\"attribute_name\":\"onap_private_net_cidr\",\"attribute_value\":\"10.0.0.0/16\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"onap_private_subnet_id\",\"attribute_value\":\"4ed99c09-aed6-4eca-8f94-48357ab4e5d1\"},{\"attribute_name\":\"sec_group\",\"attribute_value\":\"ed916be8-ca11-4512-acb9-10882ad7f99c\"},{\"attribute_name\":\"pub_key\",\"attribute_value\":\"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh\"},{\"attribute_name\":\"vpg_flavor_name\",\"attribute_value\":\"m1.medium\"},{\"attribute_name\":\"vfw_private_ip_0\",\"attribute_value\":\"192.168.10.100\"},{\"attribute_name\":\"demo_artifacts_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"protected_private_net_cidr\",\"attribute_value\":\"192.168.20.0/24\"},{\"attribute_name\":\"vsn_private_ip_0\",\"attribute_value\":\"192.168.20.250\"},{\"attribute_name\":\"dcae_collector_ip\",\"attribute_value\":\"10.12.5.135\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.160.103\"},{\"attribute_name\":\"unprotected_private_net_cidr\",\"attribute_value\":\"192.168.10.0/24\"},{\"attribute_name\":\"vf_module_index\",\"attribute_value\":\"0\"}]}","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh","key_name":"vfw_key87e1d8aa","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vpg_unprotected_private_ip_0":"192.168.10.200","install_script_version":"1.5.0-SNAPSHOT","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"4d4d7c96-545d-40c7-ad13-8194f72c4a46","serviceInstanceId":"39264be1-4348-4cc0-9f75-412c58765b65"},"synchronous":false}}
2019-10-14T02:42:38.095Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T02:42:38.095Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 02:25:/vFWCL_vPKG 9c0a2a94-2d4a 0::VfwclVpkg9c0a2a942d4a..base_vpkg..module-0
2019-10-14T02:42:38.095Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T02:42:38.096Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 9ca9fbfd-e8eb-465a-82ed-e1c35559550d
2019-10-14T02:42:38.096Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T02:42:38.096Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T02:42:38.096Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T02:42:38.096Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T02:42:38.096Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T02:42:38.097Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T02:42:38.097Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T02:42:38.098Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 163
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 02:42:38 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T02:42:38.565Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T02:42:38.566Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - Error in Query Stack
com.woorea.openstack.base.client.OpenStackResponseException: Not Found
at com.woorea.openstack.connector.HttpClientConnector.request(HttpClientConnector.java:186)
at com.woorea.openstack.base.client.OpenStackClient.request(OpenStackClient.java:71)
at com.woorea.openstack.base.client.OpenStackClient.execute(OpenStackClient.java:87)
at com.woorea.openstack.base.client.OpenStackRequest.execute(OpenStackRequest.java:115)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:121)
at org.onap.so.openstack.utils.MsoCommonUtils.executeAndRecordOpenstackRequest(MsoCommonUtils.java:101)
at org.onap.so.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:695)
at org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:455)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:644)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:749)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:688)
at org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$bf527f63.createVfModule()
at org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:358)
at java.lang.Thread.run(Thread.java:748)
2019-10-14T02:42:38.566Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got HEAT Template from DB: ##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys the vFirewall Traffic Generator demo app for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
unprotected_private_net_id:
type: string
label: Unprotected private network name or ID
description: Private network that connects vPacketGenerator with vFirewall
unprotected_private_subnet_id:
type: string
label: Unprotected private sub-network name or ID
description: Private subnetwork for the unprotected network
unprotected_private_net_cidr:
type: string
label: Unprotected private network CIDR
description: The CIDR of the unprotected private network
protected_private_net_cidr:
type: string
label: Protected private network CIDR
description: The CIDR of the protected private network
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP components and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP components and the VNF
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vfw_private_ip_0:
type: string
label: vFirewall private IP address towards the unprotected network
description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator
vsn_private_ip_0:
type: string
label: vSink private IP address towards the protected network
description: Private IP address that is assigned to the vSink to communicate with the vFirewall
vpg_unprotected_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the unprotected network
description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall
vpg_onap_private_ip_0:
type: string
label: vPacketGenerator private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components
vpg_name_0:
type: string
label: vPacketGenerator name
description: Name of the vPacketGenerator
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vf_module_id:
type: string
label: vPNG Traffic Generator module ID
description: The vPNG Module ID is provided by ONAP
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Artifacts (jar, tar.gz) version used in demo vnfs
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
random-str:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
vnfname: { get_param: vnf_name }
base: { get_param: key_name }
rand: { get_resource: random-str }
public_key: { get_param: pub_key }
save_private_key: false
# Virtual Packet Generator instantiation
vpg_0_unprotected_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: unprotected_private_net_id }
fixed_ips: [{"subnet": { get_param: unprotected_private_subnet_id }, "ip_address": { get_param: vpg_unprotected_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_resource: my_keypair }
networks:
- network: { get_param: public_net_id }
- port: { get_resource: vpg_0_unprotected_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
metadata:
vnf_name: { get_param: vnf_name }
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
user_data_format: RAW
user_data:
str_replace:
params:
__fw_ipaddr__: { get_param: vfw_private_ip_0 }
__protected_net_cidr__: { get_param: protected_private_net_cidr }
__sink_ipaddr__: { get_param: vsn_private_ip_0 }
__demo_artifacts_version__ : { get_param: demo_artifacts_version }
__install_script_version__ : { get_param: install_script_version }
__vpg_private_ip_0__ : { get_param: vpg_unprotected_private_ip_0 }
__vpg_private_ip_1__ : { get_param: vpg_onap_private_ip_0 }
__unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }
__onap_private_net_cidr__ : { get_param: onap_private_net_cidr }
__cloud_env__ : { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt
echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt
echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt
echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt
echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip
unzip -j /opt/vfw-scripts-__install_script_version__.zi