06:24:37 Triggered by Gerrit: https://gerrit.o-ran-sc.org/r/c/ric-plt/ric-dep/+/13325 06:24:37 Running as SYSTEM 06:24:37 [EnvInject] - Loading node environment variables. 06:24:37 Building remotely on prd-ubuntu1804-builder-2c-2g-3658 (ubuntu1804-builder-2c-2g) in workspace /w/workspace/ric-plt-ric-dep-chart-shell-verify-master 06:24:37 [ssh-agent] Looking for ssh-agent implementation... 06:24:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:24:37 $ ssh-agent 06:24:37 SSH_AUTH_SOCK=/tmp/ssh-F6iUewsVwTB1/agent.1718 06:24:37 SSH_AGENT_PID=1720 06:24:37 [ssh-agent] Started. 06:24:37 Running ssh-add (command line suppressed) 06:24:37 Identity added: /w/workspace/ric-plt-ric-dep-chart-shell-verify-master@tmp/private_key_1735904790996580353.key (jenkins-ssh) 06:24:37 [ssh-agent] Using credentials jenkins (jenkins) 06:24:37 The recommended git tool is: NONE 06:24:39 using credential jenkins 06:24:39 Wiping out workspace first. 06:24:39 Cloning the remote Git repository 06:24:39 Cloning repository ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep 06:24:39 > git init /w/workspace/ric-plt-ric-dep-chart-shell-verify-master # timeout=10 06:24:39 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep 06:24:39 > git --version # timeout=10 06:24:39 > git --version # 'git version 2.17.1' 06:24:39 using GIT_SSH to set credentials jenkins 06:24:39 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:40 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep # timeout=10 06:24:40 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:24:40 > git config remote.origin.url ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep # timeout=10 06:24:40 Fetching upstream changes from ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep 06:24:40 using GIT_SSH to set credentials jenkins 06:24:40 > git fetch --tags --progress -- ssh://oran-jobbuilder@gerrit.o-ran-sc.org:29418/ric-plt/ric-dep refs/changes/25/13325/1 # timeout=10 06:24:41 > git rev-parse e0063a46ec13108cfed2d718ae3fb0e36797af40^{commit} # timeout=10 06:24:41 JENKINS-19022: warning: possible memory leak due to Git plugin usage; see: https://plugins.jenkins.io/git/#remove-git-plugin-buildsbybranch-builddata-script 06:24:41 Checking out Revision e0063a46ec13108cfed2d718ae3fb0e36797af40 (refs/changes/25/13325/1) 06:24:41 > git config core.sparsecheckout # timeout=10 06:24:41 > git checkout -f e0063a46ec13108cfed2d718ae3fb0e36797af40 # timeout=10 06:24:44 Commit message: "Revert "RIC-919 Upgrade influxdb helm chart v1.8 > v2.2"" 06:24:44 > git rev-parse FETCH_HEAD^{commit} # timeout=10 06:24:44 > git rev-list --no-walk 5268a33fc172890e07e0e2de413e194f334a9726 # timeout=10 06:24:45 provisioning config files... 06:24:45 copy managed file [npmrc] to file:/home/jenkins/.npmrc 06:24:45 copy managed file [pipconf] to file:/home/jenkins/.config/pip/pip.conf 06:24:45 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins13710612233037438574.sh 06:24:45 ---> python-tools-install.sh 06:24:45 Setup pyenv: 06:24:45 * system (set by /opt/pyenv/version) 06:24:45 * 3.8.13 (set by /opt/pyenv/version) 06:24:45 * 3.9.13 (set by /opt/pyenv/version) 06:24:45 * 3.10.6 (set by /opt/pyenv/version) 06:24:49 lf-activate-venv(): INFO: Creating python3 venv at /tmp/venv-CDht 06:24:49 lf-activate-venv(): INFO: Save venv in file: /tmp/.os_lf_venv 06:24:52 lf-activate-venv(): INFO: Installing: lftools 06:25:26 lf-activate-venv(): INFO: Adding /tmp/venv-CDht/bin to PATH 06:25:26 Generating Requirements File 06:25:48 Python 3.10.6 06:25:48 pip 24.2 from /tmp/venv-CDht/lib/python3.10/site-packages/pip (python 3.10) 06:25:48 appdirs==1.4.4 06:25:48 argcomplete==3.5.0 06:25:48 aspy.yaml==1.3.0 06:25:48 attrs==24.2.0 06:25:48 autopage==0.5.2 06:25:48 beautifulsoup4==4.12.3 06:25:48 boto3==1.35.8 06:25:48 botocore==1.35.8 06:25:48 bs4==0.0.2 06:25:48 cachetools==5.5.0 06:25:48 certifi==2024.7.4 06:25:48 cffi==1.17.0 06:25:48 cfgv==3.4.0 06:25:48 chardet==5.2.0 06:25:48 charset-normalizer==3.3.2 06:25:48 click==8.1.7 06:25:48 cliff==4.7.0 06:25:48 cmd2==2.4.3 06:25:48 cryptography==3.3.2 06:25:48 debtcollector==3.0.0 06:25:48 decorator==5.1.1 06:25:48 defusedxml==0.7.1 06:25:48 Deprecated==1.2.14 06:25:48 distlib==0.3.8 06:25:48 dnspython==2.6.1 06:25:48 docker==4.2.2 06:25:48 dogpile.cache==1.3.3 06:25:48 email_validator==2.2.0 06:25:48 filelock==3.15.4 06:25:48 future==1.0.0 06:25:48 gitdb==4.0.11 06:25:48 GitPython==3.1.43 06:25:48 google-auth==2.34.0 06:25:48 httplib2==0.22.0 06:25:48 identify==2.6.0 06:25:48 idna==3.8 06:25:48 importlib-resources==1.5.0 06:25:48 iso8601==2.1.0 06:25:48 Jinja2==3.1.4 06:25:48 jmespath==1.0.1 06:25:48 jsonpatch==1.33 06:25:48 jsonpointer==3.0.0 06:25:48 jsonschema==4.23.0 06:25:48 jsonschema-specifications==2023.12.1 06:25:48 keystoneauth1==5.8.0 06:25:48 kubernetes==30.1.0 06:25:48 lftools==0.37.10 06:25:48 lxml==5.3.0 06:25:48 MarkupSafe==2.1.5 06:25:48 msgpack==1.0.8 06:25:48 multi_key_dict==2.0.3 06:25:48 munch==4.0.0 06:25:48 netaddr==1.3.0 06:25:48 netifaces==0.11.0 06:25:48 niet==1.4.2 06:25:48 nodeenv==1.9.1 06:25:48 oauth2client==4.1.3 06:25:48 oauthlib==3.2.2 06:25:48 openstacksdk==3.3.0 06:25:48 os-client-config==2.1.0 06:25:48 os-service-types==1.7.0 06:25:48 osc-lib==3.1.0 06:25:48 oslo.config==9.6.0 06:25:48 oslo.context==5.6.0 06:25:48 oslo.i18n==6.4.0 06:25:48 oslo.log==6.1.2 06:25:48 oslo.serialization==5.5.0 06:25:48 oslo.utils==7.3.0 06:25:48 packaging==24.1 06:25:48 pbr==6.1.0 06:25:48 platformdirs==4.2.2 06:25:48 prettytable==3.11.0 06:25:48 pyasn1==0.6.0 06:25:48 pyasn1_modules==0.4.0 06:25:48 pycparser==2.22 06:25:48 pygerrit2==2.0.15 06:25:48 PyGithub==2.4.0 06:25:48 PyJWT==2.9.0 06:25:48 PyNaCl==1.5.0 06:25:48 pyparsing==2.4.7 06:25:48 pyperclip==1.9.0 06:25:48 pyrsistent==0.20.0 06:25:48 python-cinderclient==9.5.0 06:25:48 python-dateutil==2.9.0.post0 06:25:48 python-heatclient==3.5.0 06:25:48 python-jenkins==1.8.2 06:25:48 python-keystoneclient==5.5.0 06:25:48 python-magnumclient==4.6.0 06:25:48 python-openstackclient==7.0.0 06:25:48 python-swiftclient==4.6.0 06:25:48 PyYAML==6.0.2 06:25:48 referencing==0.35.1 06:25:48 requests==2.32.3 06:25:48 requests-oauthlib==2.0.0 06:25:48 requestsexceptions==1.4.0 06:25:48 rfc3986==2.0.0 06:25:48 rpds-py==0.20.0 06:25:48 rsa==4.9 06:25:48 ruamel.yaml==0.18.6 06:25:48 ruamel.yaml.clib==0.2.8 06:25:48 s3transfer==0.10.2 06:25:48 simplejson==3.19.3 06:25:48 six==1.16.0 06:25:48 smmap==5.0.1 06:25:48 soupsieve==2.6 06:25:48 stevedore==5.3.0 06:25:48 tabulate==0.9.0 06:25:48 toml==0.10.2 06:25:48 tomlkit==0.13.2 06:25:48 tqdm==4.66.5 06:25:48 typing_extensions==4.12.2 06:25:48 tzdata==2024.1 06:25:48 urllib3==1.26.19 06:25:48 virtualenv==20.26.3 06:25:48 wcwidth==0.2.13 06:25:48 websocket-client==1.8.0 06:25:48 wrapt==1.16.0 06:25:48 xdg==6.0.0 06:25:48 xmltodict==0.13.0 06:25:48 yq==3.4.3 06:25:49 provisioning config files... 06:25:49 copy managed file [global-settings] to file:/w/workspace/ric-plt-ric-dep-chart-shell-verify-master@tmp/config10369965655209735380tmp 06:25:49 copy managed file [ric-plt-ric-dep-settings] to file:/w/workspace/ric-plt-ric-dep-chart-shell-verify-master@tmp/config4063945249735096091tmp 06:25:49 [EnvInject] - Injecting environment variables from a build step. 06:25:49 [EnvInject] - Injecting as environment variables the properties content 06:25:49 SERVER_ID=site 06:25:49 06:25:49 [EnvInject] - Variables injected successfully. 06:25:49 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins7521128820820162527.sh 06:25:49 ---> create-netrc.sh 06:25:49 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/sh -xe /tmp/jenkins10047585883656300845.sh 06:25:49 + cd bin 06:25:49 + bash verify-ric-charts 06:25:49 --> verify-ric-charts 06:25:49 verify-ric-charts: line 40: helm: command not found 06:25:49 Download and install Helm 06:25:49 2024-08-29 06:25:49 URL:https://get.helm.sh/helm-v2.17.0-linux-amd64.tar.gz [25097357/25097357] -> "helm-v2.17.0-linux-amd64.tar.gz" [1] 06:25:49 linux-amd64/ 06:25:49 linux-amd64/README.md 06:25:49 linux-amd64/LICENSE 06:25:49 linux-amd64/helm 06:25:50 linux-amd64/tiller 06:25:50 Creating /home/jenkins/.helm 06:25:50 Creating /home/jenkins/.helm/repository 06:25:50 Creating /home/jenkins/.helm/repository/cache 06:25:50 Creating /home/jenkins/.helm/repository/local 06:25:50 Creating /home/jenkins/.helm/plugins 06:25:50 Creating /home/jenkins/.helm/starters 06:25:50 Creating /home/jenkins/.helm/cache/archive 06:25:50 Creating /home/jenkins/.helm/repository/repositories.yaml 06:25:50 Adding stable repo with URL: https://charts.helm.sh/stable 06:25:53 Adding local repo with URL: http://127.0.0.1:8879/charts 06:25:53 $HELM_HOME has been configured at /home/jenkins/.helm. 06:25:53 Not installing Tiller due to 'client-only' flag having been set 06:25:53 Cloning into './dep'... 06:25:54 Starting local Helm server 06:25:54 Successfully packaged chart and saved it to: charts/ric-common-3.3.2.tgz 06:25:54 Successfully packaged chart and saved it to: charts/aux-common-3.0.0.tgz 06:25:54 "local" has been removed from your repositories 06:25:54 "stable" has been removed from your repositories 06:25:55 "local" has been added to your repositories 06:25:55 Finding all Helm charts 06:25:55 *************************************** 06:25:55 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/3rdparty/influxdb 06:25:55 Update chart dependency 06:25:55 Hang tight while we grab the latest from your chart repositories... 06:25:55 ...Successfully got an update from the "local" chart repository 06:25:55 Update Complete. 06:25:55 Saving 1 charts 06:25:55 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:55 Deleting outdated charts 06:25:55 Performing Helm lint 06:25:55 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/3rdparty/influxdb 06:25:55 [INFO] Chart.yaml: icon is recommended 06:25:55 06:25:55 1 chart(s) linted, no failures 06:25:55 *************************************************************************************************************** 06:25:55 Rendering Helm charts locally 06:25:55 --- 06:25:55 # Source: influxdb/templates/secret.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 apiVersion: v1 06:25:55 kind: Secret 06:25:55 metadata: 06:25:55 name: ricplt-influxdb-auth 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 data: 06:25:55 influxdb-password: "am9TWTl0WnJIUw==" 06:25:55 influxdb-user: "YWRtaW4=" 06:25:55 --- 06:25:55 # Source: influxdb/templates/configmap.yaml 06:25:55 apiVersion: v1 06:25:55 kind: ConfigMap 06:25:55 metadata: 06:25:55 name: ricplt-influxdb 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 data: 06:25:55 influxdb.conf: |+ 06:25:55 reporting-disabled = false 06:25:55 bind-address = ":8088" 06:25:55 06:25:55 [meta] 06:25:55 dir = "/var/lib/influxdb/meta" 06:25:55 06:25:55 [data] 06:25:55 dir = "/var/lib/influxdb/data" 06:25:55 wal-dir = "/var/lib/influxdb/wal" 06:25:55 06:25:55 [coordinator] 06:25:55 06:25:55 [retention] 06:25:55 06:25:55 [shard-precreation] 06:25:55 06:25:55 [monitor] 06:25:55 06:25:55 [subscriber] 06:25:55 06:25:55 [http] 06:25:55 auth-enabled = true 06:25:55 06:25:55 # TODO: allow multiple graphite listeners 06:25:55 06:25:55 [[graphite]] 06:25:55 06:25:55 # TODO: allow multiple collectd listeners with templates 06:25:55 06:25:55 [[collectd]] 06:25:55 06:25:55 # TODO: allow multiple opentsdb listeners with templates 06:25:55 06:25:55 [[opentsdb]] 06:25:55 06:25:55 # TODO: allow multiple udp listeners with templates 06:25:55 06:25:55 [[udp]] 06:25:55 06:25:55 [continuous_queries] 06:25:55 06:25:55 [logging] 06:25:55 level = "debug" 06:25:55 06:25:55 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/serviceaccount.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 ---apiVersion: v1 06:25:55 kind: ServiceAccount 06:25:55 metadata: 06:25:55 name: service-ricplt-influxdb-http 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 --- 06:25:55 # Source: influxdb/templates/service.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 apiVersion: v1 06:25:55 kind: Service 06:25:55 metadata: 06:25:55 name: ricplt-influxdb 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 spec: 06:25:55 type: ClusterIP 06:25:55 ports: 06:25:55 - name: api 06:25:55 port: 8086 06:25:55 targetPort: api 06:25:55 - name: rpc 06:25:55 port: 8088 06:25:55 targetPort: rpc 06:25:55 selector: 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/statefulset.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 apiVersion: apps/v1 06:25:55 kind: StatefulSet 06:25:55 metadata: 06:25:55 name: ricplt-influxdb-meta 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 spec: 06:25:55 replicas: 1 06:25:55 selector: 06:25:55 matchLabels: 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 serviceName: ricplt-influxdb-meta 06:25:55 template: 06:25:55 metadata: 06:25:55 labels: 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 spec: 06:25:55 serviceAccountName: service-ricplt-influxdb-http 06:25:55 containers: 06:25:55 - name: ricplt-influxdb 06:25:55 image: "influxdb:1.8.0-alpine" 06:25:55 imagePullPolicy: "IfNotPresent" 06:25:55 resources: 06:25:55 {} 06:25:55 06:25:55 ports: 06:25:55 - name: api 06:25:55 containerPort: 8086 06:25:55 - name: rpc 06:25:55 containerPort: 8088 06:25:55 livenessProbe: 06:25:55 httpGet: 06:25:55 path: /ping 06:25:55 port: api 06:25:55 scheme: HTTP 06:25:55 initialDelaySeconds: 30 06:25:55 timeoutSeconds: 5 06:25:55 readinessProbe: 06:25:55 httpGet: 06:25:55 path: /ping 06:25:55 port: api 06:25:55 scheme: HTTP 06:25:55 initialDelaySeconds: 5 06:25:55 timeoutSeconds: 1 06:25:55 volumeMounts: 06:25:55 - name: ricplt-influxdb-data 06:25:55 mountPath: /var/lib/influxdb 06:25:55 - name: config 06:25:55 mountPath: /etc/influxdb 06:25:55 volumes: 06:25:55 - name: config 06:25:55 configMap: 06:25:55 name: ricplt-influxdb 06:25:55 # Cannot use existing claim in enterprise mode 06:25:55 # Must use volume claim template in enterprise mode 06:25:55 volumeClaimTemplates: 06:25:55 - metadata: 06:25:55 name: ricplt-influxdb-data 06:25:55 annotations: 06:25:55 spec: 06:25:55 accessModes: 06:25:55 - "ReadWriteOnce" 06:25:55 resources: 06:25:55 requests: 06:25:55 storage: "8Gi" 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/post-install-set-auth.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 apiVersion: batch/v1 06:25:55 kind: Job 06:25:55 metadata: 06:25:55 name: ricplt-influxdb-set-auth 06:25:55 labels: 06:25:55 helm.sh/chart: influxdb-4.9.14 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 app.kubernetes.io/version: "1.8.4" 06:25:55 app.kubernetes.io/managed-by: Tiller 06:25:55 annotations: 06:25:55 "helm.sh/hook": post-install 06:25:55 "helm.sh/hook-delete-policy": hook-succeeded 06:25:55 spec: 06:25:55 activeDeadlineSeconds: 06:25:55 backoffLimit: 6 06:25:55 template: 06:25:55 metadata: 06:25:55 labels: 06:25:55 app.kubernetes.io/name: influxdb 06:25:55 app.kubernetes.io/instance: release-name 06:25:55 spec: 06:25:55 containers: 06:25:55 - name: ricplt-influxdb-set-auth 06:25:55 image: "appropriate/curl:latest" 06:25:55 env: 06:25:55 - name: INFLUXDB_USER 06:25:55 valueFrom: 06:25:55 secretKeyRef: 06:25:55 name: ricplt-influxdb-auth 06:25:55 key: influxdb-user 06:25:55 - name: INFLUXDB_PASSWORD 06:25:55 valueFrom: 06:25:55 secretKeyRef: 06:25:55 name: ricplt-influxdb-auth 06:25:55 key: influxdb-password 06:25:55 args: 06:25:55 - "/bin/sh" 06:25:55 - "-c" 06:25:55 - | 06:25:55 curl -X POST http://ricplt-influxdb:8086/query \ 06:25:55 --data-urlencode \ 06:25:55 "q=CREATE USER \"${INFLUXDB_USER}\" WITH PASSWORD '${INFLUXDB_PASSWORD}' WITH ALL PRIVILEGES" 06:25:55 restartPolicy: OnFailure 06:25:55 --- 06:25:55 # Source: influxdb/templates/backup-cronjob.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/backup-pvc.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/backup-retention-configmap.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/backup-retention-cronjob.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/ingress.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 --- 06:25:55 # Source: influxdb/templates/init-config.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 --- 06:25:55 # Source: influxdb/templates/meta-configmap.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/meta-service.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 06:25:55 --- 06:25:55 # Source: influxdb/templates/meta-statefulset.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2021 HCL Technolgies Limited. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 06:25:55 *************************************************************************************************************** 06:25:55 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/submgr 06:25:55 Update chart dependency 06:25:55 Hang tight while we grab the latest from your chart repositories... 06:25:55 ...Successfully got an update from the "local" chart repository 06:25:55 Update Complete. 06:25:55 Saving 1 charts 06:25:55 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:55 Deleting outdated charts 06:25:55 Performing Helm lint 06:25:55 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/submgr 06:25:55 [INFO] Chart.yaml: icon is recommended 06:25:55 06:25:55 1 chart(s) linted, no failures 06:25:55 *************************************************************************************************************** 06:25:55 Rendering Helm charts locally 06:25:55 --- 06:25:55 # Source: submgr/templates/configmap.yaml 06:25:55 #================================================================================== 06:25:55 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:55 # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:55 # you may not use this file except in compliance with the License. 06:25:55 # You may obtain a copy of the License at 06:25:55 # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 06:25:55 # 06:25:55 # Unless required by applicable law or agreed to in writing, software 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:55 # See the License for the specific language governing permissions and 06:25:55 # limitations under the License. 06:25:55 #================================================================================== 06:25:55 apiVersion: v1 06:25:55 kind: ConfigMap 06:25:55 metadata: 06:25:55 name: submgrcfg 06:25:55 namespace: ricplt 06:25:55 data: 06:25:55 # FQDN and port info of rtmgr 06:25:55 submgrcfg: | 06:25:55 "local": 06:25:55 "host": ":8080" 06:25:55 "logger": 06:25:55 "level": 3 06:25:55 "rmr": 06:25:55 "protPort" : "tcp:4560" 06:25:55 "maxSize": 8192 06:25:55 "numWorkers": 1 06:25:55 "rtmgr": 06:25:55 "hostAddr": "service-ricplt-rtmgr-http" 06:25:55 "port" : 3800 06:25:55 "baseUrl" : "/ric/v1" 06:25:55 "db": 06:25:55 "sessionNamespace": "XMSession" 06:25:55 "host": ":6379" 06:25:55 "prot": "tcp" 06:25:55 "maxIdle": 80 06:25:55 "maxActive": 12000 06:25:55 "controls": 06:25:55 "e2tSubReqTimeout_ms": 2000 06:25:55 "e2tSubDelReqTime_ms": 2000 06:25:55 "e2tRecvMsgTimeout_ms": 2000 06:25:55 "e2tMaxSubReqTryCount": 2 06:25:55 "e2tMaxSubDelReqTryCount": 2 06:25:55 "checkE2State": "true" 06:25:55 "readSubsFromDb": "true" 06:25:55 "dbTryCount": 200 06:25:55 "dbRetryForever": "true" 06:25:55 "waitRouteCleanup_ms": 5000 06:25:55 "checkE2IEOrder": 1 06:25:55 submgrutartg: | 06:25:55 newrt|start 06:25:55 newrt|end 06:25:55 06:25:55 --- 06:25:55 # Source: submgr/templates/env.yaml 06:25:55 ################################################################################ 06:25:55 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:55 # Copyright (c) 2019 Nokia. # 06:25:55 # # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:55 # you may not use this file except in compliance with the License. # 06:25:55 # You may obtain a copy of the License at # 06:25:55 # # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:55 # # 06:25:55 # Unless required by applicable law or agreed to in writing, software # 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:55 # See the License for the specific language governing permissions and # 06:25:55 # limitations under the License. # 06:25:55 ################################################################################ 06:25:55 apiVersion: v1 06:25:55 kind: ConfigMap 06:25:55 metadata: 06:25:55 name: configmap-ricplt-submgr-env 06:25:55 data: 06:25:55 RMR_RTG_SVC: "4561" 06:25:55 RMR_SRC_ID: service-ricplt-submgr-rmr.ricplt 06:25:55 CFG_FILE: "/cfg/submgr-config.yaml" 06:25:55 RMR_SEED_RT: "/cfg/submgr-uta-rtg.rt" 06:25:55 SUBMGR_SEED_SN: "1" 06:25:55 06:25:55 --- 06:25:55 # Source: submgr/templates/service-http.yaml 06:25:55 # 06:25:55 #================================================================================== 06:25:55 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:55 # Copyright (c) 2019 Nokia 06:25:55 # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:55 # you may not use this file except in compliance with the License. 06:25:55 # You may obtain a copy of the License at 06:25:55 # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 06:25:55 # 06:25:55 # Unless required by applicable law or agreed to in writing, software 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:55 # See the License for the specific language governing permissions and 06:25:55 # limitations under the License. 06:25:55 #================================================================================== 06:25:55 # 06:25:55 # 06:25:55 # Abstract: Subscription Manager service manifest 06:25:55 # Date: 28 May 2019 06:25:55 # 06:25:55 kind: Service 06:25:55 apiVersion: v1 06:25:55 metadata: 06:25:55 name: service-ricplt-submgr-http 06:25:55 namespace: ricplt 06:25:55 labels: 06:25:55 app: ricplt-submgr 06:25:55 chart: submgr-3.0.0 06:25:55 release: release-name 06:25:55 heritage: Tiller 06:25:55 spec: 06:25:55 selector: 06:25:55 app: ricplt-submgr 06:25:55 release: release-name 06:25:55 clusterIP: None 06:25:55 ports: 06:25:55 - name: http 06:25:55 port: 3800 06:25:55 protocol: TCP 06:25:55 targetPort: http 06:25:55 --- 06:25:55 # Source: submgr/templates/service-rmr.yaml 06:25:55 # 06:25:55 #================================================================================== 06:25:55 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:55 # Copyright (c) 2019 Nokia 06:25:55 # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:55 # you may not use this file except in compliance with the License. 06:25:55 # You may obtain a copy of the License at 06:25:55 # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 06:25:55 # 06:25:55 # Unless required by applicable law or agreed to in writing, software 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:55 # See the License for the specific language governing permissions and 06:25:55 # limitations under the License. 06:25:55 #================================================================================== 06:25:55 # 06:25:55 # 06:25:55 # Abstract: Subscription Manager service manifest 06:25:55 # Date: 28 May 2019 06:25:55 # 06:25:55 kind: Service 06:25:55 apiVersion: v1 06:25:55 metadata: 06:25:55 name: service-ricplt-submgr-rmr 06:25:55 namespace: ricplt 06:25:55 labels: 06:25:55 app: ricplt-submgr 06:25:55 chart: submgr-3.0.0 06:25:55 release: release-name 06:25:55 heritage: Tiller 06:25:55 spec: 06:25:55 selector: 06:25:55 app: ricplt-submgr 06:25:55 release: release-name 06:25:55 clusterIP: None 06:25:55 ports: 06:25:55 - name: rmrdata 06:25:55 port: 4560 06:25:55 protocol: TCP 06:25:55 targetPort: rmrdata 06:25:55 - name: rmrroute 06:25:55 port: 4561 06:25:55 protocol: TCP 06:25:55 targetPort: rmrroute 06:25:55 06:25:55 06:25:55 --- 06:25:55 # Source: submgr/templates/deployment.yaml 06:25:55 #================================================================================== 06:25:55 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:55 # Copyright (c) 2019 Nokia 06:25:55 # 06:25:55 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:55 # you may not use this file except in compliance with the License. 06:25:55 # You may obtain a copy of the License at 06:25:55 # 06:25:55 # http://www.apache.org/licenses/LICENSE-2.0 06:25:55 # 06:25:55 # Unless required by applicable law or agreed to in writing, software 06:25:55 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:55 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:55 # See the License for the specific language governing permissions and 06:25:55 # limitations under the License. 06:25:55 #================================================================================== 06:25:55 apiVersion: apps/v1 06:25:55 kind: Deployment 06:25:55 metadata: 06:25:55 name: deployment-ricplt-submgr 06:25:55 namespace: ricplt 06:25:55 labels: 06:25:55 app: ricplt-submgr 06:25:55 chart: submgr-3.0.0 06:25:55 release: release-name 06:25:55 heritage: Tiller 06:25:55 spec: 06:25:55 replicas: 1 06:25:55 selector: 06:25:55 matchLabels: 06:25:55 app: ricplt-submgr 06:25:55 release: release-name 06:25:55 template: 06:25:55 metadata: 06:25:55 labels: 06:25:55 app: ricplt-submgr 06:25:55 release: release-name 06:25:55 spec: 06:25:55 hostname: submgr 06:25:55 imagePullSecrets: 06:25:55 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:55 containers: 06:25:55 - name: container-ricplt-submgr 06:25:55 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-submgr:0.10.7 06:25:55 imagePullPolicy: IfNotPresent 06:25:55 command: ["/submgr"] 06:25:55 args: ["-f", "/cfg/submgr-config.yaml"] 06:25:55 envFrom: 06:25:55 - configMapRef: 06:25:55 name: configmap-ricplt-submgr-env 06:25:55 - configMapRef: 06:25:55 name: configmap-ricplt-dbaas-appconfig 06:25:55 ports: 06:25:55 - name: http 06:25:55 containerPort: 3800 06:25:55 protocol: TCP 06:25:55 - name: rmrroute 06:25:55 containerPort: 4561 06:25:55 protocol: TCP 06:25:55 - name: rmrdata 06:25:55 containerPort: 4560 06:25:55 protocol: TCP 06:25:55 volumeMounts: 06:25:55 - name: config-volume 06:25:55 mountPath: /cfg 06:25:55 livenessProbe: 06:25:55 httpGet: 06:25:55 path: ric/v1/health/alive 06:25:55 port: 8080 06:25:55 initialDelaySeconds: 5 06:25:55 periodSeconds: 15 06:25:55 readinessProbe: 06:25:55 httpGet: 06:25:55 path: ric/v1/health/ready 06:25:55 port: 8080 06:25:55 initialDelaySeconds: 5 06:25:55 periodSeconds: 15 06:25:55 06:25:55 volumes: 06:25:55 - name: config-volume 06:25:55 configMap: 06:25:55 name: submgrcfg 06:25:55 items: 06:25:55 - key: submgrcfg 06:25:55 path: submgr-config.yaml 06:25:55 mode: 0644 06:25:55 - key: submgrutartg 06:25:55 path: submgr-uta-rtg.rt 06:25:55 mode: 0644 06:25:55 06:25:55 *************************************************************************************************************** 06:25:55 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/redis-cluster 06:25:55 Update chart dependency 06:25:55 No requirements found in /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/helm/redis-cluster/charts. 06:25:55 Performing Helm lint 06:25:55 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/redis-cluster 06:25:55 [INFO] Chart.yaml: icon is recommended 06:25:55 06:25:55 1 chart(s) linted, no failures 06:25:55 *************************************************************************************************************** 06:25:55 Rendering Helm charts locally 06:25:56 --- 06:25:56 # Source: redis-cluster/templates/configMap.yaml 06:25:56 ################################################################################### 06:25:56 # ============LICENSE_START======================================================= 06:25:56 # 06:25:56 # ================================================================================ 06:25:56 # Copyright (C) 2020 Hcl Technologies Limited. 06:25:56 # ================================================================================ 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 # ============LICENSE_END========================================================= 06:25:56 ################################################################################### 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: redis-cluster-cm 06:25:56 data: 06:25:56 update-node.sh: | 06:25:56 #!/bin/sh 06:25:56 REDIS_NODES="/data/nodes.conf" 06:25:56 sed -i -e "/myself/ s/[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}/${POD_IP}/" ${REDIS_NODES} 06:25:56 exec "$@" 06:25:56 06:25:56 redis.conf: |+ 06:25:56 cluster-enabled yes 06:25:56 cluster-require-full-coverage no 06:25:56 cluster-node-timeout 15000 06:25:56 cluster-config-file /data/nodes.conf 06:25:56 cluster-migration-barrier 1 06:25:56 appendonly yes 06:25:56 protected-mode no 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: assigner-cm 06:25:56 data: 06:25:56 placenode.pl: | 06:25:56 #!/usr/bin/env perl 06:25:56 =head 06:25:56 ============LICENSE_START======================================================= 06:25:56 06:25:56 ================================================================================ 06:25:56 Copyright (C) 2020 Hcl Technologies Limited. 06:25:56 ================================================================================ 06:25:56 Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 you may not use this file except in compliance with the License. 06:25:56 You may obtain a copy of the License at 06:25:56 06:25:56 http://www.apache.org/licenses/LICENSE-2.0 06:25:56 06:25:56 Unless required by applicable law or agreed to in writing, software 06:25:56 distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 See the License for the specific language governing permissions and 06:25:56 limitations under the License. 06:25:56 ============LICENSE_END========================================================= 06:25:56 06:25:56 06:25:56 About: 06:25:56 06:25:56 This script has been developed as part of https://jira.o-ran-sc.org/browse/RIC-360 06:25:56 This script identifies the missing anti-affinity(as per above ticket) of redis instances 06:25:56 required in a redis-cluster. If there is an undesired anti-affinity this script can be 06:25:56 executed to communicate to redis nodes to switch roles (e.g. master/slave) such that the 06:25:56 end-state meets the desired anti-affinity. 06:25:56 06:25:56 06:25:56 Pre-requisites: 06:25:56 06:25:56 1) A redis cluster with 3 masters (2 replicas each) deployed on kubernetes 1.18 (or later) 06:25:56 2) Three available worker nodes for serving redis workloads 06:25:56 3) kubectl (with access to the k8 cluster) 06:25:56 06:25:56 =cut 06:25:56 06:25:56 06:25:56 my $podRow = { 06:25:56 "podIP" => "", 06:25:56 "podName" => "", 06:25:56 "k8Node" => "", 06:25:56 06:25:56 "rdNodeRole" => "", 06:25:56 "rdNodeID" => "", 06:25:56 06:25:56 "rdMasterNodeID" => "", 06:25:56 "slaveIPs" => [] 06:25:56 }; 06:25:56 06:25:56 # Pod label for redis nodes 06:25:56 my $podLabel = $ENV{'POD_LABEL'}; 06:25:56 06:25:56 my $podTable = []; 06:25:56 my $k8NodeInfo = []; 06:25:56 06:25:56 setk8NodesInfo(); 06:25:56 validate(); 06:25:56 06:25:56 # Master 06:25:56 spreadMastersIfRequired(); 06:25:56 # Slave 06:25:56 my $disparity = getSlaveDisparity(); 06:25:56 spreadSlavesIfRequired(); 06:25:56 06:25:56 sub validate() { 06:25:56 my @masters = map { $_->{'rdNodeRole'} eq 'master' ? $_ : () } @{$podTable}; 06:25:56 if ( @masters > @{$k8NodeInfo->{allk8Nodes}} ) { 06:25:56 print "Info: Skipping any action as num of master > number of k8 nodes..\n"; 06:25:56 exit; 06:25:56 } 06:25:56 } 06:25:56 06:25:56 06:25:56 sub spreadSlavesIfRequired() { 06:25:56 06:25:56 06:25:56 # Get node with maximum disparity first 06:25:56 my @disparityMatrix = reverse sort { @{$a} <=> @{$b} } @${disparity}; 06:25:56 #@disparityMatrix = grep defined, @disparityMatrix; 06:25:56 #@disparityMatrix = map { defined $_ ? $_ : () } @disparityMatrix; 06:25:56 06:25:56 # Get list of slaves to be swapped roles. 06:25:56 my @slaveSwapList = (); 06:25:56 my $maxDisparityPerNode = @{$disparityMatrix[0]}; 06:25:56 06:25:56 for (my $disparityPass=0; $disparityPass < $maxDisparityPerNode; $disparityPass++) { 06:25:56 for (my $k8NodeIndex=0; $k8NodeIndex <= $#{disparityMatrix}; $k8NodeIndex++) { 06:25:56 #print "$disparityMatrix[$disparityPass] && $disparityMatrix[$k8NodeIndex][$disparityPass]"; 06:25:56 if ( $disparityMatrix[$disparityPass] && $disparityMatrix[$k8NodeIndex][$disparityPass] ) { 06:25:56 push(@slaveSwapList,$disparityMatrix[$k8NodeIndex][$disparityPass]); 06:25:56 } 06:25:56 } 06:25:56 } 06:25:56 if ( ! @slaveSwapList ) { 06:25:56 print "Info: No disparity found with slaves.\n" if ( @slaveSwapList < 2); 06:25:56 exit; 06:25:56 } elsif ( @slaveSwapList == 1 ) { 06:25:56 print "Info: single host scenario (with no swap candidate in other k8 nodes) found.\n"; 06:25:56 exit; 06:25:56 } else { 06:25:56 print "Info: slave disparity found.\n"; 06:25:56 } 06:25:56 06:25:56 # Swap slaves 06:25:56 for (my $swapIndex=0; $swapIndex < @slaveSwapList; $swapIndex++) { 06:25:56 $pod1 = $slaveSwapList[$swapIndex]; 06:25:56 $pod2 = $slaveSwapList[++$swapIndex]; 06:25:56 #print "Info: Swapping Slaves: " . join($pod1->{podName}, $pod2->{podName}) . "\n"; 06:25:56 06:25:56 my $cmd1 = qq[kubectl exec -it ]. 06:25:56 qq[$pod1->{podName} -- redis-cli -p 6379 cluster replicate $pod2->{rdMasterNodeID} ]; 06:25:56 06:25:56 my $cmd2 = qq[kubectl exec -it ]. 06:25:56 qq[$pod2->{podName} -- redis-cli -p 6379 cluster replicate $pod1->{rdMasterNodeID} ]; 06:25:56 06:25:56 runRediClusterCmd($cmd1); 06:25:56 runRediClusterCmd($cmd2); 06:25:56 #print "\n$cmd1"; 06:25:56 #print "\n$cmd2\n"; 06:25:56 } 06:25:56 06:25:56 } 06:25:56 06:25:56 06:25:56 sub getSlaveDisparity() { 06:25:56 06:25:56 # Get Slave Disparity Metrix 06:25:56 my $disparity = (); 06:25:56 my $nodeIndex = 0; 06:25:56 foreach my $k8NodeName ( @{$k8NodeInfo->{allk8Nodes}} ) { 06:25:56 my @redisNodesOnk8Node = map { $_->{'k8Node'} eq $k8NodeName ? $_ : () } @{$podTable}; 06:25:56 @redisNodesOnk8Node = sort { $a->{"rdNodeRole"} cmp $b->{"rdNodeRole"} } @redisNodesOnk8Node; 06:25:56 06:25:56 my $master = shift @redisNodesOnk8Node; 06:25:56 06:25:56 for (my $index=0; $index <= $#{redisNodesOnk8Node}; $index++ ) { 06:25:56 my $slave = $redisNodesOnk8Node[$index]; 06:25:56 #print "chekcing for pod: $slave->{podName}\n"; 06:25:56 my $disparityFound = 0; 06:25:56 if ( $slave->{rdMasterNodeID} eq $master->{rdNodeID} ) { 06:25:56 $disparityFound = 1; 06:25:56 } else { 06:25:56 #check is other slaves are its sibling 06:25:56 for (my $nextIndex=$index + 1; $nextIndex <= $#{redisNodesOnk8Node}; $nextIndex++ ) { 06:25:56 if ( $slave->{rdMasterNodeID} eq $redisNodesOnk8Node[$nextIndex]->{rdMasterNodeID} ) { 06:25:56 $disparityFound = 1; 06:25:56 break; 06:25:56 } 06:25:56 } 06:25:56 } 06:25:56 if ($disparityFound) { 06:25:56 #$disparity[$nodeIndex][$index] = { 'podName' => $slave->{"podName"}, 'rdMasterNodeID' => $slave->{"rdMasterNodeID"} } ; 06:25:56 push(@{$disparity[$nodeIndex]},{ 'podName' => $slave->{"podName"}, 'rdMasterNodeID' => $slave->{"rdMasterNodeID"} } ) ; 06:25:56 } 06:25:56 } 06:25:56 $nodeIndex++; 06:25:56 } 06:25:56 return \@disparity; 06:25:56 } 06:25:56 06:25:56 sub spreadMastersIfRequired() { 06:25:56 06:25:56 NODE_WITH_NO_MASTER: foreach my $nodeWithoutMaster (@{$k8NodeInfo->{k8NodesWithoutMaster}}) { 06:25:56 # For each k8Node without any master 06:25:56 # Check for each extra master on its hostNode 06:25:56 # Find its slave on the this hostNode (i.e. without any master) 06:25:56 # Such slave must be Found for 3x3 set-up: 06:25:56 # Then Promote as master # Re-Evaluate 06:25:56 06:25:56 # Get All Redis Slaves on This k8 node 06:25:56 print "Info: K8 node without any master : $nodeWithoutMaster\n"; 06:25:56 my @rdSlaveNodes = map { ($_->{'k8Node'} eq $nodeWithoutMaster ) && ($_->{'rdNodeRole'} eq 'slave') ? $_ : () } @{$podTable}; 06:25:56 06:25:56 foreach my $nodeWithExtraMaster (@{$k8NodeInfo->{k8NodesWithExtraMaster}} ) { 06:25:56 print "Info: k8 Node with extra master : $nodeWithExtraMaster\n"; 06:25:56 #my @rdSlaveNodes = map { ($_->{'k8Node'} eq $nodeWithoutMaster ) && ($_->{'rdNodeRole'} eq 'slave') ? $_ : () } @{$podTable}; 06:25:56 06:25:56 my @masterInstances = map { ($_->{'k8Node'} eq $nodeWithExtraMaster ) && ($_->{'rdNodeRole'} eq 'master') ? $_ : () } @{$podTable}; 06:25:56 foreach my $master (@masterInstances) { 06:25:56 my @slave = map { $_->{"rdMasterNodeID"} eq $master->{rdNodeID} ? $_ : () } @rdSlaveNodes; 06:25:56 if ( @slave ) { 06:25:56 promoteSlaveAsMaster($slave[0]); 06:25:56 my $isPromoted = 0; 06:25:56 my $slaveNodeID= $slave[0]->{rdNodeID}; 06:25:56 while( ! $isPromoted ) { 06:25:56 sleep(8); 06:25:56 setk8NodesInfo(); 06:25:56 my ($promotedNode) = map { $slaveNodeID eq $_->{rdNodeID} ? $_ : () } @{$podTable}; 06:25:56 06:25:56 if ( $promotedNode->{'rdNodeRole'} ne 'master' ) { 06:25:56 print ("Info: Waiting for node promotion confirmation..\n"); 06:25:56 } else { 06:25:56 $isPromoted = 1; 06:25:56 print ("Info: Node promotion confirmed.\n"); 06:25:56 } 06:25:56 } 06:25:56 next NODE_WITH_NO_MASTER; 06:25:56 } 06:25:56 } 06:25:56 } 06:25:56 } 06:25:56 print "Info: All redis masters are on separate k8 Nodes. \n" if ( ! @{$k8NodeInfo->{k8NodesWithoutMaster}}) ; 06:25:56 } 06:25:56 06:25:56 sub promoteSlaveAsMaster() { 06:25:56 my $slavePod = shift; 06:25:56 #print "Info: Promoting Slave $slavePod->{'podName'} On $slavePod->{'k8Node'} as master"; 06:25:56 my $cmd = qq[kubectl exec -it $slavePod->{'podName'} -- redis-cli -p 6379 cluster failover takeover]; 06:25:56 runRediClusterCmd($cmd); 06:25:56 06:25:56 } 06:25:56 sub runRediClusterCmd() { 06:25:56 my $cmd = shift; 06:25:56 print "Info: Running Cmd:$cmd \n"; 06:25:56 `$cmd;`; 06:25:56 sleep(8); 06:25:56 } 06:25:56 06:25:56 06:25:56 #foreach my $item (@{$podTable}) { 06:25:56 #} 06:25:56 06:25:56 # find_nodes_without-a-single_master 06:25:56 sub setk8NodesInfo() { 06:25:56 06:25:56 $podTable = []; 06:25:56 $k8NodeInfo = []; 06:25:56 06:25:56 getCurrentStatus(); 06:25:56 # All k8 nodes 06:25:56 my @k8NodeList = uniq(map { $_->{'k8Node'} } @$podTable); 06:25:56 06:25:56 # Find Nodes with At least One master 06:25:56 my @k8NodesWithMaster; 06:25:56 foreach my $nodeName (@k8NodeList) { 06:25:56 push(@k8NodesWithMaster, map { ($_->{'k8Node'} eq $nodeName) && ($_->{'rdNodeRole'} eq 'master') ? $nodeName : () } @{$podTable} ); 06:25:56 } 06:25:56 06:25:56 # Find Nodes without any master = All nodes - Nodes with at least one Master 06:25:56 my %k8NodesMap = (); 06:25:56 foreach (@k8NodesWithMaster) { 06:25:56 if ( exists $k8NodesMap{$_} ) { 06:25:56 $k8NodesMap{$_}++; 06:25:56 } else { 06:25:56 $k8NodesMap{$_} = 1; 06:25:56 } 06:25:56 } 06:25:56 my @k8NodesWithoutMaster = map { exists $k8NodesMap{$_} ? () : $_ } @k8NodeList; 06:25:56 my @k8NodesWithExtraMaster = uniq(map { $k8NodesMap{$_} > 1 ? $_ : () } @k8NodesWithMaster); 06:25:56 06:25:56 $k8NodeInfo = { 'allk8Nodes' => \@k8NodeList, 'k8NodesWithExtraMaster' => \@k8NodesWithExtraMaster, 'k8NodesWithoutMaster' => \@k8NodesWithoutMaster }; 06:25:56 } 06:25:56 06:25:56 06:25:56 06:25:56 06:25:56 06:25:56 # Validate if number of masters ,= number of rea 06:25:56 06:25:56 # 06:25:56 #sub filter 06:25:56 06:25:56 =head 06:25:56 get 06:25:56 podName where k8Node eq "x" 06:25:56 get position of k8node eq x 06:25:56 where 06:25:56 =cut 06:25:56 06:25:56 exit; 06:25:56 06:25:56 sub uniq { 06:25:56 my %seen; 06:25:56 grep !$seen{$_}++, @_; 06:25:56 } 06:25:56 06:25:56 sub getCurrentStatus() { 06:25:56 06:25:56 # Run pod list command 06:25:56 my @getPods = `kubectl get po --no-headers -o wide -l $podLabel |grep Running`; chomp @getPods; 06:25:56 #my @getPods = `kubectl get po --no-headers -o wide -l managed-by=redis-cluster-operator|grep Running`; chomp @getPods; 06:25:56 06:25:56 foreach my $podLine (@getPods) { 06:25:56 my @podData = split(/\s+/,$podLine); 06:25:56 my ($podName,$status,$age,$podIP,$podNode) = ($podData[0], $podData[2], $podData[4], $podData[5],$podData[6]); 06:25:56 06:25:56 #print "$podName,$status,$age,$podIP,$podNode" ."\n"; 06:25:56 my $podRow = { 'podIP' => $podIP, 'podName' => $podName, 'k8Node' => $podNode, 'podAge' => $age, 'podStatus' => $status }; 06:25:56 push (@{$podTable},$podRow) 06:25:56 } 06:25:56 06:25:56 my $podName = $podTable->[0]{'podName'}; 06:25:56 #print "Info:kubectl exec $podName -- cat nodes.conf|sort -k3\n"; 06:25:56 my @rdNodeData = `kubectl exec $podName -- cat nodes.conf|sort -k3`; chomp @rdNodeData; 06:25:56 foreach my $rdNodeLine (@rdNodeData) { 06:25:56 next if ($rdNodeLine !~ /master|slave/); 06:25:56 my @rdNodeData = split(/\s+/,$rdNodeLine); 06:25:56 my ($rdNodeID,$rdRole,$rdMasterNodeID,$epoch) = ($rdNodeData[0], $rdNodeData[2], $rdNodeData[3],$rdNodeData[5]); 06:25:56 my ($podIP) = split(/:/,$rdNodeData[1]); 06:25:56 $rdRole =~ s/myself,//; 06:25:56 06:25:56 #print "$rdNodeID,$rdRole,$rdMasterNodeID,$podIP" ."\n"; 06:25:56 my $rdElem = { 'podIP' => $podIP, 06:25:56 'rdNodeID' => $rdNodeID, 06:25:56 'rdRole' => $rdRole, 06:25:56 'rdMasterNodeID' => $rdMasterNodeID, 06:25:56 'epoch' => $epoch 06:25:56 }; 06:25:56 06:25:56 for(my $index=0; $index <= $#{$podTable}; $index++) { 06:25:56 if ( $podTable->[$index]{'podIP'} eq $podIP ) { 06:25:56 #print "Matched\n"; 06:25:56 $podTable->[$index]{'rdNodeID'} = $rdNodeID; 06:25:56 $podTable->[$index]{'rdNodeRole'} = $rdRole; 06:25:56 $podTable->[$index]{'rdMasterNodeID'} = $rdMasterNodeID; 06:25:56 $podTable->[$index]{'epoch'} = $epoch; 06:25:56 } 06:25:56 } 06:25:56 #exit; 06:25:56 06:25:56 } 06:25:56 } 06:25:56 06:25:56 relatenode.sh: | 06:25:56 #!/bin/sh 06:25:56 podLabel=${POD_LABEL} 06:25:56 firstPod=$(kubectl get po -o wide -l app.kubernetes.io/name=redis-cluster --no-headers=true|head -1|cut -d" " -f1) 06:25:56 06:25:56 kubectl get po -o wide -l $podLabel |tail +2|awk '{printf("%s:%s:%s:%s\n",$6,$1,$7,$10)}'|sort > /tmp/1.txt 06:25:56 kubectl exec $firstPod -- cat nodes.conf|sed 's/myself,//'|awk '/master|slave/ {print $2,$1,$3,$4}'|sort > /tmp/2.txt 06:25:56 join -t ":" /tmp/1.txt /tmp/2.txt |sort -k3,4 | sed 's/ /:/g'|awk -F":" '{print $2,$7,$3,$1,$4,$6,$8}' > /tmp/3.txt 06:25:56 06:25:56 echo "\n POD_NAME ROLE k8NODE POD_IP REDIS_NODE_ID REDIS_MASTER_NODE_ID" 06:25:56 grep $(cut -d" " -f4 /tmp/2.txt|sort -u|grep -v "-"|sed -n '1p') /tmp/3.txt 06:25:56 echo "" 06:25:56 grep $(cut -d" " -f4 /tmp/2.txt|sort -u|grep -v "-"|sed -n '2p') /tmp/3.txt 06:25:56 echo "" 06:25:56 grep $(cut -d" " -f4 /tmp/2.txt|sort -u|grep -v "-"|sed -n '3p') /tmp/3.txt 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: redis-cluster/templates/serviceaccount.yaml 06:25:56 ################################################################################### 06:25:56 # ============LICENSE_START======================================================= 06:25:56 # 06:25:56 # ================================================================================ 06:25:56 # Copyright (C) 2020 Hcl Technologies Limited. 06:25:56 # ================================================================================ 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 # ============LICENSE_END========================================================= 06:25:56 ################################################################################### 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ServiceAccount 06:25:56 metadata: 06:25:56 name: assigner-sa 06:25:56 06:25:56 --- 06:25:56 apiVersion: rbac.authorization.k8s.io/v1 06:25:56 kind: Role 06:25:56 metadata: 06:25:56 name: assigner-role 06:25:56 06:25:56 rules: 06:25:56 - apiGroups: [""] 06:25:56 resources: 06:25:56 - pods 06:25:56 verbs: 06:25:56 - get 06:25:56 - list 06:25:56 - apiGroups: [""] 06:25:56 resources: ["pods/exec"] 06:25:56 verbs: ["create"] 06:25:56 06:25:56 --- 06:25:56 apiVersion: rbac.authorization.k8s.io/v1 06:25:56 kind: RoleBinding 06:25:56 metadata: 06:25:56 name: assigner-rb 06:25:56 subjects: 06:25:56 - kind: ServiceAccount 06:25:56 name: assigner-sa 06:25:56 roleRef: 06:25:56 kind: Role 06:25:56 name: assigner-role 06:25:56 apiGroup: rbac.authorization.k8s.io 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: redis-cluster/templates/service.yaml 06:25:56 ################################################################################### 06:25:56 # ============LICENSE_START======================================================= 06:25:56 # 06:25:56 # ================================================================================ 06:25:56 # Copyright (C) 2020 Hcl Technologies Limited. 06:25:56 # ================================================================================ 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 # ============LICENSE_END========================================================= 06:25:56 ################################################################################### 06:25:56 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: redis-cluster-svc 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - port: 6379 06:25:56 targetPort: 6379 06:25:56 name: client 06:25:56 - port: 16379 06:25:56 targetPort: 16379 06:25:56 name: gossip 06:25:56 selector: 06:25:56 app.kubernetes.io/name: redis-cluster 06:25:56 app.kubernetes.io/instance: release-name 06:25:56 06:25:56 --- 06:25:56 # Source: redis-cluster/templates/deployment.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 apiVersion: apps/v1 06:25:56 kind: Deployment 06:25:56 metadata: 06:25:56 name: assigner-dep 06:25:56 namespace: default 06:25:56 labels: 06:25:56 chart: redis-cluster-0.1.0 06:25:56 release: release-name 06:25:56 spec: 06:25:56 replicas: 1 06:25:56 selector: 06:25:56 matchLabels: 06:25:56 app: assigner 06:25:56 release: release-name 06:25:56 template: 06:25:56 metadata: 06:25:56 labels: 06:25:56 app: assigner 06:25:56 release: release-name 06:25:56 spec: 06:25:56 containers: 06:25:56 - name: kubectl 06:25:56 hostname: assigner 06:25:56 image: "bitnami/kubectl:1.18" 06:25:56 command: ["/bin/sh"] 06:25:56 args: ["-c", "sleep 3000"] 06:25:56 env: 06:25:56 - name: "POD_LABEL" 06:25:56 value: app.kubernetes.io/instance=release-name 06:25:56 06:25:56 volumeMounts: 06:25:56 - name: conf 06:25:56 mountPath: /conf 06:25:56 readOnly: false 06:25:56 volumes: 06:25:56 - name: conf 06:25:56 configMap: 06:25:56 name: assigner-cm 06:25:56 defaultMode: 0755 06:25:56 serviceAccountName: assigner-sa 06:25:56 06:25:56 --- 06:25:56 # Source: redis-cluster/templates/statefulset.yaml 06:25:56 ################################################################################### 06:25:56 # ============LICENSE_START======================================================= 06:25:56 # 06:25:56 # ================================================================================ 06:25:56 # Copyright (C) 2020 Hcl Technologies Limited. 06:25:56 # ================================================================================ 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 # ============LICENSE_END========================================================= 06:25:56 ################################################################################### 06:25:56 06:25:56 apiVersion: apps/v1 06:25:56 kind: StatefulSet 06:25:56 metadata: 06:25:56 name: redis-cluster 06:25:56 spec: 06:25:56 serviceName: 06:25:56 replicas: 9 06:25:56 selector: 06:25:56 matchLabels: 06:25:56 app.kubernetes.io/name: redis-cluster 06:25:56 app.kubernetes.io/instance: release-name 06:25:56 template: 06:25:56 metadata: 06:25:56 labels: 06:25:56 app.kubernetes.io/name: redis-cluster 06:25:56 app.kubernetes.io/instance: release-name 06:25:56 spec: 06:25:56 topologySpreadConstraints: 06:25:56 - maxSkew: 1 06:25:56 topologyKey: kubernetes.io/hostname 06:25:56 whenUnsatisfiable: DoNotSchedule 06:25:56 #whenUnsatisfiable: ScheduleAnyway 06:25:56 #whenUnsatisfiable: DoNotSchedule 06:25:56 labelSelector: 06:25:56 matchLabels: 06:25:56 app.kubernetes.io/name: redis-cluster 06:25:56 app.kubernetes.io/instance: release-name 06:25:56 containers: 06:25:56 - name: redis 06:25:56 image: "redis:5.0.1-alpine" 06:25:56 imagePullPolicy: IfNotPresent 06:25:56 ports: 06:25:56 - containerPort: 6379 06:25:56 name: client 06:25:56 - containerPort: 16379 06:25:56 name: gossip 06:25:56 command: ["/conf/update-node.sh", "redis-server", "/conf/redis.conf"] 06:25:56 env: 06:25:56 - name: POD_IP 06:25:56 valueFrom: 06:25:56 fieldRef: 06:25:56 fieldPath: status.podIP 06:25:56 volumeMounts: 06:25:56 - name: conf 06:25:56 mountPath: /conf 06:25:56 readOnly: false 06:25:56 - name: data 06:25:56 mountPath: /data 06:25:56 readOnly: false 06:25:56 volumes: 06:25:56 - name: conf 06:25:56 configMap: 06:25:56 name: redis-cluster-cm 06:25:56 defaultMode: 0755 06:25:56 volumeClaimTemplates: 06:25:56 - metadata: 06:25:56 name: data 06:25:56 labels: 06:25:56 app.kubernetes.io/name: redis-cluster 06:25:56 app.kubernetes.io/instance: release-name 06:25:56 spec: 06:25:56 accessModes: [ "ReadWriteOnce" ] 06:25:56 resources: 06:25:56 requests: 06:25:56 storage: 1Gi 06:25:56 06:25:56 *************************************************************************************************************** 06:25:56 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/e2term 06:25:56 Update chart dependency 06:25:56 Hang tight while we grab the latest from your chart repositories... 06:25:56 ...Successfully got an update from the "local" chart repository 06:25:56 Update Complete. 06:25:56 Saving 1 charts 06:25:56 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:56 Deleting outdated charts 06:25:56 Performing Helm lint 06:25:56 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/e2term 06:25:56 [INFO] Chart.yaml: icon is recommended 06:25:56 06:25:56 1 chart(s) linted, no failures 06:25:56 *************************************************************************************************************** 06:25:56 Rendering Helm charts locally 06:25:56 --- 06:25:56 # Source: e2term/templates/configmap-loglevel.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2023 Alexandre Huff Intellectual Property. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: configmap-ricplt-e2term-loglevel-configmap 06:25:56 namespace: ricplt 06:25:56 data: 06:25:56 log-level: | 06:25:56 log-level: 3 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/configmap.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: configmap-ricplt-e2term-router-configmap 06:25:56 namespace: ricplt 06:25:56 data: 06:25:56 rmr_verbose: | 06:25:56 0 06:25:56 router.txt: | 06:25:56 newrt|start 06:25:56 rte|1080|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|1090|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|1100|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10020|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10060|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|10061|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10062|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10030|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10070|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10071|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10080|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10091|service-ricplt-rsm-rmr.ricplt:4801 06:25:56 rte|10092|service-ricplt-rsm-rmr.ricplt:4801 06:25:56 rte|10360|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|10361|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10362|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10370|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:56 rte|10371|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|12010|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|12020|service-ricplt-e2term-rmr-alpha.ricplt:38000 06:25:56 rte|20001|service-ricplt-a1mediator-rmr.ricplt:4562 06:25:56 rte|12011|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12050|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12012|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12021|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12022|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12041|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12042|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|12050|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 rte|20000|service-ricxapp-ueec-rmr.ricxapp:4560;service-admission-ctrl-xapp-rmr.ricxapp:4560 06:25:56 newrt|end 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/env.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: configmap-ricplt-e2term-env-alpha 06:25:56 data: 06:25:56 RMR_SRC_ID: service-ricplt-e2term-rmr-alpha.ricplt 06:25:56 RMR_RTG_SVC: "4561" 06:25:56 RMR_SEED_RT: "router.txt" 06:25:56 RMR_VCTL_FILE: "/tmp/rmr_verbose" 06:25:56 sctp: "36422" 06:25:56 nano: "38000" 06:25:56 print: "1" 06:25:56 volume: "/data/outgoing/" 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/pv.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################1 06:25:56 06:25:56 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: PersistentVolume 06:25:56 metadata: 06:25:56 name: pv-ricplt-e2term-alpha 06:25:56 labels: 06:25:56 type: local 06:25:56 spec: 06:25:56 storageClassName: local-storage 06:25:56 capacity: 06:25:56 storage: 100Mi 06:25:56 accessModes: 06:25:56 - ReadWriteOnce 06:25:56 hostPath: 06:25:56 path: /mnt/pv-ricplt-e2term-alpha 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/pvc.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 kind: PersistentVolumeClaim 06:25:56 apiVersion: v1 06:25:56 metadata: 06:25:56 name: pvc-ricplt-e2term-alpha 06:25:56 spec: 06:25:56 accessModes: 06:25:56 - ReadWriteOnce 06:25:56 resources: 06:25:56 requests: 06:25:56 storage: 100Mi 06:25:56 storageClassName: local-storage 06:25:56 #volumeName: pv-ricplt-e2term 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/service-prometheus.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-e2term-prometheus-alpha 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 chart: e2term-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 annotations: 06:25:56 prometheus.io/scrape: "true" 06:25:56 prometheus.io/path: "/metrics" 06:25:56 prometheus.io/port: "8088" 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - port: 8088 06:25:56 protocol: "TCP" 06:25:56 targetPort: "prmts-alpha" 06:25:56 name: "prmts-alpha" 06:25:56 selector: 06:25:56 app: ricplt-e2term-alpha 06:25:56 release: release-name 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/service-rmr.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-e2term-rmr-alpha 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 chart: e2term-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - port: 4561 06:25:56 protocol: "TCP" 06:25:56 targetPort: "rmrroute-alpha" 06:25:56 name: "rmrroute-alpha" 06:25:56 - port: 38000 06:25:56 protocol: "TCP" 06:25:56 targetPort: "rmrdata-alpha" 06:25:56 name: "rmrdata-alpha" 06:25:56 selector: 06:25:56 app: ricplt-e2term-alpha 06:25:56 release: release-name 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/service-sctp.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-e2term-sctp-alpha 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 chart: e2term-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 type: NodePort 06:25:56 ports: 06:25:56 - port: 36422 06:25:56 nodePort: 32222 06:25:56 protocol: "SCTP" 06:25:56 targetPort: 36422 06:25:56 name: "sctp-alpha" 06:25:56 selector: 06:25:56 app: ricplt-e2term-alpha 06:25:56 release: release-name 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/deployment.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # Copyright (c) 2019 Nokia. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 --- 06:25:56 apiVersion: apps/v1 06:25:56 kind: Deployment 06:25:56 metadata: 06:25:56 name: deployment-ricplt-e2term-alpha 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 chart: e2term-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 replicas: 1 06:25:56 selector: 06:25:56 matchLabels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 release: release-name 06:25:56 template: 06:25:56 metadata: 06:25:56 labels: 06:25:56 app: ricplt-e2term-alpha 06:25:56 release: release-name 06:25:56 spec: 06:25:56 hostname: e2term-alpha 06:25:56 hostNetwork: false 06:25:56 dnsPolicy: ClusterFirstWithHostNet 06:25:56 imagePullSecrets: 06:25:56 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:56 containers: 06:25:56 - name: container-ricplt-e2term 06:25:56 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2:3.0.1 06:25:56 imagePullPolicy: IfNotPresent 06:25:56 volumeMounts: 06:25:56 - mountPath: /opt/e2/router.txt 06:25:56 name: local-router-file 06:25:56 subPath: router.txt 06:25:56 - mountPath: /tmp/rmr_verbose 06:25:56 name: local-router-file 06:25:56 subPath: rmr_verbose 06:25:56 - mountPath: /etc/config 06:25:56 name: local-loglevel-file 06:25:56 06:25:56 - mountPath: "/data/outgoing/" 06:25:56 name: vol-shared 06:25:56 readOnly: false 06:25:56 06:25:56 envFrom: 06:25:56 - configMapRef: 06:25:56 name: configmap-ricplt-e2term-env-alpha 06:25:56 env: 06:25:56 - name: SYSTEM_NAME 06:25:56 value: "SEP" 06:25:56 - name: CONFIG_MAP_NAME 06:25:56 value: "/etc/config/log-level" 06:25:56 - name: HOST_NAME 06:25:56 valueFrom: 06:25:56 fieldRef: 06:25:56 fieldPath: spec.nodeName 06:25:56 - name: SERVICE_NAME 06:25:56 value: "RIC_E2_TERM" 06:25:56 - name: CONTAINER_NAME 06:25:56 value: "container-ricplt-e2term" 06:25:56 - name: POD_NAME 06:25:56 valueFrom: 06:25:56 fieldRef: 06:25:56 fieldPath: metadata.name 06:25:56 ports: 06:25:56 - name: "rmrroute-alpha" 06:25:56 containerPort: 4561 06:25:56 - name: "rmrdata-alpha" 06:25:56 containerPort: 38000 06:25:56 - name: "sctp-alpha" 06:25:56 containerPort: 36422 06:25:56 protocol: SCTP 06:25:56 - name: "prmts-alpha" 06:25:56 containerPort: 8088 06:25:56 stdin: true 06:25:56 tty: true 06:25:56 securityContext: 06:25:56 privileged: false 06:25:56 readinessProbe: 06:25:56 exec: 06:25:56 command: [ "/bin/sh", "-c", "ip=`hostname -i`;export RMR_SRC_ID=$ip;/opt/e2/rmr_probe -h $ip:38000" ] 06:25:56 initialDelaySeconds: 120 06:25:56 periodSeconds: 60 06:25:56 livenessProbe: 06:25:56 exec: 06:25:56 command: [ "/bin/sh", "-c", "ip=`hostname -i`;export RMR_SRC_ID=$ip;/opt/e2/rmr_probe -h $ip:38000" ] 06:25:56 initialDelaySeconds: 10 06:25:56 periodSeconds: 10 06:25:56 06:25:56 volumes: 06:25:56 - name: local-router-file 06:25:56 configMap: 06:25:56 name: configmap-ricplt-e2term-router-configmap 06:25:56 - name: local-loglevel-file 06:25:56 configMap: 06:25:56 name: configmap-ricplt-e2term-loglevel-configmap 06:25:56 06:25:56 - name: vol-shared 06:25:56 persistentVolumeClaim: 06:25:56 claimName: pvc-ricplt-e2term-alpha 06:25:56 06:25:56 --- 06:25:56 # Source: e2term/templates/configmap-pizpub.yaml 06:25:56 ################################################################################ 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:56 # # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:56 # you may not use this file except in compliance with the License. # 06:25:56 # You may obtain a copy of the License at # 06:25:56 # # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:56 # # 06:25:56 # Unless required by applicable law or agreed to in writing, software # 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:56 # See the License for the specific language governing permissions and # 06:25:56 # limitations under the License. # 06:25:56 ################################################################################ 06:25:56 06:25:56 06:25:56 06:25:56 *************************************************************************************************************** 06:25:56 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/jaegeradapter 06:25:56 Update chart dependency 06:25:56 Hang tight while we grab the latest from your chart repositories... 06:25:56 ...Successfully got an update from the "local" chart repository 06:25:56 Update Complete. 06:25:56 Saving 1 charts 06:25:56 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:56 Deleting outdated charts 06:25:56 Performing Helm lint 06:25:56 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/jaegeradapter 06:25:56 [INFO] Chart.yaml: icon is recommended 06:25:56 06:25:56 1 chart(s) linted, no failures 06:25:56 *************************************************************************************************************** 06:25:56 Rendering Helm charts locally 06:25:56 --- 06:25:56 # Source: jaegeradapter/templates/env.yaml 06:25:56 apiVersion: v1 06:25:56 kind: ConfigMap 06:25:56 metadata: 06:25:56 name: configmap-ricplt-jaegeradapter 06:25:56 namespace: ricplt 06:25:56 data: 06:25:56 TRACING_ENABLED: "0" 06:25:56 TRACING_JAEGER_SAMPLER_TYPE: "const" 06:25:56 TRACING_JAEGER_SAMPLER_PARAM: "1" 06:25:56 TRACING_JAEGER_AGENT_ADDR: service-ricplt-jaegeradapter-agent.ricplt 06:25:56 TRACING_JAEGER_LOG_LEVEL: "error" 06:25:56 06:25:56 --- 06:25:56 # Source: jaegeradapter/templates/agent-service.yaml 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:56 # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-jaegeradapter-agent 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 chart: jaegeradapter-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - name: "zipkincompact" 06:25:56 port: 5775 06:25:56 protocol: UDP 06:25:56 targetPort: 5775 06:25:56 - name: "jaegercompact" 06:25:56 port: 6831 06:25:56 protocol: UDP 06:25:56 targetPort: 6831 06:25:56 - name: "jaegerbinary" 06:25:56 port: 6832 06:25:56 protocol: UDP 06:25:56 targetPort: 6832 06:25:56 selector: 06:25:56 app: ricplt-jaegeradapter 06:25:56 release: release-name 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: jaegeradapter/templates/collector-service.yaml 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:56 # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-jaegeradapter-collector 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 chart: jaegeradapter-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - name: "jaegerhttpt" 06:25:56 port: 14267 06:25:56 protocol: TCP 06:25:56 targetPort: 14267 06:25:56 - name: "jaegerhttp" 06:25:56 port: 14268 06:25:56 protocol: TCP 06:25:56 targetPort: 14268 06:25:56 - name: "zipkinhttp" 06:25:56 port: 9411 06:25:56 protocol: TCP 06:25:56 targetPort: 9411 06:25:56 selector: 06:25:56 app: ricplt-jaegeradapter 06:25:56 release: release-name 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: jaegeradapter/templates/query-service.yaml 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:56 # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 06:25:56 apiVersion: v1 06:25:56 kind: Service 06:25:56 metadata: 06:25:56 name: service-ricplt-jaegeradapter-query 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 chart: jaegeradapter-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 type: ClusterIP 06:25:56 ports: 06:25:56 - name: "httpquery" 06:25:56 port: 16686 06:25:56 protocol: TCP 06:25:56 targetPort: 16686 06:25:56 selector: 06:25:56 app: ricplt-jaegeradapter 06:25:56 release: release-name 06:25:56 06:25:56 06:25:56 --- 06:25:56 # Source: jaegeradapter/templates/deployment.yaml 06:25:56 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:56 # 06:25:56 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:56 # you may not use this file except in compliance with the License. 06:25:56 # You may obtain a copy of the License at 06:25:56 # 06:25:56 # http://www.apache.org/licenses/LICENSE-2.0 06:25:56 # 06:25:56 # Unless required by applicable law or agreed to in writing, software 06:25:56 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:56 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:56 # See the License for the specific language governing permissions and 06:25:56 # limitations under the License. 06:25:56 apiVersion: apps/v1 06:25:56 kind: Deployment 06:25:56 metadata: 06:25:56 name: deployment-ricplt-jaegeradapter 06:25:56 namespace: ricplt 06:25:56 labels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 chart: jaegeradapter-3.0.0 06:25:56 release: release-name 06:25:56 heritage: Tiller 06:25:56 spec: 06:25:56 replicas: 1 06:25:56 selector: 06:25:56 matchLabels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 release: release-name 06:25:56 template: 06:25:56 metadata: 06:25:56 labels: 06:25:56 app: ricplt-jaegeradapter 06:25:56 release: release-name 06:25:56 spec: 06:25:56 hostname: jaegeradapter 06:25:56 imagePullSecrets: 06:25:56 - name: secret-docker-io 06:25:56 containers: 06:25:56 - name: container-ricplt-jaegeradapter 06:25:56 image: docker.io/jaegertracing/all-in-one:1.12 06:25:56 imagePullPolicy: IfNotPresent 06:25:56 envFrom: 06:25:56 - configMapRef: 06:25:56 name: configmap-ricplt-jaegeradapter 06:25:56 ports: 06:25:56 - name: "zipkincompact" 06:25:56 containerPort: 5775 06:25:56 protocol: UDP 06:25:56 - name: "jaegercompact" 06:25:56 containerPort: 6831 06:25:56 protocol: UDP 06:25:56 - name: "jaegerbinary" 06:25:56 containerPort: 6832 06:25:56 protocol: UDP 06:25:56 - name: "httpquery" 06:25:56 containerPort: 16686 06:25:56 protocol: TCP 06:25:56 - name: "httpconfig" 06:25:56 containerPort: 5778 06:25:56 protocol: TCP 06:25:56 - name: "zipkinhttp" 06:25:56 containerPort: 9411 06:25:56 protocol: TCP 06:25:56 - name: "jaegerhttp" 06:25:56 containerPort: 14268 06:25:56 protocol: TCP 06:25:56 - name: "jaegerhttpt" 06:25:56 containerPort: 14267 06:25:56 protocol: TCP 06:25:56 livenessProbe: 06:25:56 httpGet: 06:25:56 path: / 06:25:56 port: 16686 06:25:56 readinessProbe: 06:25:56 httpGet: 06:25:56 path: / 06:25:56 port: 16686 06:25:56 initialDelaySeconds: 5 06:25:56 06:25:56 *************************************************************************************************************** 06:25:56 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/vespamgr 06:25:56 Update chart dependency 06:25:56 Hang tight while we grab the latest from your chart repositories... 06:25:56 ...Successfully got an update from the "local" chart repository 06:25:56 Update Complete. 06:25:56 Saving 1 charts 06:25:56 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:56 Deleting outdated charts 06:25:56 Performing Helm lint 06:25:56 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/vespamgr 06:25:56 [INFO] Chart.yaml: icon is recommended 06:25:56 06:25:56 1 chart(s) linted, no failures 06:25:56 *************************************************************************************************************** 06:25:56 Rendering Helm charts locally 06:25:57 --- 06:25:57 # Source: vespamgr/templates/secret.yaml 06:25:57 apiVersion: v1 06:25:57 kind: Secret 06:25:57 metadata: 06:25:57 name: vespa-secrets 06:25:57 type: Opaque 06:25:57 data: 06:25:57 VESMGR_PRICOLLECTOR_USER: "c2FtcGxlMQo=" 06:25:57 VESMGR_PRICOLLECTOR_PASSWORD: "JDJhJDEwJDBidWguMldlWXdOODY4WU13bk5ORXVORUFNTllWVTkuRlNNSkd5SUtWM2RHRVQvN29HT2k2Cg==" 06:25:57 06:25:57 --- 06:25:57 # Source: vespamgr/templates/vespa-config.yaml 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: configmap-ricplt-vespamgr 06:25:57 namespace: ricplt 06:25:57 data: 06:25:57 VESMGR_HB_INTERVAL: "60s" 06:25:57 VESMGR_MEAS_INTERVAL: "30s" 06:25:57 VESMGR_PRICOLLECTOR_ADDR: "aux-entry" 06:25:57 VESMGR_PRICOLLECTOR_SERVERROOT: "/vescollector" 06:25:57 VESMGR_PRICOLLECTOR_PORT: "8443" 06:25:57 VESMGR_PRICOLLECTOR_SECURE: "false" 06:25:57 VESMGR_PROMETHEUS_ADDR: http://r4-infrastructure-prometheus-server.ricplt 06:25:57 VESMGR_PRICOLLECTOR_USER: "sample1" 06:25:57 VESMGR_PRICOLLECTOR_PASSWORD: "sample1" 06:25:57 VESMGR_ALERTMANAGER_BIND_ADDR: ":9095" 06:25:57 06:25:57 --- 06:25:57 # Source: vespamgr/templates/service.yaml 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:57 # Copyright (c) 2019 Nokia. 06:25:57 # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:57 # you may not use this file except in compliance with the License. 06:25:57 # You may obtain a copy of the License at 06:25:57 # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 06:25:57 # 06:25:57 # Unless required by applicable law or agreed to in writing, software 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:57 # See the License for the specific language governing permissions and 06:25:57 # limitations under the License. 06:25:57 06:25:57 apiVersion: v1 06:25:57 kind: Service 06:25:57 metadata: 06:25:57 name: service-ricplt-vespamgr-http 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-vespamgr 06:25:57 chart: vespamgr-3.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 type: ClusterIP 06:25:57 ports: 06:25:57 - port: 8080 06:25:57 protocol: "TCP" 06:25:57 name: "http" 06:25:57 targetPort: "http" 06:25:57 - port: 9095 06:25:57 protocol: "TCP" 06:25:57 name: "alert" 06:25:57 targetPort: "alert" 06:25:57 selector: 06:25:57 app: ricplt-vespamgr 06:25:57 release: release-name 06:25:57 06:25:57 --- 06:25:57 # Source: vespamgr/templates/deployment.yaml 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:57 # Copyright (c) 2019 Nokia. 06:25:57 # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:57 # you may not use this file except in compliance with the License. 06:25:57 # You may obtain a copy of the License at 06:25:57 # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 06:25:57 # 06:25:57 # Unless required by applicable law or agreed to in writing, software 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:57 # See the License for the specific language governing permissions and 06:25:57 # limitations under the License. 06:25:57 06:25:57 apiVersion: apps/v1 06:25:57 kind: Deployment 06:25:57 metadata: 06:25:57 name: deployment-ricplt-vespamgr 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-vespamgr 06:25:57 chart: vespamgr-3.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 replicas: 1 06:25:57 selector: 06:25:57 matchLabels: 06:25:57 app: ricplt-vespamgr 06:25:57 release: release-name 06:25:57 template: 06:25:57 metadata: 06:25:57 labels: 06:25:57 app: ricplt-vespamgr 06:25:57 release: release-name 06:25:57 spec: 06:25:57 hostname: vespamgr 06:25:57 imagePullSecrets: 06:25:57 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:57 containers: 06:25:57 - name: container-ricplt-vespamgr 06:25:57 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-vespamgr:0.4.0 06:25:57 imagePullPolicy: IfNotPresent 06:25:57 ports: 06:25:57 - name: http 06:25:57 containerPort: 8080 06:25:57 protocol: TCP 06:25:57 - name: alert 06:25:57 containerPort: 9095 06:25:57 protocol: TCP 06:25:57 envFrom: 06:25:57 - configMapRef: 06:25:57 name: configmap-ricplt-vespamgr 06:25:57 - secretRef: 06:25:57 name: vespa-secrets 06:25:57 env: 06:25:57 - name: VESMGR_APPMGRDOMAN 06:25:57 value: service-ricplt-appmgr-http 06:25:57 livenessProbe: 06:25:57 httpGet: 06:25:57 path: /supervision 06:25:57 port: 8080 06:25:57 initialDelaySeconds: 30 06:25:57 periodSeconds: 60 06:25:57 timeoutSeconds: 20 06:25:57 06:25:57 06:25:57 *************************************************************************************************************** 06:25:57 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/o1mediator 06:25:57 Update chart dependency 06:25:57 Hang tight while we grab the latest from your chart repositories... 06:25:57 ...Successfully got an update from the "local" chart repository 06:25:57 Update Complete. 06:25:57 Saving 1 charts 06:25:57 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:57 Deleting outdated charts 06:25:57 Performing Helm lint 06:25:57 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/o1mediator 06:25:57 [INFO] Chart.yaml: icon is recommended 06:25:57 06:25:57 1 chart(s) linted, no failures 06:25:57 *************************************************************************************************************** 06:25:57 Rendering Helm charts locally 06:25:57 --- 06:25:57 # Source: o1mediator/templates/appconfig.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2020 AT&T Intellectual Property. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: configmap-ricplt-o1mediator-appconfig-configmap 06:25:57 namespace: ricplt 06:25:57 data: 06:25:57 config-file.json: |+ 06:25:57 { 06:25:57 "local": { 06:25:57 "host": ":8080" 06:25:57 }, 06:25:57 "logger": { 06:25:57 "level": 4 06:25:57 }, 06:25:57 "db": { 06:25:57 "namespaces": ["sdl", "rnib"] 06:25:57 }, 06:25:57 "rmr": { 06:25:57 "protPort": "tcp:4560", 06:25:57 "maxSize": 65536, 06:25:57 "numWorkers": 1 06:25:57 }, 06:25:57 "sbi": { 06:25:57 "appmgrAddr": "service-ricplt-appmgr-http:8080", 06:25:57 "alertmgrAddr": "r4-infrastructure-prometheus-alertmanager:80", 06:25:57 "timeout": 30 06:25:57 }, 06:25:57 "nbi": { 06:25:57 "schemas": ["o-ran-sc-ric-xapp-desc-v1", "o-ran-sc-ric-ueec-config-v1"] 06:25:57 }, 06:25:57 "controls": { 06:25:57 "active": true 06:25:57 } 06:25:57 } 06:25:57 06:25:57 uta_rtg.rt: | 06:25:57 newrt|start 06:25:57 rte|13111|127.0.0.1:4588 06:25:57 rte|13111|127.0.0.1:4560 06:25:57 newrt|end 06:25:57 06:25:57 06:25:57 --- 06:25:57 # Source: o1mediator/templates/env.yaml 06:25:57 # Copyright (c) 2020 AT&T Intellectual Property. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: configmap-ricplt-o1mediator-env 06:25:57 data: 06:25:57 RMR_SEED_RT: "/etc/o1agent/uta_rtg.rt" 06:25:57 06:25:57 --- 06:25:57 # Source: o1mediator/templates/serviceaccount.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019-2020 AT&T Intellectual Property. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 --- 06:25:57 apiVersion: v1 06:25:57 kind: ServiceAccount 06:25:57 metadata: 06:25:57 name: svcacct-ricplt-o1mediator 06:25:57 namespace: ricplt 06:25:57 --- 06:25:57 apiVersion: rbac.authorization.k8s.io/v1 06:25:57 kind: Role 06:25:57 metadata: 06:25:57 name: svcacct-ricplt-o1mediator-ricxapp-podreader 06:25:57 namespace: ricxapp 06:25:57 rules: 06:25:57 - apiGroups: [""] 06:25:57 resources: ["pods"] 06:25:57 verbs: ["get", "list", "watch"] 06:25:57 --- 06:25:57 apiVersion: rbac.authorization.k8s.io/v1 06:25:57 kind: RoleBinding 06:25:57 metadata: 06:25:57 name: svcacct-ricplt-o1mediator-ricxapp-podreader 06:25:57 namespace: ricxapp 06:25:57 roleRef: 06:25:57 apiGroup: rbac.authorization.k8s.io 06:25:57 kind: Role 06:25:57 name: svcacct-ricplt-o1mediator-ricxapp-podreader 06:25:57 subjects: 06:25:57 - kind: ServiceAccount 06:25:57 name: svcacct-ricplt-o1mediator 06:25:57 namespace: ricplt 06:25:57 06:25:57 06:25:57 --- 06:25:57 # Source: o1mediator/templates/service-http.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2019 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 06:25:57 apiVersion: v1 06:25:57 kind: Service 06:25:57 metadata: 06:25:57 name: service-ricplt-o1mediator-http 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-o1mediator 06:25:57 chart: o1mediator-3.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 type: ClusterIP 06:25:57 ports: 06:25:57 - port: 9001 06:25:57 protocol: "TCP" 06:25:57 name: "http-supervise" 06:25:57 targetPort: 9001 06:25:57 - port: 8080 06:25:57 protocol: "TCP" 06:25:57 name: "http-mediation" 06:25:57 targetPort: 8080 06:25:57 - port: 3000 06:25:57 protocol: "TCP" 06:25:57 name: "http-event" 06:25:57 targetPort: 3000 06:25:57 selector: 06:25:57 app: ricplt-o1mediator 06:25:57 release: release-name 06:25:57 06:25:57 06:25:57 --- 06:25:57 # Source: o1mediator/templates/service-tcp.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 06:25:57 apiVersion: v1 06:25:57 kind: Service 06:25:57 metadata: 06:25:57 name: service-ricplt-o1mediator-tcp-netconf 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-o1mediator 06:25:57 chart: o1mediator-3.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 type: NodePort 06:25:57 ports: 06:25:57 - port: 830 06:25:57 nodePort: 30830 06:25:57 protocol: "TCP" 06:25:57 name: "tcp-netconf" 06:25:57 selector: 06:25:57 app: ricplt-o1mediator 06:25:57 release: release-name 06:25:57 06:25:57 06:25:57 --- 06:25:57 # Source: o1mediator/templates/deployment.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019,2020 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2019 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 --- 06:25:57 apiVersion: apps/v1 06:25:57 kind: Deployment 06:25:57 metadata: 06:25:57 name: deployment-ricplt-o1mediator 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-o1mediator 06:25:57 chart: o1mediator-3.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 replicas: 1 06:25:57 selector: 06:25:57 matchLabels: 06:25:57 app: ricplt-o1mediator 06:25:57 release: release-name 06:25:57 template: 06:25:57 metadata: 06:25:57 labels: 06:25:57 app: ricplt-o1mediator 06:25:57 release: release-name 06:25:57 spec: 06:25:57 hostname: o1mediator 06:25:57 imagePullSecrets: 06:25:57 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:57 serviceAccountName: svcacct-ricplt-o1mediator 06:25:57 containers: 06:25:57 - name: container-ricplt-o1mediator 06:25:57 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-o1:0.3.1 06:25:57 imagePullPolicy: IfNotPresent 06:25:57 envFrom: 06:25:57 - configMapRef: 06:25:57 name: configmap-ricplt-dbaas-appconfig 06:25:57 - configMapRef: 06:25:57 name: configmap-ricplt-o1mediator-env 06:25:57 volumeMounts: 06:25:57 - mountPath: /etc/o1agent 06:25:57 name: appconfig-file 06:25:57 ports: 06:25:57 - name: http-supervise 06:25:57 containerPort: 9001 06:25:57 protocol: TCP 06:25:57 - name: http-mediation 06:25:57 containerPort: 8080 06:25:57 protocol: TCP 06:25:57 - name: http-event 06:25:57 containerPort: 3000 06:25:57 protocol: TCP 06:25:57 volumes: 06:25:57 - name: appconfig-file 06:25:57 configMap: 06:25:57 name: configmap-ricplt-o1mediator-appconfig-configmap 06:25:57 06:25:57 *************************************************************************************************************** 06:25:57 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/dbaas 06:25:57 Update chart dependency 06:25:57 Hang tight while we grab the latest from your chart repositories... 06:25:57 ...Successfully got an update from the "local" chart repository 06:25:57 Update Complete. 06:25:57 Saving 1 charts 06:25:57 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:57 Deleting outdated charts 06:25:57 Performing Helm lint 06:25:57 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/dbaas 06:25:57 [INFO] Chart.yaml: icon is recommended 06:25:57 06:25:57 1 chart(s) linted, no failures 06:25:57 *************************************************************************************************************** 06:25:57 Rendering Helm charts locally 06:25:57 --- 06:25:57 # Source: dbaas/templates/appconfig.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2020 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2020 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 06:25:57 06:25:57 06:25:57 --- 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: configmap-ricplt-dbaas-appconfig 06:25:57 namespace: ricplt 06:25:57 data: 06:25:57 DBAAS_NODE_COUNT: "1" 06:25:57 DBAAS_SERVICE_HOST: service-ricplt-dbaas-tcp.ricplt 06:25:57 DBAAS_SERVICE_PORT: "6379" 06:25:57 --- 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: dbaas-appconfig 06:25:57 namespace: ricxapp 06:25:57 data: 06:25:57 DBAAS_NODE_COUNT: "1" 06:25:57 DBAAS_SERVICE_HOST: service-ricplt-dbaas-tcp.ricplt 06:25:57 DBAAS_SERVICE_PORT: "6379" 06:25:57 06:25:57 --- 06:25:57 # Source: dbaas/templates/configmap.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2020 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2020 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 06:25:57 apiVersion: v1 06:25:57 kind: ConfigMap 06:25:57 metadata: 06:25:57 name: configmap-ricplt-dbaas-config 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 heritage: Tiller 06:25:57 release: release-name 06:25:57 chart: dbaas-2.0.0 06:25:57 app: ricplt-dbaas 06:25:57 data: 06:25:57 redis.conf: | 06:25:57 dir "/data" 06:25:57 appendonly no 06:25:57 bind 0.0.0.0 06:25:57 loadmodule /usr/local/libexec/redismodule/libredismodule.so 06:25:57 protected-mode no 06:25:57 save 06:25:57 06:25:57 --- 06:25:57 # Source: dbaas/templates/service.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2019 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 --- 06:25:57 apiVersion: v1 06:25:57 kind: Service 06:25:57 metadata: 06:25:57 name: service-ricplt-dbaas-tcp 06:25:57 labels: 06:25:57 app: ricplt-dbaas 06:25:57 chart: dbaas-2.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 type: ClusterIP 06:25:57 clusterIP: None 06:25:57 ports: 06:25:57 - name: server 06:25:57 port: 6379 06:25:57 protocol: TCP 06:25:57 targetPort: redis 06:25:57 selector: 06:25:57 release: release-name 06:25:57 app: ricplt-dbaas 06:25:57 06:25:57 --- 06:25:57 # Source: dbaas/templates/statefulset.yaml 06:25:57 ################################################################################ 06:25:57 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:57 # Copyright (c) 2019 Nokia. # 06:25:57 # # 06:25:57 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:57 # you may not use this file except in compliance with the License. # 06:25:57 # You may obtain a copy of the License at # 06:25:57 # # 06:25:57 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:57 # # 06:25:57 # Unless required by applicable law or agreed to in writing, software # 06:25:57 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:57 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:57 # See the License for the specific language governing permissions and # 06:25:57 # limitations under the License. # 06:25:57 ################################################################################ 06:25:57 --- 06:25:57 apiVersion: apps/v1 06:25:57 kind: StatefulSet 06:25:57 metadata: 06:25:57 name: statefulset-ricplt-dbaas-server 06:25:57 namespace: ricplt 06:25:57 labels: 06:25:57 app: ricplt-dbaas 06:25:57 chart: dbaas-2.0.0 06:25:57 release: release-name 06:25:57 heritage: Tiller 06:25:57 spec: 06:25:57 selector: 06:25:57 matchLabels: 06:25:57 app: ricplt-dbaas 06:25:57 release: release-name 06:25:57 serviceName: service-ricplt-dbaas-tcp 06:25:57 replicas: 1 06:25:57 podManagementPolicy: OrderedReady 06:25:57 updateStrategy: 06:25:57 type: RollingUpdate 06:25:57 template: 06:25:57 metadata: 06:25:57 labels: 06:25:57 app: ricplt-dbaas 06:25:57 release: release-name 06:25:57 spec: 06:25:57 imagePullSecrets: 06:25:57 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:57 terminationGracePeriodSeconds: 5 06:25:57 shareProcessNamespace: true 06:25:57 containers: 06:25:57 - name: container-ricplt-dbaas-redis 06:25:57 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-dbaas:0.6.1 06:25:57 imagePullPolicy: 06:25:57 command: 06:25:57 - redis-server 06:25:57 args: 06:25:57 - /data/redis.conf 06:25:57 livenessProbe: 06:25:57 exec: 06:25:57 command: 06:25:57 - /bin/sh 06:25:57 - -c 06:25:57 - timeout 10 redis-cli -p 6379 ping 06:25:57 initialDelaySeconds: 15 06:25:57 periodSeconds: 5 06:25:57 readinessProbe: 06:25:57 exec: 06:25:57 command: 06:25:57 - /bin/sh 06:25:57 - -c 06:25:57 - timeout 10 redis-cli -p 6379 ping 06:25:57 initialDelaySeconds: 15 06:25:57 periodSeconds: 5 06:25:57 ports: 06:25:57 - name: redis 06:25:57 containerPort: 6379 06:25:57 envFrom: 06:25:57 - configMapRef: 06:25:57 name: configmap-ricplt-dbaas-appconfig 06:25:57 volumeMounts: 06:25:57 - mountPath: /data 06:25:57 name: config 06:25:57 volumes: 06:25:57 - name: config 06:25:57 configMap: 06:25:57 name: configmap-ricplt-dbaas-config 06:25:57 06:25:57 *************************************************************************************************************** 06:25:57 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/e2mgr 06:25:57 Update chart dependency 06:25:57 Hang tight while we grab the latest from your chart repositories... 06:25:57 ...Successfully got an update from the "local" chart repository 06:25:57 Update Complete. 06:25:57 Saving 1 charts 06:25:57 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:57 Deleting outdated charts 06:25:57 Performing Helm lint 06:25:57 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/e2mgr 06:25:57 [INFO] Chart.yaml: icon is recommended 06:25:57 06:25:57 1 chart(s) linted, no failures 06:25:57 *************************************************************************************************************** 06:25:57 Rendering Helm charts locally 06:25:58 --- 06:25:58 # Source: e2mgr/templates/configmap.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-e2mgr-router-configmap 06:25:58 namespace: ricplt 06:25:58 data: 06:25:58 rmr_verbose: | 06:25:58 0 06:25:58 router.txt: | 06:25:58 newrt|start 06:25:58 rte|1080|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|1090|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|1100|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|1101|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|1200|service-ricplt-rsm-rmr.ricplt:4801 06:25:58 rte|1210|service-ricplt-rsm-rmr.ricplt:4801 06:25:58 rte|1220|service-ricplt-rsm-rmr.ricplt:4801 06:25:58 rte|10020|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10060|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|10061|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10062|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10070|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|10071|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|10080|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10360|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|10361|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10362|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10370|service-ricplt-e2mgr-rmr.ricplt:3801 06:25:58 rte|10371|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|12010|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|12020|service-ricplt-e2term-rmr.ricplt:38000 06:25:58 rte|20001|service-ricplt-a1mediator-rmr.ricplt:4562 06:25:58 newrt|end 06:25:58 06:25:58 --- 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-e2mgr-configuration-configmap 06:25:58 namespace: ricplt 06:25:58 data: 06:25:58 configuration.yaml: | 06:25:58 logging: 06:25:58 logLevel: "info" 06:25:58 http: 06:25:58 port: 3800 06:25:58 rmr: 06:25:58 port: 3801 06:25:58 maxMsgSize: 65536 06:25:58 06:25:58 routingManager: 06:25:58 baseUrl: "http://service-ricplt-rtmgr-http:3800/ric/v1/handles/" 06:25:58 notificationResponseBuffer: 100 06:25:58 bigRedButtonTimeoutSec: 5 06:25:58 maxConnectionAttempts: 3 06:25:58 maxRnibConnectionAttempts: 3 06:25:58 rnibRetryIntervalMs: 10 06:25:58 keepAliveResponseTimeoutMs: 360000 06:25:58 keepAliveDelayMs: 120000 06:25:58 06:25:58 globalRicId: 06:25:58 ricId: "AACCE" 06:25:58 mcc: "310" 06:25:58 mnc: "411" 06:25:58 06:25:58 rnibWriter: 06:25:58 stateChangeMessageChannel: "RAN_CONNECTION_STATUS_CHANGE" 06:25:58 ranManipulationMessageChannel: "RAN_MANIPULATION" 06:25:58 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-e2mgr-loglevel-configmap 06:25:58 namespace: ricplt 06:25:58 06:25:58 data: 06:25:58 logcfg: "loglevel: 3" 06:25:58 06:25:58 06:25:58 --- 06:25:58 06:25:58 --- 06:25:58 # Source: e2mgr/templates/env.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-e2mgr-env 06:25:58 data: 06:25:58 RMR_RTG_SVC: "4561" 06:25:58 RMR_SRC_ID: service-ricplt-e2mgr-rmr.ricplt 06:25:58 #nano: "3801" 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: e2mgr/templates/service-http.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Service 06:25:58 metadata: 06:25:58 name: service-ricplt-e2mgr-http 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-e2mgr 06:25:58 chart: e2mgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - port: 3800 06:25:58 protocol: "TCP" 06:25:58 name: "http" 06:25:58 targetPort: "http" 06:25:58 selector: 06:25:58 app: ricplt-e2mgr 06:25:58 release: release-name 06:25:58 06:25:58 --- 06:25:58 # Source: e2mgr/templates/service-rmr.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Service 06:25:58 metadata: 06:25:58 name: service-ricplt-e2mgr-rmr 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-e2mgr 06:25:58 chart: e2mgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - port: 4561 06:25:58 protocol: "TCP" 06:25:58 name: "rmrroute" 06:25:58 targetPort: "rmrroute" 06:25:58 - port: 3801 06:25:58 protocol: "TCP" 06:25:58 name: "rmrdata" 06:25:58 targetPort: "rmrdata" 06:25:58 selector: 06:25:58 app: ricplt-e2mgr 06:25:58 release: release-name 06:25:58 06:25:58 --- 06:25:58 # Source: e2mgr/templates/deployment.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: apps/v1 06:25:58 kind: Deployment 06:25:58 metadata: 06:25:58 name: deployment-ricplt-e2mgr 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-e2mgr 06:25:58 chart: e2mgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 replicas: 1 06:25:58 selector: 06:25:58 matchLabels: 06:25:58 app: ricplt-e2mgr 06:25:58 release: release-name 06:25:58 template: 06:25:58 metadata: 06:25:58 labels: 06:25:58 app: ricplt-e2mgr 06:25:58 release: release-name 06:25:58 spec: 06:25:58 hostname: e2mgr 06:25:58 imagePullSecrets: 06:25:58 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:58 containers: 06:25:58 - name: container-ricplt-e2mgr 06:25:58 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-e2mgr:3.0.1 06:25:58 imagePullPolicy: IfNotPresent 06:25:58 volumeMounts: 06:25:58 - mountPath: /opt/E2Manager/router.txt 06:25:58 name: local-router-file 06:25:58 subPath: router.txt 06:25:58 - mountPath: /etc/config 06:25:58 name: e2mgr-loglevel-volume 06:25:58 - mountPath: /opt/E2Manager/resources/configuration.yaml 06:25:58 name: local-configuration-file 06:25:58 subPath: configuration.yaml 06:25:58 envFrom: 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-e2mgr-env 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-dbaas-appconfig 06:25:58 ports: 06:25:58 - name: "http" 06:25:58 containerPort: 3800 06:25:58 - name: "rmrroute" 06:25:58 containerPort: 4561 06:25:58 - name: "rmrdata" 06:25:58 containerPort: 3801 06:25:58 stdin: true 06:25:58 tty: true 06:25:58 securityContext: 06:25:58 privileged: false 06:25:58 livenessProbe: 06:25:58 httpGet: 06:25:58 path: v1/health 06:25:58 port: 3800 06:25:58 initialDelaySeconds: 3 06:25:58 periodSeconds: 10 06:25:58 readinessProbe: 06:25:58 httpGet: 06:25:58 path: v1/health 06:25:58 port: 3800 06:25:58 initialDelaySeconds: 3 06:25:58 periodSeconds: 10 06:25:58 06:25:58 volumes: 06:25:58 - name: local-router-file 06:25:58 configMap: 06:25:58 name: configmap-ricplt-e2mgr-router-configmap 06:25:58 - name: local-configuration-file 06:25:58 configMap: 06:25:58 name: configmap-ricplt-e2mgr-configuration-configmap 06:25:58 - name: e2mgr-loglevel-volume 06:25:58 configMap: 06:25:58 name: configmap-ricplt-e2mgr-loglevel-configmap 06:25:58 items: 06:25:58 - key: logcfg 06:25:58 path: log-level.yaml 06:25:58 mode: 0644 06:25:58 06:25:58 --- 06:25:58 # Source: e2mgr/templates/ingress-e2mgr.yaml 06:25:58 apiVersion: networking.k8s.io/v1 06:25:58 kind: Ingress 06:25:58 metadata: 06:25:58 name: ingress-ricplt-e2mgr 06:25:58 spec: 06:25:58 rules: 06:25:58 - http: 06:25:58 paths: 06:25:58 - path: /e2mgr 06:25:58 pathType: Prefix 06:25:58 backend: 06:25:58 service: 06:25:58 name: service-ricplt-e2mgr-http 06:25:58 port: 06:25:58 number: 3800 06:25:58 06:25:58 *************************************************************************************************************** 06:25:58 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/appmgr 06:25:58 Update chart dependency 06:25:58 Hang tight while we grab the latest from your chart repositories... 06:25:58 ...Successfully got an update from the "local" chart repository 06:25:58 Update Complete. 06:25:58 Saving 1 charts 06:25:58 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:58 Deleting outdated charts 06:25:58 Performing Helm lint 06:25:58 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/appmgr 06:25:58 [INFO] Chart.yaml: icon is recommended 06:25:58 06:25:58 1 chart(s) linted, no failures 06:25:58 *************************************************************************************************************** 06:25:58 Rendering Helm charts locally 06:25:58 --- 06:25:58 # Source: appmgr/templates/secret.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Secret 06:25:58 metadata: 06:25:58 name: secret-ricplt-appmgr 06:25:58 type: Opaque 06:25:58 data: 06:25:58 helm_repo_username: helm 06:25:58 helm_repo_password: helm 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/appconfig.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-appmgr-appconfig 06:25:58 data: 06:25:58 appmgr.yaml: | 06:25:58 "local": 06:25:58 # Port on which the xapp-manager REST services are provided 06:25:58 "host": ":8080" 06:25:58 "helm": 06:25:58 # Remote helm repo URL. UPDATE this as required. 06:25:58 "repo": "\"http://service-ricplt-xapp-onboarder-http:8080\"" 06:25:58 06:25:58 # Repo name referred within the xapp-manager 06:25:58 "repo-name": "helm-repo" 06:25:58 06:25:58 # Tiller service details in the cluster. UPDATE this as required. 06:25:58 "tiller-service": service-tiller-ricxapp 06:25:58 "tiller-namespace": ricinfra 06:25:58 "tiller-port": "44134" 06:25:58 # helm username and password files 06:25:58 "helm-username-file": "/opt/ric/secret/helm_repo_username" 06:25:58 "helm-password-file": "/opt/ric/secret/helm_repo_password" 06:25:58 "retry": 1 06:25:58 "xapp": 06:25:58 #Namespace to install xAPPs 06:25:58 "namespace": "ricxapp" 06:25:58 "tarDir": "/tmp" 06:25:58 "schema": "descriptors/schema.json" 06:25:58 "config": "config/config-file.json" 06:25:58 "tmpConfig": "/tmp/config-file.json" 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/configmap-bin.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-appmgr-bin 06:25:58 data: 06:25:58 appmgr-tiller-secret-copier.sh: | 06:25:58 #!/bin/sh 06:25:58 if [ -x /svcacct-to-kubeconfig.sh ] ; then 06:25:58 /svcacct-to-kubeconfig.sh 06:25:58 fi 06:25:58 06:25:58 if [ ! -z "${HELM_TLS_CA_CERT}" ]; then 06:25:58 kubectl -n ${SECRET_NAMESPACE} get secret -o yaml ${SECRET_NAME} | \ 06:25:58 grep 'ca.crt:' | \ 06:25:58 awk '{print $2}' | \ 06:25:58 base64 -d > ${HELM_TLS_CA_CERT} 06:25:58 fi 06:25:58 06:25:58 if [ ! -z "${HELM_TLS_CERT}" ]; then 06:25:58 kubectl -n ${SECRET_NAMESPACE} get secret -o yaml ${SECRET_NAME} | \ 06:25:58 grep 'tls.crt:' | \ 06:25:58 awk '{print $2}' | \ 06:25:58 base64 -d > ${HELM_TLS_CERT} 06:25:58 fi 06:25:58 06:25:58 if [ ! -z "${HELM_TLS_KEY}" ]; then 06:25:58 kubectl -n ${SECRET_NAMESPACE} get secret -o yaml ${SECRET_NAME} | \ 06:25:58 grep 'tls.key:' | \ 06:25:58 awk '{print $2}' | \ 06:25:58 base64 -d > ${HELM_TLS_KEY} 06:25:58 fi 06:25:58 06:25:58 svcacct-to-kubeconfig.sh: | 06:25:58 #!/bin/sh 06:25:58 06:25:58 # generate a kubconfig (at ${KUBECONFIG} file from the automatically-mounted 06:25:58 # service account token. 06:25:58 # ENVIRONMENT: 06:25:58 # SVCACCT_NAME: the name of the service account user. default "default" 06:25:58 # CLUSTER_NAME: the name of the kubernetes cluster. default "kubernetes" 06:25:58 # KUBECONFIG: where the generated file will be deposited. 06:25:58 SVCACCT_TOKEN=`cat /var/run/secrets/kubernetes.io/serviceaccount/token` 06:25:58 CLUSTER_CA=`base64 /var/run/secrets/kubernetes.io/serviceaccount/ca.crt|tr -d '\n'` 06:25:58 06:25:58 cat >${KUBECONFIG} <<__EOF__ 06:25:58 ApiVersion: v1 06:25:58 kind: Config 06:25:58 users: 06:25:58 - name: ${SVCACCT_NAME:-default} 06:25:58 user: 06:25:58 token: ${SVCACCT_TOKEN} 06:25:58 clusters: 06:25:58 - cluster: 06:25:58 certificate-authority-data: ${CLUSTER_CA} 06:25:58 server: ${K8S_API_HOST:-https://kubernetes.default.svc.cluster.local/} 06:25:58 name: ${CLUSTER_NAME:-kubernetes} 06:25:58 contexts: 06:25:58 - context: 06:25:58 cluster: ${CLUSTER_NAME:-kubernetes} 06:25:58 user: ${SVCACCT_NAME:-default} 06:25:58 name: svcs-acct-context 06:25:58 current-context: svcs-acct-context 06:25:58 __EOF__ 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/env-appmgr.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-appmgr-env 06:25:58 data: 06:25:58 NAME: "xappmgr" 06:25:58 RMR_RTG_SVC: "4561" 06:25:58 HELM_HOST: "service-tiller-ricxapp.ricinfra:44134" 06:25:58 HELM_TLS_VERIFY: "true" 06:25:58 HELM_TLS_CA_CERT: "/opt/ric/secret/tiller-ca.cert" 06:25:58 HELM_TLS_HOSTNAME: "service-tiller-ricxapp" 06:25:58 HELM_TLS_ENABLED: "true" 06:25:58 HELM_TLS_CERT: "/opt/ric/secret/helm-client.cert" 06:25:58 HELM_TLS_KEY: "/opt/ric/secret/helm-client.key" 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/serviceaccount.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019-2020 AT&T Intellectual Property. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ServiceAccount 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-appmgr 06:25:58 namespace: ricplt 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: ClusterRole 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-access 06:25:58 rules: 06:25:58 - apiGroups: [""] 06:25:58 resources: ["pods/portforward"] 06:25:58 verbs: ["create"] 06:25:58 - apiGroups: [""] 06:25:58 resources: ["pods", "configmaps", "deployments", "services"] 06:25:58 verbs: ["get", "list", "create", "delete"] 06:25:58 - apiGroups: [""] 06:25:58 resources: ["secrets"] 06:25:58 #resourceNames: [ "ricxapp-helm-secret" ] 06:25:58 verbs: ["get","list"] 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: ClusterRoleBinding 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-access 06:25:58 namespace: ricplt 06:25:58 roleRef: 06:25:58 apiGroup: rbac.authorization.k8s.io 06:25:58 kind: ClusterRole 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-access 06:25:58 subjects: 06:25:58 - kind: ServiceAccount 06:25:58 name: svcacct-ricplt-appmgr 06:25:58 namespace: ricplt 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: ClusterRole 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-getappconfig 06:25:58 #namespace: ricxapp 06:25:58 #namespace: ricplt 06:25:58 rules: 06:25:58 - apiGroups: [""] 06:25:58 resources: ["configmaps", "endpoints", "services"] 06:25:58 verbs: ["get", "list", "create", "update", "delete"] 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: ClusterRoleBinding 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-getappconfig 06:25:58 namespace: ricxapp 06:25:58 #namespace: ricplt 06:25:58 roleRef: 06:25:58 apiGroup: rbac.authorization.k8s.io 06:25:58 kind: ClusterRole 06:25:58 name: svcacct-ricplt-appmgr-ricxapp-getappconfig 06:25:58 subjects: 06:25:58 - kind: ServiceAccount 06:25:58 name: svcacct-ricplt-appmgr 06:25:58 namespace: ricplt 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/service-http.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Service 06:25:58 metadata: 06:25:58 name: service-ricplt-appmgr-http 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-appmgr 06:25:58 chart: appmgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - port: 8080 06:25:58 protocol: "TCP" 06:25:58 name: "http" 06:25:58 targetPort: "http" 06:25:58 selector: 06:25:58 app: ricplt-appmgr 06:25:58 release: release-name 06:25:58 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/service-rmr.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Service 06:25:58 metadata: 06:25:58 name: service-ricplt-appmgr-rmr 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-appmgr 06:25:58 chart: appmgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - port: 4561 06:25:58 protocol: "TCP" 06:25:58 name: "rmrroute" 06:25:58 targetPort: "rmrroute" 06:25:58 - port: 4560 06:25:58 protocol: "TCP" 06:25:58 name: "rmrdata" 06:25:58 targetPort: "rmrdata" 06:25:58 selector: 06:25:58 app: ricplt-appmgr 06:25:58 release: release-name 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/deployment.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: apps/v1 06:25:58 kind: Deployment 06:25:58 metadata: 06:25:58 name: deployment-ricplt-appmgr 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-appmgr 06:25:58 chart: appmgr-3.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 replicas: 1 06:25:58 selector: 06:25:58 matchLabels: 06:25:58 app: ricplt-appmgr 06:25:58 release: release-name 06:25:58 template: 06:25:58 metadata: 06:25:58 labels: 06:25:58 app: ricplt-appmgr 06:25:58 release: release-name 06:25:58 spec: 06:25:58 hostname: appmgr 06:25:58 serviceAccountName: svcacct-ricplt-appmgr 06:25:58 imagePullSecrets: 06:25:58 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:58 initContainers: 06:25:58 - name: container-ricplt-appmgr-copy-tiller-secret 06:25:58 image: nexus3.o-ran-sc.org:10002/o-ran-sc/it-dep-init:0.0.1 06:25:58 imagePullPolicy: IfNotPresent 06:25:58 env: 06:25:58 - name: SVCACCT_NAME 06:25:58 value: svcacct-ricplt-appmgr 06:25:58 - name: CLUSTER_NAME 06:25:58 value: kubernetes 06:25:58 - name: KUBECONFIG 06:25:58 value: /tmp/kubeconfig 06:25:58 - name: K8S_API_HOST 06:25:58 value: https://kubernetes.default.svc.cluster.local/ 06:25:58 - name: SECRET_NAMESPACE 06:25:58 value: ricinfra 06:25:58 - name: SECRET_NAME 06:25:58 value: ricxapp-helm-secret 06:25:58 envFrom: 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-appmgr-env 06:25:58 command: ["/appmgr-tiller-secret-copier.sh"] 06:25:58 volumeMounts: 06:25:58 - name: helm-secret-volume 06:25:58 mountPath: /opt/ric/secret 06:25:58 readOnly: false 06:25:58 - name: appmgr-bin-volume 06:25:58 mountPath: /svcacct-to-kubeconfig.sh 06:25:58 subPath: svcacct-to-kubeconfig.sh 06:25:58 - name: appmgr-bin-volume 06:25:58 mountPath: /appmgr-tiller-secret-copier.sh 06:25:58 subPath: appmgr-tiller-secret-copier.sh 06:25:58 containers: 06:25:58 - name: container-ricplt-appmgr 06:25:58 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-appmgr:0.2.0 06:25:58 imagePullPolicy: IfNotPresent 06:25:58 ports: 06:25:58 - name: http 06:25:58 containerPort: 8080 06:25:58 protocol: TCP 06:25:58 - name: rmrroute 06:25:58 containerPort: 4561 06:25:58 protocol: TCP 06:25:58 - name: rmrdata 06:25:58 containerPort: 4560 06:25:58 protocol: TCP 06:25:58 volumeMounts: 06:25:58 - name: config-volume 06:25:58 mountPath: /opt/ric/config/appmgr.yaml 06:25:58 subPath: appmgr.yaml 06:25:58 - name: helm-secret-volume 06:25:58 mountPath: /opt/ric/secret 06:25:58 readOnly: false 06:25:58 - name: secret-volume 06:25:58 mountPath: /opt/ric/secret/helm_repo_username 06:25:58 subPath: helm_repo_username 06:25:58 - name: secret-volume 06:25:58 mountPath: /opt/ric/secret/helm_repo_password 06:25:58 subPath: helm_repo_password 06:25:58 envFrom: 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-appmgr-env 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-dbaas-appconfig 06:25:58 livenessProbe: 06:25:58 #exec: 06:25:58 # command: 06:25:58 # - /bin/bash 06:25:58 # - -c 06:25:58 # - ps -ef | grep | grep -v "grep" 06:25:58 #initialDelaySeconds: 120 06:25:58 #periodSeconds: 30 06:25:58 readinessProbe: 06:25:58 # httpGet: 06:25:58 # path: / 06:25:58 # port: http 06:25:58 securityContext: 06:25:58 # ubuntu 06:25:58 #runAsUser: 1000 06:25:58 #allowPrivilegeEscalation: false 06:25:58 restartPolicy: Always 06:25:58 volumes: 06:25:58 - name: config-volume 06:25:58 configMap: 06:25:58 name: configmap-ricplt-appmgr-appconfig 06:25:58 - name: secret-volume 06:25:58 secret: 06:25:58 secretName: secret-ricplt-appmgr 06:25:58 - name: helm-secret-volume 06:25:58 emptyDir: {} 06:25:58 - name: appmgr-bin-volume 06:25:58 configMap: 06:25:58 name: configmap-ricplt-appmgr-bin 06:25:58 defaultMode: 0755 06:25:58 06:25:58 --- 06:25:58 # Source: appmgr/templates/ingress-appmgr.yaml 06:25:58 apiVersion: networking.k8s.io/v1 06:25:58 kind: Ingress 06:25:58 metadata: 06:25:58 name: ingress-ricplt-appmgr 06:25:58 spec: 06:25:58 rules: 06:25:58 - http: 06:25:58 paths: 06:25:58 - pathType: Prefix 06:25:58 path: /appmgr 06:25:58 backend: 06:25:58 service: 06:25:58 name: service-ricplt-appmgr-http 06:25:58 port: 06:25:58 number: 8080 06:25:58 06:25:58 *************************************************************************************************************** 06:25:58 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/alarmmanager 06:25:58 Update chart dependency 06:25:58 Hang tight while we grab the latest from your chart repositories... 06:25:58 ...Successfully got an update from the "local" chart repository 06:25:58 Update Complete. 06:25:58 Saving 1 charts 06:25:58 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:58 Deleting outdated charts 06:25:58 Performing Helm lint 06:25:58 ==> Linting /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/alarmmanager 06:25:58 [INFO] Chart.yaml: icon is recommended 06:25:58 06:25:58 1 chart(s) linted, no failures 06:25:58 *************************************************************************************************************** 06:25:58 Rendering Helm charts locally 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/appconfig.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2020 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2020 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 06:25:58 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-alarmmanager-appconfig 06:25:58 namespace: ricplt 06:25:58 data: 06:25:58 ALARM_MGR_SERVICE_NAME: service-ricplt-alarmmanager-rmr.ricplt 06:25:58 ALARM_MGR_SERVICE_PORT: "4560" 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: alarm-appconfig 06:25:58 namespace: ricxapp 06:25:58 data: 06:25:58 ALARM_MGR_SERVICE_NAME: service-ricplt-alarmmanager-rmr.ricplt 06:25:58 ALARM_MGR_SERVICE_PORT: "4560" 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/configmap.yaml 06:25:58 #================================================================================== 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:58 # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:58 # you may not use this file except in compliance with the License. 06:25:58 # You may obtain a copy of the License at 06:25:58 # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 06:25:58 # 06:25:58 # Unless required by applicable law or agreed to in writing, software 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:58 # See the License for the specific language governing permissions and 06:25:58 # limitations under the License. 06:25:58 #================================================================================== 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-alarmmanager-alarmmanagercfg 06:25:58 namespace: ricplt 06:25:58 data: 06:25:58 alarmmanagercfg: |- 06:25:58 { 06:25:58 "local": { 06:25:58 "host": ":8080" 06:25:58 }, 06:25:58 "logger": { 06:25:58 "level": 4 06:25:58 }, 06:25:58 "db": { 06:25:58 "namespaces": ["sdl", "rnib"] 06:25:58 }, 06:25:58 "rmr": { 06:25:58 "protPort": "tcp:4560", 06:25:58 "maxSize": 1024, 06:25:58 "numWorkers": 1 06:25:58 }, 06:25:58 "controls": { 06:25:58 "promAlertManager": { 06:25:58 "address": "cpro-alertmanager:80", 06:25:58 "baseUrl": "api/v2", 06:25:58 "schemes": "http", 06:25:58 "alertInterval": 30000 06:25:58 }, 06:25:58 "maxActiveAlarms": 5000, 06:25:58 "maxAlarmHistory": 20000, 06:25:58 "alarmInfoPvFile": "/mnt/pv-ricplt-alarmmanager/alarminfo.json" 06:25:58 } 06:25:58 } 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/env.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 apiVersion: v1 06:25:58 kind: ConfigMap 06:25:58 metadata: 06:25:58 name: configmap-ricplt-alarmmanager-env 06:25:58 namespace: ricplt 06:25:58 data: 06:25:58 RMR_RTG_SVC: service-ricplt-rtmgr-rmr:4561 06:25:58 RMR_SEED_RT: "/cfg/uta_rtg.rt" 06:25:58 RMR_SRC_ID: service-ricplt-alarmmanager-rmr.ricplt 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/pv.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################1 06:25:58 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: PersistentVolume 06:25:58 metadata: 06:25:58 name: pv-ricplt-alarmmanager 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 type: local 06:25:58 spec: 06:25:58 storageClassName: local-storage 06:25:58 capacity: 06:25:58 storage: 100Mi 06:25:58 accessModes: 06:25:58 - ReadWriteOnce 06:25:58 hostPath: 06:25:58 path: /mnt/pv-ricplt-alarmmanager 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/pvc.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 --- 06:25:58 kind: PersistentVolumeClaim 06:25:58 apiVersion: v1 06:25:58 metadata: 06:25:58 name: pvc-ricplt-alarmmanager 06:25:58 namespace: ricplt 06:25:58 spec: 06:25:58 accessModes: 06:25:58 - ReadWriteOnce 06:25:58 resources: 06:25:58 requests: 06:25:58 storage: 100Mi 06:25:58 storageClassName: local-storage 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/serviceaccount.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019-2020 AT&T Intellectual Property. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 --- 06:25:58 apiVersion: v1 06:25:58 kind: ServiceAccount 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-alarmmanager 06:25:58 namespace: ricplt 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: Role 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-alarmmanager-ricxapp-podreader 06:25:58 namespace: ricxapp 06:25:58 rules: 06:25:58 - apiGroups: [""] 06:25:58 resources: ["pods"] 06:25:58 verbs: ["get", "list", "watch"] 06:25:58 --- 06:25:58 apiVersion: rbac.authorization.k8s.io/v1 06:25:58 kind: RoleBinding 06:25:58 metadata: 06:25:58 name: svcacct-ricplt-alarmmanager-ricxapp-podreader 06:25:58 namespace: ricxapp 06:25:58 roleRef: 06:25:58 apiGroup: rbac.authorization.k8s.io 06:25:58 kind: Role 06:25:58 name: svcacct-ricplt-alarmmanager-ricxapp-podreader 06:25:58 subjects: 06:25:58 - kind: ServiceAccount 06:25:58 name: svcacct-ricplt-alarmmanager 06:25:58 namespace: ricplt 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/service-http.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 06:25:58 apiVersion: v1 06:25:58 kind: Service 06:25:58 metadata: 06:25:58 name: service-ricplt-alarmmanager-http 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-alarmmanager 06:25:58 chart: alarmmanager-5.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - port: 8080 06:25:58 protocol: "TCP" 06:25:58 name: http 06:25:58 targetPort: 8080 06:25:58 selector: 06:25:58 app: ricplt-alarmmanager 06:25:58 release: release-name 06:25:58 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/service-rmr.yaml 06:25:58 # 06:25:58 #================================================================================== 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. 06:25:58 # Copyright (c) 2019 Nokia 06:25:58 # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); 06:25:58 # you may not use this file except in compliance with the License. 06:25:58 # You may obtain a copy of the License at 06:25:58 # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 06:25:58 # 06:25:58 # Unless required by applicable law or agreed to in writing, software 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 06:25:58 # See the License for the specific language governing permissions and 06:25:58 # limitations under the License. 06:25:58 #================================================================================== 06:25:58 # 06:25:58 # 06:25:58 # Abstract: Subscription Manager service manifest 06:25:58 # Date: 28 May 2019 06:25:58 # 06:25:58 kind: Service 06:25:58 apiVersion: v1 06:25:58 metadata: 06:25:58 name: service-ricplt-alarmmanager-rmr 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-alarmmanager 06:25:58 chart: alarmmanager-5.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 selector: 06:25:58 app: ricplt-alarmmanager 06:25:58 release: release-name 06:25:58 type: ClusterIP 06:25:58 ports: 06:25:58 - name: rmrdata 06:25:58 port: 4560 06:25:58 protocol: TCP 06:25:58 targetPort: rmrdata 06:25:58 - name: rmrroute 06:25:58 port: 4561 06:25:58 protocol: TCP 06:25:58 targetPort: rmrroute 06:25:58 selector: 06:25:58 app: ricplt-alarmmanager 06:25:58 release: release-name 06:25:58 06:25:58 --- 06:25:58 # Source: alarmmanager/templates/deployment.yaml 06:25:58 ################################################################################ 06:25:58 # Copyright (c) 2019 AT&T Intellectual Property. # 06:25:58 # Copyright (c) 2019 Nokia. # 06:25:58 # # 06:25:58 # Licensed under the Apache License, Version 2.0 (the "License"); # 06:25:58 # you may not use this file except in compliance with the License. # 06:25:58 # You may obtain a copy of the License at # 06:25:58 # # 06:25:58 # http://www.apache.org/licenses/LICENSE-2.0 # 06:25:58 # # 06:25:58 # Unless required by applicable law or agreed to in writing, software # 06:25:58 # distributed under the License is distributed on an "AS IS" BASIS, # 06:25:58 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # 06:25:58 # See the License for the specific language governing permissions and # 06:25:58 # limitations under the License. # 06:25:58 ################################################################################ 06:25:58 --- 06:25:58 apiVersion: apps/v1 06:25:58 kind: Deployment 06:25:58 metadata: 06:25:58 name: deployment-ricplt-alarmmanager 06:25:58 namespace: ricplt 06:25:58 labels: 06:25:58 app: ricplt-alarmmanager 06:25:58 chart: alarmmanager-5.0.0 06:25:58 release: release-name 06:25:58 heritage: Tiller 06:25:58 spec: 06:25:58 replicas: 1 06:25:58 selector: 06:25:58 matchLabels: 06:25:58 app: ricplt-alarmmanager 06:25:58 release: release-name 06:25:58 template: 06:25:58 metadata: 06:25:58 labels: 06:25:58 app: ricplt-alarmmanager 06:25:58 release: release-name 06:25:58 spec: 06:25:58 hostname: alarmmanager 06:25:58 imagePullSecrets: 06:25:58 - name: secret-nexus3-o-ran-sc-org-10002-o-ran-sc 06:25:58 serviceAccountName: svcacct-ricplt-alarmmanager 06:25:58 containers: 06:25:58 - name: container-ricplt-alarmmanager 06:25:58 image: nexus3.o-ran-sc.org:10002/o-ran-sc/ric-plt-alarmmanager:0.5.9 06:25:58 imagePullPolicy: IfNotPresent 06:25:58 env: 06:25:58 - name: PLT_NAMESPACE 06:25:58 value: ricplt 06:25:58 envFrom: 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-dbaas-appconfig 06:25:58 - configMapRef: 06:25:58 name: configmap-ricplt-alarmmanager-env 06:25:58 ports: 06:25:58 - name: rmrroute 06:25:58 containerPort: 4561 06:25:58 protocol: TCP 06:25:58 - name: rmrdata 06:25:58 containerPort: 4560 06:25:58 protocol: TCP 06:25:58 - name: http 06:25:58 containerPort: 8080 06:25:58 protocol: TCP 06:25:58 volumeMounts: 06:25:58 - name: config-volume 06:25:58 mountPath: /cfg 06:25:58 - name: am-persistent-storage 06:25:58 mountPath: /mnt/pv-ricplt-alarmmanager 06:25:58 volumes: 06:25:58 - name: config-volume 06:25:58 configMap: 06:25:58 name: configmap-ricplt-alarmmanager-alarmmanagercfg 06:25:58 #name: alarmmanagercfg 06:25:58 items: 06:25:58 - key: alarmmanagercfg 06:25:58 path: config-file.json 06:25:58 mode: 0644 06:25:58 - name: am-persistent-storage 06:25:58 persistentVolumeClaim: 06:25:58 claimName: pvc-ricplt-alarmmanager 06:25:58 06:25:58 *************************************************************************************************************** 06:25:58 Running helm lint and verification on chart /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/bin/../helm/infrastructure 06:25:58 Update chart dependency 06:25:59 Hang tight while we grab the latest from your chart repositories... 06:25:59 ...Successfully got an update from the "local" chart repository 06:25:59 Update Complete. 06:25:59 Saving 7 charts 06:25:59 Downloading ric-common from repo http://127.0.0.1:8879/charts 06:25:59 Save error occurred: apiVersion 'v2' is not valid. The value must be "v1" 06:25:59 Deleting newly downloaded charts, restoring pre-update state 06:25:59 Error: apiVersion 'v2' is not valid. The value must be "v1" 06:25:59 Build step 'Execute shell' marked build as failure 06:25:59 $ ssh-agent -k 06:25:59 unset SSH_AUTH_SOCK; 06:25:59 unset SSH_AGENT_PID; 06:25:59 echo Agent pid 1720 killed; 06:25:59 [ssh-agent] Stopped. 06:25:59 [PostBuildScript] - [INFO] Executing post build scripts. 06:25:59 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins5427631630779959900.sh 06:25:59 ---> sysstat.sh 06:26:00 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins7231818548513385133.sh 06:26:00 ---> package-listing.sh 06:26:00 ++ facter osfamily 06:26:00 ++ tr '[:upper:]' '[:lower:]' 06:26:00 + OS_FAMILY=debian 06:26:00 + workspace=/w/workspace/ric-plt-ric-dep-chart-shell-verify-master 06:26:00 + START_PACKAGES=/tmp/packages_start.txt 06:26:00 + END_PACKAGES=/tmp/packages_end.txt 06:26:00 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:26:00 + PACKAGES=/tmp/packages_start.txt 06:26:00 + '[' /w/workspace/ric-plt-ric-dep-chart-shell-verify-master ']' 06:26:00 + PACKAGES=/tmp/packages_end.txt 06:26:00 + case "${OS_FAMILY}" in 06:26:00 + grep '^ii' 06:26:00 + dpkg -l 06:26:00 + '[' -f /tmp/packages_start.txt ']' 06:26:00 + '[' -f /tmp/packages_end.txt ']' 06:26:00 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:26:00 + '[' /w/workspace/ric-plt-ric-dep-chart-shell-verify-master ']' 06:26:00 + mkdir -p /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/archives/ 06:26:00 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/archives/ 06:26:00 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins2026037885476462988.sh 06:26:00 ---> capture-instance-metadata.sh 06:26:00 Setup pyenv: 06:26:00 system 06:26:00 3.8.13 06:26:00 3.9.13 06:26:00 * 3.10.6 (set by /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/.python-version) 06:26:00 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CDht from file:/tmp/.os_lf_venv 06:26:02 lf-activate-venv(): INFO: Installing: lftools 06:26:15 lf-activate-venv(): INFO: Adding /tmp/venv-CDht/bin to PATH 06:26:15 INFO: Running in OpenStack, capturing instance metadata 06:26:15 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins1156123063104239346.sh 06:26:15 provisioning config files... 06:26:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/ric-plt-ric-dep-chart-shell-verify-master@tmp/config5686692540301543452tmp 06:26:15 Regular expression run condition: Expression=[^.*logs-s3.*], Label=[] 06:26:15 Run condition [Regular expression match] preventing perform for step [Provide Configuration files] 06:26:15 [EnvInject] - Injecting environment variables from a build step. 06:26:15 [EnvInject] - Injecting as environment variables the properties content 06:26:15 SERVER_ID=logs 06:26:15 06:26:15 [EnvInject] - Variables injected successfully. 06:26:15 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins10199453331341318924.sh 06:26:15 ---> create-netrc.sh 06:26:15 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins1819987919575242418.sh 06:26:15 ---> python-tools-install.sh 06:26:15 Setup pyenv: 06:26:15 system 06:26:15 3.8.13 06:26:15 3.9.13 06:26:15 * 3.10.6 (set by /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/.python-version) 06:26:16 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CDht from file:/tmp/.os_lf_venv 06:26:17 lf-activate-venv(): INFO: Installing: lftools 06:26:27 lf-activate-venv(): INFO: Adding /tmp/venv-CDht/bin to PATH 06:26:27 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins5163728619189265811.sh 06:26:27 ---> sudo-logs.sh 06:26:27 Archiving 'sudo' log.. 06:26:27 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash /tmp/jenkins9297666600785778717.sh 06:26:27 ---> job-cost.sh 06:26:27 Setup pyenv: 06:26:27 system 06:26:27 3.8.13 06:26:27 3.9.13 06:26:27 * 3.10.6 (set by /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/.python-version) 06:26:28 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CDht from file:/tmp/.os_lf_venv 06:26:29 lf-activate-venv(): INFO: Installing: zipp==1.1.0 python-openstackclient urllib3~=1.26.15 06:26:34 lf-activate-venv(): INFO: Adding /tmp/venv-CDht/bin to PATH 06:26:34 INFO: No Stack... 06:26:34 INFO: Retrieving Pricing Info for: v2-highcpu-2 06:26:34 INFO: Archiving Costs 06:26:34 [ric-plt-ric-dep-chart-shell-verify-master] $ /bin/bash -l /tmp/jenkins7887276391301639018.sh 06:26:34 ---> logs-deploy.sh 06:26:34 Setup pyenv: 06:26:34 system 06:26:34 3.8.13 06:26:34 3.9.13 06:26:34 * 3.10.6 (set by /w/workspace/ric-plt-ric-dep-chart-shell-verify-master/.python-version) 06:26:35 lf-activate-venv(): INFO: Reuse venv:/tmp/venv-CDht from file:/tmp/.os_lf_venv 06:26:36 lf-activate-venv(): INFO: Installing: lftools 06:26:45 lf-activate-venv(): INFO: Adding /tmp/venv-CDht/bin to PATH 06:26:45 INFO: Nexus URL https://nexus.o-ran-sc.org path production/vex-sjc-oran-jenkins-prod-1/ric-plt-ric-dep-chart-shell-verify-master/212 06:26:45 INFO: archiving workspace using pattern(s): -p **/*.log 06:26:53 Archives upload complete. 06:26:53 INFO: archiving logs to Nexus 06:26:54 ---> uname -a: 06:26:54 Linux prd-ubuntu1804-builder-2c-2g-3658 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux 06:26:54 06:26:54 06:26:54 ---> lscpu: 06:26:54 Architecture: x86_64 06:26:54 CPU op-mode(s): 32-bit, 64-bit 06:26:54 Byte Order: Little Endian 06:26:54 CPU(s): 2 06:26:54 On-line CPU(s) list: 0,1 06:26:54 Thread(s) per core: 1 06:26:54 Core(s) per socket: 1 06:26:54 Socket(s): 2 06:26:54 NUMA node(s): 1 06:26:54 Vendor ID: AuthenticAMD 06:26:54 CPU family: 23 06:26:54 Model: 49 06:26:54 Model name: AMD EPYC-Rome Processor 06:26:54 Stepping: 0 06:26:54 CPU MHz: 2800.000 06:26:54 BogoMIPS: 5600.00 06:26:54 Virtualization: AMD-V 06:26:54 Hypervisor vendor: KVM 06:26:54 Virtualization type: full 06:26:54 L1d cache: 32K 06:26:54 L1i cache: 32K 06:26:54 L2 cache: 512K 06:26:54 L3 cache: 16384K 06:26:54 NUMA node0 CPU(s): 0,1 06:26:54 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl xtopology cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr arat npt nrip_save umip rdpid arch_capabilities 06:26:54 06:26:54 06:26:54 ---> nproc: 06:26:54 2 06:26:54 06:26:54 06:26:54 ---> df -h: 06:26:54 Filesystem Size Used Avail Use% Mounted on 06:26:54 udev 984M 0 984M 0% /dev 06:26:54 tmpfs 200M 668K 199M 1% /run 06:26:54 /dev/vda1 20G 7.3G 12G 38% / 06:26:54 tmpfs 997M 0 997M 0% /dev/shm 06:26:54 tmpfs 5.0M 0 5.0M 0% /run/lock 06:26:54 tmpfs 997M 0 997M 0% /sys/fs/cgroup 06:26:54 /dev/vda15 105M 5.3M 100M 5% /boot/efi 06:26:54 tmpfs 200M 0 200M 0% /run/user/1001 06:26:54 06:26:54 06:26:54 ---> free -m: 06:26:54 total used free shared buff/cache available 06:26:54 Mem: 1992 335 96 0 1561 1482 06:26:54 Swap: 1023 0 1023 06:26:54 06:26:54 06:26:54 ---> ip addr: 06:26:54 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 06:26:54 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 06:26:54 inet 127.0.0.1/8 scope host lo 06:26:54 valid_lft forever preferred_lft forever 06:26:54 inet6 ::1/128 scope host 06:26:54 valid_lft forever preferred_lft forever 06:26:54 2: ens3: mtu 1450 qdisc fq_codel state UP group default qlen 1000 06:26:54 link/ether fa:16:3e:f0:cc:48 brd ff:ff:ff:ff:ff:ff 06:26:54 inet 10.32.6.123/23 brd 10.32.7.255 scope global dynamic ens3 06:26:54 valid_lft 86246sec preferred_lft 86246sec 06:26:54 inet6 fe80::f816:3eff:fef0:cc48/64 scope link 06:26:54 valid_lft forever preferred_lft forever 06:26:54 06:26:54 06:26:54 ---> sar -b -r -n DEV: 06:26:54 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3658) 08/29/24 _x86_64_ (2 CPU) 06:26:54 06:26:54 06:24:21 LINUX RESTART (2 CPU) 06:26:54 06:26:54 06:25:03 tps rtps wtps bread/s bwrtn/s 06:26:54 06:26:01 291.31 183.90 107.40 4935.38 19870.41 06:26:54 Average: 291.31 183.90 107.40 4935.38 19870.41 06:26:54 06:26:54 06:25:03 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 06:26:54 06:26:01 260328 1579724 1780304 87.24 60720 1350812 517976 16.77 381424 1261176 4816 06:26:54 Average: 260328 1579724 1780304 87.24 60720 1350812 517976 16.77 381424 1261176 4816 06:26:54 06:26:54 06:25:03 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 06:26:54 06:26:01 lo 5.37 5.37 1.65 1.65 0.00 0.00 0.00 0.00 06:26:54 06:26:01 ens3 160.54 129.23 1302.82 18.00 0.00 0.00 0.00 0.00 06:26:54 Average: lo 5.37 5.37 1.65 1.65 0.00 0.00 0.00 0.00 06:26:54 Average: ens3 160.54 129.23 1302.82 18.00 0.00 0.00 0.00 0.00 06:26:54 06:26:54 06:26:54 ---> sar -P ALL: 06:26:54 Linux 4.15.0-213-generic (prd-ubuntu1804-builder-2c-2g-3658) 08/29/24 _x86_64_ (2 CPU) 06:26:54 06:26:54 06:24:21 LINUX RESTART (2 CPU) 06:26:54 06:26:54 06:25:03 CPU %user %nice %system %iowait %steal %idle 06:26:54 06:26:01 all 64.82 0.00 18.90 8.27 0.16 7.86 06:26:54 06:26:01 0 66.79 0.00 17.58 7.00 0.17 8.45 06:26:54 06:26:01 1 62.82 0.00 20.19 9.54 0.16 7.29 06:26:54 Average: all 64.82 0.00 18.90 8.27 0.16 7.86 06:26:54 Average: 0 66.79 0.00 17.58 7.00 0.17 8.45 06:26:54 Average: 1 62.82 0.00 20.19 9.54 0.16 7.29 06:26:54 06:26:54 06:26:54