The resource-id issue could simply be the bulkadd for images and flavors being 
run more than once. I dont think that is affecting anything.

The vfmodule one about "does not start with a valid namespace"  is concerning.  
I would try it via POSTMAN directly and see if you can determine the problem.

Jimmy,

Did the format of bulkadd or relationship change ?

Brian


Arguments: [ 'aai' | '/aai/v11/bulkadd' | data=b'{"transactions": [{"put": 
[{"body": {"image-os-distro": "unknown", "application-version": "unknown", 
"image-architecture": "unknown", "application-vendor": "unknown", "image-name": 
"unknown", "image-os-version": "unknown", "application": "unknown", "image-id": 
"6e219e86-cd94-4989-9119-def29aa10b12", "image-selflink": 
"http://10.12.25.2:8774/1e097c6713e74fd7ac8e4295e605ee1e/images/6e219e86-cd94-4989-9119-def29aa10b12"}<http://10.12.25.2:8774/1e097c6713e74fd7ac8e4295e605ee1e/images/6e219e86-cd94-4989-9119-def29aa10b12%22%7d>,
 "uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/6e219e86-cd94-4989-9119-def29aa10b12"}]},
 {"put": [{"body": {"flavor-id": "764efb04-5a46-4806-a766-2bdd24559f39", 
"flavor-vcpus": 2, "flavor-ephemeral": 0, "flavor-ram": 4096, "flavor-name": 
"m1.medium", "flavor-selflink": 
"http://10.12.25.2:8774/v2.1/1e097c6713e74fd7ac8e4295e605ee1e/flavors/764efb04-5a46-4806-a766-2bdd24559f39";,
 "flavor-disk": 40}, "uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39"}]},
 {"put": [{"body": {"vserver-name2": "scale-out-wro-testing-vnf003", 
"vserver-name": "scale-out-wro-testing-vnf003", "relationship-list": 
{"relationship": [{"relationship-data": [{"relationship-key": 
"generic-vnf.vnf-id", "relationship-value": 
"9ce350e8-2daf-4e2d-be13-a3c536ca09ba"}], "related-to": "generic-vnf"}, 
{"relationship-data": [{"relationship-key": "vf-module.vf-module-id", 
"relationship-value": "84b59da3-1019-43f6-85ea-116be6301d3e"}], "related-to": 
"vf-module"}, {"relationship-data": [{"relationship-key": "flavor.flavor-id", 
"relationship-value": "764efb04-5a46-4806-a766-2bdd24559f39"}, 
{"relationship-key": "cloud-region.cloud-owner", "relationship-value": 
"CloudOwner"}, {"relationship-key": "cloud-region.cloud-region-id", 
"relationship-value": "RegionOne"}], "related-to": "flavor"}, 
{"relationship-data": [{"relationship-key": "image.image-id", 
"relationship-value": "6e219e86-cd94-4989-9119-def29aa10b12"}, 
{"relationship-key": "cloud-region.cloud-owner", "relationship-value": 
"CloudOwner"}, {"relationship-key": "cloud-region.cloud-region-id", 
"relationship-value": "RegionOne"}], "related-to": "image"}]}, "volumes": [], 
"prov-status": "ACTIVE", "vserver-id": "a45e87b1-d082-465f-8726-1f5607787ce4", 
"vserver-selflink": 
"http://10.12.25.2:8774/v2.1/1e097c6713e74fd7ac8e4295e605ee1e/servers/a45e87b1-d082-465f-8726-1f5607787ce4"}<http://10.12.25.2:8774/v2.1/1e097c6713e74fd7ac8e4295e605ee1e/servers/a45e87b1-d082-465f-8726-1f5607787ce4%22%7d>,
 "uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/1e097c6713e74fd7ac8e4295e605ee1e/vservers/vserver/a45e87b1-d082-465f-8726-1f5607787ce4"}]}]}'
 | headers={'Accept': 'application/json', 'Content-Type': 'application/json', 
'X-FromAppId': 'robot-ete', 'X-TransactionId': 
'robot-ete-daed81d0-7eb8-4158-8c22-c7042a6cb90b'} ]


07:07:16.018

DEBUG

Starting new HTTPS connection (1): 10.0.1.1:8443


07:07:16.156

DEBUG

https://10.0.1.1:8443 "PUT /aai/v11/bulkadd HTTP/1.1" 201 1918


07:07:16.157

DEBUG

put response: 
{"transaction":[{"put":[{"uri":"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/6e219e86-cd94-4989-9119-def29aa10b12","body":{"412":"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/6e219e86-cd94-4989-9119-def29aa10b12\",\"Precondition
 Required:resource-version not passed for update of 
/images/image/6e219e86-cd94-4989-9119-def29aa10b12\",\"ERR.5.4.6130\"]}}}"}}]},{"put":[{"uri":"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39","body":{"412":"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39\",\"Precondition
 Required:resource-version not passed for update of 
/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39\",\"ERR.5.4.6130\"]}}}"}}]},{"put":[{"uri":"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/1e097c6713e74fd7ac8e4295e605ee1e/vservers/vserver/a45e87b1-d082-465f-8726-1f5607787ce4","body":{"400":"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/1e097c6713e74fd7ac8e4295e605ee1e/vservers/vserver/a45e87b1-d082-465f-8726-1f5607787ce4\",\"Invalid
 input performing %1 on 
%2:vf-modules/vf-module/84b59da3-1019-43f6-85ea-116be6301d3e not a valid path. 
It does not start from a valid namespace\",\"ERR.5.2.3000\"]}}}"}}]}]}



From: onap-discuss@lists.onap.org <onap-discuss@lists.onap.org> On Behalf Of 
Sliwka, Wojciech (Nokia - PL/Wroclaw)
Sent: Wednesday, September 26, 2018 4:57 AM
To: onap-discuss@lists.onap.org
Cc: Koblosz, Sandra (Nokia - PL/Wroclaw) <sandra.kobl...@nokia.com>; Krysiak, 
Piotr (Nokia - PL/Wroclaw) <piotr.krys...@nokia.com>; Darosz, Piotr (Nokia - 
PL/Wroclaw) <piotr.dar...@nokia.com>; Krysiak, Adam (Nokia - PL/Wroclaw) 
<adam.krys...@nokia.com>; Golabek, Tomasz (Nokia - PL/Wroclaw) 
<tomasz.gola...@nokia.com>
Subject: [onap-discuss] [Robot][Heatbridge][master][aai] Robot heatbridge 
action fails


Hi,

As I wrote in subject, I noticed that heatbridge action fails during PUT call 
to AAI with following exception:




{
"transaction": [{
"put": [{
"uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/6e219e86-cd94-4989-9119-def29aa10b12",
"body": {
"412": 
"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/images/image/6e219e86-cd94-4989-9119-def29aa10b12\",\"Precondition
 Required:resource-version not passed for update of 
/images/image/6e219e86-cd94-4989-9119-def29aa10b12\",\"ERR.5.4.6130\"]}}}"
}
}]
}, {
"put": [{
"uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39",
"body": {
"412": 
"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39\",\"Precondition
 Required:resource-version not passed for update of 
/flavors/flavor/764efb04-5a46-4806-a766-2bdd24559f39\",\"ERR.5.4.6130\"]}}}"
}
}]
}, {
"put": [{
"uri": 
"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/1e097c6713e74fd7ac8e4295e605ee1e/vservers/vserver/a45e87b1-d082-465f-8726-1f5607787ce4",
"body": {
"400": 
"{\"requestError\":{\"serviceException\":{\"messageId\":\"SVC3000\",\"text\":\"Invalid
 input performing %1 on %2 (msg\u003d%3) 
(ec\u003d%4)\",\"variables\":[\"PUT\",\"/cloud-infrastructure/cloud-regions/cloud-region/CloudOwner/RegionOne/tenants/tenant/1e097c6713e74fd7ac8e4295e605ee1e/vservers/vserver/a45e87b1-d082-465f-8726-1f5607787ce4\",\"Invalid
 input performing %1 on 
%2:vf-modules/vf-module/84b59da3-1019-43f6-85ea-116be6301d3e not a valid path. 
It does not start from a valid namespace\",\"ERR.5.2.3000\"]}}}"
}
}]
}]
}




Any ideas what could be wrong here?



Env: Windriver , Integration-SB-07



Logs from robot in attachements



BR,

Wojtek



wojciech.sli...@nokia.com<mailto:wojciech.sli...@nokia.com>






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

View/Reply Online (#12658): https://lists.onap.org/g/onap-discuss/message/12658
Mute This Topic: https://lists.onap.org/mt/26230567/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