Resource CREATE failed: NotFound: resources.VDU1: Could not find domain: default (HTTP 404)

Asked by Abhijeet

while trying to deploy first VNFD template as shown below, My stack gets failed.
VNFD Template
___________________________________
tosca_definitions_version: tosca_simple_profile_for_nfv_1_0_0

description: Demo example

metadata:
  template_name: sample-tosca-vnfd

topology_template:
  node_templates:
    VDU1:
      type: tosca.nodes.nfv.VDU.Tacker
      properties:
        image: Cirros
        flavor: m1.tiny
        availability_zone: nova

    CP1:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        management: true
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL1
        - virtualBinding:
            node: VDU1

    CP2:
      type: tosca.nodes.nfv.CP.Tacker
      properties:
        anti_spoofing_protection: false
      requirements:
        - virtualLink:
            node: VL2
        - virtualBinding:
            node: VDU1

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

    VL2:
      type: tosca.nodes.nfv.VL
      properties:
        network_name: network1
        vendor: Tacker
___________________________________

While doing debug with stack-list getting below output:

_______________________________________________________________
root@controler:/home/itisgtp# openstack stack list
+--------------------------------------+--------------------------------------------------------+---------------+---------------------+--------------+
| ID | Stack Name | Stack Status | Creation Time | Updated Time |
+--------------------------------------+--------------------------------------------------------+---------------+---------------------+--------------+
| 4591083a-8fc3-422d-9c9c-ae7db1fece45 | tacker.vm.infra_drivers.heat.heat_DeviceHeat- | CREATE_FAILED | 2017-03-07T21:10:34 | None |
| | 54c92434-43a3-43e0-83b5-47824cba5999 | | | |
+--------------------------------------+--------------------------------------------------------+---------------+---------------------+--------------+
root@controler:/home/itisgtp# heat --debug stack-list
DEBUG (session) REQ: curl -g -i -X GET http://controler:35357/v3 -H "Accept: application/json" -H "User-Agent: python-keystoneclient"
DEBUG (connectionpool) Starting new HTTP connection (1): controler
DEBUG (connectionpool) http://controler:35357 "GET /v3 HTTP/1.1" 200 249
DEBUG (session) RESP: [200] Date: Tue, 07 Mar 2017 21:11:03 GMT Server: Apache/2.4.7 (Ubuntu) Vary: X-Auth-Token X-Distribution: Ubuntu x-openstack-request-id: req-80f3afa9-cd4d-48c3-a591-c8ad1e582de8 Content-Length: 249 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: application/json
RESP BODY: {"version": {"status": "stable", "updated": "2016-04-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.6", "links": [{"href": "http://controler:35357/v3/", "rel": "self"}]}}

DEBUG (base) Making authentication request to http://controler:35357/v3/auth/tokens
DEBUG (connectionpool) http://controler:35357 "POST /v3/auth/tokens HTTP/1.1" 201 5211
DEBUG (session) REQ: curl -g -i -X GET http://controler:8004/v1/1dfdb8d3adc64559a2870bb086c441b6/stacks? -H "User-Agent: python-heatclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}3063fa34749d6499c9113cc5137f6d619b6d620e"
DEBUG (connectionpool) Starting new HTTP connection (1): controler
DEBUG (connectionpool) http://controler:8004 "GET /v1/1dfdb8d3adc64559a2870bb086c441b6/stacks HTTP/1.1" 200 795
DEBUG (session) RESP: [200] Content-Type: application/json; charset=UTF-8 Content-Length: 795 X-Openstack-Request-Id: req-905fd1e0-4215-4ebc-bfff-bb4b67a18d5d Date: Tue, 07 Mar 2017 21:11:03 GMT Connection: keep-alive
RESP BODY: {"stacks": [{"description": "Demo example\n", "parent": null, "stack_status_reason": "Resource CREATE failed: NotFound: resources.VDU1: Could not find domain: default (HTTP 404) (Request-ID: req-71b0f753-660e-40c4-8a5c-68912b27d6bb)", "stack_name": "tacker.vm.infra_drivers.heat.heat_DeviceHeat-54c92434-43a3-43e0-83b5-47824cba5999", "stack_user_project_id": "1dfdb8d3adc64559a2870bb086c441b6", "tags": null, "creation_time": "2017-03-07T21:10:34", "links": [{"href": "http://controler:8004/v1/1dfdb8d3adc64559a2870bb086c441b6/stacks/tacker.vm.infra_drivers.heat.heat_DeviceHeat-54c92434-43a3-43e0-83b5-47824cba5999/4591083a-8fc3-422d-9c9c-ae7db1fece45", "rel": "self"}], "updated_time": null, "stack_owner": null, "stack_status": "CREATE_FAILED", "id": "4591083a-8fc3-422d-9c9c-ae7db1fece45"}]}

+--------------------------------------+-----------------------------------------------------------------------------------+---------------+---------------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+--------------------------------------+-----------------------------------------------------------------------------------+---------------+---------------------+--------------+
| 4591083a-8fc3-422d-9c9c-ae7db1fece45 | tacker.vm.infra_drivers.heat.heat_DeviceHeat-54c92434-43a3-43e0-83b5-47824cba5999 | CREATE_FAILED | 2017-03-07T21:10:34 | None |
+--------------------------------------+-----------------------------------------------------------------------------------+---------------+---------------------+--------------+

Any Pointers towards this issue resolution? what causing VNF stacking failed?

Thanks,
Abhijeet Karve

Question information

Language:
English Edit question
Status:
Answered
For:
tacker Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
yong sheng gong (gongysh) said :
#1

to debug this problem, it is always helpful to make sure your heat can work. you can use the heat template of the vnfd to start a stack directly to see if heat works well.

Can you help with this problem?

Provide an answer of your own, or ask Abhijeet for more information if necessary.

To post a message you must log in.