2017-09-13 17:53:54.745 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:53:54.747 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:53:54.749 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:53:54.785 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.178 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.178/0.178/0.178/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:54:24.796 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:24.797 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:24.798 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:54:24.839 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.215 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.215/0.215/0.215/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:54:36.677 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 55068) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:54:36.681 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:54:36.971 25774 DEBUG tacker.api.v1.base [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Request body: {u'vnfd': {u'attributes': {u'vnfd': {u'tosca_definitions_version': u'tosca_simple_profile_for_nfv_1_0_0', u'description': u'Demo example', u'topology_template': {u'node_templates': {u'VDU1': {u'type': u'tosca.nodes.nfv.VDU.Tacker', u'properties': {u'name': u'ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx', u'availability_zone': u'nova', u'image': u'cirros-0.3.4-x86_64', u'mgmt_driver': u'noop', u'monitoring_policy': {u'actions': {u'failure': u'log'}, u'name': u'ping', u'parameters': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, u'timeout': 6}}, u'config': u'param0: key1\nparam1: key2\n'}, u'capabilities': {u'nfv_compute': {u'properties': {u'mem_size': u'512 MB', u'num_cpus': 1, u'disk_size': u'1 GB'}}}}, u'CP1': {u'requirements': [{u'virtualLink': {u'node': u'VL1'}}, {u'virtualBinding': {u'node': u'VDU1'}}], u'type': u'tosca.nodes.nfv.CP.Tacker', u'properties': {u'anti_spoofing_protection': False, u'management': True, u'order': 0}}, u'VL1': {u'type': u'tosca.nodes.nfv.VL', u'properties': {u'vendor': u'Tacker', u'network_name': u'mgmt'}}}}, u'metadata': {u'template_name': u'sample-tosca-vnfd'}}}, u'service_types': [{u'service_type': u'vnfd'}], u'infra_driver': u'heat', u'name': u'mntrngvnfd', u'mgmt_driver': u'noop'}} prepare_request_body /usr/local/lib/python2.7/dist-packages/tacker/api/v1/base.py:510 2017-09-13 17:54:37.370 25774 DEBUG tacker.vnfm.plugin [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd {u'service_types': [{u'service_type': u'vnfd'}], u'name': u'mntrngvnfd', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', u'mgmt_driver': u'noop', u'infra_driver': u'heat', u'attributes': {u'vnfd': "description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'description': ''} create_vnfd /usr/local/lib/python2.7/dist-packages/tacker/vnfm/plugin.py:153 2017-09-13 17:54:38.176 25774 INFO tacker.db.db_base [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] No result found for mntrngvnfd in table 2017-09-13 17:54:38.520 25774 DEBUG tacker.vnfm.plugin [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd_dict: {'tosca_definitions_version': 'tosca_simple_profile_for_nfv_1_0_0', 'description': 'Demo example', 'topology_template': {'node_templates': {'VDU1': {'type': 'tosca.nodes.nfv.VDU.Tacker', 'properties': {'name': 'ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx', 'availability_zone': 'nova', 'image': 'cirros-0.3.4-x86_64', 'mgmt_driver': 'noop', 'monitoring_policy': {'parameters': {'count': 3, 'monitoring_delay': 45, 'interval': 5, 'timeout': 6}, 'name': 'ping', 'actions': {'failure': 'log'}}, 'config': 'param0: key1\nparam1: key2\n'}, 'capabilities': {'nfv_compute': {'properties': {'mem_size': '512 MB', 'num_cpus': 1, 'disk_size': '1 GB'}}}}, 'CP1': {'type': 'tosca.nodes.nfv.CP.Tacker', 'requirements': [{'virtualLink': {'node': 'VL1'}}, {'virtualBinding': {'node': 'VDU1'}}], 'properties': {'anti_spoofing_protection': False, 'management': True, 'order': 0}}, 'VL1': {'type': 'tosca.nodes.nfv.VL', 'properties': {'vendor': 'Tacker', 'network_name': 'mgmt'}}}}, 'metadata': {'template_name': 'sample-tosca-vnfd'}} _parse_template_input /usr/local/lib/python2.7/dist-packages/tacker/vnfm/plugin.py:186 2017-09-13 17:54:38.534 25774 DEBUG tacker.common.log [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] __builtin__.dict method updateimports called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:38.883 25774 DEBUG tacker.vnfm.tosca.utils [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/lib/ updateimports /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/utils.py:99 2017-09-13 17:54:39.195 25774 INFO tosca.model [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] nfv 2017-09-13 17:54:39.220 25774 INFO tosca.model [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] nfv.py 2017-09-13 17:54:39.769 25774 INFO tosca.model [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] The pre-parsed input successfully passed validation. 2017-09-13 17:54:39.771 25774 DEBUG tacker.common.log [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] toscaparser.tosca_template.ToscaTemplate method get_mgmt_driver called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:39.774 25774 DEBUG tacker.vnfm.plugin [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd {u'vnfd': {u'service_types': [{u'service_type': u'vnfd'}], u'name': u'mntrngvnfd', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', u'mgmt_driver': 'noop', u'infra_driver': u'heat', u'attributes': {u'vnfd': "description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'description': 'Demo example'}} _parse_template_input /usr/local/lib/python2.7/dist-packages/tacker/vnfm/plugin.py:235 2017-09-13 17:54:39.776 25774 DEBUG tacker.db.vnfm.vnfm_db [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd {u'service_types': [{u'service_type': u'vnfd'}], u'name': u'mntrngvnfd', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', u'mgmt_driver': 'noop', u'infra_driver': u'heat', u'attributes': {u'vnfd': "description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'description': 'Demo example'} create_vnfd /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:226 2017-09-13 17:54:40.722 25774 DEBUG tacker.db.vnfm.vnfm_db [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd_db [] create_vnfd /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:264 2017-09-13 17:54:40.752 25774 DEBUG tacker.db.vnfm.vnfm_db [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd_dict {'service_types': [{'service_type': u'vnfd', 'id': '59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': 'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 39, 902498), 'updated_at': None, 'mgmt_driver': 'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': "description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': '6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'} create_vnfd /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:266 2017-09-13 17:54:40.754 25774 DEBUG tacker.common.log [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnfd', 'evt_type': 'CREATE', 'res_id': '6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'res_state': 'OnBoarded', 'tstamp': datetime.datetime(2017, 9, 13, 8, 54, 39, 902498)} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:40.820 25774 INFO tacker.wsgi [req-14ae8980-71a4-4fe2-a89c-c4d48cbd2dd7 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:54:40] "POST /v1.0/vnfds.json HTTP/1.1" 201 1677 4.139774 2017-09-13 17:54:54.847 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:54.849 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:54:54.933 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:54:55.072 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.225 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.225/0.225/0.225/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:55:25.080 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:55:25.083 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:55:25.084 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:55:25.185 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.190 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.190/0.190/0.190/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:55:55.193 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:55:55.195 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:55:55.196 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:55:55.764 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 55490) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:55:55.805 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:55:56.905 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.222 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.222/0.222/0.222/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:55:57.064 25774 DEBUG tacker.api.v1.base [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Request body: {u'vnf': {u'attributes': {}, u'vim_id': u'613ab165-a420-4362-813d-ec2936422942', u'name': u'mntrngvnf', u'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'}} prepare_request_body /usr/local/lib/python2.7/dist-packages/tacker/api/v1/base.py:510 2017-09-13 17:56:00.926 25774 INFO tacker.db.db_base [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] No result found for mntrngvnf in table 2017-09-13 17:56:01.062 25774 DEBUG tacker.vnfm.vim_client [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] VIM info found for vim id 613ab165-a420-4362-813d-ec2936422942 get_vim /usr/local/lib/python2.7/dist-packages/tacker/vnfm/vim_client.py:76 2017-09-13 17:56:01.063 25774 DEBUG tacker.vnfm.vim_client [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] VIM id is 613ab165-a420-4362-813d-ec2936422942 _build_vim_auth /usr/local/lib/python2.7/dist-packages/tacker/vnfm/vim_client.py:100 2017-09-13 17:56:01.104 25774 DEBUG tacker.vnfm.vim_client [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Attempting to open key file for vim id 613ab165-a420-4362-813d-ec2936422942 _find_vim_key /usr/local/lib/python2.7/dist-packages/tacker/vnfm/vim_client.py:124 2017-09-13 17:56:01.312 25774 DEBUG tacker.db.vnfm.vnfm_db [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf {'description': '', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', u'vim_id': u'613ab165-a420-4362-813d-ec2936422942', u'name': u'mntrngvnf', 'placement_attr': {'vim_name': u'nfv_poc'}, u'attributes': {}, u'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'} _create_vnf_pre /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:369 2017-09-13 17:56:02.181 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'details': 'VNF UUID assigned.', 'evt_type': 'CREATE', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'PENDING_CREATE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:02.289 25774 DEBUG tacker.db.vnfm.vnfm_db [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:56:02.296 25774 DEBUG tacker.db.vnfm.vnfm_db [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes [] _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:56:02.307 25774 DEBUG tacker.vnfm.plugin [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_dict {'status': 'PENDING_CREATE', 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'updated_at': None, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'instance_id': None, 'mgmt_url': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'error_reason': None, 'attributes': {}, 'name': u'mntrngvnf', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'} _create_vnf /usr/local/lib/python2.7/dist-packages/tacker/vnfm/plugin.py:344 2017-09-13 17:56:02.863 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] tacker.vnfm.infra_drivers.openstack.openstack.OpenStack method create called with arguments () {'vnf': {'status': 'PENDING_CREATE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': None, 'mgmt_url': None, 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'auth_attr': {u'username': u'tacker', 'password': '***', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'auth_url': u'http://192.168.104.12:5000/v3', u'project_id': u'', u'project_domain_name': u'Default'}, 'context': , 'plugin': } wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:02.939 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf {'status': 'PENDING_CREATE', 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'updated_at': None, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'instance_id': None, 'mgmt_url': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'error_reason': None, 'attributes': {}, 'name': u'mntrngvnf', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'} create /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:212 2017-09-13 17:56:02.941 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd_yaml description: Demo example metadata: {template_name: sample-tosca-vnfd} topology_template: node_templates: CP1: properties: {anti_spoofing_protection: false, management: true, order: 0} requirements: - virtualLink: {node: VL1} - virtualBinding: {node: VDU1} type: tosca.nodes.nfv.CP.Tacker VDU1: capabilities: nfv_compute: properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1} properties: availability_zone: nova config: 'param0: key1 param1: key2 ' image: cirros-0.3.4-x86_64 mgmt_driver: noop monitoring_policy: actions: {failure: log} name: ping parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6} name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx type: tosca.nodes.nfv.VDU.Tacker VL1: properties: {network_name: mgmt, vendor: Tacker} type: tosca.nodes.nfv.VL tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0 create /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:222 2017-09-13 17:56:02.998 25774 DEBUG keystoneclient.auth.identity.v3.base [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Making authentication request to http://192.168.104.12:5000/v3/auth/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py:189 2017-09-13 17:56:03.043 25774 DEBUG keystoneclient.auth.identity.v3.base [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "0eaa4925042e4c9aafab87bec4fdf93d", "name": "admin"}], "expires_at": "2017-09-13T09:56:03.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3f63cd58b8394fe5a08b4d2bd2e97a71", "name": "services"}, "catalog": [{"endpoints": [{"url": "http://192.168.105.12:8080", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3c4a22d0e43b465f9cfe18f518347e13"}, {"url": "http://192.168.104.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d691676f70244eda895b21db2446516f"}, {"url": "http://192.168.104.12:8080", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ff58c1e0929241f4b59ea26e7dc83ddc"}], "type": "s3", "id": "04bba378c8dc4320b84d8fb2a788f402", "name": "swift_s3"}, {"endpoints": [{"url": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8902428582ab4f988e0b6db414b239d4"}, {"url": "http://192.168.104.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "9513bcd0bbcd41fdbc6f3ffeb3673e0f"}, {"url": "http://192.168.104.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a2faf98ce513448e9009df1bcc6d8e28"}], "type": "orchestration", "id": "2913877bc8514bcd8646612704be79e2", "name": "heat"}, {"endpoints": [{"url": "http://192.168.104.12:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0fd7b23eb8214f7e902eedac8da9b8f2"}, {"url": "http://192.168.105.12:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7b145da132dd4cd3b52e48a96d7be153"}, {"url": "http://192.168.104.12:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d067fd71009e4a6d95be7e2eb1eea3dc"}], "type": "network", "id": "2cd328d6c48141a794887b7c98e4b05a", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.104.12:8000/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5230254006fc4ca39df623231a5ba268"}, {"url": "http://192.168.104.12:8000/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7f71bb616157453e9edc316e0905ec4a"}, {"url": "http://192.168.105.12:8000/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a5c48ce73bd142768b84c6d6437e0523"}], "type": "cloudformation", "id": "495b18e9d9cc44c1808c8b5c4724a175", "name": "heat-cfn"}, {"endpoints": [{"url": "http://192.168.104.6:9890", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4aadc5ba5a464859af8c5fb5c1636cbf"}, {"url": "http://192.168.104.6:9890", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "60ddf813a8df47c8aca560fc601f985e"}, {"url": "http://192.168.104.6:9890", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6c02044a003e4d1ea7c60dc637ca8603"}], "type": "nfv-orchestration", "id": "536b3779b7cf4e9c839d0a66e1fe1d98", "name": "tacker"}, {"endpoints": [{"url": "http://192.168.104.12:1789", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "66e092282d404f51b70cf5da7a877581"}, {"url": "http://192.168.104.12:1789", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "95384823c7004708a7a92e2cad6cd235"}, {"url": "http://192.168.105.12:1789", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a17ed46a56a94c41af2370e44f3f6278"}], "type": "policy", "id": "5f2358a2c5ea41f2bf0a1e0825bb541b", "name": "congress"}, {"endpoints": [{"url": "http://192.168.105.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "16adac095e6d4beaa724d4488154901a"}, {"url": "http://192.168.104.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a51054d9ef954bfb94d1a440bb8752d9"}, {"url": "http://192.168.104.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f51abda9cdf548b59031074886c1e11f"}], "type": "volume", "id": "67b5676d6dbd418a84634bfe137babda", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.105.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "09c3f0c423264b24980ec4f2a195c475"}, {"url": "http://192.168.104.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8532d6cb113a4ec1a33ad47f417f7f67"}, {"url": "http://192.168.104.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d40de6c0faf74849a766193cb414869e"}], "type": "compute_legacy", "id": "6998d5c74a4d4dc58e3328bf2f161204", "name": "compute_legacy"}, {"endpoints": [{"url": "http://192.168.104.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e4e9e01580d43e28907a8948f71cb22"}, {"url": "http://192.168.105.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "531d39eea5594323bf92383813b0c5b1"}, {"url": "http://192.168.104.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d4bf831e597d444eb09016d9670f5b66"}], "type": "object-store", "id": "706a29ea521f49c588dc5b6efd7bd1c6", "name": "swift"}, {"endpoints": [{"url": "http://192.168.105.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "14ac05ef2e17492db19bab40640ed75c"}, {"url": "http://192.168.104.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a2ba56597a2e4a2ea6d2b9b9445a1f19"}, {"url": "http://192.168.104.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c551659bb5a84b1189ddad5a86c8f079"}], "type": "volumev2", "id": "725e92685f3b427e91739c070659113d", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.105.12:9494", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a3b909c8821e4ecaa57f00c97f5616c7"}, {"url": "http://192.168.104.12:9494", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "dae58093a06e4a1e9020325ef82e7df6"}, {"url": "http://192.168.104.12:9494", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "fd65d510670b4f0685a46595c91c9a26"}], "type": "artifact", "id": "c3ed2f06d8ac4536be4251531143ae5c", "name": "glare"}, {"endpoints": [{"url": "http://192.168.105.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "770318926ccf4895ade8d849af851509"}, {"url": "http://192.168.104.12:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "eae2b29959624b039fc21bd1aa794306"}, {"url": "http://192.168.104.12:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ee9cac1ddc354cd28e8b608babfa80be"}], "type": "compute", "id": "c9f9ea25f9fa4c1dad8e0a8a47114884", "name": "nova"}, {"endpoints": [{"url": "http://192.168.104.12:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2f9b47dd01a248f3a1f2b267c92c0c5c"}, {"url": "http://192.168.104.12:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "5695c7089caf4d84a0c9efcdbfeb584b"}, {"url": "http://192.168.105.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9dd58103f8b3462fa636a48d6579f75e"}], "type": "image", "id": "daf89ec134054e46b5c71e2a77f9a06a", "name": "glance"}, {"endpoints": [{"url": "http://192.168.104.12:5000/v2.0", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a92db83d382d4bb4bbb8f1f2c9d2c20f"}, {"url": "http://192.168.105.12:5000/v2.0", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d4a661f171cd4ae8b422ed0ed59f58c2"}, {"url": "http://192.168.104.12:35357/v2.0", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e9b98cd649224a5288caa527edc24bac"}], "type": "identity", "id": "eb4e27e1d6f64e4696c56cddf0d58ed6", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.104.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3e109fd9c4d240a68628618642c56f9c"}, {"url": "http://192.168.104.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5bc2a39b6783459fbfa0deaf5dccf51a"}, {"url": "http://192.168.105.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "63990ccdeb844e30bb0ea2c84a693ce8"}], "type": "volumev3", "id": "eebf50c4aa5941e8a6578fd738a366c7", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.104.12:8042", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0f5c37f3ec6341aaafa8ecfe21bd5e3e"}, {"url": "http://192.168.105.12:8042", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3bc6970b09ff432c893c0df31c09a967"}, {"url": "http://192.168.104.12:8042", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "96e0c877edf94440ac17b65065dc97bb"}], "type": "alarming", "id": "fb38ffdf868140b783cfdf6671bd58e6", "name": "aodh"}, {"endpoints": [{"url": "http://192.168.104.6:8777", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a0dbf4367f8f4cf3857c3fb535750f2a"}, {"url": "http://192.168.104.6:8777", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f7f4ec212b3649e99d33815a7bfb65cd"}, {"url": "http://192.168.104.6:8777", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f9c0efda3c2649e09888c5b38a84b0a2"}], "type": "metering", "id": "fca7b390b7e84f81bc94d721578f4d21", "name": "ceilometer"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "b8291a57e89440d8bc4c52329b753b0c", "name": "tacker"}, "audit_ids": ["h502l745SgGyJjsAMvlRqw"], "issued_at": "2017-09-13T08:56:03.000000Z"}} get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py:194 2017-09-13 17:56:03.210 25774 DEBUG keystoneclient.session [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] REQ: curl -g -i -X GET http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/resource_types/OS%3A%3ANeutron%3A%3APort -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4a428bef3ec93477dbc5b631ba49fd92df8b0e3" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:216 2017-09-13 17:56:03.312 25774 DEBUG keystoneclient.session [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] RESP: [200] Content-Type: application/json Content-Length: 6448 X-Openstack-Request-Id: req-38dc7110-ef4e-4f3d-8052-a86b490458a5 Date: Wed, 13 Sep 2017 08:56:03 GMT Connection: close RESP BODY: {"support_status": {"status": "SUPPORTED", "message": null, "version": null, "previous_status": null}, "attributes": {"status": {"type": "string", "description": "The status of the port."}, "subnets": {"type": "list", "description": "A list of all subnet attributes for the port."}, "name": {"type": "string", "description": "Friendly name of the port."}, "allowed_address_pairs": {"type": "list", "description": "Additional MAC/IP address pairs allowed to pass through a port."}, "show": {"type": "map", "description": "Detailed information about resource."}, "network_id": {"type": "string", "description": "Unique identifier for the network owning the port."}, "tenant_id": {"type": "string", "description": "Tenant owning the port."}, "admin_state_up": {"type": "string", "description": "The administrative state of this port."}, "dns_assignment": {"type": "map", "description": "The DNS assigned to this port."}, "device_owner": {"type": "string", "description": "Name of the network owning the port."}, "qos_policy_id": {"type": "string", "description": "The QoS policy ID attached to this port."}, "mac_address": {"type": "string", "description": "MAC address of the port."}, "port_security_enabled": {"type": "boolean", "description": "Port security enabled of the port."}, "fixed_ips": {"type": "list", "description": "Fixed IP addresses."}, "security_groups": {"type": "list", "description": "A list of security groups for the port."}, "device_id": {"type": "string", "description": "Unique identifier for the device."}}, "properties": {"replacement_policy": {"description": "Policy on how to respond to a stack-update for this resource. REPLACE_ALWAYS will replace the port regardless of any property changes. AUTO will update the existing port for any changed update-allowed property.", "default": "AUTO", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"allowed_values": ["REPLACE_ALWAYS", "AUTO"]}]}, "name": {"update_allowed": true, "required": false, "type": "string", "description": "A symbolic name for this port.", "immutable": false}, "allowed_address_pairs": {"description": "Additional MAC/IP address pairs allowed to pass through the port.", "required": false, "update_allowed": true, "type": "list", "immutable": false, "schema": {"*": {"update_allowed": false, "required": false, "type": "map", "immutable": false, "schema": {"ip_address": {"description": "IP address to allow through this port.", "required": true, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "net_cidr"}]}, "mac_address": {"description": "MAC address to allow through this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "mac_addr"}]}}}}}, "admin_state_up": {"description": "The administrative state of this port.", "default": true, "required": false, "update_allowed": true, "type": "boolean", "immutable": false}, "dns_name": {"description": "DNS name associated with the port.", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "dns_name"}]}, "binding:vnic_type": {"description": "The vnic type to be bound on the neutron port. To support SR-IOV PCI passthrough networking, you can request that the neutron port to be realized as normal (virtual nic), direct (pci passthrough), or macvtap (virtual interface with a tap-like software interface). Note that this only works for Neutron deployments that support the bindings extension.", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"allowed_values": ["normal", "direct", "macvtap"]}]}, "network": {"description": "Network this port belongs to. If you plan to use current port to assign Floating IP, you should specify fixed_ips with subnet. Note if this changes to a different network update, the port will be replaced.", "required": true, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.network"}]}, "device_owner": {"update_allowed": true, "required": false, "type": "string", "description": "Name of the network owning the port. The value is typically network:floatingip or network:router_interface or network:dhcp.", "immutable": false}, "value_specs": {"description": "Extra parameters to include in the request.", "default": {}, "required": false, "update_allowed": true, "type": "map", "immutable": false}, "mac_address": {"description": "MAC address to give to this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "mac_addr"}]}, "port_security_enabled": {"update_allowed": true, "required": false, "type": "boolean", "description": "Flag to enable/disable port security on the port. When disable this feature(set it to False), there will be no packages filtering, like security-group and address-pairs.", "immutable": false}, "qos_policy": {"description": "The name or ID of QoS policy to attach to this port.", "required": false, "update_allowed": true, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.qos_policy"}]}, "fixed_ips": {"description": "Desired IPs for this port.", "required": false, "update_allowed": true, "type": "list", "immutable": false, "schema": {"*": {"update_allowed": false, "required": false, "type": "map", "immutable": false, "schema": {"subnet_id": {"update_allowed": false, "required": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.subnet"}]}, "subnet": {"description": "Subnet in which to allocate the IP address for this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "neutron.subnet"}]}, "ip_address": {"description": "IP address desired in the subnet for this port.", "required": false, "update_allowed": false, "type": "string", "immutable": false, "constraints": [{"custom_constraint": "ip_addr"}]}}}}}, "security_groups": {"update_allowed": true, "required": false, "type": "list", "description": "Security group IDs to associate with this port.", "immutable": false}, "device_id": {"update_allowed": true, "required": false, "type": "string", "description": "Device ID of this port.", "immutable": false}}, "resource_type": "OS::Neutron::Port"} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:03.520 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnfd_dict OrderedDict([('description', 'Demo example'), ('metadata', OrderedDict([('template_name', 'sample-tosca-vnfd')])), ('topology_template', OrderedDict([('node_templates', OrderedDict([('CP1', OrderedDict([('properties', OrderedDict([('anti_spoofing_protection', False), ('management', True), ('order', 0)])), ('requirements', [OrderedDict([('virtualLink', OrderedDict([('node', 'VL1')]))]), OrderedDict([('virtualBinding', OrderedDict([('node', 'VDU1')]))])]), ('type', 'tosca.nodes.nfv.CP.Tacker')])), ('VDU1', OrderedDict([('capabilities', OrderedDict([('nfv_compute', OrderedDict([('properties', OrderedDict([('disk_size', '1 GB'), ('mem_size', '512 MB'), ('num_cpus', 1)]))]))])), ('properties', OrderedDict([('availability_zone', 'nova'), ('config', 'param0: key1\nparam1: key2\n'), ('image', 'cirros-0.3.4-x86_64'), ('mgmt_driver', 'noop'), ('monitoring_policy', OrderedDict([('actions', OrderedDict([('failure', 'log')])), ('name', 'ping'), ('parameters', OrderedDict([('count', 3), ('interval', 5), ('monitoring_delay', 45), ('timeout', 6)]))])), ('name', 'ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx')])), ('type', 'tosca.nodes.nfv.VDU.Tacker')])), ('VL1', OrderedDict([('properties', OrderedDict([('network_name', 'mgmt'), ('vendor', 'Tacker')])), ('type', 'tosca.nodes.nfv.VL')]))]))])), ('tosca_definitions_version', 'tosca_simple_profile_for_nfv_1_0_0')]) generate_hot /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:549 2017-09-13 17:56:03.537 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] collections.OrderedDict method updateimports called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:03.539 25774 DEBUG tacker.vnfm.tosca.utils [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/lib/ updateimports /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/utils.py:99 2017-09-13 17:56:03.727 25774 INFO tosca.model [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] nfv 2017-09-13 17:56:03.794 25774 INFO tosca.model [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] nfv.py 2017-09-13 17:56:03.999 25774 INFO tosca.model [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] The pre-parsed input successfully passed validation. 2017-09-13 17:56:04.000 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] toscaparser.tosca_template.ToscaTemplate method get_vdu_monitoring called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:04.065 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] toscaparser.tosca_template.ToscaTemplate method get_mgmt_ports called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:04.067 25774 DEBUG tacker.vnfm.tosca.utils [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] mgmt_ports: {'mgmt_ip-VDU1': 'CP1'} get_mgmt_ports /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/utils.py:136 2017-09-13 17:56:04.560 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] toscaparser.tosca_template.ToscaTemplate method post_process_template called with arguments () {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:04.637 25774 INFO heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Initialized parmaters for translation. 2017-09-13 17:56:04.640 25774 INFO heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating TOSCA input type to HOT input type. 2017-09-13 17:56:04.686 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Mapping between TOSCA nodetemplate and HOT resource. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/translate_node_templates.py:146 2017-09-13 17:56:04.694 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating the node templates. _translate_nodetemplates /usr/local/lib/python2.7/dist-packages/translator/hot/translate_node_templates.py:169 2017-09-13 17:56:04.749 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2017-09-13 17:56:04.751 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2017-09-13 17:56:04.753 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating TOSCA node type to HOT resource type. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_resource.py:38 2017-09-13 17:56:04.776 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Translating TOSCA outputs to HOT outputs. __init__ /usr/local/lib/python2.7/dist-packages/translator/hot/translate_outputs.py:26 2017-09-13 17:56:04.777 25774 DEBUG heat-translator [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Converting translated output to yaml format. output_to_yaml /usr/local/lib/python2.7/dist-packages/translator/hot/syntax/hot_template.py:48 2017-09-13 17:56:05.064 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] __builtin__.str method post_process_heat_template called with arguments ({'mgmt_ip-VDU1': 'CP1'}, {'flavor': {'VDU1': {'disk': 1, 'vcpus': 1, 'ram': 512}}, 'image': {}}, {}) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:05.132 25774 DEBUG tacker.vnfm.tosca.utils [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] Added output for mgmt_ip-VDU1 post_process_heat_template /usr/local/lib/python2.7/dist-packages/tacker/vnfm/tosca/utils.py:202 2017-09-13 17:56:05.133 25774 DEBUG tacker.common.log [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] collections.OrderedDict method add_resources_tpl called with arguments ({'flavor': {'VDU1': {'disk': 1, 'vcpus': 1, 'ram': 512}}, 'image': {}},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:05.204 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] service_context: [] create_stack /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:615 2017-09-13 17:56:05.205 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] fields: {'stack_name': 'tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734', 'template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n"} create_stack /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:616 2017-09-13 17:56:05.205 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] template: heat_template_version: 2013-05-23 description: 'Demo example ' parameters: {} resources: CP1: type: OS::Neutron::Port properties: network: mgmt port_security_enabled: false VDU1: type: OS::Nova::Server properties: availability_zone: nova config_drive: false flavor: {get_resource: VDU1_flavor} image: cirros-0.3.4-x86_64 name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx networks: - port: get_resource: CP1 user_data_format: SOFTWARE_CONFIG VDU1_flavor: properties: {disk: 1, ram: 512, vcpus: 1} type: OS::Nova::Flavor outputs: mgmt_ip-VDU1: value: get_attr: [CP1, fixed_ips, 0, ip_address] create_stack /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:617 2017-09-13 17:56:05.214 25774 DEBUG keystoneclient.session [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] REQ: curl -g -i -X POST http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c4a428bef3ec93477dbc5b631ba49fd92df8b0e3" -d '{"stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734", "disable_rollback": true, "template": "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", "timeout_mins": 10}' _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:216 2017-09-13 17:56:06.014 25774 DEBUG keystoneclient.session [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] RESP: [201] Location: http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f Content-Type: application/json Content-Length: 296 X-Openstack-Request-Id: req-0cc73c72-d6a1-4771-befe-4bff623f2595 Date: Wed, 13 Sep 2017 08:56:05 GMT Connection: close RESP BODY: {"stack": {"id": "a9199802-d558-4390-b744-c6d54b535d8f", "links": [{"href": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f", "rel": "self"}]}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:06.016 25774 INFO tacker.wsgi [req-4724fb9c-855c-4ce1-af37-a3bdad573622 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:56:06] "POST /v1.0/vnfs.json HTTP/1.1" 201 1782 10.211749 2017-09-13 17:56:06.019 25774 DEBUG keystoneclient.auth.identity.v3.base [-] Making authentication request to http://192.168.104.12:5000/v3/auth/tokens get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py:189 2017-09-13 17:56:06.084 25774 DEBUG keystoneclient.auth.identity.v3.base [-] {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "0eaa4925042e4c9aafab87bec4fdf93d", "name": "admin"}], "expires_at": "2017-09-13T09:56:06.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "3f63cd58b8394fe5a08b4d2bd2e97a71", "name": "services"}, "catalog": [{"endpoints": [{"url": "http://192.168.105.12:8080", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3c4a22d0e43b465f9cfe18f518347e13"}, {"url": "http://192.168.104.12:8080", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "d691676f70244eda895b21db2446516f"}, {"url": "http://192.168.104.12:8080", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ff58c1e0929241f4b59ea26e7dc83ddc"}], "type": "s3", "id": "04bba378c8dc4320b84d8fb2a788f402", "name": "swift_s3"}, {"endpoints": [{"url": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "8902428582ab4f988e0b6db414b239d4"}, {"url": "http://192.168.104.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "9513bcd0bbcd41fdbc6f3ffeb3673e0f"}, {"url": "http://192.168.104.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a2faf98ce513448e9009df1bcc6d8e28"}], "type": "orchestration", "id": "2913877bc8514bcd8646612704be79e2", "name": "heat"}, {"endpoints": [{"url": "http://192.168.104.12:9696", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0fd7b23eb8214f7e902eedac8da9b8f2"}, {"url": "http://192.168.105.12:9696", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "7b145da132dd4cd3b52e48a96d7be153"}, {"url": "http://192.168.104.12:9696", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d067fd71009e4a6d95be7e2eb1eea3dc"}], "type": "network", "id": "2cd328d6c48141a794887b7c98e4b05a", "name": "neutron"}, {"endpoints": [{"url": "http://192.168.104.12:8000/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5230254006fc4ca39df623231a5ba268"}, {"url": "http://192.168.104.12:8000/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "7f71bb616157453e9edc316e0905ec4a"}, {"url": "http://192.168.105.12:8000/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a5c48ce73bd142768b84c6d6437e0523"}], "type": "cloudformation", "id": "495b18e9d9cc44c1808c8b5c4724a175", "name": "heat-cfn"}, {"endpoints": [{"url": "http://192.168.104.6:9890", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "4aadc5ba5a464859af8c5fb5c1636cbf"}, {"url": "http://192.168.104.6:9890", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "60ddf813a8df47c8aca560fc601f985e"}, {"url": "http://192.168.104.6:9890", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "6c02044a003e4d1ea7c60dc637ca8603"}], "type": "nfv-orchestration", "id": "536b3779b7cf4e9c839d0a66e1fe1d98", "name": "tacker"}, {"endpoints": [{"url": "http://192.168.104.12:1789", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "66e092282d404f51b70cf5da7a877581"}, {"url": "http://192.168.104.12:1789", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "95384823c7004708a7a92e2cad6cd235"}, {"url": "http://192.168.105.12:1789", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a17ed46a56a94c41af2370e44f3f6278"}], "type": "policy", "id": "5f2358a2c5ea41f2bf0a1e0825bb541b", "name": "congress"}, {"endpoints": [{"url": "http://192.168.105.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "16adac095e6d4beaa724d4488154901a"}, {"url": "http://192.168.104.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a51054d9ef954bfb94d1a440bb8752d9"}, {"url": "http://192.168.104.12:8776/v1/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f51abda9cdf548b59031074886c1e11f"}], "type": "volume", "id": "67b5676d6dbd418a84634bfe137babda", "name": "cinder"}, {"endpoints": [{"url": "http://192.168.105.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "09c3f0c423264b24980ec4f2a195c475"}, {"url": "http://192.168.104.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "8532d6cb113a4ec1a33ad47f417f7f67"}, {"url": "http://192.168.104.12:8774/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d40de6c0faf74849a766193cb414869e"}], "type": "compute_legacy", "id": "6998d5c74a4d4dc58e3328bf2f161204", "name": "compute_legacy"}, {"endpoints": [{"url": "http://192.168.104.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "2e4e9e01580d43e28907a8948f71cb22"}, {"url": "http://192.168.105.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "531d39eea5594323bf92383813b0c5b1"}, {"url": "http://192.168.104.12:8080/v1/AUTH_3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "d4bf831e597d444eb09016d9670f5b66"}], "type": "object-store", "id": "706a29ea521f49c588dc5b6efd7bd1c6", "name": "swift"}, {"endpoints": [{"url": "http://192.168.105.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "14ac05ef2e17492db19bab40640ed75c"}, {"url": "http://192.168.104.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a2ba56597a2e4a2ea6d2b9b9445a1f19"}, {"url": "http://192.168.104.12:8776/v2/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "c551659bb5a84b1189ddad5a86c8f079"}], "type": "volumev2", "id": "725e92685f3b427e91739c070659113d", "name": "cinderv2"}, {"endpoints": [{"url": "http://192.168.105.12:9494", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a3b909c8821e4ecaa57f00c97f5616c7"}, {"url": "http://192.168.104.12:9494", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "dae58093a06e4a1e9020325ef82e7df6"}, {"url": "http://192.168.104.12:9494", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "fd65d510670b4f0685a46595c91c9a26"}], "type": "artifact", "id": "c3ed2f06d8ac4536be4251531143ae5c", "name": "glare"}, {"endpoints": [{"url": "http://192.168.105.12:8774/v2.1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "770318926ccf4895ade8d849af851509"}, {"url": "http://192.168.104.12:8774/v2.1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "eae2b29959624b039fc21bd1aa794306"}, {"url": "http://192.168.104.12:8774/v2.1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "ee9cac1ddc354cd28e8b608babfa80be"}], "type": "compute", "id": "c9f9ea25f9fa4c1dad8e0a8a47114884", "name": "nova"}, {"endpoints": [{"url": "http://192.168.104.12:9292", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "2f9b47dd01a248f3a1f2b267c92c0c5c"}, {"url": "http://192.168.104.12:9292", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "5695c7089caf4d84a0c9efcdbfeb584b"}, {"url": "http://192.168.105.12:9292", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "9dd58103f8b3462fa636a48d6579f75e"}], "type": "image", "id": "daf89ec134054e46b5c71e2a77f9a06a", "name": "glance"}, {"endpoints": [{"url": "http://192.168.104.12:5000/v2.0", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "a92db83d382d4bb4bbb8f1f2c9d2c20f"}, {"url": "http://192.168.105.12:5000/v2.0", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "d4a661f171cd4ae8b422ed0ed59f58c2"}, {"url": "http://192.168.104.12:35357/v2.0", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "e9b98cd649224a5288caa527edc24bac"}], "type": "identity", "id": "eb4e27e1d6f64e4696c56cddf0d58ed6", "name": "keystone"}, {"endpoints": [{"url": "http://192.168.104.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "3e109fd9c4d240a68628618642c56f9c"}, {"url": "http://192.168.104.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "5bc2a39b6783459fbfa0deaf5dccf51a"}, {"url": "http://192.168.105.12:8776/v3/3f63cd58b8394fe5a08b4d2bd2e97a71", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "63990ccdeb844e30bb0ea2c84a693ce8"}], "type": "volumev3", "id": "eebf50c4aa5941e8a6578fd738a366c7", "name": "cinderv3"}, {"endpoints": [{"url": "http://192.168.104.12:8042", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "0f5c37f3ec6341aaafa8ecfe21bd5e3e"}, {"url": "http://192.168.105.12:8042", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "3bc6970b09ff432c893c0df31c09a967"}, {"url": "http://192.168.104.12:8042", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "96e0c877edf94440ac17b65065dc97bb"}], "type": "alarming", "id": "fb38ffdf868140b783cfdf6671bd58e6", "name": "aodh"}, {"endpoints": [{"url": "http://192.168.104.6:8777", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "a0dbf4367f8f4cf3857c3fb535750f2a"}, {"url": "http://192.168.104.6:8777", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "f7f4ec212b3649e99d33815a7bfb65cd"}, {"url": "http://192.168.104.6:8777", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "f9c0efda3c2649e09888c5b38a84b0a2"}], "type": "metering", "id": "fca7b390b7e84f81bc94d721578f4d21", "name": "ceilometer"}], "user": {"domain": {"id": "default", "name": "Default"}, "id": "b8291a57e89440d8bc4c52329b753b0c", "name": "tacker"}, "audit_ids": ["ZMovGpTvQ7uWzPG0AmZqLg"], "issued_at": "2017-09-13T08:56:06.000000Z"}} get_auth_ref /usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v3/base.py:194 2017-09-13 17:56:06.087 25774 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/a9199802-d558-4390-b744-c6d54b535d8f -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c1fd326f5e539f6463cd9ef0d30d9569c98fc64b" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:216 2017-09-13 17:56:06.187 25774 DEBUG keystoneclient.session [-] RESP: [302] Location: http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f Content-Length: 541 Content-Type: application/json X-Openstack-Request-Id: req-727618fd-0724-44b7-937c-450adff10484 Date: Wed, 13 Sep 2017 08:56:06 GMT Connection: close RESP BODY: {"message": "The resource was found at http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f;\nyou should be redirected automatically.\n\n", "code": "302 Found", "title": "Found"} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:06.283 25774 DEBUG keystoneclient.session [-] RESP: [200] Content-Type: application/json Content-Length: 1203 X-Openstack-Request-Id: req-3ef15d2d-f22f-4539-a9bf-68a6243d6233 Date: Wed, 13 Sep 2017 08:56:06 GMT Connection: close RESP BODY: {"stack": {"parent": null, "disable_rollback": true, "description": "Demo example\n", "parameters": {"OS::project_id": "3f63cd58b8394fe5a08b4d2bd2e97a71", "OS::stack_id": "a9199802-d558-4390-b744-c6d54b535d8f", "OS::stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734"}, "deletion_time": null, "stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734", "stack_user_project_id": "d4cbdc91711a472e97a5e374037fb0e3", "stack_status_reason": "Stack CREATE started", "creation_time": "2017-09-13T08:56:06Z", "links": [{"href": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f", "rel": "self"}], "capabilities": [], "notification_topics": [], "tags": null, "timeout_mins": 10, "stack_status": "CREATE_IN_PROGRESS", "stack_owner": null, "updated_time": null, "id": "a9199802-d558-4390-b744-c6d54b535d8f", "outputs": [{"output_value": null, "output_key": "mgmt_ip-VDU1", "description": "No description given"}], "template_description": "Demo example\n"}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:11.344 25774 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/a9199802-d558-4390-b744-c6d54b535d8f -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c1fd326f5e539f6463cd9ef0d30d9569c98fc64b" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:216 2017-09-13 17:56:11.401 25774 DEBUG keystoneclient.session [-] RESP: [302] Location: http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f Content-Length: 541 Content-Type: application/json X-Openstack-Request-Id: req-b73024fc-2cd4-4e27-a18c-3cffbb2961c0 Date: Wed, 13 Sep 2017 08:56:11 GMT Connection: close RESP BODY: {"message": "The resource was found at http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f;\nyou should be redirected automatically.\n\n", "code": "302 Found", "title": "Found"} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:11.524 25774 DEBUG keystoneclient.session [-] RESP: [200] Content-Type: application/json Content-Length: 1215 X-Openstack-Request-Id: req-c6812886-0c50-436c-84d1-82f023675d32 Date: Wed, 13 Sep 2017 08:56:11 GMT Connection: close RESP BODY: {"stack": {"parent": null, "disable_rollback": true, "description": "Demo example\n", "parameters": {"OS::project_id": "3f63cd58b8394fe5a08b4d2bd2e97a71", "OS::stack_id": "a9199802-d558-4390-b744-c6d54b535d8f", "OS::stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734"}, "deletion_time": null, "stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734", "stack_user_project_id": "d4cbdc91711a472e97a5e374037fb0e3", "stack_status_reason": "Stack CREATE started", "creation_time": "2017-09-13T08:56:06Z", "links": [{"href": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f", "rel": "self"}], "capabilities": [], "notification_topics": [], "tags": null, "timeout_mins": 10, "stack_status": "CREATE_IN_PROGRESS", "stack_owner": null, "updated_time": null, "id": "a9199802-d558-4390-b744-c6d54b535d8f", "outputs": [{"output_value": "192.168.104.24", "output_key": "mgmt_ip-VDU1", "description": "No description given"}], "template_description": "Demo example\n"}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:11.525 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] status: CREATE_IN_PROGRESS create_wait /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:645 2017-09-13 17:56:12.815 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 55622) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:56:12.840 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:56:12.918 25774 DEBUG tacker.db.vnfm.vnfm_db [req-f49c4560-019e-43a5-96d8-1bfd4b9d4850 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:56:12.925 25774 DEBUG tacker.db.vnfm.vnfm_db [req-f49c4560-019e-43a5-96d8-1bfd4b9d4850 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:56:12.941 25774 DEBUG tacker.db.vnfm.vnfm_db [req-f49c4560-019e-43a5-96d8-1bfd4b9d4850 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:56:12.947 25774 DEBUG tacker.db.vnfm.vnfm_db [req-f49c4560-019e-43a5-96d8-1bfd4b9d4850 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes [] _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:56:12.960 25774 INFO tacker.wsgi [req-f49c4560-019e-43a5-96d8-1bfd4b9d4850 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:56:12] "GET /v1.0/vnfs.json HTTP/1.1" 200 3571 0.120450 2017-09-13 17:56:16.529 25774 DEBUG keystoneclient.session [-] REQ: curl -g -i -X GET http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/a9199802-d558-4390-b744-c6d54b535d8f -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}c1fd326f5e539f6463cd9ef0d30d9569c98fc64b" _http_log_request /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:216 2017-09-13 17:56:16.583 25774 DEBUG keystoneclient.session [-] RESP: [302] Location: http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f Content-Length: 541 Content-Type: application/json X-Openstack-Request-Id: req-87b068a2-e7a1-4c22-a498-a9b57bf4aad4 Date: Wed, 13 Sep 2017 08:56:16 GMT Connection: close RESP BODY: {"message": "The resource was found at http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f;\nyou should be redirected automatically.\n\n", "code": "302 Found", "title": "Found"} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:16.719 25774 DEBUG keystoneclient.session [-] RESP: [200] Content-Type: application/json Content-Length: 1227 X-Openstack-Request-Id: req-e58b1489-93cf-4873-a976-3e8b8fcf446e Date: Wed, 13 Sep 2017 08:56:16 GMT Connection: close RESP BODY: {"stack": {"parent": null, "disable_rollback": true, "description": "Demo example\n", "parameters": {"OS::project_id": "3f63cd58b8394fe5a08b4d2bd2e97a71", "OS::stack_id": "a9199802-d558-4390-b744-c6d54b535d8f", "OS::stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734"}, "deletion_time": null, "stack_name": "tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734", "stack_user_project_id": "d4cbdc91711a472e97a5e374037fb0e3", "stack_status_reason": "Stack CREATE completed successfully", "creation_time": "2017-09-13T08:56:06Z", "links": [{"href": "http://192.168.105.12:8004/v1/3f63cd58b8394fe5a08b4d2bd2e97a71/stacks/tacker.vnfm.infra_drivers.openstack.openstack_OpenStack-ae6fceb6-4564-4442-ab16-25833c01a734/a9199802-d558-4390-b744-c6d54b535d8f", "rel": "self"}], "capabilities": [], "notification_topics": [], "tags": null, "timeout_mins": 10, "stack_status": "CREATE_COMPLETE", "stack_owner": null, "updated_time": null, "id": "a9199802-d558-4390-b744-c6d54b535d8f", "outputs": [{"output_value": "192.168.104.24", "output_key": "mgmt_ip-VDU1", "description": "No description given"}], "template_description": "Demo example\n"}} _http_log_response /usr/local/lib/python2.7/dist-packages/keystoneclient/session.py:256 2017-09-13 17:56:16.720 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] status: CREATE_COMPLETE create_wait /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:645 2017-09-13 17:56:16.737 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] stack status: CREATE_COMPLETE create_wait /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:649 2017-09-13 17:56:16.738 25774 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [-] outputs [{u'output_value': u'192.168.104.24', u'output_key': u'mgmt_ip-VDU1', u'description': u'No description given'}] _find_mgmt_ips /usr/local/lib/python2.7/dist-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:668 2017-09-13 17:56:16.750 25774 DEBUG tacker.db.vnfm.vnfm_db [-] vnf_dict {'status': 'PENDING_CREATE', 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'updated_at': None, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'placement_attr': {'vim_name': u'nfv_poc'}, 'error_reason': None, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'name': u'mntrngvnf', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'} _create_vnf_post /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:410 2017-09-13 17:56:17.840 25774 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 56, 17, 840332), 'details': u'Infra Instance ID created: a9199802-d558-4390-b744-c6d54b535d8f and Mgmt URL set: {"VDU1": "192.168.104.24"}', 'evt_type': 'CREATE', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'PENDING_CREATE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:17.940 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 55658) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:56:17.961 25774 DEBUG tacker.vnfm.mgmt_drivers.noop [-] mgmt_call {'status': 'PENDING_CREATE', 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'updated_at': None, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'placement_attr': {'vim_name': u'nfv_poc'}, 'error_reason': None, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'name': u'mntrngvnf', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'} {'action': 'create_vnf', 'kwargs': {'vnf': {'status': 'PENDING_CREATE', 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'updated_at': None, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'placement_attr': {'vim_name': u'nfv_poc'}, 'error_reason': None, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'name': u'mntrngvnf', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e'}}} mgmt_call /usr/local/lib/python2.7/dist-packages/tacker/vnfm/mgmt_drivers/noop.py:41 2017-09-13 17:56:17.968 25774 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 56, 17, 968421), 'details': 'VNF status updated', 'evt_type': 'CREATE', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:18.166 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:56:18.176 25774 DEBUG tacker.vnfm.plugin [-] hosting_vnf: {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'monitoring_policy': {u'vdus': {u'VDU1': {u'ping': {u'parameters': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, u'timeout': 6}, u'name': u'ping', u'actions': {u'failure': u'log'}, u'monitoring_params': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, u'timeout': 6}}}}}, 'action_cb': , 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'management_ip_addresses': {u'VDU1': u'192.168.104.24'}} add_vnf_to_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/plugin.py:249 2017-09-13 17:56:18.178 25774 DEBUG tacker.vnfm.monitor [-] Adding host ae6fceb6-4564-4442-ab16-25833c01a734, Mgmt IP {u'VDU1': u'192.168.104.24'} add_hosting_vnf /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:123 2017-09-13 17:56:18.179 25774 DEBUG tacker.common.log [req-4021cfc0-b18c-4789-ad81-be32f2322d80 - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 56, 18, 178961), 'details': 'VNF added for monitoring. mon_policy_dict = {"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}},', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:18.351 25774 DEBUG tacker.db.vnfm.vnfm_db [req-6fc62e35-d167-41b3-8dbf-a64d56c4f6b2 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:56:18.358 25774 DEBUG tacker.db.vnfm.vnfm_db [req-6fc62e35-d167-41b3-8dbf-a64d56c4f6b2 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:56:18.373 25774 DEBUG tacker.db.vnfm.vnfm_db [req-6fc62e35-d167-41b3-8dbf-a64d56c4f6b2 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:56:18.379 25774 DEBUG tacker.db.vnfm.vnfm_db [req-6fc62e35-d167-41b3-8dbf-a64d56c4f6b2 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:56:18.394 25774 INFO tacker.wsgi [req-6fc62e35-d167-41b3-8dbf-a64d56c4f6b2 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:56:18] "GET /v1.0/vnfs.json HTTP/1.1" 200 4697 0.227877 2017-09-13 17:56:26.913 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:26.915 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:26.916 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:56:26.958 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.188 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.188/0.188/0.188/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:56:56.961 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:56.963 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:56:56.964 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:56:56.980 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.173 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.173/0.173/0.173/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:57:10.984 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:10.986 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:57:21.002 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 0 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n64 bytes from 192.168.104.24: icmp_seq=1 ttl=64 time=0.370 ms\n64 bytes from 192.168.104.24: icmp_seq=2 ttl=64 time=0.211 ms\n64 bytes from 192.168.104.24: icmp_seq=3 ttl=64 time=0.343 ms\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 9999ms\nrtt min/avg/max/mdev = 0.211/0.308/0.370/0.069 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:57:21.004 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return True run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:57:26.988 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:26.989 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:26.990 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:57:27.007 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.236 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.236/0.236/0.236/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:57:31.010 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:31.012 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:57:41.029 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 0 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n64 bytes from 192.168.104.24: icmp_seq=1 ttl=64 time=0.370 ms\n64 bytes from 192.168.104.24: icmp_seq=2 ttl=64 time=0.401 ms\n64 bytes from 192.168.104.24: icmp_seq=3 ttl=64 time=0.387 ms\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 3 received, 0% packet loss, time 10000ms\nrtt min/avg/max/mdev = 0.370/0.386/0.401/0.012 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:57:41.031 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return True run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:57:51.043 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:51.044 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:57:57.011 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:57.013 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:57:57.014 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:57:57.029 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.234 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.234/0.234/0.234/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:58:05.731 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 56152) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:58:05.745 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:58:06.038 25774 DEBUG tacker.db.vnfm.vnfm_db [req-23bde23a-43bd-4dff-bd84-8cf865871633 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:58:06.072 25774 DEBUG tacker.db.vnfm.vnfm_db [req-23bde23a-43bd-4dff-bd84-8cf865871633 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:58:06.081 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 0 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n64 bytes from 192.168.104.24: icmp_seq=1 ttl=64 time=0.384 ms\n64 bytes from 192.168.104.24: icmp_seq=2 ttl=64 time=0.391 ms\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 2 received, 33% packet loss, time 10002ms\nrtt min/avg/max/mdev = 0.384/0.387/0.391/0.020 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:58:06.085 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return True run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:58:06.091 25774 DEBUG tacker.db.vnfm.vnfm_db [req-23bde23a-43bd-4dff-bd84-8cf865871633 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:58:06.096 25774 DEBUG tacker.db.vnfm.vnfm_db [req-23bde23a-43bd-4dff-bd84-8cf865871633 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:58:06.110 25774 INFO tacker.wsgi [req-23bde23a-43bd-4dff-bd84-8cf865871633 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:58:06] "GET /v1.0/vnfs.json HTTP/1.1" 200 4697 0.365787 2017-09-13 17:58:16.120 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:16.121 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:58:27.042 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:27.044 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:27.045 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:58:27.059 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.203 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.203/0.203/0.203/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:58:32.155 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 10017ms\n\n' Stderr: '' 2017-09-13 17:58:32.157 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 17:58:32.158 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:58:32.159 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 17:58:32.160 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 58, 32, 160482), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:39.390 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 56320) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 17:58:39.406 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 17:58:39.459 25774 DEBUG tacker.db.vnfm.vnfm_db [req-00f42085-5287-447c-9004-0121fa77f4ad 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:58:39.472 25774 DEBUG tacker.db.vnfm.vnfm_db [req-00f42085-5287-447c-9004-0121fa77f4ad 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:58:39.487 25774 DEBUG tacker.db.vnfm.vnfm_db [req-00f42085-5287-447c-9004-0121fa77f4ad 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 17:58:39.492 25774 DEBUG tacker.db.vnfm.vnfm_db [req-00f42085-5287-447c-9004-0121fa77f4ad 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 17:58:39.505 25774 INFO tacker.wsgi [req-00f42085-5287-447c-9004-0121fa77f4ad 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 17:58:39] "GET /v1.0/vnfs.json HTTP/1.1" 200 4697 0.098897 2017-09-13 17:58:42.346 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:42.347 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:58:57.073 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:57.075 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:58:57.076 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:58:57.091 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.282 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.282/0.282/0.282/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:58:58.379 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 10015ms\n\n' Stderr: '' 2017-09-13 17:58:58.380 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 17:58:58.381 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:58:58.382 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 17:58:58.384 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 58, 58, 384232), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:08.472 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:08.473 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:59:24.503 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 10014ms\n\n' Stderr: '' 2017-09-13 17:59:24.505 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 17:59:24.506 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:59:24.508 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 17:59:24.509 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 59, 24, 509540), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:27.094 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:27.095 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:27.096 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:59:27.112 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.201 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.201/0.201/0.201/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 17:59:34.724 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:34.726 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:59:50.741 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 9999ms\n\n' Stderr: '' 2017-09-13 17:59:50.742 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 17:59:50.744 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 17:59:50.745 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 17:59:50.747 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 8, 59, 50, 746673), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:57.119 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:57.121 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 17:59:57.122 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 17:59:57.137 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.176 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.176/0.176/0.176/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:00:00.796 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:00.797 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:00:16.813 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 9999ms\n\n' Stderr: '' 2017-09-13 18:00:16.815 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:00:16.816 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:00:16.817 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:00:16.819 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 0, 16, 818868), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:26.998 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:26.999 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:00:27.140 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:27.142 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:27.143 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:00:27.157 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.167 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.167/0.167/0.167/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:00:43.107 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, 100% packet loss, time 10010ms\n\n' Stderr: '' 2017-09-13 18:00:43.108 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:00:43.109 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:00:43.111 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:00:43.112 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 0, 43, 112250), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:53.378 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:53.380 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:00:57.163 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:57.165 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:00:57.166 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:00:57.180 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.207 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.207/0.207/0.207/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:01:09.397 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +1 errors, 100% packet loss, time 9999ms\n\n' Stderr: '' 2017-09-13 18:01:09.398 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:01:09.399 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:01:09.400 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:01:09.402 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 1, 9, 401766), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:19.714 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:19.716 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:01:27.186 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:27.188 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:27.190 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:01:27.205 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.217 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.217/0.217/0.217/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:01:32.733 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:01:32.734 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:01:32.735 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:01:32.736 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:01:32.738 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 1, 32, 737944), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:42.818 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:42.820 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:01:55.873 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:01:55.875 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:01:55.876 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:01:55.877 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:01:55.879 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 1, 55, 878620), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:57.208 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:57.210 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:01:57.211 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:01:57.226 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.221 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.221/0.221/0.221/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:02:06.129 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:06.130 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:02:19.141 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:02:19.143 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:02:19.144 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:02:19.145 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:02:19.147 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 2, 19, 146990), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:27.234 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:27.235 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:27.236 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:02:27.251 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.184 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.184/0.184/0.184/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:02:29.210 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:29.212 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:02:42.229 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:02:42.230 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:02:42.231 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:02:42.232 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:02:42.234 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 2, 42, 233853), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:54.739 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:54.741 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:02:57.256 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:57.257 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:02:57.258 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:02:57.270 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.204 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.204/0.204/0.204/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:03:07.760 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:03:07.762 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:03:07.763 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:03:07.764 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:03:07.766 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 3, 7, 765924), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:18.058 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:18.060 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:03:27.273 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:27.275 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:27.276 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:03:27.322 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.194 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:03:31.077 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:03:31.078 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:03:31.080 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:03:31.081 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:03:31.082 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 3, 31, 82523), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:41.184 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:41.186 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:03:54.200 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:03:54.201 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:03:54.202 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:03:54.203 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:03:54.203 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 3, 54, 203705), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:57.325 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:57.326 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:03:57.328 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:03:57.435 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.218 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.218/0.218/0.218/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:04:04.382 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:04.384 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:04:17.452 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:04:17.453 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:04:17.454 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:04:17.455 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:04:17.456 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 4, 17, 455885), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:27.444 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:27.445 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:27.446 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:04:27.990 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.150 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.150/0.150/0.150/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:04:28.297 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:28.299 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:04:41.313 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:04:41.403 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:04:41.404 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:04:41.405 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:04:41.407 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 4, 41, 407011), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:51.491 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:51.492 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:04:57.994 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:57.995 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:04:57.996 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:04:58.012 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.213 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.213/0.213/0.213/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:05:04.509 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:05:04.510 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:05:04.511 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:05:04.513 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:05:04.514 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 5, 4, 514341), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:15.147 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:15.149 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:05:28.016 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:28.018 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:28.019 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:05:28.187 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.155 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.155/0.155/0.155/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:05:28.200 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:05:28.201 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:05:28.202 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:05:28.203 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:05:28.204 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 5, 28, 204002), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:39.022 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:39.023 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:05:52.237 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:05:52.238 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:05:52.239 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:05:52.240 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:05:52.242 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 5, 52, 241670), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:58.194 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:58.195 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:05:58.196 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:05:58.297 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.505 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.505/0.505/0.505/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:06:03.275 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:03.276 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:06:16.820 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:06:16.821 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:06:16.822 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:06:16.823 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:06:16.837 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 6, 16, 836943), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:28.308 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:28.764 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:28.765 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:06:29.296 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.477 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.477/0.477/0.477/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:06:29.750 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:29.752 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:06:42.769 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:06:42.771 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:06:42.772 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:06:42.773 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:06:42.775 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 6, 42, 774844), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:53.228 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:53.229 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:06:59.299 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:59.301 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:06:59.302 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:06:59.318 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.247 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.247/0.247/0.247/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:07:06.301 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:07:06.456 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:07:06.457 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:07:06.458 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:07:06.460 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 7, 6, 459981), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:16.792 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:16.794 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:07:29.324 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:29.325 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:29.327 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:07:29.686 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.182 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.182/0.182/0.182/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:07:30.293 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:07:30.294 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:07:30.295 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:07:30.297 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:07:30.298 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 7, 30, 298335), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:40.644 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:40.645 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:07:53.657 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:07:53.658 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:07:53.660 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:07:53.661 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:07:53.662 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 7, 53, 662320), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:59.694 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:59.695 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:07:59.696 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:07:59.711 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.209 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.209/0.209/0.209/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:08:04.311 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:04.313 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:08:17.329 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:08:17.331 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:08:17.332 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:08:17.333 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:08:17.334 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 8, 17, 334321), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:27.669 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:27.670 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:08:29.715 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:29.717 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:29.718 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:08:29.733 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.164 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.164/0.164/0.164/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:08:40.800 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:08:40.802 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:08:40.803 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:08:40.804 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:08:40.806 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 8, 40, 805812), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:52.287 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:52.326 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:08:59.770 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:59.772 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:08:59.774 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:08:59.808 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.165 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.165/0.165/0.165/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:09:05.888 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:09:06.070 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:09:06.072 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:09:06.073 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:09:06.116 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 9, 6, 115890), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:17.115 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:17.117 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:09:30.089 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:30.179 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:30.181 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:09:30.396 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.226 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.226/0.226/0.226/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:09:30.617 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:09:30.619 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:09:30.620 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:09:30.621 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:09:30.636 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 9, 30, 635517), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:41.778 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:09:41.779 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:09:54.969 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10004ms\n\n' Stderr: '' 2017-09-13 18:09:54.970 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:09:54.971 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:09:54.972 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:09:54.996 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 9, 54, 996342), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:00.547 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:01.256 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:01.257 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:10:03.957 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.493 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.493/0.493/0.493/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:10:06.578 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:06.579 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:10:19.597 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:10:19.599 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:10:19.600 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:10:19.601 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:10:19.603 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 10, 19, 602701), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:31.400 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:31.401 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:10:33.959 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:33.961 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:33.961 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:10:33.974 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.200 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.200/0.200/0.200/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:10:44.601 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:10:44.602 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:10:44.603 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:10:44.605 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:10:44.606 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 10, 44, 606194), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:54.815 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:10:54.816 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:11:03.977 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:03.979 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:03.980 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:11:03.994 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.179 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.179/0.179/0.179/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:11:07.832 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:11:07.834 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:11:07.835 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:11:07.836 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:11:07.838 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 11, 7, 838026), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:17.947 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:17.949 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:11:30.965 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:11:30.967 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:11:30.968 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:11:30.969 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:11:30.971 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 11, 30, 970625), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:33.996 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:33.998 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:33.999 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:11:34.014 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.169 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.169/0.169/0.169/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:11:41.113 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:11:41.115 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:11:54.133 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:11:54.135 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:11:54.136 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:11:54.137 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:11:54.139 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 11, 54, 139218), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:04.025 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:04.027 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:04.028 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:12:04.210 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.217 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.217/0.217/0.217/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:12:04.295 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:04.297 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:12:17.313 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:12:17.315 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:12:17.316 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:12:17.317 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:12:17.319 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 12, 17, 318939), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:27.409 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:27.411 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:12:34.217 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:34.219 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:34.220 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:12:34.234 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.269 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.269/0.269/0.269/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:12:40.629 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:12:40.630 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:12:40.632 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:12:40.633 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:12:40.634 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 12, 40, 634457), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:50.956 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:12:50.957 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:13:03.973 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:13:03.975 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:13:03.976 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:13:03.977 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:13:03.979 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 13, 3, 979337), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:04.237 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:04.238 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:04.239 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:13:04.253 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.228 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.228/0.228/0.228/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:13:14.053 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:14.054 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:13:27.065 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:13:27.067 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:13:27.068 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:13:27.069 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:13:27.071 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 13, 27, 70703), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:34.261 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:34.262 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:34.264 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:13:34.278 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.196 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.196/0.196/0.196/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:13:37.218 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:13:37.219 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:13:50.233 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:13:50.235 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:13:50.236 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:13:50.238 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:13:50.239 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 13, 50, 239157), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:00.336 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:00.337 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:14:04.281 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:04.283 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:04.284 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:14:04.298 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.228 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.228/0.228/0.228/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:14:13.353 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:14:13.354 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:14:13.355 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:14:13.357 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:14:13.358 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 14, 13, 358252), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:23.706 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:23.708 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:14:34.303 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:34.305 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:34.306 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:14:34.326 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.211 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.211/0.211/0.211/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:14:36.725 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:14:36.726 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:14:36.728 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:14:36.729 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:14:36.730 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 14, 36, 730413), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:47.043 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:14:47.045 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:15:00.061 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:15:00.062 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:15:00.063 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:15:00.064 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:15:00.065 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 15, 0, 64990), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:04.330 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:04.331 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:04.332 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:15:04.343 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.214 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.214/0.214/0.214/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:15:10.335 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:10.337 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:15:23.353 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:15:23.355 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:15:23.356 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:15:23.357 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:15:23.359 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 15, 23, 359123), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:33.752 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:33.754 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:15:34.347 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:34.348 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:34.350 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:15:34.365 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.191 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.191/0.191/0.191/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:15:46.957 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:15:46.958 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:15:46.959 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:15:46.960 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:15:46.962 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 15, 46, 961996), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:57.637 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:15:57.638 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:16:04.369 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:04.370 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:04.371 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:16:04.385 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.174 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.174/0.174/0.174/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:16:10.657 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:16:10.658 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:16:10.659 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:16:10.660 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:16:10.662 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 16, 10, 662135), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:20.782 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:20.784 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:16:33.797 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:16:33.799 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:16:33.801 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:16:33.802 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:16:33.804 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 16, 33, 803634), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:34.388 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:34.390 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:34.391 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:16:34.406 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.227 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.227/0.227/0.227/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:16:43.905 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:16:43.907 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:16:56.925 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:16:56.927 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:16:56.928 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:16:56.929 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:16:56.930 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 16, 56, 930609), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:04.414 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:04.415 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:04.416 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:17:04.428 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.212 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.212/0.212/0.212/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:17:07.285 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:07.287 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:17:20.304 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:17:20.306 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:17:20.307 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:17:20.307 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:17:20.309 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 17, 20, 308867), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:30.389 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:30.390 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:17:34.431 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:34.433 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:34.434 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:17:34.446 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.183 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.183/0.183/0.183/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:17:43.633 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:17:43.634 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:17:43.635 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:17:43.637 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:17:43.638 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 17, 43, 638253), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:54.027 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:17:54.029 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:18:04.450 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:04.452 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:04.453 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:18:04.467 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.219 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.219/0.219/0.219/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:18:07.040 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:18:07.042 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:18:07.043 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:18:07.044 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:18:07.045 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 18, 7, 45411), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:17.205 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:17.206 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:18:30.225 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:18:30.227 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:18:30.228 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:18:30.229 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:18:30.231 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 18, 30, 231038), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:34.472 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:34.474 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:34.475 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:18:34.542 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.192 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.192/0.192/0.192/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:18:40.512 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:18:40.513 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:18:53.525 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:18:53.526 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:18:53.527 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:18:53.528 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:18:53.530 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 18, 53, 529984), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:03.689 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:03.691 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:19:04.545 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:04.546 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:04.548 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:19:04.672 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.226 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.226/0.226/0.226/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:19:16.705 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:19:16.706 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:19:16.707 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:19:16.708 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:19:16.710 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 19, 16, 710009), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:27.115 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:27.116 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:19:34.679 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:34.681 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:34.682 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:19:34.696 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.255 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.255/0.255/0.255/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:19:40.133 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:19:40.134 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:19:40.135 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:19:40.137 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:19:40.138 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 19, 40, 138339), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:50.470 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:19:50.471 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:20:03.749 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10004ms\n\n' Stderr: '' 2017-09-13 18:20:03.751 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:20:03.752 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:20:03.753 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:20:03.755 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 20, 3, 754962), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:04.698 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:04.700 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:04.701 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:20:04.716 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.230 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.230/0.230/0.230/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:20:14.201 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:14.203 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:20:27.217 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:20:27.219 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:20:27.220 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:20:27.221 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:20:27.222 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 20, 27, 222433), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:34.725 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:34.726 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:34.727 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:20:34.740 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.173 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.173/0.173/0.173/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:20:37.825 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:20:37.827 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:20:50.845 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:20:50.847 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:20:50.848 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:20:50.849 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:20:50.851 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 20, 50, 850884), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:00.942 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:00.944 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:21:04.743 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:04.745 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:04.747 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:21:04.760 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.223 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:21:13.961 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:21:13.962 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:21:13.963 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:21:13.965 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:21:13.966 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 21, 13, 966268), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:24.086 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:24.088 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:21:34.764 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:34.766 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:34.767 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:21:34.781 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.225 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.225/0.225/0.225/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:21:37.137 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:21:37.138 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:21:37.139 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:21:37.141 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:21:37.142 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 21, 37, 142415), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:47.267 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:21:47.269 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:22:00.285 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:22:00.287 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:22:00.288 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:22:00.290 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:22:00.291 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 22, 0, 291177), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:04.786 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:04.787 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:04.788 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:22:04.801 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.199 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.199/0.199/0.199/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:22:10.391 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:10.393 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:22:23.741 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:22:23.743 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:22:23.744 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:22:23.745 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:22:23.747 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 22, 23, 746899), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:34.091 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:34.093 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:22:34.804 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:34.807 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:34.809 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:22:34.823 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.190 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.190/0.190/0.190/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:22:47.109 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:22:47.110 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:22:47.112 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:22:47.113 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:22:47.115 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 22, 47, 114892), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:57.926 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:22:57.928 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:23:04.828 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:04.829 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:04.830 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:23:04.842 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.205 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.205/0.205/0.205/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:23:10.945 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:23:10.946 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:23:10.947 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:23:10.949 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:23:10.950 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 23, 10, 950163), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:21.097 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:21.098 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:23:34.117 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:23:34.119 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:23:34.120 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:23:34.121 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:23:34.123 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 23, 34, 122983), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:34.845 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:34.846 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:34.847 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:23:34.861 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.154 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.154/0.154/0.154/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:23:44.362 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:23:44.364 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:23:57.377 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:23:57.379 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:23:57.380 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:23:57.381 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:23:57.383 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 23, 57, 383126), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:04.869 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:04.870 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:04.871 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:24:04.885 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.174 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.174/0.174/0.174/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:24:07.474 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:07.476 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:24:20.925 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:24:20.927 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:24:20.928 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:24:20.929 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:24:20.931 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 24, 20, 930677), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:31.276 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:31.278 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:24:34.887 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:34.889 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:34.890 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:24:34.969 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.218 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.218/0.218/0.218/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:24:44.293 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:24:44.294 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:24:44.296 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:24:44.297 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:24:44.299 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 24, 44, 298708), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:54.765 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:24:54.767 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:25:04.974 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:04.975 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:04.977 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:25:04.991 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.200 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.200/0.200/0.200/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:25:07.785 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:25:07.786 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:25:07.788 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:25:07.789 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:25:07.791 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 25, 7, 790627), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:18.051 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:18.053 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:25:31.153 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:25:31.155 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:25:31.156 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:25:31.157 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:25:31.159 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 25, 31, 159173), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:34.995 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:34.996 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:34.997 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:25:35.006 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.174 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.174/0.174/0.174/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:25:41.629 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:25:41.631 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:25:54.645 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:25:54.647 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:25:54.648 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:25:54.649 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:25:54.651 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 25, 54, 651045), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:04.786 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:04.788 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:26:05.009 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:05.010 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:05.011 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:26:05.026 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.173 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.173/0.173/0.173/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:26:17.805 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:26:17.806 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:26:17.808 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:26:17.809 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:26:17.810 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 26, 17, 810467), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:28.149 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:28.150 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:26:35.030 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:35.031 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:35.032 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:26:35.046 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.208 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.208/0.208/0.208/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:26:41.509 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:26:41.510 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:26:41.511 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:26:41.513 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:26:41.514 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 26, 41, 514590), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:51.633 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:26:51.634 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:27:04.649 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:27:04.651 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:27:04.653 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:27:04.654 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:27:04.656 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 27, 4, 655850), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:05.049 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:05.050 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:05.051 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:27:05.064 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.186 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.186/0.186/0.186/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:27:14.761 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:14.763 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:27:27.789 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:27:27.791 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:27:27.792 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:27:27.794 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:27:27.796 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 27, 27, 795602), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:35.073 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:35.074 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:35.075 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:27:35.172 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.167 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.167/0.167/0.167/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:27:37.893 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:27:37.895 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:27:50.913 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:27:50.915 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:27:50.917 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:27:50.918 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:27:50.920 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 27, 50, 920196), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:00.986 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:00.988 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:28:05.175 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:05.177 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:05.178 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:28:05.191 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.203 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.203/0.203/0.203/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:28:14.025 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:28:14.026 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:28:14.028 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:28:14.029 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:28:14.031 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 28, 14, 30572), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:24.735 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:24.736 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:28:35.193 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:35.194 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:35.195 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:28:35.205 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.184 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.184/0.184/0.184/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:28:38.272 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:28:38.273 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:28:38.274 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:28:38.274 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:28:38.275 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 28, 38, 275523), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:48.717 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:28:48.718 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:29:01.841 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:29:01.843 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:29:01.844 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:29:01.846 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:29:01.847 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 29, 1, 847261), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:05.208 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:05.211 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:05.212 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:29:05.417 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.145 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.145/0.145/0.145/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:29:12.415 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:12.417 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:29:25.433 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:29:25.435 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:29:25.436 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:29:25.437 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:29:25.439 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 29, 25, 438831), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:35.428 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:35.429 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:35.430 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:29:35.445 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.241 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.241/0.241/0.241/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:29:35.813 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:35.815 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:29:48.829 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:29:48.831 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:29:48.832 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:29:48.833 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:29:48.835 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 29, 48, 834678), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:58.967 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:29:58.969 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:30:05.449 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:05.450 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:05.451 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:30:05.464 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.178 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.178/0.178/0.178/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:30:12.260 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10004ms\n\n' Stderr: '' 2017-09-13 18:30:12.262 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:30:12.263 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:30:12.265 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:30:12.266 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 30, 12, 266414), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:22.437 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:22.439 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:30:35.453 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:30:35.455 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:30:35.456 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:30:35.457 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:30:35.459 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 30, 35, 458786), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:35.790 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:35.791 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:35.792 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:30:35.895 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.175 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.175/0.175/0.175/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:30:45.903 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:30:45.905 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:30:58.921 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:30:58.923 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:30:58.924 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:30:58.925 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:30:58.927 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 30, 58, 927015), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:05.902 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:05.903 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:05.904 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:31:05.956 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.223 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:31:09.273 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:09.275 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:31:22.293 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:31:22.294 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:31:22.296 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:31:22.298 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:31:22.299 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 31, 22, 299390), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:32.721 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:32.723 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:31:35.960 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:35.961 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:35.962 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:31:35.974 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.235 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.235/0.235/0.235/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:31:45.736 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:31:45.738 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:31:45.739 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:31:45.740 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:31:45.742 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 31, 45, 741785), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:56.233 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:31:56.234 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:32:05.977 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:05.979 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:05.980 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:32:06.004 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.205 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.205/0.205/0.205/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:32:09.249 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:32:09.250 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:32:09.252 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:32:09.253 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:32:09.255 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 32, 9, 254943), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:19.591 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:19.593 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:32:32.929 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:32:32.931 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:32:32.932 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:32:32.933 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:32:32.935 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 32, 32, 935070), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:36.009 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:36.010 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:36.011 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:32:36.276 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.202 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.202/0.202/0.202/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:32:43.204 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:32:43.206 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:32:56.221 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:32:56.223 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:32:56.224 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:32:56.225 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:32:56.227 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 32, 56, 226801), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:06.286 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:06.288 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:06.289 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:33:06.304 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.223 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:33:06.691 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:06.692 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:33:19.713 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:33:19.715 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:33:19.716 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:33:19.717 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:33:19.719 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 33, 19, 719319), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:29.820 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:29.822 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:33:36.310 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:36.312 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:36.313 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:33:36.331 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.237 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.237/0.237/0.237/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:33:42.969 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:33:42.970 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:33:42.971 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:33:42.973 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:33:42.974 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 33, 42, 974551), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:53.269 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:33:53.270 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:34:06.285 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:34:06.287 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:34:06.288 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:34:06.289 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:34:06.291 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 34, 6, 290782), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:06.860 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:06.862 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:06.864 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:34:07.041 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.572 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.572/0.572/0.572/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:34:16.976 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:16.978 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:34:26.460 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 39470) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 18:34:27.445 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 18:34:32.109 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:34:32.113 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:34:32.115 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:34:32.116 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:34:32.127 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 34, 32, 127281), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:36.742 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ea432679-3e0b-4d0f-bee0-df57010be420 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 18:34:37.050 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ea432679-3e0b-4d0f-bee0-df57010be420 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 18:34:37.300 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:37.302 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:37.303 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:34:37.670 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.249 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.249/0.249/0.249/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:34:37.673 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ea432679-3e0b-4d0f-bee0-df57010be420 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 18:34:37.726 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ea432679-3e0b-4d0f-bee0-df57010be420 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 18:34:37.907 25774 INFO tacker.wsgi [req-ea432679-3e0b-4d0f-bee0-df57010be420 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 18:34:37] "GET /v1.0/vnfs.json HTTP/1.1" 200 4697 10.843807 2017-09-13 18:34:43.286 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:34:43.288 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:34:56.305 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:34:56.419 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:34:56.420 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:34:56.422 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:34:56.424 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 34, 56, 423806), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:07.017 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:07.018 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:35:07.818 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:07.820 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:07.821 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:35:08.058 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.223 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.223/0.223/0.223/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:35:21.061 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:35:21.062 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:35:21.064 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:35:21.065 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:35:21.067 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 35, 21, 66668), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:31.854 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:31.856 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:35:38.062 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:38.063 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:38.064 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:35:38.076 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.188 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.188/0.188/0.188/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:35:45.112 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:35:45.114 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:35:45.115 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:35:45.117 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:35:45.118 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 35, 45, 118156), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:55.284 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:35:55.285 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:36:08.082 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:08.084 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:08.085 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:36:08.100 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.179 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.179/0.179/0.179/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:36:08.301 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:36:08.302 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:36:08.303 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:36:08.304 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:36:08.306 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 36, 8, 305743), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:18.480 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:18.529 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:36:31.949 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:36:31.951 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:36:31.953 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:36:31.954 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:36:31.963 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 36, 31, 962763), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:38.106 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:38.107 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:38.108 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:36:38.732 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.575 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.575/0.575/0.575/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:36:44.326 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:36:44.327 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:36:57.353 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:36:57.355 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:36:57.356 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:36:57.357 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:36:57.359 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 36, 57, 358865), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:07.911 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:07.913 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:37:08.736 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:08.737 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:08.739 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:37:08.754 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.196 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.196/0.196/0.196/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:37:20.941 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:37:20.942 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:37:20.943 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:37:20.945 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:37:20.946 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 37, 20, 946415), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:31.416 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:31.418 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:37:38.760 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:38.761 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:38.762 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:37:38.773 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.195 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.195/0.195/0.195/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:37:44.444 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:37:44.446 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:37:44.447 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:37:44.448 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:37:44.450 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 37, 44, 449834), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:55.313 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:37:55.315 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:38:08.778 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:08.784 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:08.785 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:38:08.815 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.262 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.262/0.262/0.262/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:38:09.313 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:38:09.314 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:38:09.315 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:38:09.316 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:38:09.324 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 38, 9, 323784), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:23.331 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:23.360 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:38:36.705 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:38:36.707 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:38:36.708 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:38:36.710 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:38:36.801 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 38, 36, 801021), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:38.861 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:38.863 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:38.864 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:38:39.604 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.174 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.174/0.174/0.174/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:38:48.487 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:38:48.489 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:39:01.505 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:39:01.507 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:39:01.508 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:39:01.509 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:39:01.510 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 39, 1, 510379), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:09.610 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:09.611 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:09.613 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:39:09.629 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.195 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.195/0.195/0.195/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:39:13.917 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:13.919 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:39:26.936 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:39:26.938 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:39:26.938 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:39:26.939 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:39:26.940 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 39, 26, 940619), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:38.137 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:38.138 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:39:39.640 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:39.642 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:39:39.643 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:39:39.659 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.194 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:39:51.157 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:39:51.158 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:39:51.160 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:39:51.161 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:39:51.162 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 39, 51, 162373), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:01.247 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:01.249 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:40:09.662 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:09.675 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:09.677 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:40:09.692 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.163 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.163/0.163/0.163/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:40:14.273 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10005ms\n\n' Stderr: '' 2017-09-13 18:40:14.274 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:40:14.275 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:40:14.276 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:40:14.278 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 40, 14, 277704), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:25.507 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:25.509 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:40:38.525 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10000ms\n\n' Stderr: '' 2017-09-13 18:40:38.527 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:40:38.528 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:40:38.530 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:40:38.531 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 40, 38, 531307), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:39.694 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:39.695 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:39.697 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:40:39.711 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.244 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.244/0.244/0.244/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:40:48.813 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:40:48.815 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:41:01.829 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:41:01.831 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:41:01.832 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:41:01.833 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:41:02.250 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 41, 1, 835132), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:09.713 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:09.714 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:09.715 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:41:09.729 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.200 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.200/0.200/0.200/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:41:15.023 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:15.024 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:41:28.037 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:41:28.038 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:41:28.040 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:41:28.040 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:41:28.042 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 41, 28, 41870), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:39.740 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:39.741 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:39.742 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:41:39.759 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.194 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.194/0.194/0.194/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:41:40.595 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:41:40.597 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:41:53.613 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:41:53.615 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:41:53.616 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:41:53.617 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:41:53.619 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 41, 53, 619251), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:04.671 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:04.776 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:42:09.762 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:09.764 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:09.765 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:42:09.779 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.244 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.244/0.244/0.244/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:42:18.981 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:42:18.982 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:42:18.984 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:42:18.985 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:42:18.986 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 42, 18, 986291), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:23.407 25774 DEBUG tacker.wsgi [-] (25774) accepted ('192.168.104.6', 41896) server /usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py:883 2017-09-13 18:42:23.457 25774 DEBUG tacker.alarm_receiver [-] Process request: (,) process_request /usr/local/lib/python2.7/dist-packages/tacker/alarm_receiver.py:44 2017-09-13 18:42:24.841 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ad81d6c6-faa9-44ba-841e-d8cd83a05c7a 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 18:42:25.221 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ad81d6c6-faa9-44ba-841e-d8cd83a05c7a 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, , , ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 18:42:25.360 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ad81d6c6-faa9-44ba-841e-d8cd83a05c7a 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:199 2017-09-13 18:42:25.431 25774 DEBUG tacker.db.vnfm.vnfm_db [req-ad81d6c6-faa9-44ba-841e-d8cd83a05c7a 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] vnf_db attributes ([, ],) _make_vnf_dict /usr/local/lib/python2.7/dist-packages/tacker/db/vnfm/vnfm_db.py:200 2017-09-13 18:42:25.519 25774 INFO tacker.wsgi [req-ad81d6c6-faa9-44ba-841e-d8cd83a05c7a 4f40ae325991476f8733358eb736ad1e 9a036d420925419c9066e02ae98c4f99 - - -] 192.168.104.6 - - [13/Sep/2017 18:42:25] "GET /v1.0/vnfs.json HTTP/1.1" 200 4697 2.062523 2017-09-13 18:42:30.381 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:30.656 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:42:39.782 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:39.820 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:39.821 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:42:40.297 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.252 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.252/0.252/0.252/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:42:44.081 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10003ms\n\n' Stderr: '' 2017-09-13 18:42:44.082 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:42:44.084 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:42:44.085 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:42:44.171 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 42, 44, 170722), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:56.267 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:42:56.498 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:43:09.693 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:43:09.695 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:43:09.696 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:43:09.697 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:43:09.699 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 43, 9, 699124), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:12.166 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:12.166 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:12.167 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:43:12.210 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.233 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.233/0.233/0.233/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:43:22.220 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:22.221 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:43:35.237 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:43:35.239 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:43:35.240 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:43:35.241 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:43:35.243 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 43, 35, 242758), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:42.217 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:42.219 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:42.220 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:43:42.321 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.138 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.138/0.138/0.138/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:43:46.734 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:43:46.735 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:43:59.753 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10001ms\n\n' Stderr: '' 2017-09-13 18:43:59.755 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:43:59.757 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:43:59.758 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:43:59.760 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 43, 59, 759794), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:44:12.333 25774 DEBUG tacker.common.log [-] tacker.nfvo.nfvo_plugin.NfvoPlugin method monitor_vim called with arguments ({'status': u'REACHABLE', 'description': u'nfv site', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 8, 4, 6, 15, 42), 'vim_project': {u'project_domain_name': u'Default', u'id': u'', u'name': u'services'}, 'updated_at': datetime.datetime(2017, 9, 13, 4, 32, 38), 'is_default': False, 'auth_url': u'http://192.168.104.12:5000/v3', 'auth_cred': {u'username': u'tacker', u'project_name': u'services', u'user_id': u'', u'user_domain_name': u'Default', u'project_id': u'', u'auth_url': u'http://192.168.104.12:5000/v3', 'password': '***', u'project_domain_name': u'Default'}, 'placement_attr': {u'regions': [u'RegionOne']}, 'shared': True, 'type': u'openstack', 'id': u'613ab165-a420-4362-813d-ec2936422942', 'name': u'nfv_poc'},) {} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:44:12.334 25774 DEBUG tacker.common.log [-] tacker.nfvo.drivers.vim.openstack_driver.OpenStack_Driver method vim_status called with arguments () {'auth_url': u'http://192.168.104.12:5000/v3'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:44:12.336 25774 DEBUG tacker.agent.linux.utils [-] Running command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:44:12.363 25774 DEBUG tacker.agent.linux.utils [-] Command: ['ping', '-c', '1', '-W', '1', '-i', '1', '192.168.104.12'] Exit code: 0 Stdout: 'PING 192.168.104.12 (192.168.104.12) 56(84) bytes of data.\n64 bytes from 192.168.104.12: icmp_seq=1 ttl=64 time=0.150 ms\n\n--- 192.168.104.12 ping statistics ---\n1 packets transmitted, 1 received, 0% packet loss, time 0ms\nrtt min/avg/max/mdev = 0.150/0.150/0.150/0.000 ms\n' Stderr: '' execute /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:75 2017-09-13 18:44:13.276 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.vnfm.monitor_drivers.ping.ping.VNFMonitorPing method monitor_call called with arguments () {'vnf': {'status': 'ACTIVE', 'created_at': datetime.datetime(2017, 9, 13, 8, 56, 1, 575981), 'description': u'Demo example', 'vnfd': {'service_types': [{'service_type': u'vnfd', 'id': u'59e45c94-fdc4-4587-b61d-9b04379b7cb9'}], 'description': u'Demo example', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'created_at': datetime.datetime(2017, 9, 13, 8, 54, 40), 'updated_at': None, 'mgmt_driver': u'noop', 'infra_driver': u'heat', 'attributes': {u'vnfd': u"description: Demo example\nmetadata: {template_name: sample-tosca-vnfd}\ntopology_template:\n node_templates:\n CP1:\n properties: {anti_spoofing_protection: false, management: true, order: 0}\n requirements:\n - virtualLink: {node: VL1}\n - virtualBinding: {node: VDU1}\n type: tosca.nodes.nfv.CP.Tacker\n VDU1:\n capabilities:\n nfv_compute:\n properties: {disk_size: 1 GB, mem_size: 512 MB, num_cpus: 1}\n properties:\n availability_zone: nova\n config: 'param0: key1\n\n param1: key2\n\n '\n image: cirros-0.3.4-x86_64\n mgmt_driver: noop\n monitoring_policy:\n actions: {failure: log}\n name: ping\n parameters: {count: 3, interval: 5, monitoring_delay: 45, timeout: 6}\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n type: tosca.nodes.nfv.VDU.Tacker\n VL1:\n properties: {network_name: mgmt, vendor: Tacker}\n type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n"}, 'id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'name': u'mntrngvnfd'}, 'vnfd_id': u'6ee1af89-dc5d-4ad9-aefb-a54439c70a6e', 'tenant_id': u'9a036d420925419c9066e02ae98c4f99', 'vim_id': u'613ab165-a420-4362-813d-ec2936422942', 'updated_at': None, 'instance_id': u'a9199802-d558-4390-b744-c6d54b535d8f', 'mgmt_url': '{"VDU1": "192.168.104.24"}', 'error_reason': None, 'placement_attr': {'vim_name': u'nfv_poc'}, 'attributes': {'heat_template': "heat_template_version: 2013-05-23\ndescription: 'Demo example\n\n '\nparameters: {}\nresources:\n CP1:\n type: OS::Neutron::Port\n properties:\n network: mgmt\n port_security_enabled: false\n VDU1:\n type: OS::Nova::Server\n properties:\n availability_zone: nova\n config_drive: false\n flavor: {get_resource: VDU1_flavor}\n image: cirros-0.3.4-x86_64\n name: ta-4034-9a0d-d35d24244dbe-RESPAWN-2-VDU1-updnuz4i3ncx\n networks:\n - port:\n get_resource: CP1\n user_data_format: SOFTWARE_CONFIG\n VDU1_flavor:\n properties: {disk: 1, ram: 512, vcpus: 1}\n type: OS::Nova::Flavor\noutputs:\n mgmt_ip-VDU1:\n value:\n get_attr: [CP1, fixed_ips, 0, ip_address]\n", 'monitoring_policy': '{"vdus": {"VDU1": {"ping": {"actions": {"failure": "log"}, "name": "ping", "parameters": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}, "monitoring_params": {"count": 3, "interval": 5, "monitoring_delay": 45, "timeout": 6}}}}}'}, 'id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'name': u'mntrngvnf'}, 'kwargs': {u'count': 3, u'monitoring_delay': 45, u'interval': 5, 'mgmt_ip': u'192.168.104.24', u'timeout': 6}} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34 2017-09-13 18:44:13.278 25774 DEBUG tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Running command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] create_process /usr/local/lib/python2.7/dist-packages/tacker/agent/linux/utils.py:44 2017-09-13 18:44:26.293 25774 ERROR tacker.agent.linux.utils [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Command: ['ping', '-c', '3', '-W', '6', '-i', '5', '192.168.104.24'] Exit code: 1 Stdout: 'PING 192.168.104.24 (192.168.104.24) 56(84) bytes of data.\nFrom 192.168.104.6 icmp_seq=1 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=2 Destination Host Unreachable\nFrom 192.168.104.6 icmp_seq=3 Destination Host Unreachable\n\n--- 192.168.104.24 ping statistics ---\n3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 10002ms\n\n' Stderr: '' 2017-09-13 18:44:26.295 25774 WARNING tacker.vnfm.monitor_drivers.ping.ping [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] Cannot ping ip address: 192.168.104.24 2017-09-13 18:44:26.296 25774 DEBUG tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] driver_return failure run_monitor /usr/local/lib/python2.7/dist-packages/tacker/vnfm/monitor.py:174 2017-09-13 18:44:26.297 25774 ERROR tacker.vnfm.monitor [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] vnf ae6fceb6-4564-4442-ab16-25833c01a734 dead 2017-09-13 18:44:26.299 25774 DEBUG tacker.common.log [req-75b16375-f9b9-4149-a613-6b04276498bf - - - - -] tacker.db.common_services.common_services_db.CommonServicesPluginDb method create_event called with arguments (,) {'res_type': 'vnf', 'tstamp': datetime.datetime(2017, 9, 13, 9, 44, 26, 298788), 'details': 'ActionLogOnly invoked', 'evt_type': 'MONITOR', 'res_id': 'ae6fceb6-4564-4442-ab16-25833c01a734', 'res_state': 'ACTIVE'} wrapper /usr/local/lib/python2.7/dist-packages/tacker/common/log.py:34