summaryrefslogtreecommitdiffstats
path: root/kubernetes/aai
AgeCommit message (Collapse)AuthorFilesLines
2018-02-16Persist AAI /var/chef/aai-config/Munir Ahmad2-0/+10
Issue-ID: OOM-674 Change-Id: Ie4dcd33d1d8bbb5dbdf553f212b799304fa41cf7 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-05Persist AAI data add ns prefixMunir Ahmad1-1/+1
Issue-ID: OOM-639 Change-Id: I31ba467f6a48938b8c6ac40b76abf67f2362d743 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-31Persist AAI dataMunir Ahmad1-1/+6
Issue-ID: OOM-639 Change-Id: I0e90a12ac8f00c6b34d99dbd4ac1921a3c8591a9 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-25Update AAI to latest v1.1.1Alexis de Talhouët3-8/+8
Change-Id: I702b943a23f50d2eddcbde2fdf559d026d584127 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Issue-ID: OOM-604
2018-01-16Add aai and mso FQDN in drools /etc/hostsAlexis de Talhouët2-0/+6
.api.simpledemo.openecomp.org See https://jira.onap.org/browse/POLICY-510 This is a temporary solution. Assign a static IP address to aai-service and inject it in the /etc/hosts of drools. Change-Id: I52c25225e63be9d9dfb9c92836f2b16da9f2b813 Issue-ID: OOM-549 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-12-19Fix date format in sparky-be logbackyuryn1-1/+1
Change-Id: Icf4ab47900b3975d2a56f0b6e1baa827c5ed1adc Issue-ID: OOM-520 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-12-17Fix wrong filebeat config in aaiBorislavG4-6/+6
Change-Id: Ia051e8294a60e6fe37037bcb682470a9f4a31d72 Issue-ID: OOM-469 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com>
2017-12-09Update resources and traversal to use amsterdamVenkata Harish K Kajur2-4/+4
After the branch was cut these need to ensure to use the amsterdam branch instead of master Assumed that this is not the case since it was originally not using the clone but took the config files from aai-config and aai-data Issue-ID: AAI-548 Change-Id: Icd1896fced0ba493f8bbd2cd314183e67b792492 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-11-30Fix docker image name for AAIAlexis de Talhouët1-4/+4
They change from openecomp to onap, and i didn't catch that in https://gerrit.onap.org/r/#/c/25163/ so fixing here; Change-Id: Ibd422ae441b478b75b2382d1701f7d56a594a7b5 Issue-ID: OOM-432 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-11-30Migrate to R1 released docker imagesAlexis de Talhouët1-7/+7
Change-Id: Iac46cbae69404d17e1f4e59f85ed18fc7ecd01dd Issue-ID: OOM-432 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-11-28Fix: AAI HAProxy syslog are not monitoredAlexis de Talhouët1-1/+1
Change-Id: I83f99c960a16aca43caac0aa4feb285716f0ade0 Issue-ID: OOM-466 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-10-29Add option to disable specific deploymentsyuryn10-6/+35
Add option to disable any deployment by using conditions in helm templates. Each deployment will get helm parameter - boolean flag allowing to disable it. The flags can be listed in the custom values.yaml file that can be passed to the createAll script with '-v' command line option. Change-Id: I32b795de46c72915c2201c94c23f4e061971bb56 Issue-ID: OOM-380 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-10-19Fix AAI-ML filebeat.ymlshanedaniel1-1/+1
Issue-ID: OOM-367 Change-Id: I37b1c9e3937b0f9b51711a32eb513fe9ed39bda6 Signed-off-by: shanedaniel <shane.daniel@amdocs.com>
2017-10-16fix aai travers/resources logback boostrapMichael O'Brien2-24/+24
Issue-ID: OOM-362 Change-Id: Id076a6988c24c400df8fe08837ef9fbd19be893c Signed-off-by: Michael O'Brien <frank.obrien@amdocs.com>
2017-10-05Merge "Remove the root user id to use default user"Mike Elliott2-4/+2
2017-10-04Remove the root user id to use default userVenkata Harish K Kajur2-4/+2
Change the way kubernetes install to ensure that the user is not root as all of the aai scripts expect the user to be non root and this affects some key functionality and also add an hbase artificial delay of 60 seconds to ensure that resources container waits the appropriate amount of time before trying to connect to hbase the current implementation of the probe doesn't work too well since when port is up doesn't truly tell whether the hbase container is ready Issue-ID: OOM-334 Change-Id: I290feabb56a9e7f99d538b02bf6f563824eb198e Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-10-03Add missing aai canonical loggingBorislavG11-23/+1408
Add filebeats and logback configuration to: sparky-be, search-data-service, model-loader, traversal, resources using configMaps Issue-ID: OOM-112 Signed-off-by: BorislavG <Borislav.Glozman@amdocs.com> Change-Id: Ia1fa0ee2ad3894553a60468797d9d2b1cecb8f2e
2017-09-28Update the resources deployment and traversalVenkata Harish K Kajur3-4/+8
Remove the aai-config and aai-data to be mounted Change the docker hbase to use aaionap/hbase Also change the mount path for logs to be proper Issue-ID: AAI-397 Change-Id: I4996d339a062143c2ef308413b7e3be6101f92fd Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
2017-09-26Revert "added filebeat to all components"Alexis de Talhouët2-2/+2
Pods aren't starting properly. Let's not take any risk, so reverting. 3m 18s 4 kubelet, kubernetes-5 spec.containers{vid-server} Normal Killing Killing container with id docker://vid-server:FailedPostStartHook This reverts commit 4ca69ea2b6a2aaaf0974953a3c3dec7694fdfcb0. Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I7953ac3b0e2a4ecbdd1a7d2a48cb9a1964bf08ab Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
2017-09-24added filebeat to all componentsItay Hassid2-2/+2
Deployment of: filebeat containar for each relevant component Issue-ID:OOM-110 Change-Id: I3605a975ee9dbe3e34b8fa6b17fef52e9d29b975 Signed-off-by: Itay Hassid <itay.hassid@amdocs.com>
2017-09-22Add AAI config changesMike Elliott3-82/+4
A new RESOURCES_HOSTNAME environment variable was added to the traversal service to allow configuration for communicating with resource service. The gremlin service has been removed from AAI 1.1 deliverables. Change-Id: Id38581d49822cb3aa8ccb912508fabfb5c775a5a Issue-Id: OOM-312 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com>
2017-09-14Containers time zone syncyuryn10-0/+64
Make sure time zones on the containers are in sync with the hosting machines Change-Id: Ie22608bda63cbcdf564f73adcdd3e829afad05ca Issue-ID: OOM-299 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-13Revert "moving certs and keys to k8s secrets"Keren Joseph4-35/+0
This reverts commit 59ffd500ea34c201fbb3edc39e64655fa8381be0. Tested locally and does not work. DmaaP fails to come up causing many other pods to crash loop. failed to start container "dmaap": Error response from daemon: {"message":"invalid header field value "oci runtime error: container_linux.go:247:starting container process caused "process_linux.go:359: container init caused "rootfs_linux.go:53: mounting "/var/lib/kubelet/pods/9ae222e0-98a9-11e7-badd-02cfc855c3b9 /volumes/kubernetes.io~secret/mykey" to rootfs "/var/lib/docker/aufs/mnt /b92c56185f3371cb1f091679780d40797dd2c6124cd00cb8fe68da2b247363a8" at "/var/lib/docker/aufs/mnt/.../appl/dmaapMR1/etc/keyfile" caused "not a directory"""n""} Issue-ID: OOM-293 Change-Id: I348ffa14718bd6e89e99f2859cf6612c10370559 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-12moving certs and keys to k8s secretsKeren Joseph4-0/+35
changed location of used certs and keys files, updated deploy yamls and create/delete all Issue-ID: OOM-293 Change-Id: I53766b7028d6b725bf381875105b196246ff2ee1 Signed-off-by: Keren Joseph <keren.joseph@amdocs.com>
2017-09-06Merge "add sparky-be kubedns service"Mandeep Khinda1-1/+16
2017-09-06Merge "Modify AAI service endpoints annotation"rui hu1-31/+31
2017-09-06Modify AAI service endpoints annotationHuabingZhao1-31/+31
Modify version to 11 Modify service url, add aai/v11 prefix Issue-Id: OOM-221 Change-Id: Ie61a44fa1b8904b65892712d183d311143ed62f8 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-05add sparky-be kubedns serviceMandeep Khinda1-1/+16
It was missing and breaking the onap portal aai widget Issue-ID: OOM-264 Issue-ID: OOM-182 Change-Id: Ia22263d49d5a18126ab8ae46a50f9b24cd51a0cf Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-09-05Use DMaaP from message-routeryuryn5-232/+0
Remove AAI DMaaP (with its zookeeper and kafka) and adjust AAI configuration to work with the common ONAP DMaaP from message-router project Change-Id: Ia9a4348d2ad28623ddc0e1c149ef35d33db90fb4 Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-05Merge "Use paramers for readiness image and pullPolicy"Yury Novitsky3-6/+6
2017-09-05Use paramers for readiness image and pullPolicyyuryn3-6/+6
Change-Id: I2c1aa2ff35c1fb698111e30f1abcd076f5b658b4 Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-09-05Merge "NodePort Helm Parametrization"Yury Novitsky2-4/+5
2017-09-05Merge "Fix json format issue for aai annotation"rui hu1-30/+30
2017-09-05Fix json format issue for aai annotationHuabingZhao1-30/+30
Issue-Id: OOM-221 Change-Id: Ic5a098b7a10181f1e9b87fab41487e64347d9e3e Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-02Merge changes I36641bbb,Ia8568265rui hu1-0/+117
* changes: parameterize docker image add service endpoint annotation for aai
2017-09-01add service endpoint annotation for aaiHuabingZhao1-0/+117
Issue-Id: OOM-221 Change-Id: Ia85682652ed9f489377d6614a61cce91cd77f162 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
2017-09-01getting traversal, resources, & gremlin to bootMandeep Khinda3-13/+67
- reverted some log dir changes that cause chef to complain about pre-existing directories - had to fork and modify docker-entrypoint for both resources and traversal to avoid git clone of aai-data - updated gremlin hostname so that container comes up... was complaining about failure to bind to port 8182 Issue-ID: OOM-65 Change-Id: I84d2647af588e39502a075880a163104bb39540e Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com>
2017-08-31AAI 1.1 K8s templates and aelm branch mergeMandeep Khinda15-140/+773
commit 8a32c4269a6d1dcdcdee6c2548043639754db936 Author: yuryn <Yury.Novitsky@Amdocs.com> Date: Mon Aug 28 14:45:23 2017 +0300 Add dependencies to aai-deployment 1. Add to aai-deployment dependency in aai-resources and aai-traversal 2. Fix readiness ports for data-router and sparky-be Change-Id: Icfcd4685ac3cad8e463b5f8176b28f51890d1e38 Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com> commit 34b6e617ca961b6a6df85e88daf122c7cd4195af Author: yuryn <Yury.Novitsky@Amdocs.com> Date: Sun Aug 27 20:25:29 2017 +0300 Add AAI haproxy 1. Add AAI haproxy 2. Create aai-resources and aai-traversal log dirs Change-Id: Ib60cc7e482cafe2f1185db7bead181f929165ed3 Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com> commit 82417bcba69cc126a811605e7e577941c6c5eb2e Author: yuryn <Yury.Novitsky@Amdocs.com> Date: Thu Aug 24 14:08:30 2017 +0300 Fix aai-model-loader-logs 1. Create aai/model-loader/logs folder in config-init 2. Fix aai-model-loader-logs volume name Change-Id: Ib66b8a226be9f5c42b06e6e7a239af081ad6d874 Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com> commit 441adcffd7041266378ae251f36592da5a44f2c2 Author: yuryn <Yury.Novitsky@Amdocs.com> Date: Mon Aug 21 17:18:42 2017 +0300 [WIP] Add new AAI configuration files Addressed review comments: 1. Use k8s lookup names for host names 2. Use existing /opt/data/hdfs-data-name folder 3. Remove redundant entries in yaml files Change-Id: Ied5f559aebc89c9a22b3e5228e6625af86646b5f Issue-ID: OOM-65 Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com> commit 0473270da932e4bbf596007fd8fb7ec3cba4e1cc Author: yuryn <Yury.Novitsky@amdocs.com> Date: Sun Aug 20 18:48:51 2017 +0300 Add gremlin and ES services Issue-ID: OOM-65 Change-Id: I3e879418a1258716db1633676cf66bb9620c2b5f Signed-off-by: yuryn <Yury.Novitsky@amdocs.com> commit 0b1332938385cc534b1f034b73f19c145ead87c6 Author: Munir Ahmad <munir.ahmad@bell.ca> Date: Tue Aug 15 15:36:46 2017 -0400 onap 1.1 deployment files work in progress... issue-id: OOM-66 Change-Id: If6553647343bb07464e8cc8556223f0c7a01f134 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Issue-ID: OOM-65 Change-Id: I4afc3d2457a27791ba72f959c82d791b50e02eb2 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com> Signed-off-by: yuryn <Yury.Novitsky@Amdocs.com> Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca> Signed-off-by: Eric Au <kachun.au@amdocs.com> Signed-off-by: ronakvy <ronak.vyas@amdocs.com>
2017-08-31NodePort Helm Parametrizationkerenj2-4/+5
parameterization of node ports, and create/delete update to fix multi ONAP instances creation(in diff NS). Issue-ID: OOM-52 Change-Id: Iaa3f5bc43f70b95cdc349389e25ef8b804a7a329 Signed-off-by: kerenj <keren.joseph@amdocs.com>
2017-08-25refactor helm files to use namespace prefixMandeep Khinda5-17/+17
-removed the full namespace from each template. better lets us reuse variables. -made secret end up in a configurable namespace -fixed some bugs where secrets were missing -updated createAll and delete to make use of namespace prefix removing the need for seds to replace the word onap. *** all containers at this point come up in my env. except for aai model loader which is failing cause its still at 1.0 and its trying to talk to a 1.1 sdc and it doesnt auth properly. *** Issue-ID:OOM-215 Change-Id: I15815a01469786a391e272fde4bdaa53ff48091c Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-08-24disable hbase ext. mountMandeep Khinda1-7/+0
To temporarily workaround the issue logged by OOM-171 Issue-ID: OOM-171 Change-Id: I9043d1bff1c5594bd87fcc38f25b8b13c2de4999 Signed-off-by: Mandeep Khinda <mandeep.khinda@amdocs.com>
2017-08-24aai K8S-Helm Parameterizationkerenj6-14/+34
changed aai k8s deployment to support helm parameterization. Issue-ID: OOM-52 Change-Id: Ifffdb4204a3fdb2c7be62063134c489f8123012d Signed-off-by: kerenj <keren.joseph@amdocs.com>
2017-08-17Revert 0b1332938385cc534b1f034b73f19c145ead87c6Munir Ahmad11-467/+7
Issue-ID: OOM-66 This reverts commit 0b1332938385cc534b1f034b73f19c145ead87c6. Change-Id: I05ba7dd5050ee2ef03cf19d1c5c0db03e12a0d4f Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-08-16onap 1.1 deployment files work in progress...Munir Ahmad11-7/+467
issue-id: OOM-66 Change-Id: If6553647343bb07464e8cc8556223f0c7a01f134 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-08-14Merge "adding missing volumeMounts for aai hbase"Jerome Doucerain1-1/+4
2017-08-08adding missing volumeMounts for aai hbaseMunir Ahmad1-1/+4
Change-Id: I194caccba8e488119cd55e2727a742c603554f96 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-08-03[OOM-3] Docker credentials secret missingBorislav Glozman3-0/+6
Change-Id: I30df3cc11315b757a1d3e3da832681682a970825 Signed-off-by: Borislav Glozman <Borislav.Glozman@amdocs.com>
2017-08-01externalize /opt/data/ for AAI hbaseMunir Ahmad1-0/+4
Change-Id: If2f1f1138c0e15c0622fddfce06e409b8e2c6e22 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2017-06-24onap on kubernetes source filesMandeep Khinda4-0/+258
Change-Id: I4de34baf90979651223a28323010deb7aef21946 Signed-off-by: Mandeep Khinda <Mandeep.Khinda@amdocs.com>