Hello Vinayak,

It looks like OS is not able to allocate cinder volume. Could you please try to 
create cinder volume of size 100G manually to verify it and then try to deploy 
ONAP stack.

--
Regards,
Subhash Kumar Singh

***************************************************************************************
本邮件及其附件含有华为公司的保密信息,仅限于发送给上面地址中列出的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本邮件!**************************************************************************************

***************************************************************************************
This e-mail and its attachments contain confidential information from HUAWEI, 
which is intended only for the person  or entity whoseaddress is listed above. 
Any use of the information contained herein in any way (including, but not   
limited to, total or partial disclosure,reproduction, or dissemination) by 
persons other than the intended recipient(s) is  prohibited. If you receive 
this e-mail in error, pleasenotify the sender by phone or email immediately and 
delete it!
***************************************************************************************

From: [email protected] 
[mailto:[email protected]] On Behalf Of Vinayak Tejankar
Sent: Thursday, November 02, 2017 5:17 PM
To: [email protected]
Subject: [onap-discuss] Resource CREATE failed: NotFound: 
resources.sdc_volume_attachment

Hi all,
I'm trying to deploy ONAP using Openstack Mitaka. Followed instructions present 
at https://wiki.onap.org/display/DW/ONAP+Installation+in+Vanilla+OpenStack 
along with Rackspace guide. However, when I'm deploying the heat template I'm 
getting the following error in heat-engine.log:

2017-11-02 10:16:55.325 1982 INFO heat.engine.resource [-] CREATE: 
CinderVolumeAttachment "sdc_volume_attachment" 
[9fe15ce3-23fc-4191-b7ba-bcc79c01d1fb] Stack "ONAP" 
[eea0c5fe-8d5d-4c65-8614-6f6b11bb6bf9]
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource Traceback (most recent 
call last):
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 708, in 
_action_recorder
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource yield
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 779, in 
_do_action
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource yield 
self.action_handler_task(action, args=handler_args)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/scheduler.py", line 314, in 
wrapper
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource step = next(subtask)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/resource.py", line 753, in 
action_handler_task
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource while not 
check(handler_data):
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/resources/volume_base.py", line 
182, in check_create_complete
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource return 
self.client_plugin().check_attach_volume_complete(volume_id)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/heat/engine/clients/os/cinder.py", line 164, 
in check_attach_volume_complete
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource vol = 
self.client().volumes.get(vol_id)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/v2/volumes.py", line 259, in get
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource return 
self._get("/volumes/%s" % volume_id, "volume")
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/base.py", line 291, in _get
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource resp, body = 
self.api.client.get(url)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 332, in get
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource return 
self._cs_request(url, 'GET', **kwargs)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 289, in 
_cs_request
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource self.authenticate()
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 468, in 
authenticate
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource self._v2_auth(auth_url)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 512, in _v2_auth
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource self._authenticate(url, 
body)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 523, in 
_authenticate
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource allow_redirects=True)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource File 
"/usr/lib/python2.7/dist-packages/cinderclient/client.py", line 278, in request
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource raise 
exceptions.from_response(resp, body)
2017-11-02 10:16:55.325 1982 ERROR heat.engine.resource NotFound: The resource 
could not be found. (HTTP 404)

2017-11-02 10:16:56.514 1982 INFO heat.engine.service [-] Stack create failed, 
status FAILED
2017-11-02 10:16:56.544 1982 INFO heat.engine.stack [-] Stack CREATE FAILED 
(ONAP): Resource CREATE failed: NotFound: resources.sdc_volume_attachment: The 
resource could not be found. (HTTP 404)

I have checked if SDC volume is created, which is available:

| 9fe15ce3-23fc-4191-b7ba-bcc79c01d1fb | available | vol1-sdc-data | 100  |     
 -      |  false   |             |

And instances have booted up as well.
I'm not able to resolve why this is happening.
I would really appreciate any help that I could get.

Thanks,
Vinayak
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to