Hi,

I tried to manually create a volume and then attach it to an instance and that 
works.

What is not working is to create a new instance and use as boot source a volume.
This issue we have long time now and i din't face any issue when i run the same 
heat template couple of weeks ago without problems.
I think in that template what is happening is creating an empty volume and 
simply attach it to the nfs instance.

>From  "openstack stack resource show" i get the following:

| resource_status_reason | CREATE aborted (Task create from 
CinderVolumeAttachment "nfs_volume_att" Stack "onap" 
[5420d10e-0a71-4a39-8a1e-81de980b9609] Timed out)

Attached also the full logs.

Thanks
 Lefteris

________________________________
From: [email protected] <[email protected]> on behalf of 
Kanagaraj Manickam <[email protected]>
Sent: Wednesday, February 26, 2020 7:46 AM
To: [email protected] <[email protected]>; [email protected] 
<[email protected]>; Alexakis, Lefteris <[email protected]>
Subject: Re: [onap-discuss] Issue with heat template


Hi,



Can you check the details of resource 149084a3-70d3-46d2-b3f8-633762756896 by 
running command as below (don’t remember exact syntax):

openstack stack resource show 149084a3-70d3-46d2-b3f8-633762756896



This will report the error details for that specific heat resource



Regards

Kanagaraj Manickam

Lead Architect

Cloudfiy Networking OSDT

Huawei Technologies India Pvt. Ltd.

Survey No. 37, Next to EPIP Area, Kundalahalli, Whitefield

Bengaluru-560066, Karnataka

Tel: + 91-80-49160700 ext 72410 Mob: 9945602938

[Company_logo]



________________________________

This e-mail and its attachments contain confidential information from HUAWEI, 
which
is intended only for the person or entity whose address 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, please notify 
the sender by
phone or email immediately and delete it!



From: [email protected] [mailto:[email protected]] On 
Behalf Of Brian Freeman
Sent: 25 February 2020 19:22
To: [email protected]; [email protected]
Subject: Re: [onap-discuss] Issue with heat template



Looks like something in your environment isn’t allowing the Cinder storage to 
be created.



You need to check you openstack logs to see what the problem is.



Brian





From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On Behalf Of 
lefteris.alexakis via Lists.Onap.Org
Sent: Tuesday, February 25, 2020 5:45 AM
To: [email protected]<mailto:[email protected]>
Subject: [onap-discuss] Issue with heat template



Hello,



I am trying to deploy ONAP using the heat templates and i am getting the 
following error:



:~/integration/deployment/heat/onap-rke$ openstack stack resource list onap 
|grep -v COMPL
+--------------------------+-------------------------------------------------------------------------------------+------------------------------+-----------------+----------------------+
| resource_name            | physical_resource_id                               
                                 | resource_type                | 
resource_status | updated_time         |
+--------------------------+-------------------------------------------------------------------------------------+------------------------------+-----------------+----------------------+
| nfs_volume_att           | 149084a3-70d3-46d2-b3f8-633762756896               
                                 | OS::Cinder::VolumeAttachment | CREATE_FAILED 
  | 2020-02-24T10:34:07Z |
+--------------------------+-------------------------------------------------------------------------------------+------------------------------+-----------------+----------------------+







I logged in the onap nfs and i see :



ubuntu@onap-nfs:~$ tail -20  /var/log/cloud-init-output.log
+ service nfs-kernel-server restart
++ echo c0c55a89-65f1-4d58-be9b-a04515bd3299
++ cut -c -20
+ nfs_volume_dev=/dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m
+ '[' -b /dev/disk/by-id/virtio-c0c55a89-65f1-4d58-b ']'
+ sleep 1m

and



ubuntu@onap-nfs:~$ service nfs-kernel-server status
● nfs-server.service - NFS server and services
  Loaded: loaded (/lib/systemd/system/nfs-server.service; enabled; vendor 
preset: enabled)
  Active: active (exited) since Tue 2020-02-25 10:33:03 UTC; 7min ago
 Process: 3521 ExecStopPost=/usr/sbin/exportfs -f (code=exited, 
status=0/SUCCESS)
 Process: 3517 ExecStopPost=/usr/sbin/exportfs -au (code=exited, 
status=0/SUCCESS)
 Process: 3516 ExecStop=/usr/sbin/rpc.nfsd 0 (code=exited, status=0/SUCCESS)
 Process: 3545 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS (code=exited, 
status=0/SUCCESS)
 Process: 3544 ExecStartPre=/usr/sbin/exportfs -r (code=exited, 
status=0/SUCCESS)
Main PID: 3545 (code=exited, status=0/SUCCESS)
Feb 25 10:33:03 onap-nfs systemd[1]: Starting NFS server and services...
Feb 25 10:33:03 onap-nfs systemd[1]: Started NFS server and services.
ubuntu@onap-nfs:~$



I run the same heat template couple of weeks ago and was working to our 
openstack, so i suspect has to do something with our platform maybe?

Did anyone experienced that error and has any hint?



Thanks

 Lefteris



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#20121): https://lists.onap.org/g/onap-discuss/message/20121
Mute This Topic: https://lists.onap.org/mt/71530892/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

(openstack) stack resource show onap nfs_volume_att
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field                  | Value                                                                                                                                                                                                                                                                                                          |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| attributes             | {}                                                                                                                                                                                                                                                                                                             |
| creation_time          | 2020-02-25T10:31:18Z                                                                                                                                                                                                                                                                                           |
| description            |                                                                                                                                                                                                                                                                                                                |
| links                  | [{'href': 'http://10.143.0.180:8004/v1/6074df3c52be481e9568af1139a2927a/stacks/onap/5420d10e-0a71-4a39-8a1e-81de980b9609/resources/nfs_volume_att', 'rel': 'self'}, {'href': 'http://10.143.0.180:8004/v1/6074df3c52be481e9568af1139a2927a/stacks/onap/5420d10e-0a71-4a39-8a1e-81de980b9609', 'rel': 'stack'}] |
| logical_resource_id    | nfs_volume_att                                                                                                                                                                                                                                                                                                 |
| physical_resource_id   | c0c55a89-65f1-4d58-be9b-a04515bd3299                                                                                                                                                                                                                                                                           |
| required_by            | []                                                                                                                                                                                                                                                                                                             |
| resource_name          | nfs_volume_att                                                                                                                                                                                                                                                                                                 |
| resource_status        | CREATE_FAILED                                                                                                                                                                                                                                                                                                  |
| resource_status_reason | CREATE aborted (Task create from CinderVolumeAttachment "nfs_volume_att" Stack "onap" [5420d10e-0a71-4a39-8a1e-81de980b9609] Timed out)                                                                                                                                                                        |
| resource_type          | OS::Cinder::VolumeAttachment                                                                                                                                                                                                                                                                                   |
| updated_time           | 2020-02-25T10:31:18Z                                                                                                                                                                                                                                                                                           |
+------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
(openstack) 

Reply via email to