Hi Scott,

I haven't found any keystone requests in karaf.log file.
I found the below data related to my request to restart the vm.

<log4j:message><![CDATA[Response data : 
{"vnf-id":"d42073be-8976-4de9-903d-294e005860eb","vnf-name":"VNF2","vnf-type":"flexranService/flexranVSP
 
0","service-id":"flexran-service","orchestration-status":"Restarting","in-maint":false,"is-closed-loop-disabled":false,"resource-version":"1531262796007","model-invariant-id":"6eee5938-9258-4a0f-8da4-095816387624","model-version-id":"11f8415e-53db-4ac4-adb4-518863eaf285","relationship-list":{"relationship":[{"related-to":"service-instance","related-link":"/aai/v11/business/customers/customer/flexran-customer/service-subscriptions/service-subscription/flexran-service/service-instances/service-instance/f31df423-a430-4245-b85b-1e62fb93492a","relationship-data":[{"relationship-key":"customer.global-customer-id","relationship-value":"flexran-customer"},{"relationship-key":"service-subscription.service-type","relationship-value":"flexran-service"},{"relationship-key":"service-instance.service-instance-id","relationship-value":"f31df423-a430-4245-b85b-1e62fb93492a"}],"related-to-property":[{"property-key":"service-instance.service-instance-name","property-value":"serviceInstance2"}]},{"related-to":"vserver","related-link":"/aai/v11/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/16e1c9313ba14f32b04c3cc24abb603c/vservers/vserver/ec272a81-60b1-4daa-be47-a09d4130fd17","relationship-data":[{"relationship-key":"cloud-region.cloud-owner","relationship-value":"CloudOwner"},{"relationship-key":"cloud-region.cloud-region-id","relationship-value":"RegionOne"},{"relationship-key":"tenant.tenant-id","relationship-value":"16e1c9313ba14f32b04c3cc24abb603c"},{"relationship-key":"vserver.vserver-id","relationship-value":"ec272a81-60b1-4daa-be47-a09d4130fd17"}],"related-to-property":[{"property-key":"vserver.vserver-name","property-value":"VNF2"}]}]},"vf-modules":{"vf-module":[{"vf-module-id":"5b3308f5-d4b6-44f4-9c8a-2cd094e095b6","vf-module-name":"VFModule2","heat-stack-id":"VFModule2/8b8e8e2f-6cfa-4e2a-9011-5680d757fa9a","orchestration-status":"active","is-base-vf-module":true,"resource-version":"1531260967015","model-invariant-id":"e1fc59ed-4038-4dcc-bc8a-518c0b3e9205","model-version-id":"9d1ae5df-a80c-4324-aec4-19d35820b56c","model-customization-id":"026711d7-0560-4854-9d49-2ed9e41871b5","module-index":0}]}}]]></log4j:message>
<log4j:data name="ServiceName" value="Restart"/>
<log4j:data name="X-ECOMP-ServiceName" value="APPC:Generic_Restart/v3.0.0"/>
<log4j:data name="ServiceName" value="Restart"/>
<log4j:data name="X-ECOMP-ServiceName" value="APPC:Generic_Restart/v3.0.0"/>
<log4j:data name="ServiceName" value="Restart"/>
<log4j:data name="X-ECOMP-ServiceName" value="APPC:Generic_Restart/v3.0.0"/>
<log4j:data name="ServiceName" value="Restart"/>

Can you mention any errors that I need to specifically look for?

Regards,
Srivahni

From: onap-discuss@lists.onap.org [mailto:onap-discuss@lists.onap.org] On 
Behalf Of Scott Seabolt
Sent: Wednesday, July 11, 2018 2:19 PM
To: onap-discuss@lists.onap.org; Chivukula, Srivahni 
<srivahni.chivuk...@intel.com>
Subject: Re: [onap-discuss] [appc] APPC LCM Restart doesn't restart the vm

Hi Srivahni

You should be able to look in the karaf.log (OOEM deployment it will be located 
in /var/log/onap/appc and for Heat deployed APPC environments it is 
/opt/opendaylight/current/data/log).

When APPC calls OpenStack you should see the IaaS Adapter make a Keystone 
request to get a token (Search karaf.log for "keystone").  Once a token is 
obtained and OpenStack "os-stop" is sent to OpenStack followed by an "os-start" 
once APPC confirms the VM stopped.  If these actions are not present look for 
errors in the karaf.log.

Scott Seabolt
Sr. System Engineer
678-765-9732

From: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org> 
<onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>> On Behalf Of 
Srivahni
Sent: Wednesday, July 11, 2018 1:41 PM
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: [onap-discuss] [appc] APPC LCM Restart doesn't restart the vm

Hi all,

I'm using the appc-provider-lcm:restart operation on the APPC ONAP Doc Explorer 
to restart a vm in Amsterdam.

I used the sample json request from 
https://jira.onap.org/browse/INT-206<https://urldefense.proofpoint.com/v2/url?u=https-3A__jira.onap.org_browse_INT-2D206&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=GFo1Xg2fii1Qspe46uTZSg&m=A8JGYy7Mgoa38taCPmqqZ19Bb9AfI8xjCOAcOMAFHn0&s=bJZs4a43ZUC2nb9GKPDNSQd7DOP6Hs2-3lfJCvzeab0&e=>
 and modified it have my vnf and vm data.

On clicking "Try it out!", I see the request accepted and the status of vnf  
changing from "Running" to "Restarting" and back to "Running" on ONAP VID. 
However, the vm doesn't seem to restart(checked the action log in openstack 
dashboard).

Can anyone help me with the issue? Are there any logs that I can check?


Regards,
Srivahni


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

View/Reply Online (#11098): https://lists.onap.org/g/onap-discuss/message/11098
Mute This Topic: https://lists.onap.org/mt/23247610/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to