https://wiki.onap.org/pages/viewpage.action?pageId=29787124
Basically there is an integration-override.yaml that at deployment time overrides helm chart values with your environment. Examples integration-override.yaml files are in gerrit under integration/deployment/heat/onap-oom/env/windriver/onap-oom.env https://gerrit.onap.org/r/gitweb?p=integration.git;a=blob;f=deployment/heat/onap-oom/env/windriver/onap-oom.env;h=6f4545efe6653951dfcfcd2c3c589c37d68df056;hb=refs/heads/casablanca you should be cloning interation to your rancher VM (the heat templates in integration do that) You also will want to run the script (update-oom-image-versions.sh<https://gerrit.onap.org/r/gitweb?p=integration.git;a=blob;f=version-manifest/src/main/scripts/update-oom-image-versions.sh;h=b17b46dd1ee784b5a16f354a44c712eb5eb1d95f;hb=HEAD>) In integration/docker-manifest/src/main/scripts Before you do the make all ; make onap so that you pick up the latest release docker image tags ./update-oom-image-versions.sh ../resource/docker-manifest.csv /root/oom I think there is clearer documentation being worked on how to do these steps manually if you dont use the heat templates in the integration repo. Brian From: [email protected] <[email protected]> On Behalf Of jkzcristiano Sent: Tuesday, December 04, 2018 1:10 PM To: Sangeeth G <[email protected]>; [email protected] Subject: Re: [onap-discuss] Robot ./demo-k8s.sh issue Hi all, I am using OOM Casablanca and I have a similar issue. Particularly, all my custom values are not "updated". I tried several approaches. Below two of them (it worked in Beijing, but not now): Approach 1. Use a custom onap values.yaml file ubuntu@rancher:~/oom/kubernetes$ make all ubuntu@rancher:~/oom/kubernetes$ make onap ubuntu@rancher:~/oom/kubernetes$ mkdir environments ubuntu@rancher:~/oom/kubernetes$ cp /onap/values.yaml environments/onap-dev.yaml ubuntu@rancher:~/oom/kubernetes$ nano environments/onap-dev.yaml # Enable/disable services and customize parameters, e.g.: # robot: # enabled: true # config: # # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment # openStackEncryptedPasswordHere: "fba5e23d31145a544a07818403ef50be" # ... # openStackKeyStoneUrl: "http://x.x.x.x/identity<https://urldefense.proofpoint.com/v2/url?u=http-3A__x.x.x.x_identity&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=1SpPoYgkAuwvF8spbTWX13ldefbqHRyF1IjkpVNi_cg&s=aYM2yNJeoaXTnPxn_cyVfoqThoPy7yOm47cXvm5_WDc&e=>" # ... # # ... # so: # enabled: true # ... # config: # ... # openStackKeyStoneUrl: "http://x.x.x.x/identity<https://urldefense.proofpoint.com/v2/url?u=http-3A__x.x.x.x_identity&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=1SpPoYgkAuwvF8spbTWX13ldefbqHRyF1IjkpVNi_cg&s=aYM2yNJeoaXTnPxn_cyVfoqThoPy7yOm47cXvm5_WDc&e=>" # ... ubuntu@rancher:~/oom/kubernetes$ sudo helm deploy dev local/onap --namespace onap -f environments/onap-dev.yaml # Deploy with my custom file (I also tried to put this file as integration-override.yaml in /root/ and the same result) # Seems enabled/disabled services actually use my custom onap-dev.yaml file. However, the parameters are not updated! This can be confirmed by running robot. It fails because it is using default 1.2.3.4:5000 endpoint. ubuntu@rancher:~/oom/kubernetes/robot$ ./demo-k8s.sh onap init Initialize Customer And Models | FAIL | ConnectionError: HTTPConnectionPool(host='1.2.3.4', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5d26ca31d0>: Failed to establish a new connection: [Errno 110] Connection timed out',)) Approach 2. Change onap/values.yaml ubuntu@rancher:~/oom/kubernetes$ nano onap/values.yaml # Enable/disable services and customize parameters, e.g.: # robot: # enabled: true # config: # # openStackEncryptedPasswordHere should match the encrypted string used in SO and APPC and overridden per environment # openStackEncryptedPasswordHere: "fba5e23d31145a544a07818403ef50be" # ... # openStackKeyStoneUrl: "http://x.x.x.x/identity<https://urldefense.proofpoint.com/v2/url?u=http-3A__x.x.x.x_identity&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=1SpPoYgkAuwvF8spbTWX13ldefbqHRyF1IjkpVNi_cg&s=aYM2yNJeoaXTnPxn_cyVfoqThoPy7yOm47cXvm5_WDc&e=>" # ... # # ... # so: # enabled: true # ... # config: # ... # openStackKeyStoneUrl: "http://x.x.x.x/identity<https://urldefense.proofpoint.com/v2/url?u=http-3A__x.x.x.x_identity&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=1SpPoYgkAuwvF8spbTWX13ldefbqHRyF1IjkpVNi_cg&s=aYM2yNJeoaXTnPxn_cyVfoqThoPy7yOm47cXvm5_WDc&e=>" # ... ubuntu@rancher:~/oom/kubernetes$ make all ubuntu@rancher:~/oom/kubernetes$ make onap ubuntu@rancher:~/oom/kubernetes$ sudo helm deploy dev local/onap --namespace onap # Seems enabled/disabled services actually use onap/values.yaml file. However, the parameters are not updated! This can be confirmed by running robot. It fails because it is using default 1.2.3.4:5000 endpoint. ubuntu@rancher:~/oom/kubernetes/robot$ ./demo-k8s.sh onap init Initialize Customer And Models | FAIL | ConnectionError: HTTPConnectionPool(host='1.2.3.4', port=5000): Max retries exceeded with url: /v2.0/tokens (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5d26ca31d0>: Failed to establish a new connection: [Errno 110] Connection timed out',)) It is not an issue of Keystone version since I am using the same cloud as I used in Beijing and this approach worked in Beijing. It should not output "host='1.2.3.4', port=5000". Kindly help. Don't know what I am missing. Xoan -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14278): https://lists.onap.org/g/onap-discuss/message/14278 Mute This Topic: https://lists.onap.org/mt/28580947/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
