Hi, first of all the documentation you refer to is obsolete. Could you update it to let us reproduce template upload and config instance creation if you have succeeded in that? When I try to reproduce at least the creation of config instance I encounter following error.
root@release-nfs:~/test# curl -i -k -d @config.json -X POST https://10.12.5.132:30283/api/multicloud-k8s/v1/v1/rb/definition/test-def/1/profile/p1/config HTTP/1.1 500 Internal Server Error Server: openresty Date: Thu, 18 Jun 2020 13:43:01 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 80 Connection: keep-alive X-Content-Type-Options: nosniff Apply Config failed: Resolve Config: Invalid template no Chart.yaml file found Definition, profile and their content are already in place. Helm package was uploaded to RB def. Config template is created but config creation fails. Regards, [Logo Orange] Lukasz Rajewski, R&D Expert Orange Labs Poland, Advanced Network Solutions Agency Mob.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warsaw www.orange.pl<http://www.orange.pl/> From: Sivakumar _ [mailto:sx00548...@techmahindra.com] Sent: Thursday, June 18, 2020 11:40 AM To: Vamshi Namilikonda; Rajewski Łukasz - Hurt; Addepalli, Srinivasa R; onap-discuss@lists.onap.org; Sood, Ritu; k.ba...@samsung.com Cc: KHICHANE Abderaouf TGI/OLN Subject: Re: [onap-discuss] k8splugin - Configuration API Hi All, We tried to test use the configure api, we have followed the below link for api documentation. After creating the config template and uploading , also creation the values for the profile mentioning the template name, how this will be applied to the instance already running. Which api has to be triggered for updating the config change values we mapped to the profile. That information we are not able to find. Kindly help us. URL: https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API Thanks, Sivakumar S +49-1712324127 From: Vamshi Namilikonda <vn00480...@techmahindra.com> Date: Thursday, 18. June 2020 at 10:39 To: Rajewski Łukasz - Hurt <lukasz.rajew...@orange.com>, "Addepalli, Srinivasa R" <srinivasa.r.addepa...@intel.com>, "onap-discuss@lists.onap.org" <onap-discuss@lists.onap.org>, "Sood, Ritu" <ritu.s...@intel.com>, "k.ba...@samsung.com" <k.ba...@samsung.com> Cc: KHICHANE Abderaouf TGI/OLN <abderaouf.khich...@orange.com>, Sivakumar _ <sx00548...@techmahindra.com> Subject: RE: [onap-discuss] k8splugin - Configuration API Looping Sivakumar ++ From: Rajewski Łukasz - Hurt <lukasz.rajew...@orange.com> Sent: Tuesday, June 16, 2020 4:41 PM To: Vamshi Namilikonda <vn00480...@techmahindra.com>; Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com>; onap-discuss@lists.onap.org; Sood, Ritu <ritu.s...@intel.com>; k.ba...@samsung.com Cc: KHICHANE Abderaouf TGI/OLN <abderaouf.khich...@orange.com> Subject: RE: [onap-discuss] k8splugin - Configuration API Ok, great. So does it work? If yes, could you please send some working examples how to configure properly template and config instance? Regards, [Logo Orange] Łukasz Rajewski, R&D Expert Orange Labs Poland, Advanced Network Solutions Agency Mob.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warsaw www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612667112&sdata=n2NKIqatLw19gmpFWhEe%2BKG4InknvlimIOBu%2BEQPXDo%3D&reserved=0> From: Vamshi Namilikonda [mailto:vn00480...@techmahindra.com] Sent: Tuesday, June 16, 2020 1:09 PM To: Rajewski Łukasz - Hurt; Addepalli, Srinivasa R; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Sood, Ritu; k.ba...@samsung.com<mailto:k.ba...@samsung.com> Cc: KHICHANE Abderaouf TGI/OLN Subject: RE: [onap-discuss] k8splugin - Configuration API Yes Lukasz we’ve tried that, it is resolved. We need to update wiki page in few areas. We’re noting down improvements for wiki page in parallel. We will update. Thank you From: Rajewski Łukasz - Hurt <lukasz.rajew...@orange.com<mailto:lukasz.rajew...@orange.com>> Sent: Tuesday, June 16, 2020 4:35 PM To: Addepalli, Srinivasa R <srinivasa.r.addepa...@intel.com<mailto:srinivasa.r.addepa...@intel.com>>; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Vamshi Namilikonda <vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>>; Sood, Ritu <ritu.s...@intel.com<mailto:ritu.s...@intel.com>>; k.ba...@samsung.com<mailto:k.ba...@samsung.com> Cc: KHICHANE Abderaouf TGI/OLN <abderaouf.khich...@orange.com<mailto:abderaouf.khich...@orange.com>> Subject: RE: [onap-discuss] k8splugin - Configuration API Try please also to include “template-name” parameter in the post https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/internal/rb/config_template.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Finternal%2Frb%2Fconfig_template.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612677110&sdata=s47T4R%2F%2FFNVEaP3OGA9xRZmGsIhYMpnvyz3JeCRl67s%3D&reserved=0> Regards, [Logo Orange] Łukasz Rajewski, R&D Expert Orange Labs Poland, Advanced Network Solutions Agency Mob.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warsaw www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612677110&sdata=wNczM8Vyc5Y%2F5FRNFzWySxcWqA54yWEtgJOrSDSvxb0%3D&reserved=0> From: Rajewski Łukasz - Hurt Sent: Tuesday, June 16, 2020 12:34 PM To: 'Addepalli, Srinivasa R'; onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>; Sood, Ritu; k.ba...@samsung.com<mailto:k.ba...@samsung.com> Cc: KHICHANE Abderaouf TGI/OLN (abderaouf.khich...@orange.com<mailto:abderaouf.khich...@orange.com>) Subject: RE: [onap-discuss] k8splugin - Configuration API Hi, First of all, I would try to call plugin API directly. Second, I would remove trailing slash. Below some hints how to use it. https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/api.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fapi.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612687100&sdata=7o3wQ1kdWz4dhQhPYFus6t%2Bm%2ByiGqgVdi%2BufyTMh3xw%3D&reserved=0> https://github.com/onap/multicloud-k8s/blob/master/src/k8splugin/api/configtemplatehandler.go<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fonap%2Fmulticloud-k8s%2Fblob%2Fmaster%2Fsrc%2Fk8splugin%2Fapi%2Fconfigtemplatehandler.go&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612687100&sdata=mKEglLrV2wrxXqyuMxCn9kDwkNOEZf0seg2Nr%2FTYOr8%3D&reserved=0> Regards, [Logo Orange] Łukasz Rajewski, R&D Expert Orange Labs Poland, Advanced Network Solutions Agency Mob.: +48 519 310 854 Orange Polska, Obrzeżna 7, 02-691 Warsaw www.orange.pl<https://ind01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.orange.pl%2F&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612697100&sdata=EX0N6UGUyh04Oh9pSnx4aEGRGy2I9vNaDLXw1fW8UHI%3D&reserved=0> From: Addepalli, Srinivasa R [mailto:srinivasa.r.addepa...@intel.com] Sent: Monday, June 15, 2020 11:09 PM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; vn00480...@techmahindra.com<mailto:vn00480...@techmahindra.com>; Sood, Ritu; Rajewski Łukasz - Hurt; k.ba...@samsung.com<mailto:k.ba...@samsung.com> Subject: RE: [onap-discuss] k8splugin - Configuration API Just an observation Since I see ‘server’ responding is ‘openresty’, it appears that MSB itself is returning error. Something to check on MSB integration. Thanks Srini 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 Vamshi K Namilikonda via lists.onap.org Sent: Monday, June 15, 2020 11:56 AM To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>; Sood, Ritu <ritu.s...@intel.com<mailto:ritu.s...@intel.com>>; Rajewski Łukasz - Hurt <lukasz.rajew...@orange.com<mailto:lukasz.rajew...@orange.com>>; k.ba...@samsung.com<mailto:k.ba...@samsung.com> Subject: [onap-discuss] k8splugin - Configuration API Hi Ritu & K8splugin team, We’ve tried using Configuration API from Frankfurt using the instructions given the below wiki page, it’s giving 404 error. Could you please suggest, are we doing something wrong here. Same behavior is observed in ElAlto branch of code as well. Thank you https://wiki.onap.org/display/DW/MultiCloud+K8s-Plugin-service+API#MultiCloudK8sPluginserviceAPI-ConfigurationAPI<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.onap.org%2Fdisplay%2FDW%2FMultiCloud%2BK8s-Plugin-service%2BAPI%23MultiCloudK8sPluginserviceAPI-ConfigurationAPI&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612697100&sdata=d6fi34g6AMuWdbWoUNR0VilJOgZGls8dwIwzueZCQU8%3D&reserved=0> curl -i -k -d @create_config_template.json -X POST https://<ip>30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/<https://%3cip%3e30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef/v1/config-template/> HTTP/1.1 404 Not Found Server: openresty Date: Mon, 15 Jun 2020 18:39:22 GMT Content-Type: text/plain; charset=utf-8 Content-Length: 19 Connection: keep-alive X-Content-Type-Options: nosniff 404 page not found cat create_config_template.json { "name": "vault-consul-dev-2", "description": "testing vault_check Day 2 config configuration" } curl -i -k GET https://10.211.1.20:30283/api/multicloud-k8s/v1/v1/rb/definition/test-rbdef<https://ind01.safelinks.protection.outlook.com/?url=https%3A%2F%2F10.211.1.20%3A30283%2Fapi%2Fmulticloud-k8s%2Fv1%2Fv1%2Frb%2Fdefinition%2Ftest-rbdef&data=02%7C01%7C%7Cd63224cb568b468828ae08d813631869%7Cedf442f5b9944c86a131b42b03a16c95%7C0%7C0%7C637280663612707093&sdata=V82HJcgC9xDxzV1IOZPFeWyO86cmR1P5tEVcd3e5O1M%3D&reserved=0> HTTP/1.1 200 OK [{"rb-name":"test-rbdef","rb-version":"v1","chart-name":"vault-consul-dev","description":"testing resource bundle definition api","labels":{}}] Vamshi Namilikonda | Network Services | Tech Mahindra • Desk: +91 20 66018100 x 3942 Mobile: +91 9848639561 [cid:image003.jpg@01D643DE.C09C7C90]Connected World and Connected Experiences ============================================================================================================================ Disclaimer: This message and the information contained herein is proprietary and confidential and subject to the Tech Mahindra policy statement, you may review the policy at http://www.techmahindra.com/Disclaimer.html externally http://tim.techmahindra.com/tim/disclaimer.html internally within TechMahindra. ============================================================================================================================ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#21420): https://lists.onap.org/g/onap-discuss/message/21420 Mute This Topic: https://lists.onap.org/mt/74901579/21656 Group Owner: onap-discuss+ow...@lists.onap.org Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-