Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Tacker openwrt driver not working in kolla pike

Hello!

I'm trying to launch VNF using tacker in Kolla (ansible) Pike version.

I was able to deploy cirros image with noop driver as in example, but when I tried to launch VNF with openwrt driver, I received an error that tacker can't communicate with instance (ssh timeout).

As I understand, there is no network connectivity between tacker-server container and VNF.

Here is the debug log from tacker-server:

2018-04-16 00:35:58.507 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] yaml orig  update vdus:
  VDU1:
    config: {firewall: "package firewall\n\nconfig rule\n    option name 'Web'\n \
        \   option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n\
        \    option target 'ACCEPT'\n    option family 'ipv4'\n"}
 update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:201
2018-04-16 00:35:58.510 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict orig {} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n
option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:214
2018-04-16 00:35:58.511 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict new {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src
'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'A
CCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:217
2018-04-16 00:35:58.515 37 INFO tacker.wsgi [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] 10.10.70.3 - - [16/Apr/2018 00:35:58] "PUT /v1.0/vnfs/9521863d-90e2-48d1-8c74-ad08af4b7bdd.json HTTP/1.1" 200 2005 1.005671
2018-04-16 00:35:58.516 37 DEBUG tacker.common.log [-] tacker.vnfm.infra_drivers.openstack.openstack.OpenStack method update_wait called with arguments () {'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7f5f498eee50="">, 'vnf_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'region_name': None, 'context': <tacker.co ntext.context="" object="" at="" 0x7f5f48450550="">, 'auth_attr': {u'username': u'admin', 'password': '***', u'project_name': u'admin', u'user_domain_name': u'Default', u'auth_url': u'http://10.10.70.3:35357/v3', u'project_id': None, u'project_domain_name': u'Default'}} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packa
ges/tacker/common/log.py:34
2018-04-16 00:35:59.140 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method mgmt_call called with arguments () {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWRT with services', 'vnfd': {'template_source'
: u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'description: OpenWRT with services\nmetadata: {templ
ate_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      properties: {anti_spoofing_protection: false, m
anagement: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n      - virtualBinding: {node: VDU1}\n      type:
 tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Allow-Ping-2\'\\n\\\n
   \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option proto \'tcp\'\\n\\\n            \\    option
 dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1, vendor: Tacker}\n      type: tosca.nodes.nf
v.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1
aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u'{"VDU1": "192.168.99.12"}', 'error_reason':
 None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: int1}\n  CP2:\n    ty
pe: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format: SOFTWARE_CONFIG\n      availability_zone: hv
3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\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: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option proto \'tcp\'\\n    option dest_port \'80\'
\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}, 'kwargs': {'action': 'update_vnf', 'kwargs': {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWR
T with services', 'vnfd': {'template_source': u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'descript
ion: OpenWRT with services\nmetadata: {template_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      pro
perties: {anti_spoofing_protection: false, management: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n
 - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n
option name \'Allow-Ping-2\'\\n\\\n            \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option
proto \'tcp\'\\n\\\n            \\    option dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1,
 vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\
n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u
'{"VDU1": "192.168.99.12"}', 'error_reason': None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_en
abled: false, network: int1}\n  CP2:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format:
SOFTWARE_CONFIG\n      availability_zone: hv3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\n  VDU1_flavor:\n    propert
ies: {disk: 1, ram: 512, vcpus: 1}\n    type: OS::Nova::Flavor\noutputs:\n  mgmt_ip-VDU1:\n    value:\n      get_attr: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option
 proto \'tcp\'\\n    option dest_port \'80\'\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}}}, 'context': <tacker.context.context object="" at="" 0x7f5f48450550="">, 'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7="" f5f498eee50="">} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.142 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method _config_service called with arguments (u'192.168.99.12', 'firewall', "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80
'\n    option target 'ACCEPT'\n    option family 'ipv4'\n") {} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.143 37 DEBUG tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] execute command: uci import firewall; /etc/init.d/firewall restart on mgmt_ip_address 192.168.99.12 _config_service /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py:64
2018-04-16 00:36:09.150 37 ERROR tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] While executing command on remote 192.168.99.12: timed out: timeout: timed out
2018-04-16 00:36:09.151 37 DEBUG tacker.common.cmd_executer [-] Connection close close_session /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/cmd_executer.py:78
2018-04-16 00:36:09.151 37 ERROR tacker.vnfm.plugin [-] VNF configuration failed: MgmtDriverException: VNF configuration failed
2018-04-16 00:36:09.151 37 DEBUG tacker.vnfm.monitor [-] deleting vnf_id 9521863d-90e2-48d1-8c74-ad08af4b7bdd delete_hosting_vnf /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/monitor.py:133
2018-04-16 00:36:09.397 37 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db_plugin.CommonServicesPluginDb method create_event called with arguments (<tacker.context.context object="" at="" 0x7f5f48450550="">,) {'res_type': 'vnf', 'evt_type': 'UPDATE', 'res_id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd',
 'res_state': 'ERROR', 'tstamp': datetime.datetime(2018, 4, 16, 7, 36, 9, 265221)} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34

Tacker openwrt driver not working in kolla pike

Hello!

I'm trying to launch VNF using tacker in Kolla (ansible) Pike version.

I was able to deploy cirros image with noop driver as in example, but when I tried to launch VNF with openwrt driver, I received an error that tacker can't communicate with instance (ssh timeout).

As I understand, there is no network connectivity between tacker-server container and VNF.

Here is the debug log from tacker-server:

2018-04-16 00:35:58.507 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] yaml orig  update vdus:
  VDU1:
    config: {firewall: "package firewall\n\nconfig rule\n    option name 'Web'\n \
        \   option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n\
        \    option target 'ACCEPT'\n    option family 'ipv4'\n"}
 update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:201
2018-04-16 00:35:58.510 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict orig {} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n
option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:214
2018-04-16 00:35:58.511 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict new {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src
'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'A
CCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:217
2018-04-16 00:35:58.515 37 INFO tacker.wsgi [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] 10.10.70.3 - - [16/Apr/2018 00:35:58] "PUT /v1.0/vnfs/9521863d-90e2-48d1-8c74-ad08af4b7bdd.json HTTP/1.1" 200 2005 1.005671
2018-04-16 00:35:58.516 37 DEBUG tacker.common.log [-] tacker.vnfm.infra_drivers.openstack.openstack.OpenStack method update_wait called with arguments () {'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7f5f498eee50="">, 'vnf_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'region_name': None, 'context': <tacker.co ntext.context="" object="" at="" 0x7f5f48450550="">, 'auth_attr': {u'username': u'admin', 'password': '***', u'project_name': u'admin', u'user_domain_name': u'Default', u'auth_url': u'http://10.10.70.3:35357/v3', u'project_id': None, u'project_domain_name': u'Default'}} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packa
ges/tacker/common/log.py:34
2018-04-16 00:35:59.140 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method mgmt_call called with arguments () {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWRT with services', 'vnfd': {'template_source'
: u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'description: OpenWRT with services\nmetadata: {templ
ate_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      properties: {anti_spoofing_protection: false, m
anagement: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n      - virtualBinding: {node: VDU1}\n      type:
 tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Allow-Ping-2\'\\n\\\n
   \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option proto \'tcp\'\\n\\\n            \\    option
 dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1, vendor: Tacker}\n      type: tosca.nodes.nf
v.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1
aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u'{"VDU1": "192.168.99.12"}', 'error_reason':
 None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: int1}\n  CP2:\n    ty
pe: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format: SOFTWARE_CONFIG\n      availability_zone: hv
3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\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: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option proto \'tcp\'\\n    option dest_port \'80\'
\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}, 'kwargs': {'action': 'update_vnf', 'kwargs': {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWR
T with services', 'vnfd': {'template_source': u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'descript
ion: OpenWRT with services\nmetadata: {template_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      pro
perties: {anti_spoofing_protection: false, management: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n
 - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n
option name \'Allow-Ping-2\'\\n\\\n            \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option
proto \'tcp\'\\n\\\n            \\    option dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1,
 vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\
n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u
'{"VDU1": "192.168.99.12"}', 'error_reason': None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_en
abled: false, network: int1}\n  CP2:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format:
SOFTWARE_CONFIG\n      availability_zone: hv3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\n  VDU1_flavor:\n    propert
ies: {disk: 1, ram: 512, vcpus: 1}\n    type: OS::Nova::Flavor\noutputs:\n  mgmt_ip-VDU1:\n    value:\n      get_attr: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option
 proto \'tcp\'\\n    option dest_port \'80\'\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}}}, 'context': <tacker.context.context object="" at="" 0x7f5f48450550="">, 'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7="" f5f498eee50="">} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.142 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method _config_service called with arguments (u'192.168.99.12', 'firewall', "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80
'\n    option target 'ACCEPT'\n    option family 'ipv4'\n") {} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.143 37 DEBUG tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] execute command: uci import firewall; /etc/init.d/firewall restart on mgmt_ip_address 192.168.99.12 _config_service /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py:64
2018-04-16 00:36:09.150 37 ERROR tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] While executing command on remote 192.168.99.12: timed out: timeout: timed out
out 2018-04-16 00:36:09.151 37 DEBUG tacker.common.cmd_executer [-] Connection close close_session /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/cmd_executer.py:78
2018-04-16 00:36:09.151 37 ERROR tacker.vnfm.plugin [-] VNF configuration failed: MgmtDriverException: VNF configuration failed
2018-04-16 00:36:09.151 37 DEBUG tacker.vnfm.monitor [-] deleting vnf_id 9521863d-90e2-48d1-8c74-ad08af4b7bdd delete_hosting_vnf /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/monitor.py:133
2018-04-16 00:36:09.397 37 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db_plugin.CommonServicesPluginDb method create_event called with arguments (<tacker.context.context object="" at="" 0x7f5f48450550="">,) {'res_type': 'vnf', 'evt_type': 'UPDATE', 'res_id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd',
 'res_state': 'ERROR', 'tstamp': datetime.datetime(2018, 4, 16, 7, 36, 9, 265221)} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34

Tacker openwrt driver not working in kolla pike

Hello!

I'm trying to launch VNF using tacker in Kolla (ansible) Pike version.

I was able to deploy cirros image with noop driver as in example, but when I tried to launch VNF with openwrt driver, I received an error that tacker can't communicate with instance (ssh timeout).

As I understand, there is no network connectivity between tacker-server container and VNF.

Here is the debug log from tacker-server:

2018-04-16 00:35:58.507 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] yaml orig  update vdus:
  VDU1:
    config: {firewall: "package firewall\n\nconfig rule\n    option name 'Web'\n \
        \   option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n\
        \    option target 'ACCEPT'\n    option family 'ipv4'\n"}
 update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:201
2018-04-16 00:35:58.510 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict orig {} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n
option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:214
2018-04-16 00:35:58.511 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict new {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src
'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'A
CCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:217
2018-04-16 00:35:58.515 37 INFO tacker.wsgi [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] 10.10.70.3 - - [16/Apr/2018 00:35:58] "PUT /v1.0/vnfs/9521863d-90e2-48d1-8c74-ad08af4b7bdd.json HTTP/1.1" 200 2005 1.005671
2018-04-16 00:35:58.516 37 DEBUG tacker.common.log [-] tacker.vnfm.infra_drivers.openstack.openstack.OpenStack method update_wait called with arguments () {'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7f5f498eee50="">, 'vnf_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'region_name': None, 'context': <tacker.co ntext.context="" object="" at="" 0x7f5f48450550="">, 'auth_attr': {u'username': u'admin', 'password': '***', u'project_name': u'admin', u'user_domain_name': u'Default', u'auth_url': u'http://10.10.70.3:35357/v3', u'project_id': None, u'project_domain_name': u'Default'}} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packa
ges/tacker/common/log.py:34
2018-04-16 00:35:59.140 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method mgmt_call called with arguments () {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWRT with services', 'vnfd': {'template_source'
: u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'description: OpenWRT with services\nmetadata: {templ
ate_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      properties: {anti_spoofing_protection: false, m
anagement: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n      - virtualBinding: {node: VDU1}\n      type:
 tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Allow-Ping-2\'\\n\\\n
   \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option proto \'tcp\'\\n\\\n            \\    option
 dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1, vendor: Tacker}\n      type: tosca.nodes.nf
v.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1
aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u'{"VDU1": "192.168.99.12"}', 'error_reason':
 None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: int1}\n  CP2:\n    ty
pe: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format: SOFTWARE_CONFIG\n      availability_zone: hv
3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\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: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option proto \'tcp\'\\n    option dest_port \'80\'
\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}, 'kwargs': {'action': 'update_vnf', 'kwargs': {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWR
T with services', 'vnfd': {'template_source': u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'descript
ion: OpenWRT with services\nmetadata: {template_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      pro
perties: {anti_spoofing_protection: false, management: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n
 - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n
option name \'Allow-Ping-2\'\\n\\\n            \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option
proto \'tcp\'\\n\\\n            \\    option dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1,
 vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\
n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u
'{"VDU1": "192.168.99.12"}', 'error_reason': None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_en
abled: false, network: int1}\n  CP2:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format:
SOFTWARE_CONFIG\n      availability_zone: hv3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\n  VDU1_flavor:\n    propert
ies: {disk: 1, ram: 512, vcpus: 1}\n    type: OS::Nova::Flavor\noutputs:\n  mgmt_ip-VDU1:\n    value:\n      get_attr: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option
 proto \'tcp\'\\n    option dest_port \'80\'\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}}}, 'context': <tacker.context.context object="" at="" 0x7f5f48450550="">, 'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7="" f5f498eee50="">} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.142 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method _config_service called with arguments (u'192.168.99.12', 'firewall', "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80
'\n    option target 'ACCEPT'\n    option family 'ipv4'\n") {} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.143 37 DEBUG tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] execute command: uci import firewall; /etc/init.d/firewall restart on mgmt_ip_address 192.168.99.12 _config_service /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py:64
2018-04-16 00:36:09.150 37 ERROR tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] While executing command on remote 192.168.99.12: timed out: timeout: timed out
2018-04-16 00:36:09.151 37 DEBUG tacker.common.cmd_executer [-] Connection close close_session /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/cmd_executer.py:78
2018-04-16 00:36:09.151 37 ERROR tacker.vnfm.plugin [-] VNF configuration failed: MgmtDriverException: VNF configuration failed
2018-04-16 00:36:09.151 37 DEBUG tacker.vnfm.monitor [-] deleting vnf_id 9521863d-90e2-48d1-8c74-ad08af4b7bdd delete_hosting_vnf /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/monitor.py:133
2018-04-16 00:36:09.397 37 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db_plugin.CommonServicesPluginDb method create_event called with arguments (<tacker.context.context object="" at="" 0x7f5f48450550="">,) {'res_type': 'vnf', 'evt_type': 'UPDATE', 'res_id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd',
 'res_state': 'ERROR', 'tstamp': datetime.datetime(2018, 4, 16, 7, 36, 9, 265221)} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34

Tacker openwrt driver not working in kolla pikekolla

Hello!Hello! I'm rewriting this question for Kolla Rocky.

I'm trying to launch VNF using tacker in Kolla (ansible) Pike version.

I was able to deploy cirros image with noop driver as in example, but when I tried to launch VNF with openwrt driver, I received an error that driver. 1) There is no configuration option for openwrt driver by default in tacker can't communicate with server conf file. Maybe it is better to add it? 2) Tacker needs public ip connectivity to created instance (ssh timeout).

As I understand, there is - looks like tacker container has no network connectivity between tacker-server container and VNF. access to the networks created by neutron.

Here is the debug log from tacker-server:tacker-server, issue is the same as in Pike:

2018-04-16 00:35:58.507 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] yaml orig  update vdus:
  VDU1:
    config: {firewall: "package firewall\n\nconfig rule\n    option name 'Web'\n \
        \   option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n\
        \    option target 'ACCEPT'\n    option family 'ipv4'\n"}
 update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:201
2018-04-16 00:35:58.510 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict orig {} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n
option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:214
2018-04-16 00:35:58.511 37 DEBUG tacker.vnfm.infra_drivers.openstack.openstack [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] dict new {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src
'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'ACCEPT'\n    option family 'ipv4'\n"}}}} update {'vdus': {'VDU1': {'config': {'firewall': "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80'\n    option target 'A
CCEPT'\n    option family 'ipv4'\n"}}}} update /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/infra_drivers/openstack/openstack.py:217
2018-04-16 00:35:58.515 37 INFO tacker.wsgi [req-f0f4f128-ef06-427e-959d-93ab55e4bc93 51201dd3725e4ad5b1c82b80a60b56b9 0c6bf7040b304b499e1dd78d80a63bd7 - - -] 10.10.70.3 - - [16/Apr/2018 00:35:58] "PUT /v1.0/vnfs/9521863d-90e2-48d1-8c74-ad08af4b7bdd.json HTTP/1.1" 200 2005 1.005671
2018-04-16 00:35:58.516 37 DEBUG tacker.common.log [-] tacker.vnfm.infra_drivers.openstack.openstack.OpenStack method update_wait called with arguments () {'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7f5f498eee50="">, 'vnf_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'region_name': None, 'context': <tacker.co ntext.context="" object="" at="" 0x7f5f48450550="">, 'auth_attr': {u'username': u'admin', 'password': '***', u'project_name': u'admin', u'user_domain_name': u'Default', u'auth_url': u'http://10.10.70.3:35357/v3', u'project_id': None, u'project_domain_name': u'Default'}} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packa
ges/tacker/common/log.py:34
2018-04-16 00:35:59.140 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method mgmt_call called with arguments () {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWRT with services', 'vnfd': {'template_source'
: u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'description: OpenWRT with services\nmetadata: {templ
ate_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      properties: {anti_spoofing_protection: false, m
anagement: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n      - virtualBinding: {node: VDU1}\n      type:
 tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Allow-Ping-2\'\\n\\\n
   \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option proto \'tcp\'\\n\\\n            \\    option
 dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1, vendor: Tacker}\n      type: tosca.nodes.nf
v.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1
aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u'{"VDU1": "192.168.99.12"}', 'error_reason':
 None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: int1}\n  CP2:\n    ty
pe: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format: SOFTWARE_CONFIG\n      availability_zone: hv
3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\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: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option proto \'tcp\'\\n    option dest_port \'80\'
\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}, 'kwargs': {'action': 'update_vnf', 'kwargs': {'vnf': {'status': 'PENDING_UPDATE', 'created_at': datetime.datetime(2018, 4, 16, 7, 33, 52), 'description': u'OpenWR
T with services', 'vnfd': {'template_source': u'onboarded', 'service_types': [u'vnfd'], 'description': u'OpenWRT with services', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'created_at': datetime.datetime(2018, 4, 16, 7, 27, 23), 'updated_at': None, 'mgmt_driver': u'openwrt', 'attributes': {u'vnfd': u'descript
ion: OpenWRT with services\nmetadata: {template_name: OpenWRT}\ntopology_template:\n  node_templates:\n    CP1:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL1}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP2:\n      pro
perties: {anti_spoofing_protection: false, management: true}\n      requirements:\n      - virtualLink: {node: VL2}\n      - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    CP3:\n      properties: {anti_spoofing_protection: false}\n      requirements:\n      - virtualLink: {node: VL3}\n
 - virtualBinding: {node: VDU1}\n      type: tosca.nodes.nfv.CP.Tacker\n    VDU1:\n      capabilities:\n        nfv_compute:\n          properties: {disk_size: 0 GB, mem_size: 512 MB, num_cpus: 1}\n      properties:\n        availability_zone: hv3\n        config: {firewall: "package firewall\\n\\nconfig rule\\n
option name \'Allow-Ping-2\'\\n\\\n            \\    option src \'wan\'\\n    option proto \'icmp\'\\n    option icmp_type \'echo-request\'\\n\\\n            \\    option family \'ipv4\'\\n    option target \'ACCEPT\'\\n\\nconfig rule\\n\\\n            \\    option name \'Web\'\\n    option src \'wan\'\\n    option
proto \'tcp\'\\n\\\n            \\    option dest_port \'80\'\\n    option target \'ACCEPT\'\\n    option family\\\n            \\ \'ipv4\'\\n"}\n        image: fed0894c-9d27-4221-add0-45dbc19b4632\n        mgmt_driver: openwrt\n      type: tosca.nodes.nfv.VDU.Tacker\n    VL1:\n      properties: {network_name: int1,
 vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL2:\n      properties: {network_name: vcpe_mgmt1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\n    VL3:\n      properties: {network_name: public1, vendor: Tacker}\n      type: tosca.nodes.nfv.VL\ntosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0\
n'}, 'id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'name': u'lede-test'}, 'vnfd_id': u'dfac81ed-439c-4561-abca-b0e08e1aea60', 'tenant_id': u'0c6bf7040b304b499e1dd78d80a63bd7', 'vim_id': u'030abc47-7d1f-4a66-99da-59c5fea6acad', 'updated_at': None, 'instance_id': u'1a338c4e-5006-466a-b051-3b817a2fa21a', 'mgmt_url': u
'{"VDU1": "192.168.99.12"}', 'error_reason': None, 'placement_attr': {u'vim_name': u'kolla-sample-vim'}, 'attributes': {u'heat_template': u"heat_template_version: 2013-05-23\ndescription: 'OpenWRT with services\n\n  '\nparameters: {}\nresources:\n  CP1:\n    type: OS::Neutron::Port\n    properties: {port_security_en
abled: false, network: int1}\n  CP2:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: vcpe_mgmt1}\n  CP3:\n    type: OS::Neutron::Port\n    properties: {port_security_enabled: false, network: public1}\n  VDU1:\n    type: OS::Nova::Server\n    properties:\n      user_data_format:
SOFTWARE_CONFIG\n      availability_zone: hv3\n      image: fed0894c-9d27-4221-add0-45dbc19b4632\n      flavor: {get_resource: VDU1_flavor}\n      networks:\n      - port: {get_resource: CP1}\n      - port: {get_resource: CP2}\n      - port: {get_resource: CP3}\n      config_drive: false\n  VDU1_flavor:\n    propert
ies: {disk: 1, ram: 512, vcpus: 1}\n    type: OS::Nova::Flavor\noutputs:\n  mgmt_ip-VDU1:\n    value:\n      get_attr: [CP2, fixed_ips, 0, ip_address]\n", 'config': 'vdus:\n  VDU1:\n    config: {firewall: "package firewall\\n\\nconfig rule\\n    option name \'Web\'\\n \\\n        \\   option src \'wan\'\\n    option
 proto \'tcp\'\\n    option dest_port \'80\'\\n\\\n        \\    option target \'ACCEPT\'\\n    option family \'ipv4\'\\n"}\n'}, 'id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd', 'name': u'lede-test'}}}, 'context': <tacker.context.context object="" at="" 0x7f5f48450550="">, 'plugin': <tacker.vnfm.plugin.vnfmplugin object="" at="" 0x7="" f5f498eee50="">} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.142 37 DEBUG tacker.common.log [-] tacker.vnfm.mgmt_drivers.openwrt.openwrt.DeviceMgmtOpenWRT method _config_service called with arguments (u'192.168.99.12', 'firewall', "package firewall\n\nconfig rule\n    option name 'Web'\n    option src 'wan'\n    option proto 'tcp'\n    option dest_port '80
'\n    option target 'ACCEPT'\n    option family 'ipv4'\n") {} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34
2018-04-16 00:35:59.143 37 DEBUG tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] execute command: uci import firewall; /etc/init.d/firewall restart on mgmt_ip_address 192.168.99.12 _config_service /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/mgmt_drivers/openwrt/openwrt.py:64
2018-04-16 00:36:09.150 37 2019-01-24 05:39:51.880 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] nfv
2019-01-24 05:39:51.881 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] tosca_simple_profile_for_nfv_1_0_0.py
2019-01-24 05:39:51.881 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] mec
2019-01-24 05:39:51.882 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] tosca_simple_profile_for_mec_1_0_0.py
2019-01-24 05:39:51.920 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] The pre-parsed input successfully passed validation.
2019-01-24 05:39:51.922 48 INFO heat-translator [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] Initialized parmaters for translation.
2019-01-24 05:39:51.923 48 INFO heat-translator [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] Translating TOSCA input type to HOT input type.
2019-01-24 05:41:16.492 48 ERROR tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] While executing command on remote 192.168.99.12: 192.168.30.10: timed out: timeout: timed out
2018-04-16 00:36:09.151 37 DEBUG tacker.common.cmd_executer [-] Connection close close_session /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/cmd_executer.py:78
2018-04-16 00:36:09.151 37 out
2019-01-24 05:41:16.493 48 ERROR tacker.vnfm.plugin [-] VNF configuration failed: MgmtDriverException: VNF configuration failed
2018-04-16 00:36:09.151 37 DEBUG tacker.vnfm.monitor [-] deleting vnf_id 9521863d-90e2-48d1-8c74-ad08af4b7bdd delete_hosting_vnf /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/vnfm/monitor.py:133
2018-04-16 00:36:09.397 37 DEBUG tacker.common.log [-] tacker.db.common_services.common_services_db_plugin.CommonServicesPluginDb method create_event called with arguments (<tacker.context.context object="" at="" 0x7f5f48450550="">,) {'res_type': 'vnf', 'evt_type': 'UPDATE', 'res_id': u'9521863d-90e2-48d1-8c74-ad08af4b7bdd',
 'res_state': 'ERROR', 'tstamp': datetime.datetime(2018, 4, 16, 7, 36, 9, 265221)} wrapper /var/lib/kolla/venv/local/lib/python2.7/site-packages/tacker/common/log.py:34

Tacker openwrt driver not working in kolla

Hello! I'm rewriting this question for Kolla Rocky.

I'm trying to launch VNF using tacker with openwrt driver. driver.

1) There is no configuration option for openwrt driver by default in tacker server conf file. Maybe it is better to add it?

2) Tacker needs public ip connectivity to created instance - looks like tacker container has no access to the networks created by neutron.

Here is the debug log from tacker-server, issue is the same as in Pike:

2019-01-24 05:39:51.880 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] nfv
2019-01-24 05:39:51.881 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] tosca_simple_profile_for_nfv_1_0_0.py
2019-01-24 05:39:51.881 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] mec
2019-01-24 05:39:51.882 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] tosca_simple_profile_for_mec_1_0_0.py
2019-01-24 05:39:51.920 48 INFO tosca.model [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] The pre-parsed input successfully passed validation.
2019-01-24 05:39:51.922 48 INFO heat-translator [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] Initialized parmaters for translation.
2019-01-24 05:39:51.923 48 INFO heat-translator [req-f6a28777-b8bb-459f-8066-e224f297dd14 f436393ef64149249b25a22f3b7a28c3 6164a7b250b6438bba07d9545f3d2a33 - - -] Translating TOSCA input type to HOT input type.
2019-01-24 05:41:16.492 48 ERROR tacker.vnfm.mgmt_drivers.openwrt.openwrt [-] While executing command on remote 192.168.30.10: timed out: timeout: timed out
2019-01-24 05:41:16.493 48 ERROR tacker.vnfm.plugin [-] VNF configuration failed: MgmtDriverException: VNF configuration failed