aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/appc
AgeCommit message (Collapse)AuthorFilesLines
2020-03-13remove 30208 portTaka Cho3-27/+16
the port 30208 was using http apidoc since we have moved to https apidoc hence this 30208 can be removed Issue-ID: APPC-1851 Change-Id: Iccd814bd624635939c51147489af708320caedac Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-03-13[APPC] Use common secret tamplate for mariadb-galera credentialsKrzysztof Opasiak13-62/+146
Use init container construction & common secret template to remove hardcoded mysql db credentials. For now credentials are still hardcoded in the values file to avoid making too many changes at once. I also had to make properties files writeable because appc uses some weird design and modifies them inside main container while starting odl. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ie36522fc1fdf92a382d5f25a54d4cb150b57ea35
2020-02-10[APPC] Fix APPC health check failureKrzysztof Opasiak1-1/+1
In commit: e74ed5cd24d ("[APPC] Don't hardcode mariadb root password") startOdl.sh script has been updated to take the root password from the environment variable. Unfortunately there was a typo in variable name which resulted in using empty string instead of password. Issue-ID: APPC-1830 Fixes: e74ed5cd24d ("[APPC] Don't hardcode mariadb root password") Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I537e3e24ee4bbbc20d5ebc07dddd9f0d3cbe26d8
2020-02-02Merge "[APPC] Don't hardcode mariadb root password"Borislav Glozman6-26/+16
2020-02-02Merge "release 1.7.0 APPC in Frankfurt"Borislav Glozman2-2/+2
2020-02-01[APPC] Don't hardcode mariadb root passwordKrzysztof Opasiak6-26/+16
You should never ever assume that secretpassword is a production ready password for your mariadb-galera instance. Instead let's just share a secret with our instance of mariadb-galera. Issue-ID: OOM-2275 Change-Id: I25486ad81a2ec428dbbd379ab3529c84f55acc4b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak10-31/+31
ONAP is too big to be deployed using helm install so we need to use a custom helm plugin helm deploy. This script deloys onap component by component instead of deploying evrything at once. Unfortunately this script also modifies the helm release by appending component name to it. As a result of this behavior our objects are called for example: onap-mariadb-galera-mariadb-galera-0 instead of just being called onap-mariadb-galera-0. This patch simplifies this naming convention by replacing all direct usages of .Release.Name with common.release macro which strips the component specific part from the release name. Issue-ID: OOM-2275 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: Ia8cead50d305adb00eef666d0a1ace74479b5183
2020-01-27release 1.7.0 APPC in FrankfurtTaka Cho2-2/+2
Neon SR1 ODL version compliance APPC docker image released Issue-ID: APPC-1816 Change-Id: I8f6a04eab39e3876bffc232ad1329931711ba60b Signed-off-by: Taka Cho <takamune.cho@att.com>
2020-01-15Merge "Add ingress controler support to APPC"Sylvain Desbureaux4-0/+14
2019-12-03Add ingress controler support to APPCLucjan Bryndza4-0/+14
Issue-ID: OOM-2173 Change-Id: I39aaba4a5b35dd82ffe9f5acc413a7dd93e451c2 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-11-29[APPC] Use global storage templates for PVCSylvain Desbureaux4-7/+23
OOM has now templates in order to create the needed PVC, using: * a PV with a specific class when using a common nfs mount path between nodes (sames as today use) --> is the default behavior today * or a storage class if we want to use dynamic PV. On this case, we use (in order of priority): - persistence.storageClassOverride if set on the chart - global.persistence.storageClass if set globally - persistence.storageClass if set on the chart Change-Id: I04757c8fffc4987c4d49da9f474f3e20367de214 Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-27Merge "Docker changes for dmaap microservice"Sylvain Desbureaux3-3/+14
2019-11-15Docker changes for dmaap microservicePatrick Brady3-3/+14
-Add script to start dmaap microservice. -Add new properties -Renaming the DCAE.dmaap properties so that all of the properties share the same prefix (DCAE.dmaap.event) instead of some having a different prefix (DCAE.dmaap.appc). This is required since all dmaap properties are now being read by the a common java class. Change-Id: I66b7cb466ec03f3357ecc473748a54a3a090ef16 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1744
2019-11-12Merge "change readiness logic for APPC docker"Sylvain Desbureaux1-3/+2
2019-11-08change readiness logic for APPC dockerTaka Cho1-3/+2
change to poke 8181 port Issue-ID: APPC-1792 Change-Id: I16160dde01c11c6625b407a1f5db4a24bc291df5 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-11-07Merge "Remove unused properties from config files"Sylvain Desbureaux1-7/+0
2019-11-06Remove unused properties from config filesKrzysztof Opasiak1-7/+0
DB and auth credentials are never extracted from this file thus it's better to remove them to avoid confusion. Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I66b0cb61b17439496ed0e0c8d9529ad730823d61
2019-11-05[APPC] Move Ansible server PVC to RWOSylvain Desbureaux1-3/+1
As ansible server is a statefulset with PVC template written in the statefulset, you'll have one PVC per ansible server. Thus ReadWriteMany (RWX) is not necessary and RWO is sufficient. Change-Id: I735891be2a098303ce85e21da7c8dc8b1ea20371 Issue-ID: APPC-1710 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-09-25APPC 1.6.4 docker releasedTaka Cho3-3/+3
change value files to refect for El Alto release Issue-ID: APPC-1735 Change-Id: Ia882fdbf29a8b5e4321c9942705097e997044e1a Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-17fix pax config mountpathTaka Cho1-1/+1
org.ops4j.pax.logging.cfg should mount on /opt/onap/appc,not mount from /opt/opendaylight - which caused readonly error Issue-ID: APPC-1736 Change-Id: I732b26bb4f6fe6ac6f48771468606af106606e51 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-13release 1.6.3 appc imagesTaka Cho2-2/+2
1.6.3 El Alto release Issue-ID: APPC-1686 Change-Id: I27ba4110138b7ff9bb619b340fa19d3ec62ecb34 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-11Merge "Move appc install to runtime"Brian Freeman1-26/+24
2019-09-11Merge "fix role syntax on aaa cfg file"Brian Freeman1-8/+8
2019-09-10fix role syntax on aaa cfg fileTaka Cho1-8/+8
the delimiter should be : not | Issue-ID: APPC-1714 Change-Id: I66f03805265883ffb26c0d6d065b3d528a5afe67 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-09-09Move appc install to runtimePatrick Brady1-26/+24
Since ccsdk dblib does not work after a restart of karaf, the appc install scripts must be modified so that karaf is not started during docker build. Change-Id: I9cdb3a736e26d7da9fdce53dcc7b45585d97fc47 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: CCSDK-1445
2019-09-09expose 8282 port outsideTaka Cho3-19/+30
8282 port is used for the url executor in DG. Also external IP address is used in DG. Hence has to be exposed to outside Issue-ID: APPC-1712 Change-Id: I2cff6b514edf7dde76e9b73351678bdf7a3771e4 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-08-23add bath file for additional AAA userTaka Cho2-0/+11
to comply for jolokia security vulnerability, another three AAA users will be added Issue-ID: OJSI-63 Change-Id: I476df578f457f862a76afec2df6ded34bb3cae64 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-08-22update AAF urlTaka Cho1-4/+4
the old URL is not working with AAF 2.1.15 image Issue-ID: AAF-942 Change-Id: I83cabb1048ccd87313784d45ffe27c967d9502c3 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-08-01Revert Snapshot appc, sdc - add aai directoryBrian Freeman2-2/+2
Issue-ID: TEST-185 Change-Id: I2bce2a44aa540a846933c548dd0ab67f3e53e679 Signed-off-by: Brian Freeman <bf1936@att.com>
2019-07-16move APPC apidoc from http to httpsTaka Cho3-6/+6
1, changed 8181:8282 to 8443:8443 maps to 30230 port 2, take snapshot-1.6.0 appc image that contains https change 3, chang robot config to https:8443 port Issue-ID: OJSI-113 Change-Id: Icd1c158ae426013cb742b23a50a6d2929ca33d5e Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-07-11Moving Helm Chart version for El AltoMike Elliott6-8/+8
Updating all helm chart versions to 5.0.0 for the El Alto release. Merge will be co-ordinated with the merge of a separate aai/oom patch. Please do not merge until this coordination has completed. Issue-ID: OOM-1980 Signed-off-by: Mike Elliott <mike.elliott@amdocs.com> Change-Id: I31daaebeacea33565f13affd2fa28fb15fe948ba
2019-06-26change ansible directory ownershipTaka Cho3-9/+16
move to /home/ansible to share in NFS and owned by ansible:ansible (100:101) Issue-ID: APPC-1596 Change-Id: Id2c60ccf7d8bd1d7137a26fa3561c4322b9b03d9 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-25remove unused feature and scriptsTaka Cho4-260/+1
installFeatures.sh moved to docker build time. startODL.sh under ccsdk/bin was the old startup script. odl-mdsal-clustering moved to docker build time. Issue-ID: APPC-1631 Change-Id: Ief332ef029f28f8c37a5121fd78a17b88c61bd6f Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-24Change Daexim directory ownershipTaka Cho2-4/+10
In k8s env, daexim has to be changed to 100:101 Issue-ID: APPC-1627 Change-Id: Iea20a6b3b8cf14a09ca5fc52aa3d6a71534acaaa Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-22Merge "release 1.5.3 APPC dockers"Brian Freeman2-2/+2
2019-06-22release 1.5.3 APPC dockersTaka Cho2-2/+2
new appc docker for dublin Issue-ID: APPC-1595 Change-Id: I52533ce35868b2ad1bd82d2e1cec7c48102cb430 Signed-off-by: Taka Cho <takamune.cho@att.com> (cherry picked from commit a1d20aee2c93e7ceeda1c680e654fecbe9284317)
2019-06-19Revert "Fix for appc clustering install failure"Patrick Brady1-4/+18
It is reported that the old version of this script is currently working, so we will leave it as is for now and make changes later. This reverts commit 616fb1cea6cadc5e368f43176eb0f4d5342b87b7. Change-Id: I38d8bff135fbcc3eb407d2f3fcf295cf58c386d2 Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1242
2019-06-17Fix for appc clustering install failurePatrick Brady1-18/+4
Update appc karaf stop detection The new stop detection script is more reliable and does not depend on a specific value and format of the ps command. Remove clustering feature install The feature needs to be installed before appc features are installed, and so the odl-mdsal-clustering install has been moved to the build scripts. Change-Id: I6e9c585cbd58a516114a609329422cf8375e023d Signed-off-by: Patrick Brady <patrick.brady@att.com> Issue-ID: APPC-1242
2019-06-14release 1.5.2 in OOMTaka Cho2-2/+2
1.5.2 release is for Dublin Change-Id: Ib967d3938c74dd286c543eb8a51bb61ff9b34583 Issue-ID: APPC-1595 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-06-07update new passwd for cadiTaka Cho1-1/+1
update p12 password for new p12 file Change-Id: I4fc93e7ff1f1a401fd14a806f6d02c652b4bad77 Issue-ID: APPC-1620 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-05-29release 1.5.1 APPC imageTaka Cho2-2/+2
Dublin 1.5.1 APPC / CDT image release docker Change-Id: I1daf682cf81f4b505e0e52875853ed422cb9c535 Issue-ID: APPC-1595 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-05-20fix netconf for vFWTaka Cho1-1/+1
in Dublin, we changed to stream-count:stream-count/streams Change-Id: I536c2beef82e2520d9538e417456b9225d8c07a1 Issue-ID: APPC-1610 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-05-13update appc imageTaka Cho2-2/+2
1.5.0 appc docker released Change-Id: Ibbd155006c22d065187c5288a1d2378b4f512d84 Issue-ID: APPC-1595 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-05-09remove readiness for ansible podTaka Cho2-16/+1
ansible pod does not require any dependency with other pod, and the restful script can be brought up within one minutes also use the release version Change-Id: I310963a3d01d5ca99c3495f201e1aa3ec3d60fea Issue-ID: APPC-1602 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-26Merge "extend period of readiness probe"Alexis de Talhouƫt1-4/+4
2019-04-25fix /home/ansible ownershipTaka Cho1-2/+2
in k8s, the nfs mount point was assigned to /home/ansible that caused the issue where /home/ansible becomes to root:root so moved to /var/local and also updated to the laest version that contains the latest fix Change-Id: I8bd79c1f606a4392df1780fae4964b54f767c1e2 Issue-ID: APPC-1583 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-24extend period of readiness probeTaka Cho1-4/+4
changed to: initialDelaySeconds: 300 periodSeconds: 60 Change-Id: Ic13238e886a8d01a93e2d4f4c7d6bc8f91b5cd09 Issue-ID: APPC-1581 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-23remove startODL string checkTaka Cho1-2/+1
it is not necessary to check startODL is runnning or no. in the past, startODL took 30-40 mins From dublin, startODL only takes less than 30 sec Change-Id: I5b5d80a1bde2d0d292d809dd202e1c3a15a1cf4d Issue-ID: APPC-1581 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-04-02expose ansible container on nfs mountAaron Hay3-4/+87
/home/ansible will be exposed in /dockerdata_fs in order to let user copy playbook Change-Id: I01307f461da6e9174127c951c4691b81eddab68b Issue-ID: APPC-1445 Signed-off-by: Taka Cho <takamune.cho@att.com>
2019-03-07move non-root id run for CDT containerTaka Cho3-4/+5
change port 80 to 18080 for non-root user Change-Id: Ib1e987b6aaf537df4d1b08797b928aa0b116fab0 Issue-ID: APPC-1519 Signed-off-by: Taka Cho <takamune.cho@att.com>