Topics

How to delete vfModule #so #vid

satish kumar <satish1044@...>
 

Hello Team, 

I have deployed ONAP Casablanca on Kubernetes cluster. 
I am trying to run vFW demo. I have created a service instance and added SINC and PG nodes to the service instance via VID portal.

However, during the creation of the VF module:

Initially, I got the error " Maximum number of poll attempts exceeded".
Then in next try, I am getting the system failure error:

04/30/19 23:25:29 HTTP Status: Locked (409)
{
  "requestError": {
    "serviceException": {
      "messageId": "SVC2000",
      "text": "Error: Locked instance - This vfModule (vFW_SINC_Module) already has a request being worked with a status of IN_PROGRESS (RequestId - 02b1663e-c7d3-492c-b48d-61e764d2b986). The existing request must finish or be cleaned up before proceeding."
    }
  }
}

Please suggest me the process to clean up the existing request.

Thank you so much for your help!

Regards,
Satish

Michal Ptacek
 

Hi Satish,

 

I am also fighting with similar problem, in my case VFModule is in pending-delete state,

this was caused by SO not taking my OpenstackCredentials from main onap/values.yaml override

I found a way how to patch it in SO mariadb (to replace default 1.2.3.4 IP) but now I am trying to remove that VF module … to retry with corrected keystone URL

 

It can’t delete VF Module because VF Module was not created 😊

 

I found some hints in onap-discuss already

https://mail.openvswitch.org/pipermail/onap-discuss/2018-February/007873.html

 

but so far no success in deleting VF module

 

curl -i -X DELETE --user aai@...:demo123456! -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-FromAppId: MSO' -H 'X-TransactionId: 89273498' -d '{"resource-version":"1556795851677", "vnf-id":"959e279f-66be-463f-b9b0-078df5531c17", "vf-module-id":"eabe3403-b7a1-4b25-bdcf-7ee8a7e82431"}' https://tomas-node0:30233/aai/v14/network/generic-vnfs/generic-vnf/959e279f-66be-463f-b9b0-078df5531c17/vf-modules/vf-module/eabe3403-b7a1-4b25-bdcf-7ee8a7e82431 --insecure

HTTP/1.1 412 Precondition Failed

Date: Thu, 02 May 2019 11:45:35 GMT

Content-Type: application/json

X-AAI-TXID: 1-aai-resources-190502-11:45:35:781-20469

Content-Length: 365

Strict-Transport-Security: max-age=16000000; includeSubDomains; preload;

 

{"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["DELETE","network/generic-vnfs/generic-vnf/959e279f-66be-463f-b9b0-078df5531c17/vf-modules/vf-module/eabe3403-b7a1-4b25-bdcf-7ee8a7e82431","Precondition Required:resource-version not passed for delete of vf-module","ERR.5.4.6130"]}}}[root@tomas-infra robot

 

 

Any hint welcome 😊

 

Thanks,

Michal

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of satish kumar
Sent: Wednesday, May 1, 2019 12:45 AM
To: onap-discuss@...
Subject: [onap-discuss] How to delete vfModule #so #vid

 

Hello Team, 

I have deployed ONAP Casablanca on Kubernetes cluster. 
I am trying to run vFW demo. I have created a service instance and added SINC and PG nodes to the service instance via VID portal.

However, during the creation of the VF module:

Initially, I got the error " Maximum number of poll attempts exceeded".
Then in next try, I am getting the system failure error:


04/30/19 23:25:29 HTTP Status: Locked (409)
{
  "requestError": {
    "serviceException": {
      "messageId": "SVC2000",
      "text": "Error: Locked instance - This vfModule (vFW_SINC_Module) already has a request being worked with a status of IN_PROGRESS (RequestId - 02b1663e-c7d3-492c-b48d-61e764d2b986). The existing request must finish or be cleaned up before proceeding."
    }
  }
}


Please suggest me the process to clean up the existing request.

Thank you so much for your help!

Regards,
Satish

 

  

Michal Ptacek
 

This one works:

curl -i -X DELETE --user aai@...:demo123456! -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-FromAppId: MSO' -H 'X-TransactionId: 89273498' https://tomas-node0:30233/aai/v14/network/generic-vnfs/generic-vnf/959e279f-66be-463f-b9b0-078df5531c17/vf-modules/vf-module/eabe3403-b7a1-4b25-bdcf-7ee8a7e82431?resource-version=1556636336169 –insecure

 

M.

 

From: Michal Ptacek [mailto:m.ptacek@...]
Sent: Thursday, May 2, 2019 1:54 PM
To: onap-discuss@...; 'satish1044@...' <satish1044@...>
Subject: RE: [onap-discuss] How to delete vfModule #so #vid

 

Hi Satish,

 

I am also fighting with similar problem, in my case VFModule is in pending-delete state,

this was caused by SO not taking my OpenstackCredentials from main onap/values.yaml override

I found a way how to patch it in SO mariadb (to replace default 1.2.3.4 IP) but now I am trying to remove that VF module … to retry with corrected keystone URL

 

It can’t delete VF Module because VF Module was not created 😊

 

I found some hints in onap-discuss already

https://mail.openvswitch.org/pipermail/onap-discuss/2018-February/007873.html

 

but so far no success in deleting VF module

 

curl -i -X DELETE --user aai@...:demo123456! -H 'Accept: application/json' -H 'Content-Type: application/json' -H 'X-FromAppId: MSO' -H 'X-TransactionId: 89273498' -d '{"resource-version":"1556795851677", "vnf-id":"959e279f-66be-463f-b9b0-078df5531c17", "vf-module-id":"eabe3403-b7a1-4b25-bdcf-7ee8a7e82431"}' https://tomas-node0:30233/aai/v14/network/generic-vnfs/generic-vnf/959e279f-66be-463f-b9b0-078df5531c17/vf-modules/vf-module/eabe3403-b7a1-4b25-bdcf-7ee8a7e82431 --insecure

HTTP/1.1 412 Precondition Failed

Date: Thu, 02 May 2019 11:45:35 GMT

Content-Type: application/json

X-AAI-TXID: 1-aai-resources-190502-11:45:35:781-20469

Content-Length: 365

Strict-Transport-Security: max-age=16000000; includeSubDomains; preload;

 

{"requestError":{"serviceException":{"messageId":"SVC3000","text":"Invalid input performing %1 on %2 (msg=%3) (ec=%4)","variables":["DELETE","network/generic-vnfs/generic-vnf/959e279f-66be-463f-b9b0-078df5531c17/vf-modules/vf-module/eabe3403-b7a1-4b25-bdcf-7ee8a7e82431","Precondition Required:resource-version not passed for delete of vf-module","ERR.5.4.6130"]}}}[root@tomas-infra robot

 

 

Any hint welcome 😊

 

Thanks,

Michal

From: onap-discuss@... [mailto:onap-discuss@...] On Behalf Of satish kumar
Sent: Wednesday, May 1, 2019 12:45 AM
To: onap-discuss@...
Subject: [onap-discuss] How to delete vfModule #so #vid

 

Hello Team, 

I have deployed ONAP Casablanca on Kubernetes cluster. 
I am trying to run vFW demo. I have created a service instance and added SINC and PG nodes to the service instance via VID portal.

However, during the creation of the VF module:

Initially, I got the error " Maximum number of poll attempts exceeded".
Then in next try, I am getting the system failure error:

04/30/19 23:25:29 HTTP Status: Locked (409)
{
  "requestError": {
    "serviceException": {
      "messageId": "SVC2000",
      "text": "Error: Locked instance - This vfModule (vFW_SINC_Module) already has a request being worked with a status of IN_PROGRESS (RequestId - 02b1663e-c7d3-492c-b48d-61e764d2b986). The existing request must finish or be cleaned up before proceeding."
    }
  }
}


Please suggest me the process to clean up the existing request.

Thank you so much for your help!

Regards,
Satish