summaryrefslogtreecommitdiffstats
path: root/kubernetes/sdnc/templates
AgeCommit message (Collapse)AuthorFilesLines
2021-05-19[SDNC] Fix SDNC charts to make it work with aaf disabledMarat Salakhutdinov1-1/+1
Fix SDNC service template to make it work with aaf disabled. Issue-ID: OOM-2748 Signed-off-by: Marat Salakhutdinov <marat.salakhutdinov@bell.ca> Change-Id: Ic0ac6bcb12cfc86d7b338da21d621e35e94b03c0 (cherry picked from commit dd994c36c36b25fdc77c28e81a78da9928f4ae07)
2021-05-06[SDNC] Change path to daexim directory - guilindemskeq81-1/+3
configure absolut path for daexim persistent directory. Issue-ID: SDNC-1475 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I369f6cecf3106c9824903124872c1ec9a576dd00
2021-04-22Merge "Revert "[SDNC] Change path to daexim directory"" into guilinKrzysztof Opasiak1-6/+1
2021-04-22Revert "[SDNC] Change path to daexim directory"Sylvain Desbureaux1-6/+1
This reverts commit fbf99d9ff51be6092fd8c37eab55e8f3bbd6b2eb. Reason for revert: Patch doesn't work on Guilin Issue-ID: SDNC-1475 Change-Id: I0a7bac401b28c0ada83ace3265b9b4f1cb71970b Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2021-04-21Merge "[SDNC] Change path to daexim directory" into guilinSylvain Desbureaux1-1/+6
2021-04-19[SDNC] Change path to daexim directorydemskeq81-1/+6
configure absolut path for daexim persistent directory. Issue-ID: SDNC-1475 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com> Change-Id: I1cfc348b733dee2e02b1a0193f6cba3c78e61d91 (cherry picked from commit a86300a336804e64a26dea576aa9d44f699eb6e2)
2021-04-14[SDNC] Change path to daexim directory 2demskeq81-0/+1
remove wrong daexim link Issue-ID: SDNC-1475 Change-Id: I52d1da10082a6fee846461ce18fc0913aea85e18 Signed-off-by: demskeq8 <alexander.dehn@highstreet-technologies.com>
2021-01-20Merge "[SDNC] Move ODL persistent data to pvc" into guilinKrzysztof Opasiak2-47/+33
2021-01-20[SDNC] Move ODL persistent data to pvcDan Timoney2-47/+33
In OpenDaylight, there are three types of data that we want to retain: - exported backups (stored in /opt/opendaylight/daexim) - journals (stored in /opt/opendaylight/journal) - snapshots (stored in /opt/opendaylight/snapshots) This change saves all 3 directories to the sdnc persistent volume so that they are retained across restarts. Issue-ID: SDNC-1455 Signed-off-by: Dan Timoney <dtimoney@att.com> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I6b068c7a7bce294f94f9697a34027010bb5bfe8f (cherry picked from commit 2ee28a5a7a82116e1854d92713a315490c9f259b)
2021-01-19[SDNC] Tuning fixes for SDNCDan Timoney1-0/+3
Corrected issue in values.yaml that was causing OpenDaylight akka configuration file override not to be loaded properly. As a result, we are seeing memory-related exceptions (circuit-breaker exception), whic seems to be contributing to a memory leak error. Also, updated configuration to enhance logging so that summary of messages in/out (aka 'audit log') is written for debugging purposes. Issue-ID: SDNC-1430 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I2a3950ecde1c53f8e68b11bbc9c0ddc136f67b54 (cherry picked from commit 9520e7cfed1474213930a9c877e223902a15eae5)
2020-11-05Merge "[SDNC] Change sdnc to single startup script solution"Sylvain Desbureaux1-11/+0
2020-11-04[SDNC] Change sdnc to single startup script solutionAlexander Dehn1-11/+0
remove startup scripts Issue-ID: OOM-2610 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: Ia09de604cc502ecbbd7575cd5dd2374f253820ed
2020-10-27Merge "[SDNC] wrong configuration in mountpoint-registrar.properties"Krzysztof Opasiak1-0/+5
2020-10-21[SDNC] change comment styleJakub Latusek1-0/+2
Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Change-Id: Ia390319f744931f435615af49246c0e13cdb8564 Issue-ID: OOM-2562
2020-10-20[SDNC] wrong configuration in mountpoint-registrar.propertiesAlexander Dehn1-0/+5
add odl secrets in update-config init container Issue-ID: OOM-2551 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I0f3524f68149b23f4679d7dec979aa429db48ca2
2020-10-12Merge "[SDNC] Make cmpv2Enabled control the creating of volumes and mounts"Sylvain Desbureaux1-0/+4
2020-10-08[SDNC] Make cmpv2Enabled control the creating of volumes and mountsegernug1-0/+4
Issue-ID: SDNC-1136 Signed-off-by: egernug <gerard.nugent@est.tech> Change-Id: Id8c02dc9546165c42be79b879a6207fef969b543
2020-10-07[SDNC] Fix AAI SSL certification issueDan Timoney1-1/+1
Install version 2.0.2 of sdnc docker images, which contains a fix to issue where AAI interface was failing due to failed SSL certificate check. Issue-ID: SDNC-1371 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Id14b823989cdd987d745d205458ec57712c2a3df
2020-09-25[SDNC] Move sessionAffinityJakub Latusek1-3/+3
SessionAffinity field is defined in ServiceSpec, not in ServicePort struct. Signed-off-by: Jakub Latusek <j.latusek@samsung.com> Issue-ID: OOM-2562 Change-Id: Ieebd842dc57c45e57fac9e8d4043901e3c71da6a
2020-09-24Merge "[SDNC] Deploy external TLC cert in ODL"Sylvain Desbureaux1-1/+51
2020-09-21[SDNC/CCSDK] Guilin version bumpDan Timoney1-0/+2
Bump image versions to use Guilin M4 version of SDNC images and of CCSDK dgbuilder. Note - SDNR remains disabled in this commit pending fix to its endpoint. Also, note that CDS version bump is not included - that will be submitted as a separate review. Issue-ID: SDNC-1355 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I8d660a8e303a18d4674f832b9239fa50c5abf3f2
2020-09-21[SDNC] Deploy external TLC cert in ODLegernug1-1/+51
Changes for 111973 Issue-ID: SDNC-1136 Signed-off-by: esobmar <mariusz.sobucki@est.tech> Change-Id: If185ee3658b8f51a969bb3505f8bfb163cfea2a3 Signed-off-by: egernug <gerard.nugent@est.tech> Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> [Access EJBCA secret from cert service] Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-09-14[SDNC] broken handling of aaiclient.propertiesAlexander Dehn1-0/+3
fix issue in startOdl.oom.sh Issue-ID: OOM-2561 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I1760155bf250dd7e3dd1c816b65df9b9c245de24
2020-09-04Merge "[GENERAL] Use readiness container v3.0.1"Krzysztof Opasiak3-7/+7
2020-09-04[GENERAL] Use readiness container v3.0.1Sylvain Desbureaux3-7/+7
Readiness container v3.x and up are now present in ONAP main repository. They're also not using root user anymore and then script path has changed. Finally, "job_complete" script has been integrated in main "ready" script. As those changes are significant, we must upgrade all the components at once. Depends-On: I5afa83892043f4844afe12e61724a8d368a9f2e0 Issue-ID: OOM-2545 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: I0b4eb5dd86390273532d67d0a9696e1cfcadf110
2020-09-02[SDNC] Remove hard-coded busybox imageAlexander Dehn2-2/+2
get image values from global busyboxRepository/busyboxImage Issue-ID: OOM-2543 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I5f0ef76fb8072b45bd9ad10d8580484656049b76 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com>
2020-08-31[SDNC] oom for clustered disaggregated SDN-RAlexander Dehn5-22/+153
use disaggregated elasticserach DB from common Issue-ID: SDNC-1165 Signed-off-by: Alexander Dehn <alexander.dehn@highstreet-technologies.com> Change-Id: I0c6ac6549f6c144f0ed5a64ae76a1fa352f740d2
2020-08-25Merge "[SDNC] Set STDOUT Log level"Krzysztof Opasiak1-0/+2
2020-08-25Merge "Unable to boot SNDC pod without AAF"Sylvain Desbureaux1-1/+8
2020-08-12Unable to boot SNDC pod without AAFLucjan Bryndza1-1/+8
SDNC pod is always in waiting state after deploy when AAF is disabled. Change-Id: Ie986889fe53f53d51b8e8a63895c156bf1d6b521 Issue-ID: OOM-2439 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2020-07-23[SDNC] Set STDOUT Log levelSylvain Desbureaux1-0/+2
Use of common.log.level template in order to set the log level for STDOUT on SDNC. Issue-ID: OOM-2516 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com> Change-Id: I1fde92c11f769a028292325bf67ed9654948a46f
2020-07-23[SDNC] Make SDNC compatible with Kubernetes v1.17Grzegorz-Lis1-1/+4
Issue-ID: OOM-2466 Signed-off-by: Grzegorz Lis <grzegorz.lis@nokia.com> Change-Id: Ia007cd54ae20fda08f6e4359248ea5dbac42ac92
2020-05-28Update SDNC/CCSDK to Frankfurt RC2 versionsDan Timoney1-1/+1
Update versions for SDNC and CCSDK dockers to reflect Frankfurt RC2 versions. Issue-ID: SDNC-1171 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Iaf34379550d148a164341dac6c44fa20926b8ccb
2020-05-20[SDNC] Use common aaf template in sdncKrzysztof Opasiak4-93/+7
Instead of copy-pasting code around aaf_agent usage let's use a common template that automates this. Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I66886290a1a13ca1c1d924b4d1128adc293b301c
2020-05-04[SDNC] Use common aaf template in SDNCKrzysztof Opasiak2-59/+23
Issue-ID: AAF-1134 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I62eb9f20c66e4b26bc4625b121e52cf70d2b4063
2020-04-06[SDNC] Provide hardcoded aaiclient.properties file via helmKonrad Bańka1-0/+4
Currently /opt/onap/ccsdk/data/properties directory with its configfiles is saved in sdnc image and not provided via helm. File "aaiclient.properties" stored there appears to be used for determining AAI URI by directed graphs. In this patch, aaiclient.properties provided by configmap is added to this directory, with still being passed to previous one. This helps with following error you could see in karaf logs: 2020-04-06T11:18:12,714 | WARN | qtp1411815619-117 | AAIService | 218 - org.onap.ccsdk.sli.adaptors.aai-service-provider - 0.7.1 | - 33 (update) | java.net.UnknownHostException: aai.api.simpledemo.onap.org Issue-ID: SDNC-1130 Signed-off-by: Konrad Bańka <k.banka@samsung.com> Change-Id: I8ed73f49092912419794abac1f8ccd6325672eb5
2020-03-30[SDNC] Use faster version of common secret templatesKrzysztof Opasiak6-39/+50
Issue-ID: OOM-2051 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com> Change-Id: I6cf72e3d6dcd8eab5f913b86febc7a21d02c1ecb
2020-03-19Eliminate unnecessary node portsDan Timoney1-22/+34
Update SDNC config to eliminate unnecessary node ports. Issue-ID: SDNC-1120 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: Ia5666fd02baa7383cc484a2e9a770907d81af128
2020-03-04[SDNC] Use common secret template in sdncKrzysztof Opasiak4-117/+148
Some passwords are still hardcoded but with this commit all components should be using passwords provided via secrets not directly as strings. A follow-up patch will remove hardcoded passwords where feasible. Issue-ID: OOM-2309 Change-Id: I047974506430cbb277200d0103bcc57a6fd8a83b Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2020-02-01[ONAP-wide] Replace .Release.Name with common.releaseKrzysztof Opasiak8-22/+22
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-21aaf auto cert generationAgarwal, Ruchira (ra1926)3-0/+75
Add support for AAF init container for config and cert generation Issue-ID: SDNC-755 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I06ee7921b6dbb1b4b9ca64cf276a374256af3a45 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com>
2019-12-18Merge "[SDNC] Use global storage templates for PVC"Borislav Glozman5-140/+105
2019-12-16[SDNC] Use global storage templates for PVCSylvain Desbureaux5-140/+105
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 I've also used "range" for PV creation of the statefulset I've created one file per PV (one for mdsal, one for certs). sdnc-prom was using hostpath directly on deployment, move to a PV/PVC. Change-Id: Id9eed3b13ac85595c386e380f41cfbc38b52c69f Issue-ID: OOM-1227 Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
2019-11-27Add ingress controler support to SDNCLucjan Bryndza1-0/+1
Issue-ID: OOM-2188 Change-Id: I30c2e0dea0a1fc12fd82090610c7e38f577cc811 Signed-off-by: Lucjan Bryndza <l.bryndza@samsung.com>
2019-08-22Tune OpenDaylight parametersTimoney, Dan (dt5972)1-0/+9
Add files to tune akka settings in OpenDaylight. Also, added setenv to tune Java settings. Change-Id: I2071fceb48f990929cd9f4c885bd0c9f7db0263c Issue-ID: SDNC-858 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-20Remove http node portTimoney, Dan (dt5972)1-1/+0
Remove http node port 30202. Users should instead use https node port 30267 Change-Id: I44a907126384092b5f18ad85115c6269279c9d80 Issue-ID: OJSI-99 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-14Remove unneeded node port 32208Timoney, Dan (dt5972)1-1/+0
Remove unneeded node port 32208 to resolve issue identified with ssh port detected. Change-Id: Ibcbfd0621c2950a2ea3f429f8beb38d03e1910d3 Issue-ID: OJSI-183 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-08Update SDNC/CDS image versions for El Alto early dropTimoney, Dan (dt5972)1-1/+1
Update SDNC image versions for El Alto early drop (1.6.1 for SDNC, 0.5.1 for CCSDK) Change-Id: I48bb223116b4064b7f90847d90bd0453d311b09c Issue-ID: SDNC-827 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-10Initialize SDNC DB from init containerTimoney, Dan (dt5972)1-0/+129
Updated sdnc helm chart to initialize database from an init container instead of initializing in startup script. Change-Id: I4133c70a5805227d89eef84e46bea8555bf8133d Issue-ID: SDNC-797 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-08Change ownership of persistent vol mountTimoney, Dan (dt5972)1-1/+9
Persistent volumes must be writable by non-root user odl. So, change ownership of the mount to odl user. Change-Id: Ie2ff285bd623a7b69289bc438ff16a2724fd7ded Issue-ID: SDNC-749 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>