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__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|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-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=96ef1624-bb2f-43ca-9ba4-a0f34546022e
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=17c0369e-ab55-4576-add6-bfdf20c86f5a
2019-10-14T02:42:38.575Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vf_module_id, required=true vpg_name_0, required=true sec_group, required=true cloud_env, required=true onap_private_subnet_id, required=true install_script_version, required=true vnf_id, required=true key_name, required=true vpg_onap_private_ip_0, required=true pub_key, required=true vfw_private_ip_0, required=true onap_private_net_cidr, required=true demo_artifacts_version, required=true vpg_image_name, required=true unprotected_private_net_id, required=true unprotected_private_net_cidr, required=true protected_private_net_cidr, required=true vsn_private_ip_0, required=true vpg_flavor_name, required=true vpg_unprotected_private_ip_0, required=true nexus_artifact_repo, required=true public_net_id, required=true unprotected_private_subnet_id, required=true vnf_name, required=true onap_private_net_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-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vf_module_id
param[1]=vpg_name_0
param[2]=sec_group
param[3]=cloud_env
param[4]=onap_private_subnet_id
param[5]=install_script_version
param[6]=vnf_id
param[7]=key_name
param[8]=vpg_onap_private_ip_0
param[9]=pub_key
param[10]=vfw_private_ip_0
param[11]=onap_private_net_cidr
param[12]=demo_artifacts_version
param[13]=vpg_image_name
param[14]=unprotected_private_net_id
param[15]=unprotected_private_net_cidr
param[16]=protected_private_net_cidr
param[17]=vsn_private_ip_0
param[18]=vpg_flavor_name
param[19]=vpg_unprotected_private_ip_0
param[20]=nexus_artifact_repo
param[21]=public_net_id
param[22]=unprotected_private_subnet_id
param[23]=vnf_name
param[24]=onap_private_net_id
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T02:42:38.576Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T02:42:38.577Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|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-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T02:42:38.578Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T02:42:38.579Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|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-14T02:42:38.579Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_87e1d8aa_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=1f5aae7a-1d49-47cc-a275-1b2fedda2a98, 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, vnf_name=Ete_vFWCLvPKG_87e1d8aa_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_subd8aa, 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.160.103, key_name=vfw_key87e1d8aa, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=67ee1b81-8713-4aba-8ef9-096c443125f1, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgnd8aa, 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-14T02:42:38.579Z|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.756Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/4d4d7c96-545d-40c7-ad13-8194f72c4a46
2019-10-14T02:42:38.756Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|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/4d4d7c96-545d-40c7-ad13-8194f72c4a46": 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:42:41.858Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1)
2019-10-14T02:42:41.858Z||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:42:57.068Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1)
2019-10-14T02:42:57.069Z||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:43:12.283Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1)
2019-10-14T02:43:12.284Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|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_87e1d8aa_1/e9f8b34b-ea2b-459d-ac4d-87eef501b222', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1', updatedTime=Mon Oct 14 02:42:41 GMT 2019, creationTime=Mon Oct 14 02:42:41 GMT 2019, stackStatus='CREATE_COMPLETE', id='e9f8b34b-ea2b-459d-ac4d-87eef501b222', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=1f5aae7a-1d49-47cc-a275-1b2fedda2a98, 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=67ee1b81-8713-4aba-8ef9-096c443125f1, 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.160.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotectedd8aa, vpg_name_0=vofwl01pgnd8aa, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_subd8aa, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1, key_name=vfw_key87e1d8aa, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=e9f8b34b-ea2b-459d-ac4d-87eef501b222, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_87e1d8aa_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-14T02:43:12.284Z||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:43:12.284Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1 successfully created
2019-10-14T02:43:12.284Z|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:43:12.307Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1/e9f8b34b-ea2b-459d-ac4d-87eef501b222
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:43:12.323Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955
2019-10-14T02:43:12.323Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - Content is:
4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955
CloudOwner
RegionOne
4d4d7c96-545d-40c7-ad13-8194f72c4a46-1571020957955
HEAT
4d4d7c96-545d-40c7-ad13-8194f72c4a46
39264be1-4348-4cc0-9f75-412c58765b65
28481f6939614cfd83e6767a0e039bcc
true
1f5aae7a-1d49-47cc-a275-1b2fedda2a98
Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1/e9f8b34b-ea2b-459d-ac4d-87eef501b222
Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1/e9f8b34b-ea2b-459d-ac4d-87eef501b222
true
1f5aae7a-1d49-47cc-a275-1b2fedda2a98
Vfmodule_Ete_vFWCLvPKG_87e1d8aa_1/e9f8b34b-ea2b-459d-ac4d-87eef501b222
67ee1b81-8713-4aba-8ef9-096c443125f1
2019-10-14T02:43:12.323Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T02:43:12.873Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T02:43:12.873Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T02:43:12.873Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T02:43:12.873Z|4d4d7c96-545d-40c7-ad13-8194f72c4a46|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T02:43:14.735Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:43: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:44:44.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T02:45: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:45: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:48:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:48:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:50:29.732Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:51: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:51:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:52:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T02:54:14.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T02:54: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:55: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:56:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T02:58: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: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-14T03:00:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:02:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T03:03:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:04:44.732Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T03:07:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:08:27.012Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 164
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/9f1fce87-3ec5-4af8-9359-e282d853e8e9/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=[cf5eed87-29e1-48a7-9bf6-93f29eee18b5], x-onap-invocationid=[933d2a4e-a191-4709-b307-0c9470cd1f97,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[cf5eed87-29e1-48a7-9bf6-93f29eee18b5,cf5eed87-29e1-48a7-9bf6-93f29eee18b5], x-requestid=[cf5eed87-29e1-48a7-9bf6-93f29eee18b5], x-transactionid=[cf5eed87-29e1-48a7-9bf6-93f29eee18b5]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
9f1fce87-3ec5-4af8-9359-e282d853e8e9
Ete_vLB_97e2deb8_0
Vfmodule_Ete_vLB_97e2deb8_0
77477e15-d94e-4f6b-99d9-ea5bfd34670f
vLB 2019-10-14 03:00:52/vLBMS b6285a50-ae36 0
VlbmsB6285a50Ae36..base_vlb..module-0
1.0
b9a80241-bafc-4383-8304-56be2eaf875d
true
true
true
vf_module_id
77477e15-d94e-4f6b-99d9-ea5bfd34670f
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_97e2deb8_0
key_name
vfw_key97e2deb8
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_97e2deb8_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblbdeb8
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgendeb8
gre_ipaddr
192.168.30.112
vnf_id
9f1fce87-3ec5-4af8-9359-e282d853e8e9
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.221.24
vdns_onap_private_ip_0
10.0.221.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgndeb8
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":"77477e15-d94e-4f6b-99d9-ea5bfd34670f"},{"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_97e2deb8_0"},{"attribute_name":"key_name","attribute_value":"vfw_key97e2deb8"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_97e2deb8_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblbdeb8"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgendeb8"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"9f1fce87-3ec5-4af8-9359-e282d853e8e9"},{"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.221.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.221.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":"clvlbpgndeb8"},{"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":"vlbdnsdeb8"},{"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_privatedeb8"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.221.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
vlbdnsdeb8
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_privatedeb8
vpg_onap_private_ip_0
10.0.221.27
vf_module_index
0
cf5eed87-29e1-48a7-9bf6-93f29eee18b5
8f56334e-0d08-4e82-86e3-61b6b4bf5911
cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910
--------------------------------------
2019-10-14T03:08:27.037Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"9f1fce87-3ec5-4af8-9359-e282d853e8e9","vnfType":"vLB 2019-10-14 03:00:52/vLBMS b6285a50-ae36 0","vnfVersion":"1.0","vfModuleId":"77477e15-d94e-4f6b-99d9-ea5bfd34670f","vfModuleName":"Vfmodule_Ete_vLB_97e2deb8_0","vfModuleType":"VlbmsB6285a50Ae36..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"b9a80241-bafc-4383-8304-56be2eaf875d","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"77477e15-d94e-4f6b-99d9-ea5bfd34670f","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.221.25","vlb_private_net_id":"lb01_privatedeb8","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_97e2deb8_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_97e2deb8_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdnsdeb8","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.221.27","vnf_id":"9f1fce87-3ec5-4af8-9359-e282d853e8e9","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":"clvlbpgndeb8","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\":\"77477e15-d94e-4f6b-99d9-ea5bfd34670f\"},{\"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_97e2deb8_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key97e2deb8\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_97e2deb8_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblbdeb8\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgendeb8\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"9f1fce87-3ec5-4af8-9359-e282d853e8e9\"},{\"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.221.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.221.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\":\"clvlbpgndeb8\"},{\"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\":\"vlbdnsdeb8\"},{\"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_privatedeb8\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.221.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_key97e2deb8","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblbdeb8","pktgen_private_net_id":"lb01_pktgendeb8","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.221.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"cf5eed87-29e1-48a7-9bf6-93f29eee18b5","serviceInstanceId":"8f56334e-0d08-4e82-86e3-61b6b4bf5911"},"synchronous":false}}
2019-10-14T03:08:27.038Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T03:08:27.038Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T03:08:27.038Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 03:00:52/vLBMS b6285a50-ae36 0::VlbmsB6285a50Ae36..base_vlb..module-0
2019-10-14T03:08:27.039Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T03:08:27.039Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T03:08:27.040Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T03:08:27.040Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T03:08:27.040Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: b9a80241-bafc-4383-8304-56be2eaf875d
2019-10-14T03:08:27.040Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T03:08:27.040Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_97e2deb8_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T03:08:27.040Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 164
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 03:08:27 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T03:08:27.041Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:08:27.367Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T03:08:27.367Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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-14T03:08:27.367Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_97e2deb8_0
2019-10-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=d7e94bf7-be4b-479c-93c8-15ee0ae4b627
2019-10-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=fc06765f-32aa-441d-880d-51892368f099
2019-10-14T03:08:27.391Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T03:08:27.392Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vlb_name_0, required=true vip, required=true key_name, required=true vlb_flavor_name, required=true vpg_flavor_name, required=true vdns_flavor_name, required=true vpg_image_name, required=true install_script_version, required=true pub_key, required=true vpg_int_pktgen_private_ip_0, required=true vdns_int_private_ip_0, required=true vlb_private_net_id, required=true vpg_onap_private_ip_0, required=true dcae_collector_ip, required=true vlb_int_private_ip_0, required=true demo_artifacts_version, required=true pktgen_private_net_cidr, required=true public_net_id, required=true onap_private_net_cidr, required=true onap_private_subnet_id, required=true vdns_onap_private_ip_0, required=true vpg_name_0, required=true sec_group, required=true pg_int, required=true vf_module_id, required=true vlb_image_name, required=true vdns_name_0, required=true cloud_env, required=true vlb_private_net_cidr, required=true dcae_collector_port, required=true vnf_id, required=true vlb_onap_private_ip_0, required=true nb_api_version, required=true vnf_name, required=true gre_ipaddr, 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
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-14T03:08:27.392Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vlb_name_0
param[1]=vip
param[2]=key_name
param[3]=vlb_flavor_name
param[4]=vpg_flavor_name
param[5]=vdns_flavor_name
param[6]=vpg_image_name
param[7]=install_script_version
param[8]=pub_key
param[9]=vpg_int_pktgen_private_ip_0
param[10]=vdns_int_private_ip_0
param[11]=vlb_private_net_id
param[12]=vpg_onap_private_ip_0
param[13]=dcae_collector_ip
param[14]=vlb_int_private_ip_0
param[15]=demo_artifacts_version
param[16]=pktgen_private_net_cidr
param[17]=public_net_id
param[18]=onap_private_net_cidr
param[19]=onap_private_subnet_id
param[20]=vdns_onap_private_ip_0
param[21]=vpg_name_0
param[22]=sec_group
param[23]=pg_int
param[24]=vf_module_id
param[25]=vlb_image_name
param[26]=vdns_name_0
param[27]=cloud_env
param[28]=vlb_private_net_cidr
param[29]=dcae_collector_port
param[30]=vnf_id
param[31]=vlb_onap_private_ip_0
param[32]=nb_api_version
param[33]=vnf_name
param[34]=gre_ipaddr
param[35]=onap_private_net_id
param[36]=vlb_int_pktgen_private_ip_0
param[37]=nexus_artifact_repo
param[38]=vdns_image_name
param[39]=pktgen_private_net_id
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T03:08:27.393Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T03:08:27.394Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T03:08:27.395Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T03:08:27.396Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T03:08:27.396Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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-14T03:08:27.396Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T03:08:27.396Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T03:08:27.404Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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-14T03:08:27.404Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_97e2deb8_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=77477e15-d94e-4f6b-99d9-ea5bfd34670f, 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.221.25, vlb_private_net_id=lb01_privatedeb8, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_97e2deb8_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=vlbdnsdeb8, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.221.27, vnf_id=9f1fce87-3ec5-4af8-9359-e282d853e8e9, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgndeb8, 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_key97e2deb8, vlb_name_0=vlblbdeb8, pktgen_private_net_id=lb01_pktgendeb8, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.221.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-14T03:08:27.405Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:08:27.564Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/cf5eed87-29e1-48a7-9bf6-93f29eee18b5
2019-10-14T03:08:27.565Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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/cf5eed87-29e1-48a7-9bf6-93f29eee18b5": 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-14T03:08:32.517Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_97e2deb8_0)
2019-10-14T03:08:32.517Z||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-14T03:08:47.844Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_97e2deb8_0)
2019-10-14T03:08:47.845Z||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-14T03:08:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:09:03.088Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_97e2deb8_0)
2019-10-14T03:09:03.088Z||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-14T03:09:18.402Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_97e2deb8_0)
2019-10-14T03:09:18.403Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|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_97e2deb8_0/28f41484-e774-4461-89b2-7bda5cb6a7b9', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_97e2deb8_0', updatedTime=Mon Oct 14 03:08:32 GMT 2019, creationTime=Mon Oct 14 03:08:31 GMT 2019, stackStatus='CREATE_COMPLETE', id='28f41484-e774-4461-89b2-7bda5cb6a7b9', outputs='[Output [key=int_private_net_id, value=b93ebdbe-97d6-46e7-aaa7-505f970f1343], Output [key=int_private_subnet_id, value=392bfa20-5fd8-4ce2-9c90-1d4001b796c0]]', 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=77477e15-d94e-4f6b-99d9-ea5bfd34670f, dcae_collector_port=30235, vlb_name_0=vlblbdeb8, vpg_onap_private_ip_0=10.0.221.27, vlb_private_net_id=lb01_privatedeb8, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.221.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=vlbdnsdeb8, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=9f1fce87-3ec5-4af8-9359-e282d853e8e9, OS::stack_name=Vfmodule_Ete_vLB_97e2deb8_0, key_name=vfw_key97e2deb8, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgendeb8, 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=clvlbpgndeb8, dcae_collector_ip=10.12.5.135, OS::stack_id=28f41484-e774-4461-89b2-7bda5cb6a7b9, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.221.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_97e2deb8_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T03:09:18.403Z||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-14T03:09:18.403Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_97e2deb8_0 successfully created
2019-10-14T03:09:18.403Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:09:18.419Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_97e2deb8_0/28f41484-e774-4461-89b2-7bda5cb6a7b9
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-14T03:09:18.431Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910
2019-10-14T03:09:18.431Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - Content is:
cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910
CloudOwner
RegionOne
cf5eed87-29e1-48a7-9bf6-93f29eee18b5-1571022506910
HEAT
cf5eed87-29e1-48a7-9bf6-93f29eee18b5
8f56334e-0d08-4e82-86e3-61b6b4bf5911
28481f6939614cfd83e6767a0e039bcc
true
77477e15-d94e-4f6b-99d9-ea5bfd34670f
Vfmodule_Ete_vLB_97e2deb8_0/28f41484-e774-4461-89b2-7bda5cb6a7b9
Vfmodule_Ete_vLB_97e2deb8_0/28f41484-e774-4461-89b2-7bda5cb6a7b9
true
77477e15-d94e-4f6b-99d9-ea5bfd34670f
int_private_subnet_id
392bfa20-5fd8-4ce2-9c90-1d4001b796c0
int_private_net_id
b93ebdbe-97d6-46e7-aaa7-505f970f1343
Vfmodule_Ete_vLB_97e2deb8_0/28f41484-e774-4461-89b2-7bda5cb6a7b9
9f1fce87-3ec5-4af8-9359-e282d853e8e9
2019-10-14T03:09:18.432Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T03:09:18.963Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T03:09:18.963Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T03:09:18.963Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T03:09:18.963Z|cf5eed87-29e1-48a7-9bf6-93f29eee18b5|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T03:09:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:10:29.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03: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-14T03:11:44.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T03:12:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:13:44.734Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T03:14:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:15:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:15:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:16:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:17:29.746Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:18:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:19:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:19:51.581Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 165
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/134587be-c5e9-4f4c-b8a9-64cfa11320ac/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=[c09a49a6-e57b-41ce-9d3c-4ca75c96f276], x-onap-invocationid=[c157e634-1e95-4b16-8ba0-166e6323e1d5,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[c09a49a6-e57b-41ce-9d3c-4ca75c96f276,c09a49a6-e57b-41ce-9d3c-4ca75c96f276], x-requestid=[c09a49a6-e57b-41ce-9d3c-4ca75c96f276], x-transactionid=[c09a49a6-e57b-41ce-9d3c-4ca75c96f276]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
134587be-c5e9-4f4c-b8a9-64cfa11320ac
Ete_vVG_8d0d356f_0
Vfmodule_Ete_vVG_8d0d356f_0
943c65d6-4100-408a-8529-a2dc4e2a8742
vVG 2019-10-14 03:14:23/vVG cd705344-c679 0
VvgCd705344C679..base_vvg..module-0
1.0
b0cae8ee-5791-47c4-8170-f0b946208fc2
true
true
true
vf_module_id
943c65d6-4100-408a-8529-a2dc4e2a8742
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_8d0d356f_0
key_name
vfw_key8d0d356f
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_8d0d356f_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
134587be-c5e9-4f4c-b8a9-64cfa11320ac
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
04992da5-d050-41a9-afea-ff9c936b9240
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":"943c65d6-4100-408a-8529-a2dc4e2a8742"},{"attribute_name":"nova_instance","attribute_value":"04992da5-d050-41a9-afea-ff9c936b9240"},{"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_8d0d356f_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_key8d0d356f"},{"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_8d0d356f_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":"134587be-c5e9-4f4c-b8a9-64cfa11320ac"},{"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
c09a49a6-e57b-41ce-9d3c-4ca75c96f276
9f3df063-0844-451b-bec8-915d48800999
c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490
--------------------------------------
2019-10-14T03:19:51.597Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"134587be-c5e9-4f4c-b8a9-64cfa11320ac","vnfType":"vVG 2019-10-14 03:14:23/vVG cd705344-c679 0","vnfVersion":"1.0","vfModuleId":"943c65d6-4100-408a-8529-a2dc4e2a8742","vfModuleName":"Vfmodule_Ete_vVG_8d0d356f_0","vfModuleType":"VvgCd705344C679..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"b0cae8ee-5791-47c4-8170-f0b946208fc2","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"943c65d6-4100-408a-8529-a2dc4e2a8742","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"04992da5-d050-41a9-afea-ff9c936b9240","vnf_name":"Ete_vVG_8d0d356f_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_8d0d356f_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"134587be-c5e9-4f4c-b8a9-64cfa11320ac","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\":\"943c65d6-4100-408a-8529-a2dc4e2a8742\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"04992da5-d050-41a9-afea-ff9c936b9240\"},{\"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_8d0d356f_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key8d0d356f\"},{\"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_8d0d356f_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\":\"134587be-c5e9-4f4c-b8a9-64cfa11320ac\"},{\"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_key8d0d356f","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":"c09a49a6-e57b-41ce-9d3c-4ca75c96f276","serviceInstanceId":"9f3df063-0844-451b-bec8-915d48800999"},"synchronous":false}}
2019-10-14T03:19:51.598Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T03:19:51.598Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 03:14:23/vVG cd705344-c679 0::VvgCd705344C679..base_vvg..module-0
2019-10-14T03:19:51.598Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T03:19:51.599Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T03:19:51.599Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: b0cae8ee-5791-47c4-8170-f0b946208fc2
2019-10-14T03:19:51.599Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T03:19:51.599Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T03:19:51.599Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_8d0d356f_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T03:19:51.599Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T03:19:51.599Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T03:19:51.599Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:19:51.600Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 165
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 03:19:51 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T03:19:51.940Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T03:19:51.940Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|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-14T03:19:51.941Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_8d0d356f_0
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|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-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=47c29685-4e9b-4376-a320-350ef13fa28a
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=1083e28a-6b50-4a19-8d46-59c302f46356
2019-10-14T03:19:51.948Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T03:19:51.949Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
nova_instance, required=true volume_size, required=true
Environment:parameters:
nova_instance: '1234456'
volume_size: 100
2019-10-14T03:19:51.949Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=nova_instance
param[1]=volume_size
2019-10-14T03:19:51.949Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T03:19:51.949Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T03:19:51.949Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T03:19:51.950Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T03:19:51.951Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T03:19:51.951Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_8d0d356f_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=04992da5-d050-41a9-afea-ff9c936b9240}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T03:19:51.951Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:19:52.127Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/c09a49a6-e57b-41ce-9d3c-4ca75c96f276
2019-10-14T03:19:52.128Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|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/c09a49a6-e57b-41ce-9d3c-4ca75c96f276": 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-14T03:19:53.123Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_8d0d356f_0)
2019-10-14T03:19:53.123Z||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-14T03:20:08.314Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_8d0d356f_0)
2019-10-14T03:20:08.314Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|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_8d0d356f_0/daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_8d0d356f_0', updatedTime=Mon Oct 14 03:19:52 GMT 2019, creationTime=Mon Oct 14 03:19:52 GMT 2019, stackStatus='CREATE_COMPLETE', id='daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb', outputs='[]', parameters='{OS::stack_id=daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=04992da5-d050-41a9-afea-ff9c936b9240, OS::stack_name=Vfmodule_Ete_vVG_8d0d356f_0, volume_size=100}', files='null'}
2019-10-14T03:20:08.314Z||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-14T03:20:08.314Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_8d0d356f_0 successfully created
2019-10-14T03:20:08.314Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:20:08.330Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_8d0d356f_0/daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb
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-14T03:20:08.346Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490
2019-10-14T03:20:08.346Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - Content is:
c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490
CloudOwner
RegionOne
c09a49a6-e57b-41ce-9d3c-4ca75c96f276-1571023191490
HEAT
c09a49a6-e57b-41ce-9d3c-4ca75c96f276
9f3df063-0844-451b-bec8-915d48800999
28481f6939614cfd83e6767a0e039bcc
true
943c65d6-4100-408a-8529-a2dc4e2a8742
Vfmodule_Ete_vVG_8d0d356f_0/daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb
Vfmodule_Ete_vVG_8d0d356f_0/daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb
true
943c65d6-4100-408a-8529-a2dc4e2a8742
Vfmodule_Ete_vVG_8d0d356f_0/daca75c6-3ce1-4ab7-9c26-f7d529cc1dcb
134587be-c5e9-4f4c-b8a9-64cfa11320ac
2019-10-14T03:20:08.346Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T03:20:08.874Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T03:20:08.874Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T03:20:08.874Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T03:20:08.874Z|c09a49a6-e57b-41ce-9d3c-4ca75c96f276|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T03:21:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:21:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:22:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03: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-14T03:24:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:25:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:26:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:27:14.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:27:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:28:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:29:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:31:24.496Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 166
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/b76cf3e0-a256-4f11-8f0f-d942e998ebbd/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=[3d06b8df-11cf-4e97-864f-2b15032743b3], x-onap-invocationid=[b23b7393-f271-441c-ac00-6bf5e5f90342,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[3d06b8df-11cf-4e97-864f-2b15032743b3,3d06b8df-11cf-4e97-864f-2b15032743b3], x-requestid=[3d06b8df-11cf-4e97-864f-2b15032743b3], x-transactionid=[3d06b8df-11cf-4e97-864f-2b15032743b3]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
b76cf3e0-a256-4f11-8f0f-d942e998ebbd
Ete_vFWCLvFWSNK_fed82a21_0
Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0
c6f01310-a0cb-4f75-ae03-cdf4fb6dd603
vFWCL 2019-10-14 03:22:/vFWCL_vFWSNK b5c6e09e-4e24 0
VfwclVfwsnkB5c6e09e4e24..base_vfw..module-0
1.0
086cbc16-236e-4302-b77c-1d8395297d4f
true
true
true
vf_module_id
c6f01310-a0cb-4f75-ae03-cdf4fb6dd603
oof_directives
{}
vfw_onap_private_ip_0
10.0.221.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snk2a21
vnf_name
Ete_vFWCLvFWSNK_fed82a21_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_sub2a21
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_keyfed82a21
workload_context
vsn_onap_private_ip_0
10.0.221.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
b76cf3e0-a256-4f11-8f0f-d942e998ebbd
int_protected_private_net_id
vofwlsnk_protected2a21
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_sub2a21
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwl2a21
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotected2a21
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":"c6f01310-a0cb-4f75-ae03-cdf4fb6dd603"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.221.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snk2a21"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_fed82a21_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_sub2a21"},{"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_keyfed82a21"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.221.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_fed82a21_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":"b76cf3e0-a256-4f11-8f0f-d942e998ebbd"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protected2a21"},{"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_sub2a21"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwl2a21"},{"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_unprotected2a21"},{"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
3d06b8df-11cf-4e97-864f-2b15032743b3
6d0fb2c5-44ea-43b3-a956-137ec4ab9a12
3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415
--------------------------------------
2019-10-14T03:31:24.533Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"b76cf3e0-a256-4f11-8f0f-d942e998ebbd","vnfType":"vFWCL 2019-10-14 03:22:/vFWCL_vFWSNK b5c6e09e-4e24 0","vnfVersion":"1.0","vfModuleId":"c6f01310-a0cb-4f75-ae03-cdf4fb6dd603","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0","vfModuleType":"VfwclVfwsnkB5c6e09e4e24..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"086cbc16-236e-4302-b77c-1d8395297d4f","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"c6f01310-a0cb-4f75-ae03-cdf4fb6dd603","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_fed82a21_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotected2a21","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwl2a21","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_fed82a21_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":"b76cf3e0-a256-4f11-8f0f-d942e998ebbd","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":"vofwl01snk2a21","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_sub2a21","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.221.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\":\"c6f01310-a0cb-4f75-ae03-cdf4fb6dd603\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.221.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snk2a21\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_fed82a21_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_sub2a21\"},{\"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_keyfed82a21\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.221.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_fed82a21_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\":\"b76cf3e0-a256-4f11-8f0f-d942e998ebbd\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protected2a21\"},{\"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_sub2a21\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwl2a21\"},{\"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_unprotected2a21\"},{\"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_keyfed82a21","int_protected_private_net_id":"vofwlsnk_protected2a21","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.221.101","int_protected_private_subnet_id":"vofwlsnk_protected_sub2a21","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"3d06b8df-11cf-4e97-864f-2b15032743b3","serviceInstanceId":"6d0fb2c5-44ea-43b3-a956-137ec4ab9a12"},"synchronous":false}}
2019-10-14T03:31:24.534Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T03:31:24.534Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 03:22:/vFWCL_vFWSNK b5c6e09e-4e24 0::VfwclVfwsnkB5c6e09e4e24..base_vfw..module-0
2019-10-14T03:31:24.533Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T03:31:24.534Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T03:31:24.535Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 086cbc16-236e-4302-b77c-1d8395297d4f
2019-10-14T03:31:24.535Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T03:31:24.535Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T03:31:24.535Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T03:31:24.535Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T03:31:24.535Z|3d06b8df-11cf-4e97-864f-2b15032743b3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:31:24.535Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T03:31:24.536Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 166
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 03:31:24 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T03:31:24.973Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T03:31:24.973Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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-14T03:31:24.973Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0
2019-10-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=c0cb7cce-ecc9-4440-9b7d-4db26bf50f0c
2019-10-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=32ef6a1c-62be-402c-a9ba-8d106ab0437f
2019-10-14T03:31:24.982Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T03:31:24.983Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
int_protected_private_net_id, required=true vfw_int_protected_private_floating_ip, required=true vfw_int_unprotected_private_ip_0, required=true vsn_onap_private_ip_0, required=true sec_group, required=true demo_artifacts_version, required=true int_unprotected_private_subnet_id, required=true int_unprotected_private_net_id, required=true onap_private_net_id, required=true public_net_id, required=true vsn_name_0, required=true onap_private_net_cidr, required=true pub_key, required=true vfw_flavor_name, required=true vsn_flavor_name, required=true cloud_env, required=true int_protected_private_subnet_id, required=true vfw_onap_private_ip_0, required=true vf_module_id, required=true install_script_version, required=true key_name, required=true vfw_image_name, required=true vfw_int_protected_private_ip_0, required=true dcae_collector_ip, required=true vsn_int_protected_private_ip_0, required=true net_prefix, required=true nexus_artifact_repo, required=true vnf_name, required=true dcae_collector_port, required=true vfw_name_0, required=true onap_private_subnet_id, required=true unprotected_private_net_cidr, required=true protected_private_net_cidr, required=true vsn_image_name, required=true vnf_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-14T03:31:24.983Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=int_protected_private_net_id
param[1]=vfw_int_protected_private_floating_ip
param[2]=vfw_int_unprotected_private_ip_0
param[3]=vsn_onap_private_ip_0
param[4]=sec_group
param[5]=demo_artifacts_version
param[6]=int_unprotected_private_subnet_id
param[7]=int_unprotected_private_net_id
param[8]=onap_private_net_id
param[9]=public_net_id
param[10]=vsn_name_0
param[11]=onap_private_net_cidr
param[12]=pub_key
param[13]=vfw_flavor_name
param[14]=vsn_flavor_name
param[15]=cloud_env
param[16]=int_protected_private_subnet_id
param[17]=vfw_onap_private_ip_0
param[18]=vf_module_id
param[19]=install_script_version
param[20]=key_name
param[21]=vfw_image_name
param[22]=vfw_int_protected_private_ip_0
param[23]=dcae_collector_ip
param[24]=vsn_int_protected_private_ip_0
param[25]=net_prefix
param[26]=nexus_artifact_repo
param[27]=vnf_name
param[28]=dcae_collector_port
param[29]=vfw_name_0
param[30]=onap_private_subnet_id
param[31]=unprotected_private_net_cidr
param[32]=protected_private_net_cidr
param[33]=vsn_image_name
param[34]=vnf_id
2019-10-14T03:31:24.983Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T03:31:24.984Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T03:31:24.985Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T03:31:24.986Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T03:31:24.987Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T03:31:24.988Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T03:31:24.988Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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-14T03:31:24.988Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T03:31:24.988Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T03:31:24.989Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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-14T03:31:24.989Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_fed82a21_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=c6f01310-a0cb-4f75-ae03-cdf4fb6dd603, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_fed82a21_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotected2a21, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwl2a21, 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=b76cf3e0-a256-4f11-8f0f-d942e998ebbd, 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=vofwl01snk2a21, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub2a21, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.221.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_keyfed82a21, int_protected_private_net_id=vofwlsnk_protected2a21, 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.221.101, int_protected_private_subnet_id=vofwlsnk_protected_sub2a21, 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-14T03:31:24.989Z|3d06b8df-11cf-4e97-864f-2b15032743b3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:31:25.147Z|3d06b8df-11cf-4e97-864f-2b15032743b3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/3d06b8df-11cf-4e97-864f-2b15032743b3
2019-10-14T03:31:25.148Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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/3d06b8df-11cf-4e97-864f-2b15032743b3": 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-14T03:31:29.358Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0)
2019-10-14T03:31:29.358Z||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-14T03:31:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:31:44.677Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0)
2019-10-14T03:31:44.677Z||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-14T03:31:59.907Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0)
2019-10-14T03:31:59.907Z||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-14T03:31:59.907Z|3d06b8df-11cf-4e97-864f-2b15032743b3|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_fed82a21_0/3ef59069-9b2c-424c-bd94-43ee2f1210d4', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0', updatedTime=Mon Oct 14 03:31:29 GMT 2019, creationTime=Mon Oct 14 03:31:28 GMT 2019, stackStatus='CREATE_COMPLETE', id='3ef59069-9b2c-424c-bd94-43ee2f1210d4', 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.221.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=c6f01310-a0cb-4f75-ae03-cdf4fb6dd603, 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_unprotected2a21, 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_sub2a21, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub2a21, vnf_id=b76cf3e0-a256-4f11-8f0f-d942e998ebbd, vfw_onap_private_ip_0=10.0.221.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0, key_name=vfw_keyfed82a21, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protected2a21, OS::stack_id=3ef59069-9b2c-424c-bd94-43ee2f1210d4, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwl2a21, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snk2a21, vnf_name=Ete_vFWCLvFWSNK_fed82a21_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-14T03:31:59.907Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0 successfully created
2019-10-14T03:31:59.908Z|3d06b8df-11cf-4e97-864f-2b15032743b3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:31:59.922Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0/3ef59069-9b2c-424c-bd94-43ee2f1210d4
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-14T03:31:59.933Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415
2019-10-14T03:31:59.933Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - Content is:
3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415
CloudOwner
RegionOne
3d06b8df-11cf-4e97-864f-2b15032743b3-1571023884415
HEAT
3d06b8df-11cf-4e97-864f-2b15032743b3
6d0fb2c5-44ea-43b3-a956-137ec4ab9a12
28481f6939614cfd83e6767a0e039bcc
true
c6f01310-a0cb-4f75-ae03-cdf4fb6dd603
Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0/3ef59069-9b2c-424c-bd94-43ee2f1210d4
Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0/3ef59069-9b2c-424c-bd94-43ee2f1210d4
true
c6f01310-a0cb-4f75-ae03-cdf4fb6dd603
Vfmodule_Ete_vFWCLvFWSNK_fed82a21_0/3ef59069-9b2c-424c-bd94-43ee2f1210d4
b76cf3e0-a256-4f11-8f0f-d942e998ebbd
2019-10-14T03:31:59.933Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T03:32:00.519Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T03:32:00.519Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T03:32:00.519Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T03:32:00.519Z|3d06b8df-11cf-4e97-864f-2b15032743b3|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T03:32:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:32:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:34:18.524Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 167
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/2d5eb7a9-30b1-47f8-8d96-865650a6087b/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=[df8449be-0937-41d4-8e46-406bec67cd62], x-onap-invocationid=[1f1270ba-6e62-4264-938d-fd24efe446b5,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[df8449be-0937-41d4-8e46-406bec67cd62,df8449be-0937-41d4-8e46-406bec67cd62], x-requestid=[df8449be-0937-41d4-8e46-406bec67cd62], x-transactionid=[df8449be-0937-41d4-8e46-406bec67cd62]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
2d5eb7a9-30b1-47f8-8d96-865650a6087b
Ete_vFWCLvPKG_fed82a21_1
Vfmodule_Ete_vFWCLvPKG_fed82a21_1
37801a7c-7a3c-46d9-a6a3-867f11a713a5
vFWCL 2019-10-14 03:22:/vFWCL_vPKG 0ecd6de8-691c 0
VfwclVpkg0ecd6de8691c..base_vpkg..module-0
1.0
90dfccb1-efa2-4108-a2e5-53be3a58bc38
true
true
true
vf_module_id
37801a7c-7a3c-46d9-a6a3-867f11a713a5
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_fed82a21_1
key_name
vfw_keyfed82a21
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_fed82a21_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected2a21
install_script_version
1.5.0-SNAPSHOT
vnf_id
2d5eb7a9-30b1-47f8-8d96-865650a6087b
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
vofwl01pgn2a21
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub2a21
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":"37801a7c-7a3c-46d9-a6a3-867f11a713a5"},{"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_fed82a21_1"},{"attribute_name":"key_name","attribute_value":"vfw_keyfed82a21"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_fed82a21_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected2a21"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"2d5eb7a9-30b1-47f8-8d96-865650a6087b"},{"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":"vofwl01pgn2a21"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub2a21"},{"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.221.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.221.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
df8449be-0937-41d4-8e46-406bec67cd62
6d0fb2c5-44ea-43b3-a956-137ec4ab9a12
df8449be-0937-41d4-8e46-406bec67cd62-1571024058417
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/df8449be-0937-41d4-8e46-406bec67cd62-1571024058417
--------------------------------------
2019-10-14T03:34:18.554Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"df8449be-0937-41d4-8e46-406bec67cd62-1571024058417","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/df8449be-0937-41d4-8e46-406bec67cd62-1571024058417","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"2d5eb7a9-30b1-47f8-8d96-865650a6087b","vnfType":"vFWCL 2019-10-14 03:22:/vFWCL_vPKG 0ecd6de8-691c 0","vnfVersion":"1.0","vfModuleId":"37801a7c-7a3c-46d9-a6a3-867f11a713a5","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_fed82a21_1","vfModuleType":"VfwclVpkg0ecd6de8691c..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"90dfccb1-efa2-4108-a2e5-53be3a58bc38","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"37801a7c-7a3c-46d9-a6a3-867f11a713a5","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_fed82a21_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub2a21","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_fed82a21_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.221.103","vnf_id":"2d5eb7a9-30b1-47f8-8d96-865650a6087b","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn2a21","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_unprotected2a21","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"37801a7c-7a3c-46d9-a6a3-867f11a713a5\"},{\"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_fed82a21_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyfed82a21\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_fed82a21_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected2a21\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"2d5eb7a9-30b1-47f8-8d96-865650a6087b\"},{\"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\":\"vofwl01pgn2a21\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub2a21\"},{\"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.221.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_keyfed82a21","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":"df8449be-0937-41d4-8e46-406bec67cd62","serviceInstanceId":"6d0fb2c5-44ea-43b3-a956-137ec4ab9a12"},"synchronous":false}}
2019-10-14T03:34:18.555Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T03:34:18.555Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 03:22:/vFWCL_vPKG 0ecd6de8-691c 0::VfwclVpkg0ecd6de8691c..base_vpkg..module-0
2019-10-14T03:34:18.555Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T03:34:18.556Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T03:34:18.556Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T03:34:18.556Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T03:34:18.556Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T03:34:18.557Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 90dfccb1-efa2-4108-a2e5-53be3a58bc38
2019-10-14T03:34:18.557Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T03:34:18.557Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_fed82a21_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T03:34:18.557Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 167
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 03:34:18 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T03:34:18.557Z|df8449be-0937-41d4-8e46-406bec67cd62|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:34:18.892Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T03:34:18.893Z|df8449be-0937-41d4-8e46-406bec67cd62|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-14T03:34:18.893Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_fed82a21_1
2019-10-14T03:34:18.901Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|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-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|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-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=ef37aaa0-138f-4d19-9fa3-984ec47851bc
2019-10-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=ed6afe1d-7ffc-4103-b19e-a356aca22fb0
2019-10-14T03:34:18.902Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vpg_unprotected_private_ip_0, required=true pub_key, required=true demo_artifacts_version, required=true public_net_id, required=true unprotected_private_subnet_id, required=true onap_private_net_cidr, required=true vf_module_id, required=true install_script_version, required=true cloud_env, required=true key_name, required=true vpg_onap_private_ip_0, required=true nexus_artifact_repo, required=true vnf_name, required=true vfw_private_ip_0, required=true unprotected_private_net_cidr, required=true onap_private_net_id, required=true unprotected_private_net_id, required=true vpg_name_0, required=true vsn_private_ip_0, required=true sec_group, required=true onap_private_subnet_id, required=true protected_private_net_cidr, required=true vpg_flavor_name, required=true vpg_image_name, required=true vnf_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-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vpg_unprotected_private_ip_0
param[1]=pub_key
param[2]=demo_artifacts_version
param[3]=public_net_id
param[4]=unprotected_private_subnet_id
param[5]=onap_private_net_cidr
param[6]=vf_module_id
param[7]=install_script_version
param[8]=cloud_env
param[9]=key_name
param[10]=vpg_onap_private_ip_0
param[11]=nexus_artifact_repo
param[12]=vnf_name
param[13]=vfw_private_ip_0
param[14]=unprotected_private_net_cidr
param[15]=onap_private_net_id
param[16]=unprotected_private_net_id
param[17]=vpg_name_0
param[18]=vsn_private_ip_0
param[19]=sec_group
param[20]=onap_private_subnet_id
param[21]=protected_private_net_cidr
param[22]=vpg_flavor_name
param[23]=vpg_image_name
param[24]=vnf_id
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T03:34:18.903Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T03:34:18.904Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T03:34:18.905Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T03:34:18.905Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T03:34:18.905Z|df8449be-0937-41d4-8e46-406bec67cd62|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-14T03:34:18.905Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T03:34:18.905Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T03:34:18.906Z|df8449be-0937-41d4-8e46-406bec67cd62|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-14T03:34:18.906Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_fed82a21_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=37801a7c-7a3c-46d9-a6a3-867f11a713a5, 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_unprotected2a21, vnf_name=Ete_vFWCLvPKG_fed82a21_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub2a21, 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.221.103, key_name=vfw_keyfed82a21, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=2d5eb7a9-30b1-47f8-8d96-865650a6087b, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn2a21, 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-14T03:34:18.906Z|df8449be-0937-41d4-8e46-406bec67cd62|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:34:19.057Z|df8449be-0937-41d4-8e46-406bec67cd62|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/df8449be-0937-41d4-8e46-406bec67cd62
2019-10-14T03:34:19.057Z|df8449be-0937-41d4-8e46-406bec67cd62|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/df8449be-0937-41d4-8e46-406bec67cd62": 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-14T03:34:22.272Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_fed82a21_1)
2019-10-14T03:34:22.272Z||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-14T03: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-14T03:34:37.473Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_fed82a21_1)
2019-10-14T03:34:37.473Z||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-14T03:34:52.753Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_fed82a21_1)
2019-10-14T03:34:52.753Z||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-14T03:34:52.753Z|df8449be-0937-41d4-8e46-406bec67cd62|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_fed82a21_1/e3a3846b-4da8-42e9-9d54-49267fce0a88', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_fed82a21_1', updatedTime=Mon Oct 14 03:34:21 GMT 2019, creationTime=Mon Oct 14 03:34:21 GMT 2019, stackStatus='CREATE_COMPLETE', id='e3a3846b-4da8-42e9-9d54-49267fce0a88', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=37801a7c-7a3c-46d9-a6a3-867f11a713a5, 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=2d5eb7a9-30b1-47f8-8d96-865650a6087b, 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.221.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected2a21, vpg_name_0=vofwl01pgn2a21, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub2a21, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_fed82a21_1, key_name=vfw_keyfed82a21, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=e3a3846b-4da8-42e9-9d54-49267fce0a88, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_fed82a21_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-14T03:34:52.753Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_fed82a21_1 successfully created
2019-10-14T03:34:52.754Z|df8449be-0937-41d4-8e46-406bec67cd62|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T03:34:52.765Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_fed82a21_1/e3a3846b-4da8-42e9-9d54-49267fce0a88
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-14T03:34:52.775Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/df8449be-0937-41d4-8e46-406bec67cd62-1571024058417
2019-10-14T03:34:52.775Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - Content is:
df8449be-0937-41d4-8e46-406bec67cd62-1571024058417
CloudOwner
RegionOne
df8449be-0937-41d4-8e46-406bec67cd62-1571024058417
HEAT
df8449be-0937-41d4-8e46-406bec67cd62
6d0fb2c5-44ea-43b3-a956-137ec4ab9a12
28481f6939614cfd83e6767a0e039bcc
true
37801a7c-7a3c-46d9-a6a3-867f11a713a5
Vfmodule_Ete_vFWCLvPKG_fed82a21_1/e3a3846b-4da8-42e9-9d54-49267fce0a88
Vfmodule_Ete_vFWCLvPKG_fed82a21_1/e3a3846b-4da8-42e9-9d54-49267fce0a88
true
37801a7c-7a3c-46d9-a6a3-867f11a713a5
Vfmodule_Ete_vFWCLvPKG_fed82a21_1/e3a3846b-4da8-42e9-9d54-49267fce0a88
2d5eb7a9-30b1-47f8-8d96-865650a6087b
2019-10-14T03:34:52.775Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T03:34:53.246Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T03:34:53.246Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T03:34:53.246Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T03:34:53.246Z|df8449be-0937-41d4-8e46-406bec67cd62|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T03:35:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:35:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:36:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:37:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:38:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:38:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:39:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:40:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:41:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:42:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:43:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T03:44:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:45:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:45:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:46:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:47:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:48:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:48:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:50:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T03:51:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T03:52:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03:54:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03: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-14T03:55:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T03:56:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T03: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-14T03: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-14T04:00:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:00:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:01:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T04:03:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:03:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:04:44.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:05:29.732Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:06:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:09:26.801Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 168
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/2c240ff2-8742-441c-8e5e-8a309757cb2c/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=[be0a92bb-2379-43e7-89f6-2adeb1886b99], x-onap-invocationid=[41b4a505-c145-4d6b-a89f-e8b1861a9b5b,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[be0a92bb-2379-43e7-89f6-2adeb1886b99,be0a92bb-2379-43e7-89f6-2adeb1886b99], x-requestid=[be0a92bb-2379-43e7-89f6-2adeb1886b99], x-transactionid=[be0a92bb-2379-43e7-89f6-2adeb1886b99]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
2c240ff2-8742-441c-8e5e-8a309757cb2c
Ete_vLB_abede477_0
Vfmodule_Ete_vLB_abede477_0
65444684-6844-45d6-a11c-91de9fbf2f0e
vLB 2019-10-14 04:00:52/vLBMS b66f00f3-2570 0
VlbmsB66f00f32570..base_vlb..module-0
1.0
b6a6be0b-b347-470d-b7f3-48163acf7ca6
true
true
true
vf_module_id
65444684-6844-45d6-a11c-91de9fbf2f0e
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_abede477_0
key_name
vfw_keyabede477
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_abede477_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblbe477
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgene477
gre_ipaddr
192.168.30.112
vnf_id
2c240ff2-8742-441c-8e5e-8a309757cb2c
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.200.24
vdns_onap_private_ip_0
10.0.200.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgne477
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":"65444684-6844-45d6-a11c-91de9fbf2f0e"},{"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_abede477_0"},{"attribute_name":"key_name","attribute_value":"vfw_keyabede477"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_abede477_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblbe477"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgene477"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"2c240ff2-8742-441c-8e5e-8a309757cb2c"},{"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.200.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.200.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":"clvlbpgne477"},{"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":"vlbdnse477"},{"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_privatee477"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.200.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
vlbdnse477
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_privatee477
vpg_onap_private_ip_0
10.0.200.27
vf_module_index
0
be0a92bb-2379-43e7-89f6-2adeb1886b99
a8bfc755-11a2-4d9f-a754-5c5281193e89
be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705
--------------------------------------
2019-10-14T04:09:26.825Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"2c240ff2-8742-441c-8e5e-8a309757cb2c","vnfType":"vLB 2019-10-14 04:00:52/vLBMS b66f00f3-2570 0","vnfVersion":"1.0","vfModuleId":"65444684-6844-45d6-a11c-91de9fbf2f0e","vfModuleName":"Vfmodule_Ete_vLB_abede477_0","vfModuleType":"VlbmsB66f00f32570..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"b6a6be0b-b347-470d-b7f3-48163acf7ca6","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"65444684-6844-45d6-a11c-91de9fbf2f0e","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.200.25","vlb_private_net_id":"lb01_privatee477","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_abede477_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_abede477_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdnse477","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.200.27","vnf_id":"2c240ff2-8742-441c-8e5e-8a309757cb2c","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":"clvlbpgne477","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\":\"65444684-6844-45d6-a11c-91de9fbf2f0e\"},{\"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_abede477_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyabede477\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_abede477_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblbe477\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgene477\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"2c240ff2-8742-441c-8e5e-8a309757cb2c\"},{\"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.200.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.200.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\":\"clvlbpgne477\"},{\"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\":\"vlbdnse477\"},{\"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_privatee477\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.200.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_keyabede477","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblbe477","pktgen_private_net_id":"lb01_pktgene477","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.200.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"be0a92bb-2379-43e7-89f6-2adeb1886b99","serviceInstanceId":"a8bfc755-11a2-4d9f-a754-5c5281193e89"},"synchronous":false}}
2019-10-14T04:09:26.826Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T04:09:26.826Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 04:00:52/vLBMS b66f00f3-2570 0::VlbmsB66f00f32570..base_vlb..module-0
2019-10-14T04:09:26.826Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T04:09:26.827Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: b6a6be0b-b347-470d-b7f3-48163acf7ca6
2019-10-14T04:09:26.827Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T04:09:26.827Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T04:09:26.827Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_abede477_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T04:09:26.827Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T04:09:26.827Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:09:26.827Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T04:09:26.828Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T04:09:26.828Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 168
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 04:09:26 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T04:09:27.286Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T04:09:27.286Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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-14T04:09:27.286Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_abede477_0
2019-10-14T04:09:27.308Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T04:09:27.308Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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-14T04:09:27.308Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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-14T04:09:27.309Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=e7923c83-9dca-4d43-ba70-200c12b4fc3a
2019-10-14T04:09:27.309Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T04:09:27.309Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=28cb13c6-1059-4caa-b091-ed0dd4eda44d
2019-10-14T04:09:27.309Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
demo_artifacts_version, required=true onap_private_net_id, required=true pktgen_private_net_cidr, required=true pub_key, required=true vip, required=true pg_int, required=true vlb_onap_private_ip_0, required=true sec_group, required=true public_net_id, required=true vnf_id, required=true dcae_collector_port, required=true vlb_flavor_name, required=true vdns_name_0, required=true vpg_name_0, required=true vpg_flavor_name, required=true vpg_image_name, required=true nexus_artifact_repo, required=true vdns_flavor_name, required=true gre_ipaddr, required=true nb_api_version, required=true onap_private_subnet_id, required=true cloud_env, required=true vlb_private_net_cidr, required=true vnf_name, required=true vlb_image_name, required=true vlb_int_pktgen_private_ip_0, required=true pktgen_private_net_id, required=true vdns_image_name, required=true vf_module_id, required=true vpg_onap_private_ip_0, required=true vlb_private_net_id, required=true vdns_onap_private_ip_0, required=true onap_private_net_cidr, required=true dcae_collector_ip, required=true vdns_int_private_ip_0, required=true vlb_int_private_ip_0, required=true key_name, required=true install_script_version, required=true vlb_name_0, required=true vpg_int_pktgen_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-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=demo_artifacts_version
param[1]=onap_private_net_id
param[2]=pktgen_private_net_cidr
param[3]=pub_key
param[4]=vip
param[5]=pg_int
param[6]=vlb_onap_private_ip_0
param[7]=sec_group
param[8]=public_net_id
param[9]=vnf_id
param[10]=dcae_collector_port
param[11]=vlb_flavor_name
param[12]=vdns_name_0
param[13]=vpg_name_0
param[14]=vpg_flavor_name
param[15]=vpg_image_name
param[16]=nexus_artifact_repo
param[17]=vdns_flavor_name
param[18]=gre_ipaddr
param[19]=nb_api_version
param[20]=onap_private_subnet_id
param[21]=cloud_env
param[22]=vlb_private_net_cidr
param[23]=vnf_name
param[24]=vlb_image_name
param[25]=vlb_int_pktgen_private_ip_0
param[26]=pktgen_private_net_id
param[27]=vdns_image_name
param[28]=vf_module_id
param[29]=vpg_onap_private_ip_0
param[30]=vlb_private_net_id
param[31]=vdns_onap_private_ip_0
param[32]=onap_private_net_cidr
param[33]=dcae_collector_ip
param[34]=vdns_int_private_ip_0
param[35]=vlb_int_private_ip_0
param[36]=key_name
param[37]=install_script_version
param[38]=vlb_name_0
param[39]=vpg_int_pktgen_private_ip_0
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.310Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T04:09:27.311Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.312Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T04:09:27.313Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T04:09:27.314Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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-14T04:09:27.314Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T04:09:27.314Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T04:09:27.314Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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-14T04:09:27.315Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_abede477_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=65444684-6844-45d6-a11c-91de9fbf2f0e, 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.200.25, vlb_private_net_id=lb01_privatee477, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_abede477_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=vlbdnse477, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.200.27, vnf_id=2c240ff2-8742-441c-8e5e-8a309757cb2c, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgne477, 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_keyabede477, vlb_name_0=vlblbe477, pktgen_private_net_id=lb01_pktgene477, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.200.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-14T04:09:27.315Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:09:27.497Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/be0a92bb-2379-43e7-89f6-2adeb1886b99
2019-10-14T04:09:27.498Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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/be0a92bb-2379-43e7-89f6-2adeb1886b99": 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-14T04:09:32.554Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_abede477_0)
2019-10-14T04:09:32.554Z||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-14T04:09:47.876Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_abede477_0)
2019-10-14T04:09:47.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-14T04:10:03.265Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_abede477_0)
2019-10-14T04:10:03.266Z||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-14T04:10:18.366Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_abede477_0)
2019-10-14T04:10:18.366Z||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-14T04:10:18.366Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|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_abede477_0/eac108d1-d345-4789-a904-8bf7142fdf1e', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_abede477_0', updatedTime=Mon Oct 14 04:09:32 GMT 2019, creationTime=Mon Oct 14 04:09:31 GMT 2019, stackStatus='CREATE_COMPLETE', id='eac108d1-d345-4789-a904-8bf7142fdf1e', outputs='[Output [key=int_private_net_id, value=9c283308-ce5d-4876-8ea1-4a1a3ef3120d], Output [key=int_private_subnet_id, value=688560ff-3b6a-4139-b57e-9a5a13c6017d]]', 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=65444684-6844-45d6-a11c-91de9fbf2f0e, dcae_collector_port=30235, vlb_name_0=vlblbe477, vpg_onap_private_ip_0=10.0.200.27, vlb_private_net_id=lb01_privatee477, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.200.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=vlbdnse477, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=2c240ff2-8742-441c-8e5e-8a309757cb2c, OS::stack_name=Vfmodule_Ete_vLB_abede477_0, key_name=vfw_keyabede477, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgene477, 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=clvlbpgne477, dcae_collector_ip=10.12.5.135, OS::stack_id=eac108d1-d345-4789-a904-8bf7142fdf1e, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.200.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_abede477_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T04:10:18.367Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_abede477_0 successfully created
2019-10-14T04:10:18.367Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:10:18.384Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_abede477_0/eac108d1-d345-4789-a904-8bf7142fdf1e
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-14T04:10:18.395Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705
2019-10-14T04:10:18.395Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - Content is:
be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705
CloudOwner
RegionOne
be0a92bb-2379-43e7-89f6-2adeb1886b99-1571026166705
HEAT
be0a92bb-2379-43e7-89f6-2adeb1886b99
a8bfc755-11a2-4d9f-a754-5c5281193e89
28481f6939614cfd83e6767a0e039bcc
true
65444684-6844-45d6-a11c-91de9fbf2f0e
Vfmodule_Ete_vLB_abede477_0/eac108d1-d345-4789-a904-8bf7142fdf1e
Vfmodule_Ete_vLB_abede477_0/eac108d1-d345-4789-a904-8bf7142fdf1e
true
65444684-6844-45d6-a11c-91de9fbf2f0e
int_private_subnet_id
688560ff-3b6a-4139-b57e-9a5a13c6017d
int_private_net_id
9c283308-ce5d-4876-8ea1-4a1a3ef3120d
Vfmodule_Ete_vLB_abede477_0/eac108d1-d345-4789-a904-8bf7142fdf1e
2c240ff2-8742-441c-8e5e-8a309757cb2c
2019-10-14T04:10:18.395Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T04:10:18.984Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T04:10:18.984Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T04:10:18.984Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T04:10:18.984Z|be0a92bb-2379-43e7-89f6-2adeb1886b99|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T04:10:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:11:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:11:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T04:13:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:15:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:16:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:16:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:17:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T04:18:27.229Z||org.camunda.bpm.client - TASK/CLIENT-03001 Exception while fetch and lock task.
org.camunda.bpm.client.impl.EngineClientException: TASK/CLIENT-02002 Exception while establishing connection for request 'POST http://so-bpmn-infra.onap:8081/sobpmnengine/external-task/fetchAndLock HTTP/1.1'
at org.camunda.bpm.client.impl.EngineClientLogger.exceptionWhileEstablishingConnection(EngineClientLogger.java:35)
at org.camunda.bpm.client.impl.RequestExecutor.executeRequest(RequestExecutor.java:98)
at org.camunda.bpm.client.impl.RequestExecutor.postRequest(RequestExecutor.java:71)
at org.camunda.bpm.client.impl.EngineClient.fetchAndLock(EngineClient.java:71)
at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.fetchAndLock(TopicSubscriptionManager.java:134)
at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.acquire(TopicSubscriptionManager.java:100)
at org.camunda.bpm.client.topic.impl.TopicSubscriptionManager.run(TopicSubscriptionManager.java:86)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.SocketException: Connection reset
at java.net.SocketInputStream.read(SocketInputStream.java:210)
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:72)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:221)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:165)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:140)
at org.camunda.bpm.client.impl.RequestExecutor.executeRequest(RequestExecutor.java:85)
... 6 common frames omitted
2019-10-14T04:18:29.732Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:19:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T04:20:44.733Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:22:52.028Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 169
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/4f303930-794a-4304-a75e-69a2b82a495b/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=[7044ab81-d676-4a3c-b19b-4ffe8a0dce5b], x-onap-invocationid=[3bc91d63-6c49-4104-9e16-d135e430d53f,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[7044ab81-d676-4a3c-b19b-4ffe8a0dce5b,7044ab81-d676-4a3c-b19b-4ffe8a0dce5b], x-requestid=[7044ab81-d676-4a3c-b19b-4ffe8a0dce5b], x-transactionid=[7044ab81-d676-4a3c-b19b-4ffe8a0dce5b]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
4f303930-794a-4304-a75e-69a2b82a495b
Ete_vVG_b22b5c39_0
Vfmodule_Ete_vVG_b22b5c39_0
36d920e2-8f5f-4619-858d-96138e48f42f
vVG 2019-10-14 04:15:19/vVG ca319d37-63d5 0
VvgCa319d3763d5..base_vvg..module-0
1.0
60a39529-c78b-4142-b954-f2cc38ea30ef
true
true
true
vf_module_id
36d920e2-8f5f-4619-858d-96138e48f42f
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_b22b5c39_0
key_name
vfw_keyb22b5c39
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_b22b5c39_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
4f303930-794a-4304-a75e-69a2b82a495b
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
525bef62-d309-4506-8410-76b78da95274
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":"36d920e2-8f5f-4619-858d-96138e48f42f"},{"attribute_name":"nova_instance","attribute_value":"525bef62-d309-4506-8410-76b78da95274"},{"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_b22b5c39_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_keyb22b5c39"},{"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_b22b5c39_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":"4f303930-794a-4304-a75e-69a2b82a495b"},{"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
7044ab81-d676-4a3c-b19b-4ffe8a0dce5b
aa21ae6d-410d-4f5e-9439-467c2e917aed
7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929
--------------------------------------
2019-10-14T04:22:52.043Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"4f303930-794a-4304-a75e-69a2b82a495b","vnfType":"vVG 2019-10-14 04:15:19/vVG ca319d37-63d5 0","vnfVersion":"1.0","vfModuleId":"36d920e2-8f5f-4619-858d-96138e48f42f","vfModuleName":"Vfmodule_Ete_vVG_b22b5c39_0","vfModuleType":"VvgCa319d3763d5..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"60a39529-c78b-4142-b954-f2cc38ea30ef","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"36d920e2-8f5f-4619-858d-96138e48f42f","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"525bef62-d309-4506-8410-76b78da95274","vnf_name":"Ete_vVG_b22b5c39_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_b22b5c39_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"4f303930-794a-4304-a75e-69a2b82a495b","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\":\"36d920e2-8f5f-4619-858d-96138e48f42f\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"525bef62-d309-4506-8410-76b78da95274\"},{\"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_b22b5c39_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keyb22b5c39\"},{\"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_b22b5c39_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\":\"4f303930-794a-4304-a75e-69a2b82a495b\"},{\"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_keyb22b5c39","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":"7044ab81-d676-4a3c-b19b-4ffe8a0dce5b","serviceInstanceId":"aa21ae6d-410d-4f5e-9439-467c2e917aed"},"synchronous":false}}
2019-10-14T04:22:52.044Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T04:22:52.044Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 04:15:19/vVG ca319d37-63d5 0::VvgCa319d3763d5..base_vvg..module-0
2019-10-14T04:22:52.043Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T04:22:52.045Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 60a39529-c78b-4142-b954-f2cc38ea30ef
2019-10-14T04:22:52.045Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T04:22:52.045Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_b22b5c39_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T04:22:52.045Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:22:52.045Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T04:22:52.045Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T04:22:52.047Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T04:22:52.047Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T04:22:52.048Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 169
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 04:22:52 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T04:22:52.384Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T04:22:52.384Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|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-14T04:22:52.384Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_b22b5c39_0
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|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-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=4e70315a-12f4-4342-9281-4a15a9176617
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=7d0b8c2f-78ce-4f72-b13b-395f3795d76c
2019-10-14T04:22:52.392Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
nova_instance, required=true volume_size, required=true
Environment:parameters:
nova_instance: '1234456'
volume_size: 100
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=nova_instance
param[1]=volume_size
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T04:22:52.393Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T04:22:52.394Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T04:22:52.395Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T04:22:52.395Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_b22b5c39_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=525bef62-d309-4506-8410-76b78da95274}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T04:22:52.396Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:22:52.578Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/7044ab81-d676-4a3c-b19b-4ffe8a0dce5b
2019-10-14T04:22:52.579Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|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/7044ab81-d676-4a3c-b19b-4ffe8a0dce5b": 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-14T04:22:53.789Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_b22b5c39_0)
2019-10-14T04:22:53.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-14T04:22:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:23:08.982Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_b22b5c39_0)
2019-10-14T04:23:08.982Z||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-14T04:23:08.982Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|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_b22b5c39_0/33a639f0-ebb9-42cc-84f8-95b9eeeafdd7', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_b22b5c39_0', updatedTime=Mon Oct 14 04:22:53 GMT 2019, creationTime=Mon Oct 14 04:22:53 GMT 2019, stackStatus='CREATE_COMPLETE', id='33a639f0-ebb9-42cc-84f8-95b9eeeafdd7', outputs='[]', parameters='{OS::stack_id=33a639f0-ebb9-42cc-84f8-95b9eeeafdd7, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=525bef62-d309-4506-8410-76b78da95274, OS::stack_name=Vfmodule_Ete_vVG_b22b5c39_0, volume_size=100}', files='null'}
2019-10-14T04:23:08.983Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_b22b5c39_0 successfully created
2019-10-14T04:23:08.983Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:23:09.004Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_b22b5c39_0/33a639f0-ebb9-42cc-84f8-95b9eeeafdd7
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-14T04:23:09.015Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929
2019-10-14T04:23:09.015Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - Content is:
7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929
CloudOwner
RegionOne
7044ab81-d676-4a3c-b19b-4ffe8a0dce5b-1571026971929
HEAT
7044ab81-d676-4a3c-b19b-4ffe8a0dce5b
aa21ae6d-410d-4f5e-9439-467c2e917aed
28481f6939614cfd83e6767a0e039bcc
true
36d920e2-8f5f-4619-858d-96138e48f42f
Vfmodule_Ete_vVG_b22b5c39_0/33a639f0-ebb9-42cc-84f8-95b9eeeafdd7
Vfmodule_Ete_vVG_b22b5c39_0/33a639f0-ebb9-42cc-84f8-95b9eeeafdd7
true
36d920e2-8f5f-4619-858d-96138e48f42f
Vfmodule_Ete_vVG_b22b5c39_0/33a639f0-ebb9-42cc-84f8-95b9eeeafdd7
4f303930-794a-4304-a75e-69a2b82a495b
2019-10-14T04:23:09.016Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T04:23:09.500Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T04:23:09.500Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T04:23:09.500Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T04:23:09.500Z|7044ab81-d676-4a3c-b19b-4ffe8a0dce5b|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T04:24:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:25:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:26:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T04: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-14T04:27:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:29:29.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:29:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:31:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:32:14.737Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T04:32:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:33:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:34:28.369Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 170
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/4a98613c-5c8b-4c12-8598-c56cf91bebf3/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=[5a138d98-9387-4a3d-ad88-4356981638e4], x-onap-invocationid=[64f02265-22e1-49de-a5a1-2de98d4653ac,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[5a138d98-9387-4a3d-ad88-4356981638e4,5a138d98-9387-4a3d-ad88-4356981638e4], x-requestid=[5a138d98-9387-4a3d-ad88-4356981638e4], x-transactionid=[5a138d98-9387-4a3d-ad88-4356981638e4]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
4a98613c-5c8b-4c12-8598-c56cf91bebf3
Ete_vFWCLvFWSNK_43f06f56_0
Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0
45556d4f-0de1-4662-9adf-6662930faaa8
vFWCL 2019-10-14 04:25:/vFWCL_vFWSNK cf18678f-b4da 0
VfwclVfwsnkCf18678fB4da..base_vfw..module-0
1.0
ceeef9fa-b611-4a09-8e80-6be4a963363a
true
true
true
vf_module_id
45556d4f-0de1-4662-9adf-6662930faaa8
oof_directives
{}
vfw_onap_private_ip_0
10.0.200.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snk6f56
vnf_name
Ete_vFWCLvFWSNK_43f06f56_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_sub6f56
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_key43f06f56
workload_context
vsn_onap_private_ip_0
10.0.200.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
4a98613c-5c8b-4c12-8598-c56cf91bebf3
int_protected_private_net_id
vofwlsnk_protected6f56
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_sub6f56
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwl6f56
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotected6f56
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":"45556d4f-0de1-4662-9adf-6662930faaa8"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.200.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snk6f56"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_43f06f56_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_sub6f56"},{"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_key43f06f56"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.200.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_43f06f56_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":"4a98613c-5c8b-4c12-8598-c56cf91bebf3"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protected6f56"},{"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_sub6f56"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwl6f56"},{"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_unprotected6f56"},{"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
5a138d98-9387-4a3d-ad88-4356981638e4
a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c
5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289
--------------------------------------
2019-10-14T04:34:28.392Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"4a98613c-5c8b-4c12-8598-c56cf91bebf3","vnfType":"vFWCL 2019-10-14 04:25:/vFWCL_vFWSNK cf18678f-b4da 0","vnfVersion":"1.0","vfModuleId":"45556d4f-0de1-4662-9adf-6662930faaa8","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0","vfModuleType":"VfwclVfwsnkCf18678fB4da..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"ceeef9fa-b611-4a09-8e80-6be4a963363a","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"45556d4f-0de1-4662-9adf-6662930faaa8","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_43f06f56_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotected6f56","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwl6f56","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_43f06f56_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":"4a98613c-5c8b-4c12-8598-c56cf91bebf3","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":"vofwl01snk6f56","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_sub6f56","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.200.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\":\"45556d4f-0de1-4662-9adf-6662930faaa8\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.200.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snk6f56\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_43f06f56_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_sub6f56\"},{\"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_key43f06f56\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.200.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_43f06f56_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\":\"4a98613c-5c8b-4c12-8598-c56cf91bebf3\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protected6f56\"},{\"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_sub6f56\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwl6f56\"},{\"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_unprotected6f56\"},{\"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_key43f06f56","int_protected_private_net_id":"vofwlsnk_protected6f56","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.200.101","int_protected_private_subnet_id":"vofwlsnk_protected_sub6f56","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"5a138d98-9387-4a3d-ad88-4356981638e4","serviceInstanceId":"a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c"},"synchronous":false}}
2019-10-14T04:34:28.393Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T04:34:28.393Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 04:25:/vFWCL_vFWSNK cf18678f-b4da 0::VfwclVfwsnkCf18678fB4da..base_vfw..module-0
2019-10-14T04:34:28.393Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T04:34:28.394Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: ceeef9fa-b611-4a09-8e80-6be4a963363a
2019-10-14T04:34:28.394Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T04:34:28.394Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T04:34:28.394Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T04:34:28.394Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T04:34:28.394Z|5a138d98-9387-4a3d-ad88-4356981638e4|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:34:28.394Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T04:34:28.394Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T04:34:28.395Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 170
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 04:34:28 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T04:34:28.720Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T04:34:28.720Z|5a138d98-9387-4a3d-ad88-4356981638e4|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-14T04:34:28.720Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0
2019-10-14T04:34:28.733Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|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-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|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-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=e500bb73-508c-4352-a99d-55fc6b9c7506
2019-10-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=26b2cb85-2e6d-4eb8-87e7-3805e81844ff
2019-10-14T04:34:28.734Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
int_protected_private_subnet_id, required=true vsn_flavor_name, required=true cloud_env, required=true install_script_version, required=true vfw_image_name, required=true vf_module_id, required=true onap_private_subnet_id, required=true dcae_collector_port, required=true vnf_id, required=true vsn_int_protected_private_ip_0, required=true vfw_int_protected_private_floating_ip, required=true vsn_image_name, required=true vnf_name, required=true nexus_artifact_repo, required=true public_net_id, required=true int_unprotected_private_subnet_id, required=true sec_group, required=true int_unprotected_private_net_id, required=true vfw_name_0, required=true vsn_name_0, required=true protected_private_net_cidr, required=true vsn_onap_private_ip_0, required=true demo_artifacts_version, required=true onap_private_net_id, required=true unprotected_private_net_cidr, required=true vfw_flavor_name, required=true dcae_collector_ip, required=true vfw_int_protected_private_ip_0, required=true vfw_int_unprotected_private_ip_0, required=true int_protected_private_net_id, required=true key_name, required=true vfw_onap_private_ip_0, required=true pub_key, required=true net_prefix, required=true onap_private_net_cidr, 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-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=int_protected_private_subnet_id
param[1]=vsn_flavor_name
param[2]=cloud_env
param[3]=install_script_version
param[4]=vfw_image_name
param[5]=vf_module_id
param[6]=onap_private_subnet_id
param[7]=dcae_collector_port
param[8]=vnf_id
param[9]=vsn_int_protected_private_ip_0
param[10]=vfw_int_protected_private_floating_ip
param[11]=vsn_image_name
param[12]=vnf_name
param[13]=nexus_artifact_repo
param[14]=public_net_id
param[15]=int_unprotected_private_subnet_id
param[16]=sec_group
param[17]=int_unprotected_private_net_id
param[18]=vfw_name_0
param[19]=vsn_name_0
param[20]=protected_private_net_cidr
param[21]=vsn_onap_private_ip_0
param[22]=demo_artifacts_version
param[23]=onap_private_net_id
param[24]=unprotected_private_net_cidr
param[25]=vfw_flavor_name
param[26]=dcae_collector_ip
param[27]=vfw_int_protected_private_ip_0
param[28]=vfw_int_unprotected_private_ip_0
param[29]=int_protected_private_net_id
param[30]=key_name
param[31]=vfw_onap_private_ip_0
param[32]=pub_key
param[33]=net_prefix
param[34]=onap_private_net_cidr
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T04:34:28.736Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T04:34:28.737Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:34:28.738Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:34:28.739Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T04:34:28.740Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T04:34:28.740Z|5a138d98-9387-4a3d-ad88-4356981638e4|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-14T04:34:28.740Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T04:34:28.740Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T04:34:28.741Z|5a138d98-9387-4a3d-ad88-4356981638e4|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-14T04:34:28.741Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_43f06f56_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=45556d4f-0de1-4662-9adf-6662930faaa8, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_43f06f56_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotected6f56, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwl6f56, 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=4a98613c-5c8b-4c12-8598-c56cf91bebf3, 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=vofwl01snk6f56, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub6f56, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.200.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_key43f06f56, int_protected_private_net_id=vofwlsnk_protected6f56, 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.200.101, int_protected_private_subnet_id=vofwlsnk_protected_sub6f56, 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-14T04:34:28.742Z|5a138d98-9387-4a3d-ad88-4356981638e4|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:34:28.980Z|5a138d98-9387-4a3d-ad88-4356981638e4|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/5a138d98-9387-4a3d-ad88-4356981638e4
2019-10-14T04:34:28.981Z|5a138d98-9387-4a3d-ad88-4356981638e4|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/5a138d98-9387-4a3d-ad88-4356981638e4": 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-14T04:34:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:34:33.414Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0)
2019-10-14T04:34:33.414Z||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-14T04:34:48.642Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0)
2019-10-14T04:34:48.642Z||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-14T04:35:03.948Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0)
2019-10-14T04:35:03.948Z||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-14T04:35:14.734Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:35:19.174Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0)
2019-10-14T04:35:19.174Z|5a138d98-9387-4a3d-ad88-4356981638e4|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_43f06f56_0/9a524484-24e6-4baf-b817-478aed9bc165', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0', updatedTime=Mon Oct 14 04:34:33 GMT 2019, creationTime=Mon Oct 14 04:34:32 GMT 2019, stackStatus='CREATE_COMPLETE', id='9a524484-24e6-4baf-b817-478aed9bc165', 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.200.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=45556d4f-0de1-4662-9adf-6662930faaa8, 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_unprotected6f56, 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_sub6f56, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub6f56, vnf_id=4a98613c-5c8b-4c12-8598-c56cf91bebf3, vfw_onap_private_ip_0=10.0.200.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0, key_name=vfw_key43f06f56, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protected6f56, OS::stack_id=9a524484-24e6-4baf-b817-478aed9bc165, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwl6f56, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snk6f56, vnf_name=Ete_vFWCLvFWSNK_43f06f56_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-14T04:35:19.174Z||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-14T04:35:19.174Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0 successfully created
2019-10-14T04:35:19.175Z|5a138d98-9387-4a3d-ad88-4356981638e4|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:35:19.187Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0/9a524484-24e6-4baf-b817-478aed9bc165
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-14T04:35:19.197Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289
2019-10-14T04:35:19.197Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - Content is:
5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289
CloudOwner
RegionOne
5a138d98-9387-4a3d-ad88-4356981638e4-1571027668289
HEAT
5a138d98-9387-4a3d-ad88-4356981638e4
a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c
28481f6939614cfd83e6767a0e039bcc
true
45556d4f-0de1-4662-9adf-6662930faaa8
Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0/9a524484-24e6-4baf-b817-478aed9bc165
Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0/9a524484-24e6-4baf-b817-478aed9bc165
true
45556d4f-0de1-4662-9adf-6662930faaa8
Vfmodule_Ete_vFWCLvFWSNK_43f06f56_0/9a524484-24e6-4baf-b817-478aed9bc165
4a98613c-5c8b-4c12-8598-c56cf91bebf3
2019-10-14T04:35:19.197Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T04:35:19.806Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T04:35:19.807Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T04:35:19.807Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T04:35:19.807Z|5a138d98-9387-4a3d-ad88-4356981638e4|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T04:35:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:36:44.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:37:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:37:29.994Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 171
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/e05396ce-6f79-4ff5-bcd5-c931eca22826/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=[b8729992-2367-446c-91d1-95ec36865262], x-onap-invocationid=[26a13d3a-89c8-4cde-b69e-aad89c36a945,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[b8729992-2367-446c-91d1-95ec36865262,b8729992-2367-446c-91d1-95ec36865262], x-requestid=[b8729992-2367-446c-91d1-95ec36865262], x-transactionid=[b8729992-2367-446c-91d1-95ec36865262]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
e05396ce-6f79-4ff5-bcd5-c931eca22826
Ete_vFWCLvPKG_43f06f56_1
Vfmodule_Ete_vFWCLvPKG_43f06f56_1
b38103f3-5eed-4af2-ab29-c15e5d269635
vFWCL 2019-10-14 04:25:/vFWCL_vPKG 5094a071-e671 0
VfwclVpkg5094a071E671..base_vpkg..module-0
1.0
b81d73a0-04be-4ccd-85a2-d6869be9856a
true
true
true
vf_module_id
b38103f3-5eed-4af2-ab29-c15e5d269635
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_43f06f56_1
key_name
vfw_key43f06f56
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_43f06f56_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected6f56
install_script_version
1.5.0-SNAPSHOT
vnf_id
e05396ce-6f79-4ff5-bcd5-c931eca22826
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
vofwl01pgn6f56
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub6f56
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":"b38103f3-5eed-4af2-ab29-c15e5d269635"},{"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_43f06f56_1"},{"attribute_name":"key_name","attribute_value":"vfw_key43f06f56"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_43f06f56_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected6f56"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"e05396ce-6f79-4ff5-bcd5-c931eca22826"},{"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":"vofwl01pgn6f56"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub6f56"},{"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.200.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.200.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
b8729992-2367-446c-91d1-95ec36865262
a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c
b8729992-2367-446c-91d1-95ec36865262-1571027849926
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b8729992-2367-446c-91d1-95ec36865262-1571027849926
--------------------------------------
2019-10-14T04:37:30.017Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"b8729992-2367-446c-91d1-95ec36865262-1571027849926","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b8729992-2367-446c-91d1-95ec36865262-1571027849926","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"e05396ce-6f79-4ff5-bcd5-c931eca22826","vnfType":"vFWCL 2019-10-14 04:25:/vFWCL_vPKG 5094a071-e671 0","vnfVersion":"1.0","vfModuleId":"b38103f3-5eed-4af2-ab29-c15e5d269635","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_43f06f56_1","vfModuleType":"VfwclVpkg5094a071E671..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"b81d73a0-04be-4ccd-85a2-d6869be9856a","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"b38103f3-5eed-4af2-ab29-c15e5d269635","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_43f06f56_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub6f56","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_43f06f56_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.200.103","vnf_id":"e05396ce-6f79-4ff5-bcd5-c931eca22826","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn6f56","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_unprotected6f56","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"b38103f3-5eed-4af2-ab29-c15e5d269635\"},{\"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_43f06f56_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key43f06f56\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_43f06f56_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected6f56\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"e05396ce-6f79-4ff5-bcd5-c931eca22826\"},{\"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\":\"vofwl01pgn6f56\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub6f56\"},{\"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.200.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_key43f06f56","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":"b8729992-2367-446c-91d1-95ec36865262","serviceInstanceId":"a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c"},"synchronous":false}}
2019-10-14T04:37:30.017Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T04:37:30.017Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 04:25:/vFWCL_vPKG 5094a071-e671 0::VfwclVpkg5094a071E671..base_vpkg..module-0
2019-10-14T04:37:30.017Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T04:37:30.018Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T04:37:30.019Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T04:37:30.019Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T04:37:30.019Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T04:37:30.020Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 171
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 04:37:30 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T04:37:30.027Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: b81d73a0-04be-4ccd-85a2-d6869be9856a
2019-10-14T04:37:30.027Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T04:37:30.027Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_43f06f56_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T04:37:30.028Z|b8729992-2367-446c-91d1-95ec36865262|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:37:30.407Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T04:37:30.407Z|b8729992-2367-446c-91d1-95ec36865262|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-14T04:37:30.407Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_43f06f56_1
2019-10-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|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-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|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-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=b1e900e8-6d88-4e8d-bac2-8f27cd397a73
2019-10-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=1c5d76c2-acc4-485f-b9ed-e82e706d650f
2019-10-14T04:37:30.417Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T04:37:30.418Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vpg_flavor_name, required=true key_name, required=true nexus_artifact_repo, required=true vpg_onap_private_ip_0, required=true vnf_name, required=true vfw_private_ip_0, required=true install_script_version, required=true unprotected_private_net_id, required=true vpg_image_name, required=true vpg_name_0, required=true protected_private_net_cidr, required=true vsn_private_ip_0, required=true demo_artifacts_version, required=true unprotected_private_net_cidr, required=true vpg_unprotected_private_ip_0, required=true pub_key, required=true onap_private_net_cidr, required=true sec_group, required=true public_net_id, required=true vnf_id, required=true onap_private_subnet_id, required=true vf_module_id, required=true onap_private_net_id, required=true cloud_env, required=true unprotected_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-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vpg_flavor_name
param[1]=key_name
param[2]=nexus_artifact_repo
param[3]=vpg_onap_private_ip_0
param[4]=vnf_name
param[5]=vfw_private_ip_0
param[6]=install_script_version
param[7]=unprotected_private_net_id
param[8]=vpg_image_name
param[9]=vpg_name_0
param[10]=protected_private_net_cidr
param[11]=vsn_private_ip_0
param[12]=demo_artifacts_version
param[13]=unprotected_private_net_cidr
param[14]=vpg_unprotected_private_ip_0
param[15]=pub_key
param[16]=onap_private_net_cidr
param[17]=sec_group
param[18]=public_net_id
param[19]=vnf_id
param[20]=onap_private_subnet_id
param[21]=vf_module_id
param[22]=onap_private_net_id
param[23]=cloud_env
param[24]=unprotected_private_subnet_id
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T04:37:30.419Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T04:37:30.420Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T04:37:30.421Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T04:37:30.422Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T04:37:30.422Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T04:37:30.422Z|b8729992-2367-446c-91d1-95ec36865262|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-14T04:37:30.422Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T04:37:30.422Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T04:37:30.423Z|b8729992-2367-446c-91d1-95ec36865262|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-14T04:37:30.423Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_43f06f56_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=b38103f3-5eed-4af2-ab29-c15e5d269635, 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_unprotected6f56, vnf_name=Ete_vFWCLvPKG_43f06f56_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub6f56, 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.200.103, key_name=vfw_key43f06f56, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=e05396ce-6f79-4ff5-bcd5-c931eca22826, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn6f56, 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-14T04:37:30.423Z|b8729992-2367-446c-91d1-95ec36865262|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:37:30.591Z|b8729992-2367-446c-91d1-95ec36865262|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/b8729992-2367-446c-91d1-95ec36865262
2019-10-14T04:37:30.591Z|b8729992-2367-446c-91d1-95ec36865262|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/b8729992-2367-446c-91d1-95ec36865262": 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-14T04:37:33.720Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_43f06f56_1)
2019-10-14T04:37:33.720Z||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-14T04:37:48.936Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_43f06f56_1)
2019-10-14T04:37:48.936Z||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-14T04:37:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:38:03.992Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_43f06f56_1)
2019-10-14T04:38:03.993Z||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-14T04:38:03.992Z|b8729992-2367-446c-91d1-95ec36865262|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_43f06f56_1/ba949a3a-542a-4d26-876a-3e326f480ce1', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_43f06f56_1', updatedTime=Mon Oct 14 04:37:33 GMT 2019, creationTime=Mon Oct 14 04:37:33 GMT 2019, stackStatus='CREATE_COMPLETE', id='ba949a3a-542a-4d26-876a-3e326f480ce1', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=b38103f3-5eed-4af2-ab29-c15e5d269635, 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=e05396ce-6f79-4ff5-bcd5-c931eca22826, 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.200.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected6f56, vpg_name_0=vofwl01pgn6f56, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub6f56, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_43f06f56_1, key_name=vfw_key43f06f56, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=ba949a3a-542a-4d26-876a-3e326f480ce1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_43f06f56_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-14T04:38:03.993Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_43f06f56_1 successfully created
2019-10-14T04:38:03.993Z|b8729992-2367-446c-91d1-95ec36865262|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T04:38:04.017Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_43f06f56_1/ba949a3a-542a-4d26-876a-3e326f480ce1
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-14T04:38:04.029Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b8729992-2367-446c-91d1-95ec36865262-1571027849926
2019-10-14T04:38:04.029Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - Content is:
b8729992-2367-446c-91d1-95ec36865262-1571027849926
CloudOwner
RegionOne
b8729992-2367-446c-91d1-95ec36865262-1571027849926
HEAT
b8729992-2367-446c-91d1-95ec36865262
a4ae0dcc-dc03-4dd6-a6ae-323daaba1c3c
28481f6939614cfd83e6767a0e039bcc
true
b38103f3-5eed-4af2-ab29-c15e5d269635
Vfmodule_Ete_vFWCLvPKG_43f06f56_1/ba949a3a-542a-4d26-876a-3e326f480ce1
Vfmodule_Ete_vFWCLvPKG_43f06f56_1/ba949a3a-542a-4d26-876a-3e326f480ce1
true
b38103f3-5eed-4af2-ab29-c15e5d269635
Vfmodule_Ete_vFWCLvPKG_43f06f56_1/ba949a3a-542a-4d26-876a-3e326f480ce1
e05396ce-6f79-4ff5-bcd5-c931eca22826
2019-10-14T04:38:04.029Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T04:38:04.545Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T04:38:04.545Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T04:38:04.545Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T04:38:04.545Z|b8729992-2367-446c-91d1-95ec36865262|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T04:38:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:39:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:40:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:40:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T04:41:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:42:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T04:43:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:44:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:45:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:46:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:47:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:48:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T04:49:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T04:49:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:50:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:52:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T04:53:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T04:55:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T04:57:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T04:58:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:00:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:02:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:03:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:04:44.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T05:05:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:06:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:06:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T05:07:17.107Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 172
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/6d718e9c-950b-4658-8000-e587d48a9e45/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=[2897e75e-a807-4888-8e2e-6d7c19692948], x-onap-invocationid=[728677b7-0323-48bd-8082-c198ea8e5f5e,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[2897e75e-a807-4888-8e2e-6d7c19692948,2897e75e-a807-4888-8e2e-6d7c19692948], x-requestid=[2897e75e-a807-4888-8e2e-6d7c19692948], x-transactionid=[2897e75e-a807-4888-8e2e-6d7c19692948]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
6d718e9c-950b-4658-8000-e587d48a9e45
Ete_vLB_722774f4_0
Vfmodule_Ete_vLB_722774f4_0
93f5cc40-92ec-44ec-bb06-58c1d94e525a
vLB 2019-10-14 05:00:53/vLBMS 42b789e3-3166 0
Vlbms42b789e33166..base_vlb..module-0
1.0
766c9cc4-4566-45a0-9003-91eea43bc712
true
true
true
vf_module_id
93f5cc40-92ec-44ec-bb06-58c1d94e525a
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_722774f4_0
key_name
vfw_key722774f4
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_722774f4_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblb74f4
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgen74f4
gre_ipaddr
192.168.30.112
vnf_id
6d718e9c-950b-4658-8000-e587d48a9e45
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.174.24
vdns_onap_private_ip_0
10.0.174.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgn74f4
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":"93f5cc40-92ec-44ec-bb06-58c1d94e525a"},{"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_722774f4_0"},{"attribute_name":"key_name","attribute_value":"vfw_key722774f4"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_722774f4_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblb74f4"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgen74f4"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"6d718e9c-950b-4658-8000-e587d48a9e45"},{"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.174.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.174.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":"clvlbpgn74f4"},{"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":"vlbdns74f4"},{"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_private74f4"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.174.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
vlbdns74f4
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_private74f4
vpg_onap_private_ip_0
10.0.174.27
vf_module_index
0
2897e75e-a807-4888-8e2e-6d7c19692948
d95ac16d-e2a0-477c-bf83-ed50745ad26c
2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038
--------------------------------------
2019-10-14T05:07:17.140Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"6d718e9c-950b-4658-8000-e587d48a9e45","vnfType":"vLB 2019-10-14 05:00:53/vLBMS 42b789e3-3166 0","vnfVersion":"1.0","vfModuleId":"93f5cc40-92ec-44ec-bb06-58c1d94e525a","vfModuleName":"Vfmodule_Ete_vLB_722774f4_0","vfModuleType":"Vlbms42b789e33166..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"766c9cc4-4566-45a0-9003-91eea43bc712","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"93f5cc40-92ec-44ec-bb06-58c1d94e525a","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.174.25","vlb_private_net_id":"lb01_private74f4","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_722774f4_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_722774f4_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdns74f4","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.174.27","vnf_id":"6d718e9c-950b-4658-8000-e587d48a9e45","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":"clvlbpgn74f4","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\":\"93f5cc40-92ec-44ec-bb06-58c1d94e525a\"},{\"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_722774f4_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key722774f4\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_722774f4_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblb74f4\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgen74f4\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"6d718e9c-950b-4658-8000-e587d48a9e45\"},{\"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.174.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.174.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\":\"clvlbpgn74f4\"},{\"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\":\"vlbdns74f4\"},{\"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_private74f4\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.174.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_key722774f4","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblb74f4","pktgen_private_net_id":"lb01_pktgen74f4","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.174.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"2897e75e-a807-4888-8e2e-6d7c19692948","serviceInstanceId":"d95ac16d-e2a0-477c-bf83-ed50745ad26c"},"synchronous":false}}
2019-10-14T05:07:17.141Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T05:07:17.141Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 05:00:53/vLBMS 42b789e3-3166 0::Vlbms42b789e33166..base_vlb..module-0
2019-10-14T05:07:17.141Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T05:07:17.142Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 766c9cc4-4566-45a0-9003-91eea43bc712
2019-10-14T05:07:17.142Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T05:07:17.142Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_722774f4_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T05:07:17.142Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T05:07:17.142Z|2897e75e-a807-4888-8e2e-6d7c19692948|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:07:17.142Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T05:07:17.143Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T05:07:17.143Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T05:07:17.143Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 172
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 05:07:17 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T05:07:17.530Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T05:07:17.531Z|2897e75e-a807-4888-8e2e-6d7c19692948|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-14T05:07:17.531Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_722774f4_0
2019-10-14T05:07:17.540Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T05:07:17.540Z|2897e75e-a807-4888-8e2e-6d7c19692948|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-14T05:07:17.540Z|2897e75e-a807-4888-8e2e-6d7c19692948|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-14T05:07:17.541Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=d3ea0be3-0ce7-4394-a43f-c5be81e9e564
2019-10-14T05:07:17.541Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T05:07:17.541Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=ff4b7969-e93f-48c6-9f75-109691017c12
2019-10-14T05:07:17.541Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vnf_name, required=true install_script_version, required=true vlb_private_net_cidr, required=true nexus_artifact_repo, required=true vdns_image_name, required=true vdns_int_private_ip_0, required=true pktgen_private_net_id, required=true gre_ipaddr, required=true vlb_private_net_id, required=true vpg_onap_private_ip_0, required=true vlb_int_pktgen_private_ip_0, required=true onap_private_subnet_id, required=true sec_group, required=true dcae_collector_ip, required=true public_net_id, required=true vdns_name_0, required=true vpg_image_name, required=true pg_int, required=true vpg_flavor_name, required=true vip, required=true dcae_collector_port, required=true vlb_flavor_name, required=true vnf_id, required=true vdns_flavor_name, required=true vpg_name_0, required=true demo_artifacts_version, required=true nb_api_version, required=true vpg_int_pktgen_private_ip_0, required=true vlb_onap_private_ip_0, required=true pktgen_private_net_cidr, required=true pub_key, required=true onap_private_net_id, required=true vlb_int_private_ip_0, required=true onap_private_net_cidr, required=true vdns_onap_private_ip_0, required=true vlb_name_0, required=true key_name, required=true vf_module_id, required=true vlb_image_name, required=true cloud_env, 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-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vnf_name
param[1]=install_script_version
param[2]=vlb_private_net_cidr
param[3]=nexus_artifact_repo
param[4]=vdns_image_name
param[5]=vdns_int_private_ip_0
param[6]=pktgen_private_net_id
param[7]=gre_ipaddr
param[8]=vlb_private_net_id
param[9]=vpg_onap_private_ip_0
param[10]=vlb_int_pktgen_private_ip_0
param[11]=onap_private_subnet_id
param[12]=sec_group
param[13]=dcae_collector_ip
param[14]=public_net_id
param[15]=vdns_name_0
param[16]=vpg_image_name
param[17]=pg_int
param[18]=vpg_flavor_name
param[19]=vip
param[20]=dcae_collector_port
param[21]=vlb_flavor_name
param[22]=vnf_id
param[23]=vdns_flavor_name
param[24]=vpg_name_0
param[25]=demo_artifacts_version
param[26]=nb_api_version
param[27]=vpg_int_pktgen_private_ip_0
param[28]=vlb_onap_private_ip_0
param[29]=pktgen_private_net_cidr
param[30]=pub_key
param[31]=onap_private_net_id
param[32]=vlb_int_private_ip_0
param[33]=onap_private_net_cidr
param[34]=vdns_onap_private_ip_0
param[35]=vlb_name_0
param[36]=key_name
param[37]=vf_module_id
param[38]=vlb_image_name
param[39]=cloud_env
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T05:07:17.542Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T05:07:17.543Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T05:07:17.544Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:07:17.545Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T05:07:17.546Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T05:07:17.547Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T05:07:17.547Z|2897e75e-a807-4888-8e2e-6d7c19692948|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-14T05:07:17.547Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T05:07:17.547Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T05:07:17.548Z|2897e75e-a807-4888-8e2e-6d7c19692948|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-14T05:07:17.549Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_722774f4_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=93f5cc40-92ec-44ec-bb06-58c1d94e525a, 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.174.25, vlb_private_net_id=lb01_private74f4, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_722774f4_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=vlbdns74f4, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.174.27, vnf_id=6d718e9c-950b-4658-8000-e587d48a9e45, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgn74f4, 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_key722774f4, vlb_name_0=vlblb74f4, pktgen_private_net_id=lb01_pktgen74f4, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.174.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-14T05:07:17.549Z|2897e75e-a807-4888-8e2e-6d7c19692948|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:07:17.703Z|2897e75e-a807-4888-8e2e-6d7c19692948|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/2897e75e-a807-4888-8e2e-6d7c19692948
2019-10-14T05:07:17.704Z|2897e75e-a807-4888-8e2e-6d7c19692948|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/2897e75e-a807-4888-8e2e-6d7c19692948": 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-14T05:07:23.799Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_722774f4_0)
2019-10-14T05:07:23.799Z||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-14T05:07:39.106Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_722774f4_0)
2019-10-14T05:07:39.106Z||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-14T05:07:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:07:54.462Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_722774f4_0)
2019-10-14T05:07:54.462Z||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-14T05:08:09.708Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_722774f4_0)
2019-10-14T05:08:09.708Z||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-14T05:08:09.708Z|2897e75e-a807-4888-8e2e-6d7c19692948|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_722774f4_0/7caeda08-a7d9-468e-8561-b046517bea04', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_722774f4_0', updatedTime=Mon Oct 14 05:07:23 GMT 2019, creationTime=Mon Oct 14 05:07:23 GMT 2019, stackStatus='CREATE_COMPLETE', id='7caeda08-a7d9-468e-8561-b046517bea04', outputs='[Output [key=int_private_net_id, value=2b6f3ee5-f971-46c4-a714-6e88230488c6], Output [key=int_private_subnet_id, value=0e291726-3e79-4da4-8444-c935ad52192d]]', 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=93f5cc40-92ec-44ec-bb06-58c1d94e525a, dcae_collector_port=30235, vlb_name_0=vlblb74f4, vpg_onap_private_ip_0=10.0.174.27, vlb_private_net_id=lb01_private74f4, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.174.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=vlbdns74f4, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=6d718e9c-950b-4658-8000-e587d48a9e45, OS::stack_name=Vfmodule_Ete_vLB_722774f4_0, key_name=vfw_key722774f4, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgen74f4, 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=clvlbpgn74f4, dcae_collector_ip=10.12.5.135, OS::stack_id=7caeda08-a7d9-468e-8561-b046517bea04, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.174.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_722774f4_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T05:08:09.709Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_722774f4_0 successfully created
2019-10-14T05:08:09.709Z|2897e75e-a807-4888-8e2e-6d7c19692948|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:08:09.722Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_722774f4_0/7caeda08-a7d9-468e-8561-b046517bea04
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-14T05:08:09.734Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038
2019-10-14T05:08:09.734Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - Content is:
2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038
CloudOwner
RegionOne
2897e75e-a807-4888-8e2e-6d7c19692948-1571029637038
HEAT
2897e75e-a807-4888-8e2e-6d7c19692948
d95ac16d-e2a0-477c-bf83-ed50745ad26c
28481f6939614cfd83e6767a0e039bcc
true
93f5cc40-92ec-44ec-bb06-58c1d94e525a
Vfmodule_Ete_vLB_722774f4_0/7caeda08-a7d9-468e-8561-b046517bea04
Vfmodule_Ete_vLB_722774f4_0/7caeda08-a7d9-468e-8561-b046517bea04
true
93f5cc40-92ec-44ec-bb06-58c1d94e525a
int_private_subnet_id
0e291726-3e79-4da4-8444-c935ad52192d
int_private_net_id
2b6f3ee5-f971-46c4-a714-6e88230488c6
Vfmodule_Ete_vLB_722774f4_0/7caeda08-a7d9-468e-8561-b046517bea04
6d718e9c-950b-4658-8000-e587d48a9e45
2019-10-14T05:08:09.734Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T05:08:10.286Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T05:08:10.287Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T05:08:10.287Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T05:08:10.287Z|2897e75e-a807-4888-8e2e-6d7c19692948|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T05:08:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:09:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:09:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:10:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:12:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:13:14.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:14:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:15:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:16:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:17:29.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:18:14.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T05:18:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:19:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:21:06.531Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 173
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/3e37d501-17b8-4386-9295-9b7a72d53092/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=[b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0], x-onap-invocationid=[38bdb3c5-82cf-431d-a87c-334c7d0c1e8d,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0,b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0], x-requestid=[b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0], x-transactionid=[b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
3e37d501-17b8-4386-9295-9b7a72d53092
Ete_vVG_5661b179_0
Vfmodule_Ete_vVG_5661b179_0
d9b403e5-dcdf-4c30-829d-a5805fc6a2bd
vVG 2019-10-14 05:13:11/vVG c3df34c9-5338 0
VvgC3df34c95338..base_vvg..module-0
1.0
9dd0004c-a0fd-42d5-bda5-e7731ed27138
true
true
true
vf_module_id
d9b403e5-dcdf-4c30-829d-a5805fc6a2bd
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_5661b179_0
key_name
vfw_key5661b179
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_5661b179_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
3e37d501-17b8-4386-9295-9b7a72d53092
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
043bddb2-8c66-4442-b671-925d2dbc88ac
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":"d9b403e5-dcdf-4c30-829d-a5805fc6a2bd"},{"attribute_name":"nova_instance","attribute_value":"043bddb2-8c66-4442-b671-925d2dbc88ac"},{"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_5661b179_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_key5661b179"},{"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_5661b179_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":"3e37d501-17b8-4386-9295-9b7a72d53092"},{"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
b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0
cb669e49-8dee-4e2b-aca0-1cb0322a522c
b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475
--------------------------------------
2019-10-14T05:21:06.546Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"3e37d501-17b8-4386-9295-9b7a72d53092","vnfType":"vVG 2019-10-14 05:13:11/vVG c3df34c9-5338 0","vnfVersion":"1.0","vfModuleId":"d9b403e5-dcdf-4c30-829d-a5805fc6a2bd","vfModuleName":"Vfmodule_Ete_vVG_5661b179_0","vfModuleType":"VvgC3df34c95338..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"9dd0004c-a0fd-42d5-bda5-e7731ed27138","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"d9b403e5-dcdf-4c30-829d-a5805fc6a2bd","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"043bddb2-8c66-4442-b671-925d2dbc88ac","vnf_name":"Ete_vVG_5661b179_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_5661b179_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"3e37d501-17b8-4386-9295-9b7a72d53092","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\":\"d9b403e5-dcdf-4c30-829d-a5805fc6a2bd\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"043bddb2-8c66-4442-b671-925d2dbc88ac\"},{\"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_5661b179_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key5661b179\"},{\"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_5661b179_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\":\"3e37d501-17b8-4386-9295-9b7a72d53092\"},{\"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_key5661b179","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":"b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0","serviceInstanceId":"cb669e49-8dee-4e2b-aca0-1cb0322a522c"},"synchronous":false}}
2019-10-14T05:21:06.547Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T05:21:06.547Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 05:13:11/vVG c3df34c9-5338 0::VvgC3df34c95338..base_vvg..module-0
2019-10-14T05:21:06.547Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T05:21:06.548Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 9dd0004c-a0fd-42d5-bda5-e7731ed27138
2019-10-14T05:21:06.548Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T05:21:06.548Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_5661b179_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T05:21:06.548Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:21:06.549Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T05:21:06.550Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T05:21:06.550Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T05:21:06.550Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T05:21:06.551Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 173
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 05:21:06 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T05:21:07.168Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T05:21:07.169Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|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-14T05:21:07.169Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_5661b179_0
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|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-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=c8972b63-97e3-46cb-9a97-bb57b5da39b5
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=e83a9b09-fc4b-49e9-9af1-a81650c564e8
2019-10-14T05:21:07.181Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T05:21:07.182Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|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-14T05:21:07.182Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=volume_size
param[1]=nova_instance
2019-10-14T05:21:07.182Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T05:21:07.182Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T05:21:07.182Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T05:21:07.183Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T05:21:07.184Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T05:21:07.184Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_5661b179_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=043bddb2-8c66-4442-b671-925d2dbc88ac}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T05:21:07.184Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:21:07.334Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0
2019-10-14T05:21:07.335Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|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/b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0": 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-14T05:21:08.500Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_5661b179_0)
2019-10-14T05:21:08.500Z||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-14T05:21:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:21:23.820Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_5661b179_0)
2019-10-14T05:21:23.820Z||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-14T05:21:23.820Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|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_5661b179_0/8a62a3aa-9c57-459e-aef4-c04157a68c3a', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_5661b179_0', updatedTime=Mon Oct 14 05:21:08 GMT 2019, creationTime=Mon Oct 14 05:21:07 GMT 2019, stackStatus='CREATE_COMPLETE', id='8a62a3aa-9c57-459e-aef4-c04157a68c3a', outputs='[]', parameters='{OS::stack_id=8a62a3aa-9c57-459e-aef4-c04157a68c3a, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=043bddb2-8c66-4442-b671-925d2dbc88ac, OS::stack_name=Vfmodule_Ete_vVG_5661b179_0, volume_size=100}', files='null'}
2019-10-14T05:21:23.821Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_5661b179_0 successfully created
2019-10-14T05:21:23.821Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:21:23.841Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_5661b179_0/8a62a3aa-9c57-459e-aef4-c04157a68c3a
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-14T05:21:23.851Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475
2019-10-14T05:21:23.851Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - Content is:
b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475
CloudOwner
RegionOne
b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0-1571030466475
HEAT
b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0
cb669e49-8dee-4e2b-aca0-1cb0322a522c
28481f6939614cfd83e6767a0e039bcc
true
d9b403e5-dcdf-4c30-829d-a5805fc6a2bd
Vfmodule_Ete_vVG_5661b179_0/8a62a3aa-9c57-459e-aef4-c04157a68c3a
Vfmodule_Ete_vVG_5661b179_0/8a62a3aa-9c57-459e-aef4-c04157a68c3a
true
d9b403e5-dcdf-4c30-829d-a5805fc6a2bd
Vfmodule_Ete_vVG_5661b179_0/8a62a3aa-9c57-459e-aef4-c04157a68c3a
3e37d501-17b8-4386-9295-9b7a72d53092
2019-10-14T05:21:23.851Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T05:21:24.300Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T05:21:24.300Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T05:21:24.300Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T05:21:24.300Z|b13ff3ab-86f9-4c6c-bb34-6e3fab750eb0|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T05:21:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:22:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:24:14.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:24:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:26:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:26:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:27:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:28:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:29:14.736Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:29:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:32:27.155Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 174
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/6b819677-2280-4542-8d0e-23c77819db7e/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=[c076628e-d1d7-4860-b977-a29dc9fc415c], x-onap-invocationid=[0153009f-2b99-4cca-bcc4-979415b1b517,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[c076628e-d1d7-4860-b977-a29dc9fc415c,c076628e-d1d7-4860-b977-a29dc9fc415c], x-requestid=[c076628e-d1d7-4860-b977-a29dc9fc415c], x-transactionid=[c076628e-d1d7-4860-b977-a29dc9fc415c]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
6b819677-2280-4542-8d0e-23c77819db7e
Ete_vFWCLvFWSNK_2394671d_0
Vfmodule_Ete_vFWCLvFWSNK_2394671d_0
397aa834-38c3-4ee0-9cf7-338d045a7644
vFWCL 2019-10-14 05:23:/vFWCL_vFWSNK 04588690-e3a4 0
VfwclVfwsnk04588690E3a4..base_vfw..module-0
1.0
14b773f0-86e7-4aee-8b92-c258369e95b6
true
true
true
vf_module_id
397aa834-38c3-4ee0-9cf7-338d045a7644
oof_directives
{}
vfw_onap_private_ip_0
10.0.174.101
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vsn_name_0
vofwl01snk671d
vnf_name
Ete_vFWCLvFWSNK_2394671d_0
int_unprotected_private_subnet_id
vofwlsnk_unprotected_sub671d
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_key2394671d
workload_context
vsn_onap_private_ip_0
10.0.174.102
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvFWSNK_2394671d_0
install_script_version
1.5.0-SNAPSHOT
vfw_image_name
ubuntu-14-04-cloud-amd64
vnf_id
6b819677-2280-4542-8d0e-23c77819db7e
int_protected_private_net_id
vofwlsnk_protected671d
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_sub671d
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
vfw_name_0
vofwl01fwl671d
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
int_unprotected_private_net_id
vofwlsnk_unprotected671d
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":"397aa834-38c3-4ee0-9cf7-338d045a7644"},{"attribute_name":"vfw_onap_private_ip_0","attribute_value":"10.0.174.101"},{"attribute_name":"onap_private_net_id","attribute_value":"032e1bde-9dfe-49be-9591-e22eb42ddc7c"},{"attribute_name":"vsn_name_0","attribute_value":"vofwl01snk671d"},{"attribute_name":"vnf_name","attribute_value":"Ete_vFWCLvFWSNK_2394671d_0"},{"attribute_name":"int_unprotected_private_subnet_id","attribute_value":"vofwlsnk_unprotected_sub671d"},{"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_key2394671d"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vsn_onap_private_ip_0","attribute_value":"10.0.174.102"},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvFWSNK_2394671d_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":"6b819677-2280-4542-8d0e-23c77819db7e"},{"attribute_name":"int_protected_private_net_id","attribute_value":"vofwlsnk_protected671d"},{"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_sub671d"},{"attribute_name":"repo_url_artifacts","attribute_value":"https://nexus.onap.org/content/repositories/releases"},{"attribute_name":"vfw_name_0","attribute_value":"vofwl01fwl671d"},{"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_unprotected671d"},{"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
c076628e-d1d7-4860-b977-a29dc9fc415c
bcc602e6-6797-47ec-8a71-32e8e5489143
c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102
--------------------------------------
2019-10-14T05:32:27.179Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"6b819677-2280-4542-8d0e-23c77819db7e","vnfType":"vFWCL 2019-10-14 05:23:/vFWCL_vFWSNK 04588690-e3a4 0","vnfVersion":"1.0","vfModuleId":"397aa834-38c3-4ee0-9cf7-338d045a7644","vfModuleName":"Vfmodule_Ete_vFWCLvFWSNK_2394671d_0","vfModuleType":"VfwclVfwsnk04588690E3a4..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"14b773f0-86e7-4aee-8b92-c258369e95b6","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"397aa834-38c3-4ee0-9cf7-338d045a7644","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vsn_flavor_name":"m1.medium","vnf_name":"Ete_vFWCLvFWSNK_2394671d_0","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","int_unprotected_private_net_id":"vofwlsnk_unprotected671d","onap_private_subnet_id":"4ed99c09-aed6-4eca-8f94-48357ab4e5d1","sec_group":"ed916be8-ca11-4512-acb9-10882ad7f99c","workload_context":"","user_directives":"{}","vfw_name_0":"vofwl01fwl671d","vf_module_name":"Vfmodule_Ete_vFWCLvFWSNK_2394671d_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":"6b819677-2280-4542-8d0e-23c77819db7e","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":"vofwl01snk671d","int_unprotected_private_subnet_id":"vofwlsnk_unprotected_sub671d","onap_private_net_id":"032e1bde-9dfe-49be-9591-e22eb42ddc7c","vsn_onap_private_ip_0":"10.0.174.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\":\"397aa834-38c3-4ee0-9cf7-338d045a7644\"},{\"attribute_name\":\"vfw_onap_private_ip_0\",\"attribute_value\":\"10.0.174.101\"},{\"attribute_name\":\"onap_private_net_id\",\"attribute_value\":\"032e1bde-9dfe-49be-9591-e22eb42ddc7c\"},{\"attribute_name\":\"vsn_name_0\",\"attribute_value\":\"vofwl01snk671d\"},{\"attribute_name\":\"vnf_name\",\"attribute_value\":\"Ete_vFWCLvFWSNK_2394671d_0\"},{\"attribute_name\":\"int_unprotected_private_subnet_id\",\"attribute_value\":\"vofwlsnk_unprotected_sub671d\"},{\"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_key2394671d\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vsn_onap_private_ip_0\",\"attribute_value\":\"10.0.174.102\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvFWSNK_2394671d_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\":\"6b819677-2280-4542-8d0e-23c77819db7e\"},{\"attribute_name\":\"int_protected_private_net_id\",\"attribute_value\":\"vofwlsnk_protected671d\"},{\"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_sub671d\"},{\"attribute_name\":\"repo_url_artifacts\",\"attribute_value\":\"https://nexus.onap.org/content/repositories/releases\"},{\"attribute_name\":\"vfw_name_0\",\"attribute_value\":\"vofwl01fwl671d\"},{\"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_unprotected671d\"},{\"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_key2394671d","int_protected_private_net_id":"vofwlsnk_protected671d","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.174.101","int_protected_private_subnet_id":"vofwlsnk_protected_sub671d","cloud_env":"openstack","vf_module_index":"0"},"msoRequest":{"requestId":"c076628e-d1d7-4860-b977-a29dc9fc415c","serviceInstanceId":"bcc602e6-6797-47ec-8a71-32e8e5489143"},"synchronous":false}}
2019-10-14T05:32:27.180Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T05:32:27.180Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 05:23:/vFWCL_vFWSNK 04588690-e3a4 0::VfwclVfwsnk04588690E3a4..base_vfw..module-0
2019-10-14T05:32:27.180Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T05:32:27.181Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 14b773f0-86e7-4aee-8b92-c258369e95b6
2019-10-14T05:32:27.181Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T05:32:27.181Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T05:32:27.181Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvFWSNK_2394671d_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T05:32:27.181Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T05:32:27.181Z|c076628e-d1d7-4860-b977-a29dc9fc415c|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:32:27.181Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T05:32:27.182Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T05:32:27.182Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 174
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 05:32:27 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T05:32:27.508Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T05:32:27.509Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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-14T05:32:27.509Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvFWSNK_2394671d_0
2019-10-14T05:32:27.517Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T05:32:27.517Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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-14T05:32:27.517Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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-14T05:32:27.517Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=1a8e98e2-340c-47e0-91e5-b3ea58df4e2a
2019-10-14T05:32:27.517Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T05:32:27.518Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=63b1238a-a89e-4b85-8bc7-3bf339906bb7
2019-10-14T05:32:27.518Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
vfw_name_0, required=true dcae_collector_port, required=true onap_private_subnet_id, required=true int_protected_private_subnet_id, required=true cloud_env, required=true vfw_int_unprotected_private_ip_0, required=true vsn_flavor_name, required=true vf_module_id, required=true demo_artifacts_version, required=true int_protected_private_net_id, required=true vfw_int_protected_private_ip_0, required=true install_script_version, required=true key_name, required=true vfw_image_name, required=true dcae_collector_ip, required=true vsn_onap_private_ip_0, required=true pub_key, required=true net_prefix, required=true onap_private_net_cidr, required=true onap_private_net_id, required=true unprotected_private_net_cidr, required=true vfw_flavor_name, required=true protected_private_net_cidr, required=true vsn_image_name, required=true vfw_onap_private_ip_0, required=true vfw_int_protected_private_floating_ip, required=true vnf_id, required=true int_unprotected_private_subnet_id, required=true sec_group, required=true vsn_int_protected_private_ip_0, required=true vsn_name_0, required=true int_unprotected_private_net_id, required=true vnf_name, 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-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=vfw_name_0
param[1]=dcae_collector_port
param[2]=onap_private_subnet_id
param[3]=int_protected_private_subnet_id
param[4]=cloud_env
param[5]=vfw_int_unprotected_private_ip_0
param[6]=vsn_flavor_name
param[7]=vf_module_id
param[8]=demo_artifacts_version
param[9]=int_protected_private_net_id
param[10]=vfw_int_protected_private_ip_0
param[11]=install_script_version
param[12]=key_name
param[13]=vfw_image_name
param[14]=dcae_collector_ip
param[15]=vsn_onap_private_ip_0
param[16]=pub_key
param[17]=net_prefix
param[18]=onap_private_net_cidr
param[19]=onap_private_net_id
param[20]=unprotected_private_net_cidr
param[21]=vfw_flavor_name
param[22]=protected_private_net_cidr
param[23]=vsn_image_name
param[24]=vfw_onap_private_ip_0
param[25]=vfw_int_protected_private_floating_ip
param[26]=vnf_id
param[27]=int_unprotected_private_subnet_id
param[28]=sec_group
param[29]=vsn_int_protected_private_ip_0
param[30]=vsn_name_0
param[31]=int_unprotected_private_net_id
param[32]=vnf_name
param[33]=nexus_artifact_repo
param[34]=public_net_id
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_name_0', isRequired=true, alias=null
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:32:27.519Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_flavor_name', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_protected_private_net_id', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_image_name', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T05:32:27.520Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'net_prefix', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter net_prefix is required and not in the inputs...check environment
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter net_prefix appears to be in environment - do not count as missing
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_flavor_name', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_image_name', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_int_protected_private_floating_ip', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:32:27.521Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_int_protected_private_ip_0', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_name_0', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'int_unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T05:32:27.522Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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-14T05:32:27.523Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T05:32:27.523Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T05:32:27.523Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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-14T05:32:27.524Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvFWSNK_2394671d_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=397aa834-38c3-4ee0-9cf7-338d045a7644, vsn_flavor_name=m1.medium, vnf_name=Ete_vFWCLvFWSNK_2394671d_0, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, int_unprotected_private_net_id=vofwlsnk_unprotected671d, onap_private_subnet_id=4ed99c09-aed6-4eca-8f94-48357ab4e5d1, sec_group=ed916be8-ca11-4512-acb9-10882ad7f99c, vfw_name_0=vofwl01fwl671d, 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=6b819677-2280-4542-8d0e-23c77819db7e, 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=vofwl01snk671d, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub671d, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, vsn_onap_private_ip_0=10.0.174.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_key2394671d, int_protected_private_net_id=vofwlsnk_protected671d, 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.174.101, int_protected_private_subnet_id=vofwlsnk_protected_sub671d, 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-14T05:32:27.524Z|c076628e-d1d7-4860-b977-a29dc9fc415c|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:32:27.685Z|c076628e-d1d7-4860-b977-a29dc9fc415c|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/c076628e-d1d7-4860-b977-a29dc9fc415c
2019-10-14T05:32:27.686Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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/c076628e-d1d7-4860-b977-a29dc9fc415c": 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-14T05:32:32.206Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_2394671d_0)
2019-10-14T05:32:32.206Z||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-14T05:32:47.439Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_2394671d_0)
2019-10-14T05:32:47.439Z||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-14T05:33:02.664Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvFWSNK_2394671d_0)
2019-10-14T05:33:02.664Z||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-14T05:33:17.890Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvFWSNK_2394671d_0)
2019-10-14T05:33:17.890Z|c076628e-d1d7-4860-b977-a29dc9fc415c|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_2394671d_0/28167c41-0299-4e1f-acc0-43eb1cd59f05', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvFWSNK_2394671d_0', updatedTime=Mon Oct 14 05:32:31 GMT 2019, creationTime=Mon Oct 14 05:32:31 GMT 2019, stackStatus='CREATE_COMPLETE', id='28167c41-0299-4e1f-acc0-43eb1cd59f05', 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.174.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=397aa834-38c3-4ee0-9cf7-338d045a7644, 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_unprotected671d, 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_sub671d, cloud_env=openstack, unprotected_private_net_cidr=192.168.10.0/24, int_unprotected_private_subnet_id=vofwlsnk_unprotected_sub671d, vnf_id=6b819677-2280-4542-8d0e-23c77819db7e, vfw_onap_private_ip_0=10.0.174.101, OS::stack_name=Vfmodule_Ete_vFWCLvFWSNK_2394671d_0, key_name=vfw_key2394671d, demo_artifacts_version=1.5.0-SNAPSHOT, dcae_collector_ip=10.12.5.135, int_protected_private_net_id=vofwlsnk_protected671d, OS::stack_id=28167c41-0299-4e1f-acc0-43eb1cd59f05, vfw_flavor_name=m1.medium, vfw_name_0=vofwl01fwl671d, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vsn_name_0=vofwl01snk671d, vnf_name=Ete_vFWCLvFWSNK_2394671d_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-14T05:33:17.890Z||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-14T05:33:17.890Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvFWSNK_2394671d_0 successfully created
2019-10-14T05:33:17.890Z|c076628e-d1d7-4860-b977-a29dc9fc415c|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:33:17.905Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvFWSNK_2394671d_0/28167c41-0299-4e1f-acc0-43eb1cd59f05
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-14T05:33:17.916Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102
2019-10-14T05:33:17.916Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - Content is:
c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102
CloudOwner
RegionOne
c076628e-d1d7-4860-b977-a29dc9fc415c-1571031147102
HEAT
c076628e-d1d7-4860-b977-a29dc9fc415c
bcc602e6-6797-47ec-8a71-32e8e5489143
28481f6939614cfd83e6767a0e039bcc
true
397aa834-38c3-4ee0-9cf7-338d045a7644
Vfmodule_Ete_vFWCLvFWSNK_2394671d_0/28167c41-0299-4e1f-acc0-43eb1cd59f05
Vfmodule_Ete_vFWCLvFWSNK_2394671d_0/28167c41-0299-4e1f-acc0-43eb1cd59f05
true
397aa834-38c3-4ee0-9cf7-338d045a7644
Vfmodule_Ete_vFWCLvFWSNK_2394671d_0/28167c41-0299-4e1f-acc0-43eb1cd59f05
6b819677-2280-4542-8d0e-23c77819db7e
2019-10-14T05:33:17.916Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T05:33:18.442Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T05:33:18.442Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T05:33:18.442Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T05:33:18.442Z|c076628e-d1d7-4860-b977-a29dc9fc415c|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T05:35:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:35:26.984Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 175
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/cfe9e63e-0483-4039-9089-e2c304ad9990/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=[c3774a74-4d88-4ab7-8d3c-4218b6ed18a3], x-onap-invocationid=[aef6791f-2fc6-4ba2-b259-9bdfb94c9e1b,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[c3774a74-4d88-4ab7-8d3c-4218b6ed18a3,c3774a74-4d88-4ab7-8d3c-4218b6ed18a3], x-requestid=[c3774a74-4d88-4ab7-8d3c-4218b6ed18a3], x-transactionid=[c3774a74-4d88-4ab7-8d3c-4218b6ed18a3]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
cfe9e63e-0483-4039-9089-e2c304ad9990
Ete_vFWCLvPKG_2394671d_1
Vfmodule_Ete_vFWCLvPKG_2394671d_1
19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a
vFWCL 2019-10-14 05:23:/vFWCL_vPKG 67d53320-ce51 0
VfwclVpkg67d53320Ce51..base_vpkg..module-0
1.0
14915750-5749-4121-a0fc-82f58c2dedd5
true
true
true
vf_module_id
19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a
oof_directives
{}
vpg_image_name
ubuntu-14-04-cloud-amd64
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vFWCLvPKG_2394671d_1
key_name
vfw_key2394671d
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vFWCLvPKG_2394671d_1
unprotected_private_net_id
vFWSNK_vofwlsnk_unprotected671d
install_script_version
1.5.0-SNAPSHOT
vnf_id
cfe9e63e-0483-4039-9089-e2c304ad9990
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
vofwl01pgn671d
public_net_id
971040b2-7059-49dc-b220-4fab50cb2ad4
unprotected_private_subnet_id
vFWSNK_vofwlsnk_unprotected_sub671d
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":"19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a"},{"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_2394671d_1"},{"attribute_name":"key_name","attribute_value":"vfw_key2394671d"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vFWCLvPKG_2394671d_1"},{"attribute_name":"unprotected_private_net_id","attribute_value":"vFWSNK_vofwlsnk_unprotected671d"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"vnf_id","attribute_value":"cfe9e63e-0483-4039-9089-e2c304ad9990"},{"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":"vofwl01pgn671d"},{"attribute_name":"public_net_id","attribute_value":"971040b2-7059-49dc-b220-4fab50cb2ad4"},{"attribute_name":"unprotected_private_subnet_id","attribute_value":"vFWSNK_vofwlsnk_unprotected_sub671d"},{"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.174.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.174.103
unprotected_private_net_cidr
192.168.10.0/24
vf_module_index
0
c3774a74-4d88-4ab7-8d3c-4218b6ed18a3
bcc602e6-6797-47ec-8a71-32e8e5489143
c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922
--------------------------------------
2019-10-14T05:35:27.008Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"cfe9e63e-0483-4039-9089-e2c304ad9990","vnfType":"vFWCL 2019-10-14 05:23:/vFWCL_vPKG 67d53320-ce51 0","vnfVersion":"1.0","vfModuleId":"19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a","vfModuleName":"Vfmodule_Ete_vFWCLvPKG_2394671d_1","vfModuleType":"VfwclVpkg67d53320Ce51..base_vpkg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"14915750-5749-4121-a0fc-82f58c2dedd5","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","vnf_name":"Ete_vFWCLvPKG_2394671d_1","public_net_id":"971040b2-7059-49dc-b220-4fab50cb2ad4","unprotected_private_subnet_id":"vFWSNK_vofwlsnk_unprotected_sub671d","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_2394671d_1","onap_private_net_cidr":"10.0.0.0/16","vpg_onap_private_ip_0":"10.0.174.103","vnf_id":"cfe9e63e-0483-4039-9089-e2c304ad9990","dcae_collector_ip":"10.12.5.135","vpg_flavor_name":"m1.medium","dcae_collector_port":"30235","oof_directives":"{}","vpg_name_0":"vofwl01pgn671d","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_unprotected671d","demo_artifacts_version":"1.5.0-SNAPSHOT","environment_context":"","sdnc_directives":"{ \"attributes\": [{\"attribute_name\":\"vf_module_id\",\"attribute_value\":\"19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a\"},{\"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_2394671d_1\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key2394671d\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vFWCLvPKG_2394671d_1\"},{\"attribute_name\":\"unprotected_private_net_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected671d\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"cfe9e63e-0483-4039-9089-e2c304ad9990\"},{\"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\":\"vofwl01pgn671d\"},{\"attribute_name\":\"public_net_id\",\"attribute_value\":\"971040b2-7059-49dc-b220-4fab50cb2ad4\"},{\"attribute_name\":\"unprotected_private_subnet_id\",\"attribute_value\":\"vFWSNK_vofwlsnk_unprotected_sub671d\"},{\"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.174.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_key2394671d","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":"c3774a74-4d88-4ab7-8d3c-4218b6ed18a3","serviceInstanceId":"bcc602e6-6797-47ec-8a71-32e8e5489143"},"synchronous":false}}
2019-10-14T05:35:27.009Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T05:35:27.009Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vFWCL 2019-10-14 05:23:/vFWCL_vPKG 67d53320-ce51 0::VfwclVpkg67d53320Ce51..base_vpkg..module-0
2019-10-14T05:35:27.009Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T05:35:27.010Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 14915750-5749-4121-a0fc-82f58c2dedd5
2019-10-14T05:35:27.010Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T05:35:27.010Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vFWCLvPKG_2394671d_1 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T05:35:27.010Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T05:35:27.010Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:35:27.010Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T05:35:27.011Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T05:35:27.011Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T05:35:27.011Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 175
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 05:35:27 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T05:35:27.426Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T05:35:27.427Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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-14T05:35:27.427Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vFWCLvPKG_2394671d_1
2019-10-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=617fd90a-39b6-47a4-8609-1f55e949fd2e
2019-10-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=ef8b4569-f7a5-4676-ab9c-c59e0be980b4
2019-10-14T05:35:27.434Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
install_script_version, required=true vfw_private_ip_0, required=true vnf_name, required=true cloud_env, required=true vpg_flavor_name, required=true key_name, required=true nexus_artifact_repo, required=true onap_private_net_cidr, required=true onap_private_subnet_id, required=true vpg_name_0, required=true vpg_image_name, required=true vpg_onap_private_ip_0, required=true unprotected_private_net_cidr, required=true vsn_private_ip_0, required=true pub_key, required=true protected_private_net_cidr, required=true vpg_unprotected_private_ip_0, required=true demo_artifacts_version, required=true vnf_id, required=true unprotected_private_net_id, required=true sec_group, required=true unprotected_private_subnet_id, required=true public_net_id, required=true onap_private_net_id, required=true vf_module_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-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=install_script_version
param[1]=vfw_private_ip_0
param[2]=vnf_name
param[3]=cloud_env
param[4]=vpg_flavor_name
param[5]=key_name
param[6]=nexus_artifact_repo
param[7]=onap_private_net_cidr
param[8]=onap_private_subnet_id
param[9]=vpg_name_0
param[10]=vpg_image_name
param[11]=vpg_onap_private_ip_0
param[12]=unprotected_private_net_cidr
param[13]=vsn_private_ip_0
param[14]=pub_key
param[15]=protected_private_net_cidr
param[16]=vpg_unprotected_private_ip_0
param[17]=demo_artifacts_version
param[18]=vnf_id
param[19]=unprotected_private_net_id
param[20]=sec_group
param[21]=unprotected_private_subnet_id
param[22]=public_net_id
param[23]=onap_private_net_id
param[24]=vf_module_id
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vfw_private_ip_0', isRequired=true, alias=null
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T05:35:27.435Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vsn_private_ip_0', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'protected_private_net_cidr', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_unprotected_private_ip_0', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T05:35:27.436Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_net_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'unprotected_private_subnet_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T05:35:27.437Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T05:35:27.438Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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-14T05:35:27.438Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vFWCLvPKG_2394671d_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=19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a, 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_unprotected671d, vnf_name=Ete_vFWCLvPKG_2394671d_1, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub671d, 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.174.103, key_name=vfw_key2394671d, vpg_unprotected_private_ip_0=192.168.10.200, vnf_id=cfe9e63e-0483-4039-9089-e2c304ad9990, vpg_flavor_name=m1.medium, install_script_version=1.5.0-SNAPSHOT, vpg_name_0=vofwl01pgn671d, 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-14T05:35:27.438Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:35:27.596Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/c3774a74-4d88-4ab7-8d3c-4218b6ed18a3
2019-10-14T05:35:27.597Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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/c3774a74-4d88-4ab7-8d3c-4218b6ed18a3": 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-14T05:35:30.752Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_2394671d_1)
2019-10-14T05:35:30.752Z||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-14T05:35:45.969Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vFWCLvPKG_2394671d_1)
2019-10-14T05:35:45.969Z||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-14T05:35:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T05:36:01.018Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vFWCLvPKG_2394671d_1)
2019-10-14T05:36:01.018Z||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-14T05:36:01.018Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|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_2394671d_1/6219f56a-f08f-4f37-ba4a-57ea86af3ae2', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vFWCLvPKG_2394671d_1', updatedTime=Mon Oct 14 05:35:30 GMT 2019, creationTime=Mon Oct 14 05:35:30 GMT 2019, stackStatus='CREATE_COMPLETE', id='6219f56a-f08f-4f37-ba4a-57ea86af3ae2', outputs='[]', parameters='{OS::project_id=28481f6939614cfd83e6767a0e039bcc, install_script_version=1.5.0-SNAPSHOT, vpg_image_name=ubuntu-14-04-cloud-amd64, vf_module_id=19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a, 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=cfe9e63e-0483-4039-9089-e2c304ad9990, 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.174.103, onap_private_net_id=032e1bde-9dfe-49be-9591-e22eb42ddc7c, cloud_env=openstack, unprotected_private_net_id=vFWSNK_vofwlsnk_unprotected671d, vpg_name_0=vofwl01pgn671d, unprotected_private_net_cidr=192.168.10.0/24, unprotected_private_subnet_id=vFWSNK_vofwlsnk_unprotected_sub671d, OS::stack_name=Vfmodule_Ete_vFWCLvPKG_2394671d_1, key_name=vfw_key2394671d, vpg_flavor_name=m1.medium, vsn_private_ip_0=192.168.20.250, demo_artifacts_version=1.5.0-SNAPSHOT, OS::stack_id=6219f56a-f08f-4f37-ba4a-57ea86af3ae2, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, nexus_artifact_repo=https://nexus.onap.org, vnf_name=Ete_vFWCLvPKG_2394671d_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-14T05:36:01.018Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vFWCLvPKG_2394671d_1 successfully created
2019-10-14T05:36:01.019Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T05:36:01.035Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vFWCLvPKG_2394671d_1/6219f56a-f08f-4f37-ba4a-57ea86af3ae2
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-14T05:36:01.046Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922
2019-10-14T05:36:01.046Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - Content is:
c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922
CloudOwner
RegionOne
c3774a74-4d88-4ab7-8d3c-4218b6ed18a3-1571031326922
HEAT
c3774a74-4d88-4ab7-8d3c-4218b6ed18a3
bcc602e6-6797-47ec-8a71-32e8e5489143
28481f6939614cfd83e6767a0e039bcc
true
19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a
Vfmodule_Ete_vFWCLvPKG_2394671d_1/6219f56a-f08f-4f37-ba4a-57ea86af3ae2
Vfmodule_Ete_vFWCLvPKG_2394671d_1/6219f56a-f08f-4f37-ba4a-57ea86af3ae2
true
19bd18d9-1ba5-4347-8c7b-f53a1b4d8d2a
Vfmodule_Ete_vFWCLvPKG_2394671d_1/6219f56a-f08f-4f37-ba4a-57ea86af3ae2
cfe9e63e-0483-4039-9089-e2c304ad9990
2019-10-14T05:36:01.047Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T05:36:01.640Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T05:36:01.641Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T05:36:01.641Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T05:36:01.641Z|c3774a74-4d88-4ab7-8d3c-4218b6ed18a3|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T05:36:44.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:37:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:38:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:40:14.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:40:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:42:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T05:42:59.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T05:43:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:44:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T05:44:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:49:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:50:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:51:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:53:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:53:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T05:54:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T05:57:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T05:58:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:01:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T06:01:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T06:02:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:03:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T06:04:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T06:05:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T06:06:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T06:07:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T06:07:25.964Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 176
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/7ed8d2f9-9249-4df4-a137-5cf8398e7c66/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=[73722c7a-6c9b-46f5-b000-9298bf2927f8], x-onap-invocationid=[420d9f9f-861e-49d3-b846-e86c535f0b49,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[73722c7a-6c9b-46f5-b000-9298bf2927f8,73722c7a-6c9b-46f5-b000-9298bf2927f8], x-requestid=[73722c7a-6c9b-46f5-b000-9298bf2927f8], x-transactionid=[73722c7a-6c9b-46f5-b000-9298bf2927f8]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
7ed8d2f9-9249-4df4-a137-5cf8398e7c66
Ete_vLB_dd103ae7_0
Vfmodule_Ete_vLB_dd103ae7_0
8fd50174-17f2-4e23-9c72-bd64b7518fb3
vLB 2019-10-14 06:00:55/vLBMS 24cb6464-500f 0
Vlbms24cb6464500f..base_vlb..module-0
1.0
8602d916-2871-4e1b-bd30-0b21446ec227
true
true
true
vf_module_id
8fd50174-17f2-4e23-9c72-bd64b7518fb3
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_dd103ae7_0
key_name
vfw_keydd103ae7
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vLB_dd103ae7_0
vpg_int_pktgen_private_ip_0
192.168.9.110
vlb_name_0
vlblb3ae7
install_script_version
1.5.0-SNAPSHOT
pktgen_private_net_id
lb01_pktgen3ae7
gre_ipaddr
192.168.30.112
vnf_id
7ed8d2f9-9249-4df4-a137-5cf8398e7c66
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.241.24
vdns_onap_private_ip_0
10.0.241.25
dcae_collector_port
30235
repo_url_blob
https://nexus.onap.org/content/repositories/raw
vpg_name_0
clvlbpgn3ae7
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":"8fd50174-17f2-4e23-9c72-bd64b7518fb3"},{"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_dd103ae7_0"},{"attribute_name":"key_name","attribute_value":"vfw_keydd103ae7"},{"attribute_name":"workload_context","attribute_value":""},{"attribute_name":"vf_module_name","attribute_value":"Vfmodule_Ete_vLB_dd103ae7_0"},{"attribute_name":"vpg_int_pktgen_private_ip_0","attribute_value":"192.168.9.110"},{"attribute_name":"vlb_name_0","attribute_value":"vlblb3ae7"},{"attribute_name":"install_script_version","attribute_value":"1.5.0-SNAPSHOT"},{"attribute_name":"pktgen_private_net_id","attribute_value":"lb01_pktgen3ae7"},{"attribute_name":"gre_ipaddr","attribute_value":"192.168.30.112"},{"attribute_name":"vnf_id","attribute_value":"7ed8d2f9-9249-4df4-a137-5cf8398e7c66"},{"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.241.24"},{"attribute_name":"vdns_onap_private_ip_0","attribute_value":"10.0.241.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":"clvlbpgn3ae7"},{"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":"vlbdns3ae7"},{"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_private3ae7"},{"attribute_name":"vpg_onap_private_ip_0","attribute_value":"10.0.241.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
vlbdns3ae7
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_private3ae7
vpg_onap_private_ip_0
10.0.241.27
vf_module_index
0
73722c7a-6c9b-46f5-b000-9298bf2927f8
345cd2b8-db5c-4a8e-90bb-593d7924e3c6
73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790
--------------------------------------
2019-10-14T06:07:25.999Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"7ed8d2f9-9249-4df4-a137-5cf8398e7c66","vnfType":"vLB 2019-10-14 06:00:55/vLBMS 24cb6464-500f 0","vnfVersion":"1.0","vfModuleId":"8fd50174-17f2-4e23-9c72-bd64b7518fb3","vfModuleName":"Vfmodule_Ete_vLB_dd103ae7_0","vfModuleType":"Vlbms24cb6464500f..base_vlb..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"8602d916-2871-4e1b-bd30-0b21446ec227","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"8fd50174-17f2-4e23-9c72-bd64b7518fb3","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.241.25","vlb_private_net_id":"lb01_private3ae7","vdns_image_name":"ubuntu-16-04-cloud-amd64","vnf_name":"Ete_vLB_dd103ae7_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_dd103ae7_0","onap_private_net_cidr":"10.0.0.0/16","vdns_name_0":"vlbdns3ae7","vdns_int_private_ip_0":"192.168.30.110","pg_int":"192.168.9.109","vpg_onap_private_ip_0":"10.0.241.27","vnf_id":"7ed8d2f9-9249-4df4-a137-5cf8398e7c66","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":"clvlbpgn3ae7","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\":\"8fd50174-17f2-4e23-9c72-bd64b7518fb3\"},{\"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_dd103ae7_0\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_keydd103ae7\"},{\"attribute_name\":\"workload_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"vf_module_name\",\"attribute_value\":\"Vfmodule_Ete_vLB_dd103ae7_0\"},{\"attribute_name\":\"vpg_int_pktgen_private_ip_0\",\"attribute_value\":\"192.168.9.110\"},{\"attribute_name\":\"vlb_name_0\",\"attribute_value\":\"vlblb3ae7\"},{\"attribute_name\":\"install_script_version\",\"attribute_value\":\"1.5.0-SNAPSHOT\"},{\"attribute_name\":\"pktgen_private_net_id\",\"attribute_value\":\"lb01_pktgen3ae7\"},{\"attribute_name\":\"gre_ipaddr\",\"attribute_value\":\"192.168.30.112\"},{\"attribute_name\":\"vnf_id\",\"attribute_value\":\"7ed8d2f9-9249-4df4-a137-5cf8398e7c66\"},{\"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.241.24\"},{\"attribute_name\":\"vdns_onap_private_ip_0\",\"attribute_value\":\"10.0.241.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\":\"clvlbpgn3ae7\"},{\"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\":\"vlbdns3ae7\"},{\"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_private3ae7\"},{\"attribute_name\":\"vpg_onap_private_ip_0\",\"attribute_value\":\"10.0.241.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_keydd103ae7","repo_url_artifacts":"https://nexus.onap.org/content/repositories/releases","vlb_name_0":"vlblb3ae7","pktgen_private_net_id":"lb01_pktgen3ae7","install_script_version":"1.5.0-SNAPSHOT","vlb_onap_private_ip_0":"10.0.241.24","cloud_env":"openstack","vlb_image_name":"ubuntu-16-04-cloud-amd64","vf_module_index":"0"},"msoRequest":{"requestId":"73722c7a-6c9b-46f5-b000-9298bf2927f8","serviceInstanceId":"345cd2b8-db5c-4a8e-90bb-593d7924e3c6"},"synchronous":false}}
2019-10-14T06:07:26.000Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T06:07:26.000Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vLB 2019-10-14 06:00:55/vLBMS 24cb6464-500f 0::Vlbms24cb6464500f..base_vlb..module-0
2019-10-14T06:07:26.000Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T06:07:26.001Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T06:07:26.001Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: 8602d916-2871-4e1b-bd30-0b21446ec227
2019-10-14T06:07:26.002Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T06:07:26.002Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vLB_dd103ae7_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T06:07:26.002Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T06:07:26.002Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:07:26.002Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T06:07:26.002Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T06:07:26.003Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 176
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 06:07:26 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T06:07:26.432Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T06:07:26.432Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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-14T06:07:26.433Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vLB_dd103ae7_0
2019-10-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=fc896cff-8dc4-4537-96f6-29e36524f8af
2019-10-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=7fa7815f-147d-41ab-ae2b-b304e1c61b2a
2019-10-14T06:07:26.443Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T06:07:26.444Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Heat Template Parameters:
key_name, required=true vdns_int_private_ip_0, required=true vpg_onap_private_ip_0, required=true dcae_collector_ip, required=true vlb_name_0, required=true pktgen_private_net_id, required=true install_script_version, required=true vpg_flavor_name, required=true vnf_name, required=true gre_ipaddr, required=true vlb_int_private_ip_0, required=true nexus_artifact_repo, required=true vf_module_id, required=true vlb_int_pktgen_private_ip_0, required=true onap_private_net_id, required=true vlb_private_net_cidr, required=true vdns_onap_private_ip_0, required=true vdns_image_name, required=true vlb_onap_private_ip_0, required=true cloud_env, required=true vlb_image_name, required=true pg_int, required=true vdns_name_0, required=true vnf_id, required=true demo_artifacts_version, required=true nb_api_version, required=true onap_private_subnet_id, required=true vpg_int_pktgen_private_ip_0, required=true sec_group, required=true onap_private_net_cidr, required=true public_net_id, required=true pub_key, required=true pktgen_private_net_cidr, required=true vpg_image_name, required=true vdns_flavor_name, required=true vlb_private_net_id, required=true dcae_collector_port, required=true vip, required=true vpg_name_0, required=true vlb_flavor_name, 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-14T06:07:26.444Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=key_name
param[1]=vdns_int_private_ip_0
param[2]=vpg_onap_private_ip_0
param[3]=dcae_collector_ip
param[4]=vlb_name_0
param[5]=pktgen_private_net_id
param[6]=install_script_version
param[7]=vpg_flavor_name
param[8]=vnf_name
param[9]=gre_ipaddr
param[10]=vlb_int_private_ip_0
param[11]=nexus_artifact_repo
param[12]=vf_module_id
param[13]=vlb_int_pktgen_private_ip_0
param[14]=onap_private_net_id
param[15]=vlb_private_net_cidr
param[16]=vdns_onap_private_ip_0
param[17]=vdns_image_name
param[18]=vlb_onap_private_ip_0
param[19]=cloud_env
param[20]=vlb_image_name
param[21]=pg_int
param[22]=vdns_name_0
param[23]=vnf_id
param[24]=demo_artifacts_version
param[25]=nb_api_version
param[26]=onap_private_subnet_id
param[27]=vpg_int_pktgen_private_ip_0
param[28]=sec_group
param[29]=onap_private_net_cidr
param[30]=public_net_id
param[31]=pub_key
param[32]=pktgen_private_net_cidr
param[33]=vpg_image_name
param[34]=vdns_flavor_name
param[35]=vlb_private_net_id
param[36]=dcae_collector_port
param[37]=vip
param[38]=vpg_name_0
param[39]=vlb_flavor_name
2019-10-14T06:07:26.444Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'key_name', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_int_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_ip', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_name_0', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_id', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'install_script_version', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_flavor_name', isRequired=true, alias=null
2019-10-14T06:07:26.445Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_name', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'gre_ipaddr', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nexus_artifact_repo', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nexus_artifact_repo is required and not in the inputs...check environment
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nexus_artifact_repo appears to be in environment - do not count as missing
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vf_module_id', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_id', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_cidr', isRequired=true, alias=null
2019-10-14T06:07:26.446Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_image_name', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_onap_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'cloud_env', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_image_name', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pg_int', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_name_0', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vnf_id', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'demo_artifacts_version', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nb_api_version', isRequired=true, alias=null
2019-10-14T06:07:26.447Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter nb_api_version is required and not in the inputs...check environment
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter nb_api_version appears to be in environment - do not count as missing
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_subnet_id', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_int_pktgen_private_ip_0', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'sec_group', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'onap_private_net_cidr', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'public_net_id', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pub_key', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'pktgen_private_net_cidr', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_image_name', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vdns_flavor_name', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_private_net_id', isRequired=true, alias=null
2019-10-14T06:07:26.448Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'dcae_collector_port', isRequired=true, alias=null
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vip', isRequired=true, alias=null
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vpg_name_0', isRequired=true, alias=null
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'vlb_flavor_name', isRequired=true, alias=null
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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-14T06:07:26.449Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T06:07:26.450Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T06:07:26.450Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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-14T06:07:26.450Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vLB_dd103ae7_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=8fd50174-17f2-4e23-9c72-bd64b7518fb3, 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.241.25, vlb_private_net_id=lb01_private3ae7, vdns_image_name=ubuntu-16-04-cloud-amd64, vnf_name=Ete_vLB_dd103ae7_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=vlbdns3ae7, vdns_int_private_ip_0=192.168.30.110, pg_int=192.168.9.109, vpg_onap_private_ip_0=10.0.241.27, vnf_id=7ed8d2f9-9249-4df4-a137-5cf8398e7c66, dcae_collector_ip=10.12.5.135, vpg_flavor_name=m1.medium, dcae_collector_port=30235, vip=192.168.9.112, vpg_name_0=clvlbpgn3ae7, 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_keydd103ae7, vlb_name_0=vlblb3ae7, pktgen_private_net_id=lb01_pktgen3ae7, install_script_version=1.5.0-SNAPSHOT, vlb_onap_private_ip_0=10.0.241.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-14T06:07:26.451Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:07:26.677Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/73722c7a-6c9b-46f5-b000-9298bf2927f8
2019-10-14T06:07:26.678Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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/73722c7a-6c9b-46f5-b000-9298bf2927f8": 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-14T06:07:32.015Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_dd103ae7_0)
2019-10-14T06:07:32.015Z||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-14T06:07:47.252Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_dd103ae7_0)
2019-10-14T06:07:47.252Z||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-14T06:07:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.3.8
2019-10-14T06:08:02.495Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vLB_dd103ae7_0)
2019-10-14T06:08:02.495Z||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-14T06:08:17.576Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vLB_dd103ae7_0)
2019-10-14T06:08:17.576Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|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_dd103ae7_0/46cdedbd-5b3e-42c4-bc90-ae2fee656772', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vLB_dd103ae7_0', updatedTime=Mon Oct 14 06:07:31 GMT 2019, creationTime=Mon Oct 14 06:07:31 GMT 2019, stackStatus='CREATE_COMPLETE', id='46cdedbd-5b3e-42c4-bc90-ae2fee656772', outputs='[Output [key=int_private_net_id, value=f74cbc53-aadf-418c-8c4d-042c5cb715ed], Output [key=int_private_subnet_id, value=344568c6-d1b3-4e37-90be-b5830df198cf]]', 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=8fd50174-17f2-4e23-9c72-bd64b7518fb3, dcae_collector_port=30235, vlb_name_0=vlblb3ae7, vpg_onap_private_ip_0=10.0.241.27, vlb_private_net_id=lb01_private3ae7, gre_ipaddr=192.168.30.112, vlb_onap_private_ip_0=10.0.241.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=vlbdns3ae7, nexus_artifact_repo=https://nexus.onap.org, nb_api_version=1.2.0, pg_int=192.168.9.109, vnf_id=7ed8d2f9-9249-4df4-a137-5cf8398e7c66, OS::stack_name=Vfmodule_Ete_vLB_dd103ae7_0, key_name=vfw_keydd103ae7, vpg_flavor_name=m1.medium, pktgen_private_net_id=lb01_pktgen3ae7, 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=clvlbpgn3ae7, dcae_collector_ip=10.12.5.135, OS::stack_id=46cdedbd-5b3e-42c4-bc90-ae2fee656772, vdns_image_name=ubuntu-16-04-cloud-amd64, vip=192.168.9.112, vdns_onap_private_ip_0=10.0.241.25, public_net_id=971040b2-7059-49dc-b220-4fab50cb2ad4, vnf_name=Ete_vLB_dd103ae7_0, pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDKXDgoo3+WOqcUG8/5uUbk81+yczgwC4Y8ywTmuQqbNxlY1oQ0YxdMUqUnhitSXs5S/yRuAVOYHwGg2mCs20oAINrP+mxBI544AMIb9itPjCtgqtE2EWo6MmnFGbHB4Sx3XioE7F4VPsh7japsIwzOjbrQe+Mua1TGQ5d4nfEOQaaglXLLPFfuc7WbhbJbK6Q7rHqZfRcOwAMXgDoBqlyqKeiKwnumddo2RyNT8ljYmvB6buz7KnMinzo7qB0uktVT05FH9Rg0CTWH5norlG5qXgP2aukL0gk1ph8iAt7uYLf1ktp+LJI2gaF6L0/qli9EmVCSLr1uJ38Q8CBflhkh, vlb_flavor_name=m1.medium}', files='null'}
2019-10-14T06:08:17.576Z||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-14T06:08:17.576Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vLB_dd103ae7_0 successfully created
2019-10-14T06:08:17.577Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:08:17.590Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vLB_dd103ae7_0/46cdedbd-5b3e-42c4-bc90-ae2fee656772
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-14T06:08:17.602Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790
2019-10-14T06:08:17.603Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - Content is:
73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790
CloudOwner
RegionOne
73722c7a-6c9b-46f5-b000-9298bf2927f8-1571033245790
HEAT
73722c7a-6c9b-46f5-b000-9298bf2927f8
345cd2b8-db5c-4a8e-90bb-593d7924e3c6
28481f6939614cfd83e6767a0e039bcc
true
8fd50174-17f2-4e23-9c72-bd64b7518fb3
Vfmodule_Ete_vLB_dd103ae7_0/46cdedbd-5b3e-42c4-bc90-ae2fee656772
Vfmodule_Ete_vLB_dd103ae7_0/46cdedbd-5b3e-42c4-bc90-ae2fee656772
true
8fd50174-17f2-4e23-9c72-bd64b7518fb3
int_private_subnet_id
344568c6-d1b3-4e37-90be-b5830df198cf
int_private_net_id
f74cbc53-aadf-418c-8c4d-042c5cb715ed
Vfmodule_Ete_vLB_dd103ae7_0/46cdedbd-5b3e-42c4-bc90-ae2fee656772
7ed8d2f9-9249-4df4-a137-5cf8398e7c66
2019-10-14T06:08:17.603Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - HTTPPost Headers: Authorization: Basic cG9CcG1uOnBhc3N3b3JkMSQ=
2019-10-14T06:08:18.174Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204
2019-10-14T06:08:18.174Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - Response body is:
2019-10-14T06:08:18.174Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning.
2019-10-14T06:08:18.174Z|73722c7a-6c9b-46f5-b000-9298bf2927f8|org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask exit: code=200
2019-10-14T06:09:29.729Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:10:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T06:12:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.9.7
2019-10-14T06:14:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T06:14:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T06:15:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:16:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T06:17:14.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:17:59.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.3.8
2019-10-14T06:18:44.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.3.8 to 10.42.8.43
2019-10-14T06:19:29.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T06:20:14.731Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.9.7 to 10.42.8.43
2019-10-14T06:20:50.785Z||org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message
----------------------------
ID: 177
Address: http://so-openstack-adapter.onap:8087/services/rest/v1/vnfs/4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77/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=[33eeb97d-1fcf-4eed-a227-7c5639ef0f0e], x-onap-invocationid=[a34142c1-d2b7-41cd-bec9-c7829ee651fa,5772fefb-7f84-4536-8b9c-b7618c1d9823], x-onap-partnername=[SO-VNFAdapter,UNKNOWN], x-onap-requestid=[33eeb97d-1fcf-4eed-a227-7c5639ef0f0e,33eeb97d-1fcf-4eed-a227-7c5639ef0f0e], x-requestid=[33eeb97d-1fcf-4eed-a227-7c5639ef0f0e], x-transactionid=[33eeb97d-1fcf-4eed-a227-7c5639ef0f0e]}
Payload:
RegionOne
CloudOwner
28481f6939614cfd83e6767a0e039bcc
4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77
Ete_vVG_141344f6_0
Vfmodule_Ete_vVG_141344f6_0
92535018-f1cd-4c44-b78a-55b005292e52
vVG 2019-10-14 06:13:20/vVG cb5be7f3-7537 0
VvgCb5be7f37537..base_vvg..module-0
1.0
cbbfcd94-8994-48b1-96a8-27b0f205d8b5
true
true
true
vf_module_id
92535018-f1cd-4c44-b78a-55b005292e52
oof_directives
{}
onap_private_net_id
032e1bde-9dfe-49be-9591-e22eb42ddc7c
vnf_name
Ete_vVG_141344f6_0
key_name
vfw_key141344f6
workload_context
user_directives
{}
vf_module_name
Vfmodule_Ete_vVG_141344f6_0
install_script_version
1.5.0-SNAPSHOT
vnf_id
4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77
cloud_env
openstack
repo_url_artifacts
https://nexus.onap.org/content/repositories/releases
nova_instance
f2490e28-176b-427b-85f9-736e9beb42a9
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":"92535018-f1cd-4c44-b78a-55b005292e52"},{"attribute_name":"nova_instance","attribute_value":"f2490e28-176b-427b-85f9-736e9beb42a9"},{"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_141344f6_0"},{"attribute_name":"environment_context","attribute_value":""},{"attribute_name":"key_name","attribute_value":"vfw_key141344f6"},{"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_141344f6_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":"4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77"},{"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
33eeb97d-1fcf-4eed-a227-7c5639ef0f0e
a6e80100-061b-4ac7-b6b0-36104f44336b
33eeb97d-1fcf-4eed-a227-7c5639ef0f0e-1571034050611
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/33eeb97d-1fcf-4eed-a227-7c5639ef0f0e-1571034050611
--------------------------------------
2019-10-14T06:20:50.808Z||org.onap.so.adapters.vnf.VnfAdapterRest - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"33eeb97d-1fcf-4eed-a227-7c5639ef0f0e-1571034050611","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/33eeb97d-1fcf-4eed-a227-7c5639ef0f0e-1571034050611","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"28481f6939614cfd83e6767a0e039bcc","vnfId":"4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77","vnfType":"vVG 2019-10-14 06:13:20/vVG cb5be7f3-7537 0","vnfVersion":"1.0","vfModuleId":"92535018-f1cd-4c44-b78a-55b005292e52","vfModuleName":"Vfmodule_Ete_vVG_141344f6_0","vfModuleType":"VvgCb5be7f37537..base_vvg..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"cbbfcd94-8994-48b1-96a8-27b0f205d8b5","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"92535018-f1cd-4c44-b78a-55b005292e52","repo_url_blob":"https://nexus.onap.org/content/repositories/raw","nova_instance":"f2490e28-176b-427b-85f9-736e9beb42a9","vnf_name":"Ete_vVG_141344f6_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_141344f6_0","onap_private_net_cidr":"10.0.0.0/16","vnf_id":"4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77","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\":\"92535018-f1cd-4c44-b78a-55b005292e52\"},{\"attribute_name\":\"nova_instance\",\"attribute_value\":\"f2490e28-176b-427b-85f9-736e9beb42a9\"},{\"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_141344f6_0\"},{\"attribute_name\":\"environment_context\",\"attribute_value\":\"\"},{\"attribute_name\":\"key_name\",\"attribute_value\":\"vfw_key141344f6\"},{\"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_141344f6_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\":\"4f7ddaf5-ee12-4e2f-9114-3bbe91c81e77\"},{\"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_key141344f6","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":"33eeb97d-1fcf-4eed-a227-7c5639ef0f0e","serviceInstanceId":"a6e80100-061b-4ac7-b6b0-36104f44336b"},"synchronous":false}}
2019-10-14T06:20:50.809Z||org.onap.so.adapters.vnf.VnfAdapterRest - CreateVfModuleTask start
2019-10-14T06:20:50.809Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.VnfAdapterRest - completeVnfVfModuleType=vVG 2019-10-14 06:13:20/vVG cb5be7f3-7537 0::VvgCb5be7f37537..base_vvg..module-0
2019-10-14T06:20:50.809Z||org.onap.so.adapters.vnf.VnfAdapterRest - createVfModule exit
2019-10-14T06:20:50.810Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Found modelCustomizationUuid! Will use that: cbbfcd94-8994-48b1-96a8-27b0f205d8b5
2019-10-14T06:20:50.810Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - requestTypeString = , nestedStackId = null, nestedBaseStackId = null
2019-10-14T06:20:50.810Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoHeatUtils - Query HEAT stack: Vfmodule_Ete_vVG_141344f6_0 in tenant 28481f6939614cfd83e6767a0e039bcc
2019-10-14T06:20:50.810Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@1fa4b4b2]
2019-10-14T06:20:50.810Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:20:50.810Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-14T06:20:50.811Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@32c7d05f, org.apache.cxf.interceptor.LoggingOutInterceptor@2603d09e]
2019-10-14T06:20:50.811Z||o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@1dac5512]
2019-10-14T06:20:50.812Z||org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 177
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Mon, 14 Oct 2019 06:20:50 GMT], Content-Length=[0]}
--------------------------------------
2019-10-14T06:20:51.180Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:404
2019-10-14T06:20:51.181Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|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-14T06:20:51.181Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoHeatUtils - queryHeatStack - stack not found: Vfmodule_Ete_vVG_141344f6_0
2019-10-14T06:20:51.187Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - This is a BASE VF request!
2019-10-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|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-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Got Heat Environment from DB: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl, about to call db.getNestedTemplates avec templateId=eadda3b3-69c0-4bed-8db2-2f64af01d3b7
2019-10-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No nested templates found - nothing to do here
2019-10-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - In MsoVnfAdapterImpl createVfModule, about to call db.getHeatFilesForVfModule avec vfModuleId=66ae2a98-dccb-4b45-88da-974408f8e3e5
2019-10-14T06:20:51.188Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No heat files found -nothing to do here
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|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-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl -
Template Parameters:
param[0]=volume_size
param[1]=nova_instance
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the base stack outputs if applicable
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Now add in the volume stack outputs if applicable
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'volume_size', isRequired=true, alias=null
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - **Parameter volume_size is required and not in the inputs...check environment
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Required parameter volume_size appears to be in environment - do not count as missing
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Parameter:'nova_instance', isRequired=true, alias=null
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - No missing parameters found - ok to proceed
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - isValetEnabled=false, failRequestsOnValetFailure=false
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T06:20:51.189Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids
2019-10-14T06:20:51.190Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles
2019-10-14T06:20:51.190Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters:
nova_instance: "1234456"
volume_size: 100
2019-10-14T06:20:51.190Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoCommonUtils - stack request: CreateStackParam{stackName='Vfmodule_Ete_vVG_141344f6_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=f2490e28-176b-427b-85f9-736e9beb42a9}, timeoutMinutes=120, environment='parameters:
nova_instance: "1234456"
volume_size: 100
', disableRollback='true', files=null}
2019-10-14T06:20:51.191Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:20:51.368Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: null/infraActiveRequests/33eeb97d-1fcf-4eed-a227-7c5639ef0f0e
2019-10-14T06:20:51.369Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|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/33eeb97d-1fcf-4eed-a227-7c5639ef0f0e": 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-14T06:20:52.538Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_141344f6_0)
2019-10-14T06:20:52.539Z||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-14T06:20:59.730Z||org.onap.so.db.connections.ScheduledDnsLookup - Switched Database IP Address from 10.42.8.43 to 10.42.9.7
2019-10-14T06:21:07.830Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.openstack.utils.MsoHeatUtils - Polling: CREATE_COMPLETE (Vfmodule_Ete_vVG_141344f6_0)
2019-10-14T06:21:07.830Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|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_141344f6_0/ff1eaed0-7a9e-4897-a0a2-3875f7f2c29a', rel='self'}], stackStatusReason='Stack CREATE completed successfully', stackName='Vfmodule_Ete_vVG_141344f6_0', updatedTime=Mon Oct 14 06:20:52 GMT 2019, creationTime=Mon Oct 14 06:20:51 GMT 2019, stackStatus='CREATE_COMPLETE', id='ff1eaed0-7a9e-4897-a0a2-3875f7f2c29a', outputs='[]', parameters='{OS::stack_id=ff1eaed0-7a9e-4897-a0a2-3875f7f2c29a, OS::project_id=28481f6939614cfd83e6767a0e039bcc, nova_instance=f2490e28-176b-427b-85f9-736e9beb42a9, OS::stack_name=Vfmodule_Ete_vVG_141344f6_0, volume_size=100}', files='null'}
2019-10-14T06:21:07.830Z||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-14T06:21:07.830Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - VF Module Vfmodule_Ete_vVG_141344f6_0 successfully created
2019-10-14T06:21:07.831Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|o.onap.logging.filter.base.AbstractMetricLogFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-14T06:21:07.851Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.MsoVnfAdapterImpl - Heatbrige failed for stackId: Vfmodule_Ete_vVG_141344f6_0/ff1eaed0-7a9e-4897-a0a2-3875f7f2c29a
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-14T06:21:07.862Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/33eeb97d-1fcf-4eed-a227-7c5639ef0f0e-1571034050611
2019-10-14T06:21:07.862Z|33eeb97d-1fcf-4eed-a227-7c5639ef0f0e|org.onap.so.adapters.vnf.BpelRestClient - Content is: