Can't create forwarding graph on tacker

Bug #1691792 reported by Yassine Jebbar
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
tacker
Expired
Undecided
Unassigned

Bug Description

I am trying to create a vnffg using tacker, but it shows me the following error:

Request failed: internal server error while processing your request.

I installed tacker using devstack.

Here's the sample-vnffgd.yaml file:

tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: Demo example

metadata:
  template_name: sample-tosca-vnfd1

topology_template:
  node_templates:
    VDU1:
      type: tosca.nodes.nfv.VDU.Tacker
      capabilities:
        nfv_compute:
          properties:
            num_cpus: 1
            mem_size: 512 MB
            disk_size: 1 GB
      properties:
        image: cirros-0.3.5-x86_64-disk
        availability_zone: nova
        mgmt_driver: noop
        config: |
          param0: key1
          param1: key2

    CP21:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: true
        order: 0
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL21
        - virtualBinding:
            node: VDU1

    CP22:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        order: 1
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL22
        - virtualBinding:
            node: VDU1

    CP23:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        order: 2
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL23
        - virtualBinding:
            node: VDU1

    VL21:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: net_mgmt
        vendor: Tacker

    VL22:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: net0
        vendor: Tacker

    VL23:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: net1
        vendor: Tacker

Revision history for this message
Yassine Jebbar (yasnas125) wrote :
Revision history for this message
yong sheng gong (gongysh) wrote :

can you paste out the tacker server log?

Changed in tacker:
status: New → Incomplete
Revision history for this message
Yassine Jebbar (yasnas125) wrote :
Download full text (9.7 KiB)

There's the file attached but here you go anyway

DEBUG: keystoneclient.session REQ: curl -g -i -X GET http://10.10.2.33/identity -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG: keystoneclient.session RESP: [300] Date: Wed, 24 May 2017 00:29:17 GMT Server: Apache/2.4.18 (Ubuntu) Vary: X-Auth-Token Content-Type: application/json Content-Length: 602 Connection: close
RESP BODY: {"versions": {"values": [{"status": "stable", "updated": "2017-02-22T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.8", "links": [{"href": "http://10.10.2.33/identity/v3/", "rel": "self"}]}, {"status": "deprecated", "updated": "2016-08-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://10.10.2.33/identity/v2.0/", "rel": "self"}, {"href": "https://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}

DEBUG: stevedore.extension found extension EntryPoint.parse('table = cliff.formatters.table:TableFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('json = cliff.formatters.json_format:JSONFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('shell = cliff.formatters.shell:ShellFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('value = cliff.formatters.value:ValueFormatter')
DEBUG: stevedore.extension found extension EntryPoint.parse('yaml = cliff.formatters.yaml_format:YAMLFormatter')
DEBUG: tackerclient.tacker.v1_0.nfvo.vnffg.CreateVNFFG get_data(Namespace(columns=[], formatter='table', max_width=0, name=u'first_vnffg', noindent=False, param_file=None, prefix='', print_empty=False, request_format='json', symmetrical=None, tenant_id=None, variables=[], vnf_mapping=None, vnffgd_id=u'a6405615-4bc1-44c5-bfa0-e19ae9b2864e', vnffgd_name=None))
DEBUG: keystoneclient.auth.identity.v3.base Making authentication request to http://10.10.2.33/identity/v3/auth/tokens
DEBUG: keystoneclient.auth.identity.v3.base {"token": {"is_domain": false, "methods": ["password"], "roles": [{"id": "3743d40563df4a3f91951ccf75e4e435", "name": "Member"}, {"id": "51489300e67f44268c0ca80548fe602b", "name": "anotherrole"}], "expires_at": "2017-05-24T01:29:17.000000Z", "project": {"domain": {"id": "default", "name": "Default"}, "id": "51aa9d2e8dfd4a4890028b33785723e9", "name": "demo"}, "catalog": [{"endpoints": [{"url": "http://10.10.2.33:8000/v1", "interface": "admin", "region": "RegionOne", "region_id": "RegionOne", "id": "014003667e8f43e8872d78d87d115f90"}, {"url": "http://10.10.2.33:8000/v1", "interface": "internal", "region": "RegionOne", "region_id": "RegionOne", "id": "728017feeddb4a5793c6ed1ea0b383dd"}, {"url": "http://10.10.2.33:8000/v1", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "a4d3c464fca34a0e9152139661f07290"}], "type": "cloudformation", "id": "0ef58eb2574840f99db23fff58af37bf", "name": "heat-cfn"}, {"endpoints": [{"url": "http://10.10.2.33/placement", "interface": "public", "region": "RegionOne", "region_id": "RegionOne", "id": "060dc3b4e8ca4dd8b0aa124a5d4db70a"}], "type"...

Read more...

Revision history for this message
Yassine Jebbar (yasnas125) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for tacker because there has been no activity for 60 days.]

Changed in tacker:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.