Child pages
  • Non-RT RIC and skeleton PM rApp deployment
Skip to end of metadata
Go to start of metadata

Table of Contents:

Introduction

This describes how to deploy the open-source ONAP based Non-RT RIC framework, and a skeleton rApp that fetched PM data and just prints them on stdout, in preparation of developing rApps in the context of SMaRT 5G. It is based on the NONRTRIC project inside the O-RAN Software Community. Current deployment is based on kubernetes (microk8s).

This recipe for deployment is based on this guide here and the solution is detailed here.

Deployment

Prerequisites

An Ubuntu machine with at least 8 cores (recommended 16), at least 32GB of RAM (recommended 64GB) and at least 200GB of disk space (recommended 500GB).

Prerequisites
$ cat /etc/os-release | grep PRETTY_NAME
PRETTY_NAME="Ubuntu 22.04.1 LTS"

$ docker --version
Docker version 23.0.1, build a5ee5b1  

$ microk8s version
MicroK8s v1.26.4 revision 5219

$ kubectl version --short
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.27.2
Kustomize Version: v5.0.1
Server Version: v1.26.4  

$ git --version
git version 2.34.1

Guide for installing docker  for Ubuntu: https://docs.docker.com/engine/install/ubuntu/#install-using-the-repository

Guide for installing microk8s : https://microk8s.io/docs/getting-started

Guide for installing kubectl  on Linux: https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/

Guide for updating kubectl  to work with microk8s : https://microk8s.io/docs/working-with-kubectl

Istio  is a prerequisite, it can be installed as an addon to microk8s by enabling the community add-ons and then enabling it: https://microk8s.io/docs/addons

Other requirements:

  • helm3
  • bash
  • cmd envsubst must be installed (check by cmd: type envsubst)
  • cmd jq  must be installed (check by cmd: type jq)
  • java (check with java -version)

The local kubernetes installation can be verified like this:

$ kubectl get pods -A
NAMESPACE      NAME                                       READY   STATUS    RESTARTS   AGE
kube-system    calico-node-4kl9v                          1/1     Running   0          5d
kube-system    calico-kube-controllers-79568db7f8-rgkqq   1/1     Running   0          5d
kube-system    coredns-6f5f9b5d74-86mjq                   1/1     Running   0          5d
istio-system   istio-egressgateway-6b957f5b7d-l45q8       1/1     Running   0          5d
istio-system   istio-ingressgateway-5f57c68988-rn89d      1/1     Running   0          5d
istio-system   istiod-6b8f8b8f-j7hs4                      1/1     Running   0          5d

Deploying

All the below steps assume the commands are being ran in /home/smart5g folder.

Cloning ranpm repository from NONRTRIC project

$ git clone "https://gerrit.o-ran-sc.org/r/nonrtric/plt/ranpm"

Pre-installation steps

Building https-server helper tool

$ cd ranpm/https-server
$ ./build.sh no-push

Building pm-file-converter helper tool

$ cd ranpm/pm-file-converter
$ ./build.sh no-push

Building pm-rapp

$ cd ranpm/pm-rapp
$ ./build.sh no-push

Installation

$ cd ranpm/install
$ ./install-nrt.sh
$ ./install-pm-log.sh
$ ./install-pm-rapp.sh

Verifying installation

The success of the installation can be verified with the following command. All the pods should be in running  state.

$ kubectl get po -n nonrtric
NAME                                       READY   STATUS    RESTARTS        AGE
kafka-client                               2/2     Running   0               7m54s
keycloak-proxy-59bd4b9dcf-s65dp            2/2     Running   0               7m54s
keycloak-c6b79856d-cdh7p                   2/2     Running   0               7m54s
strimzi-cluster-operator-fd6fb56f6-ctkxw   2/2     Running   0               7m9s
ves-collector-6d4f798c74-2l85t             2/2     Running   0               6m35s
bundle-server-79b9dc4d46-4qgnm             2/2     Running   0               6m35s
minio-0                                    2/2     Running   0               6m34s
influxdb2-0                                2/2     Running   0               6m34s
minio-client                               2/2     Running   0               6m35s
message-router-c4b4d75d7-vlxcv             2/2     Running   0               6m35s
opa-kafka-7b49b476cb-vhklr                 2/2     Running   0               6m35s
opa-minio-7d58c855d8-pd9fs                 2/2     Running   0               6m34s
kafka-1-zookeeper-0                        2/2     Running   1 (5m49s ago)   6m31s
redpanda-console-6c469d4994-25gl5          2/2     Running   2 (5m28s ago)   6m35s
zoo-entrance-7dd86b756c-qg789              2/2     Running   0               6m34s
kafka-1-kafka-0                            2/2     Running   0               5m27s
kafka-1-entity-operator-5b7c69c68d-6lqx5   4/4     Running   0               5m2s
kafka-producer-pm-json2influx-0            2/2     Running   0               3m5s
kafka-producer-pm-json2kafka-0             2/2     Running   0               3m5s
kafka-producer-pm-xml2json-0               2/2     Running   0               3m5s
opa-ics-69cbd9499b-pbttd                   2/2     Running   0               3m5s
informationservice-859f56d699-jtfql        2/2     Running   0               3m5s
dfc-0                                      3/3     Running   0               3m5s
pm-producer-json2kafka-0                   3/3     Running   0               3m5s
pm-rapp                                    2/2     Running   0               23s
pmlog-0                                    3/3     Running   0               46s

Uninstallation

$ cd ranpm/install
$ ./uninstall-pm-rapp.sh
$ ./uninstall-nrt.sh

Usage

Pushing a new PM file

There is a script that can be run and it will send a fileReady  VES event to the VES Collector, with the details where the PM file can be downloaded from. The PM file is being generated with random data in parallel, by the https-server tool and its contents will be made available on the message router deployed in the solution.

The script parameters:

  • node-count: the number of O-RAN Network Function sending PM data
  • num-of-events: the number of fileReady VES events each Network Function will send
  • node-name-base: a string representing the base of the names of the Network Functions. Each will have a number suffixed to this base.
  • file-extension: xml.gz. This is the only supported format currently.
  • protocol to be used: https is the only one supported currently.
  • num-servers: the number of helper servers that can send PM data, such that some paralellisation can be achieved. Number cannot be more than 10.
$ cd ranpm/install/scripts
$ ./push-genfiles-to-file-ready-topic.sh
push-genfiles-to-file-ready-topic.sh script-home: .
Usage: push-genfiles-to-file-ready-topic.sh <node-count> <num-of-events> <node-name-base> <file-extension> sftp|ftpes|https <num-servers> [hist]
$ ./push-genfiles-to-file-ready-topic.sh 1 1 ran-sim xml.gz https 1
push-genfiles-to-file-ready-topic.sh script-home: .
Env var KUBECONFIG not set, using current settings for kubectl
script-home: .
file-ready 1 1 ran-sim xml.gz https 1
rm: cannot remove '.out.json': No such file or directory
EVENT NO: 0 for 1 NODES - 1 FILE PER EVENT
NODE ran-sim-0
FILENAME A20230515.0700+0100-0715+0100_ran-sim-0.xml.gz
HTTP SERVER pm-https-server-0.pm-https-server.ran
Pushing batch of 1 events to file-ready topic
Pushed 1 events
done

Verifying PM data was read by the pm-rapp

If everything is setup correctly, after the PM data becomes available on the message router, the PM rApp can then read the PM data and do whatever it wants with it. Current implementation prints the PM data which was read on the stdout. Below log shows such an entry in the log.

$ kubectl get pods -n nonrtric
NAME                                       READY   STATUS    RESTARTS        AGE
kafka-client                               2/2     Running   0               4d23h
keycloak-proxy-59bd4b9dcf-fjk7t            2/2     Running   0               4d23h
keycloak-c6b79856d-4hw72                   2/2     Running   0               4d23h
strimzi-cluster-operator-fd6fb56f6-xpxsj   2/2     Running   0               4d23h
bundle-server-79b9dc4d46-dzjqm             2/2     Running   0               4d23h
ves-collector-6d4f798c74-nxvn6             2/2     Running   0               4d23h
minio-0                                    2/2     Running   0               4d23h
influxdb2-0                                2/2     Running   0               4d23h
minio-client                               2/2     Running   0               4d23h
message-router-c4b4d75d7-kcpv7             2/2     Running   0               4d23h
kafka-1-zookeeper-0                        2/2     Running   1 (4d23h ago)   4d23h
opa-minio-7d58c855d8-zns28                 2/2     Running   0               4d23h
redpanda-console-6c469d4994-lfwdz          2/2     Running   2 (4d23h ago)   4d23h
opa-kafka-7b49b476cb-bkckm                 2/2     Running   0               4d23h
kafka-1-kafka-0                            2/2     Running   0               4d23h
zoo-entrance-7dd86b756c-24twk              2/2     Running   0               4d23h
kafka-1-entity-operator-5b7c69c68d-dttvt   4/4     Running   0               4d23h
opa-ics-69cbd9499b-mwsrm                   2/2     Running   0               4d23h
informationservice-859f56d699-st8v9        2/2     Running   0               4d23h
kafka-producer-pm-json2influx-0            2/2     Running   0               4d23h
kafka-producer-pm-json2kafka-0             2/2     Running   0               4d23h
kafka-producer-pm-xml2json-0               2/2     Running   0               4d23h
pm-producer-json2kafka-0                   3/3     Running   0               4d23h
dfc-0                                      3/3     Running   0               4d23h
pm-rapp                                    2/2     Running   0               4d23h
pmlog-0                                    3/3     Running   0               4d23h

# we execute the above command in order to get the name of the pod where the PM rApp is running

$ kubectl logs --tail=300 pm-rapp -n nonrtric
time="2023-06-05T19:09:35Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:36Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:37Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:38Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:39Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:40Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:41Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:42Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:43Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:44Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:45Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:46Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:47Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:48Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:49Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:50Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:51Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:52Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:53Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:54Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:55Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:56Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:57Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:58Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:09:59Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:00Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:01Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:02Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:03Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:04Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:05Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:06Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:07Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:08Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:09Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:10Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:11Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:12Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:13Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:14Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:15Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:16Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:17Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:18Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:19Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:20Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:21Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:22Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:23Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:24Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:25Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:26Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:27Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:28Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:29Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:30Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:31Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:32Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:33Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:34Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:35Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:36Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:37Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:38Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:39Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:40Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:41Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:42Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:43Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:44Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:45Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:46Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:47Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:48Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:49Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:50Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:51Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:52Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:53Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:54Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:55Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:56Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:57Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:58Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:10:59Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:00Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:01Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:02Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:03Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:04Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:05Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:06Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:07Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:08Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:09Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:10Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:11Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:12Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:13Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:14Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
{
 "event": {
  "commonEventHeader": {
   "domain": "",
   "eventId": "",
   "sequence": 0,
   "eventName": "",
   "sourceName": "ran-sim-0",
   "reportingEntityName": "",
   "priority": "",
   "startEpochMicrosec": 1684134000000000,
   "lastEpochMicrosec": 1684134900000000,
   "version": "",
   "vesEventListenerVersion": "",
   "timeZoneOffset": "UTC+0100"
  },
  "perf3gppFields": {
   "perf3gppFieldsVersion": "1.0",
   "measDataCollection": {
    "granularityPeriod": 900,
    "measuredEntityUserName": "",
    "measuredEntityDn": "ran-sim-0",
    "measuredEntitySoftwareVersion": "CXP2010174_1 R44B17",
    "measInfoList": [
     {
      "measInfoId": {
       "sMeasInfoId": "PM=1,PmGroup=NRCellDU_GNBDU"
      },
      "measTypes": {
       "sMeasTypesList": [
        "pmCounterNumber101"
       ]
      },
      "measValuesList": [
       {
        "measObjInstId": "ManagedElement=ran-sim-0,GNBDUFunction=1,NRCellDU=32",
        "suspectFlag": "false",
        "measResults": [
         {
          "p": 1,
          "sValue": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
         }
        ]
       },
       {
        "measObjInstId": "ManagedElement=ran-sim-0,GNBDUFunction=1,NRCellDU=31",
        "suspectFlag": "false",
        "measResults": [
         {
          "p": 1,
          "sValue": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
         }
        ]
       },
       {
        "measObjInstId": "ManagedElement=ran-sim-0,GNBDUFunction=1,NRCellDU=2",
        "suspectFlag": "false",
        "measResults": [
         {
          "p": 1,
          "sValue": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
         }
        ]
       },
       {
        "measObjInstId": "ManagedElement=ran-sim-0,GNBDUFunction=1,NRCellDU=1",
        "suspectFlag": "false",
        "measResults": [
         {
          "p": 1,
          "sValue": "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
         }
        ]
       }
      ]
     }
    ]
   }
  }
 }
}
Number of received json msgs: 1
time="2023-06-05T19:11:15Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:16Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:17Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:18Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:19Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:20Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:21Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:22Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:23Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:24Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:25Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:26Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:27Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:28Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:29Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:30Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:31Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:32Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:33Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:34Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:35Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:36Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:37Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:38Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:39Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:40Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:41Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:42Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:43Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:44Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:45Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:46Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:47Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:48Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:49Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:50Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:51Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:52Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:53Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:54Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:55Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:56Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:57Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:58Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:11:59Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:00Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:01Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:02Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:03Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:04Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:05Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:06Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:07Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:08Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:09Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:10Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:11Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:12Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:13Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:14Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:15Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:16Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:17Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:18Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:19Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:20Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:21Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:22Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:23Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:24Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:25Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:26Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:27Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:28Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:29Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:30Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:31Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:32Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:33Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:34Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:35Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:36Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:37Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
time="2023-06-05T19:12:38Z" level=debug msg=" Nothing to consume on topic: rapp-topic"
OAuthBearerTokenRefresh
time="2023-06-05T19:12:38Z" level=debug msg="Get token inline"
time="2023-06-05T19:12:38Z" level=debug msg="token: &{eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxekZQNDI2RUJ1WW03TGoteWg0eExpTEZ6ME1WaFd1a0swZUFIbjZtclFZIn0.eyJleHAiOjE2ODU5OTI2NTgsImlhdCI6MTY4NTk5MjM1OCwianRpIjoiZGVmNzA5Mj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as3MpapPZKC3Znr8jyEuWHLLuPanhe16w3cn5wrdC69iOGI8HKWb-gv8hrva5Yzq_JGHe1Z4X6QSAv1VbBUNsbDBjNzuBWJAVodvtC7BPrzZravlZ-Yf8uvIRstaS0t1o76niavb6rWn204IGivmJ8huc_nz8uZ_J_5tdwj7EzOKc3PPVH4xSSIxYkUrpKr20IHkNml9v4SCClug2MwBkLOkT25PD5X9NEhOW75tNEw expires_in:300 not-before-policy:0 refresh_expires_in:0 scope:profile email token_type:Bearer] 0}"
time="2023-06-05T19:12:38Z" level=debug msg="TokenValue: eyJhbGciOiJSUzI1NiIsInR5cCIgOiAiSldUIiwia2lkIiA6ICJxekZQNDI2RUJ1WW03TGoteWg0eExpTEZ6ME1WaFd1a0swZUFIbjZtclFZIn0.eyJleHAiOjE2ODU5OTI2NTgsImlhdCI6MTY4NTk5MjM1OCwianRpIjoiZGVmNzA5MjAtMWVmYS00ODlhLWIzYzMtMGM4NzI1ZTA0MmMxIiwiaXNzIjoiaHR0cDovL2tleWNsb2FrLm5vbnJ0cmljOjgwODAvcmVhbG1zL25vbnJ0cmljLXJlYWxtIiwiYXVkIjoiYWNjb3VudCIsInN1YiI6IjFiZWE2ZTE0LTM5MTMtNGZlZC1iNGZjLWRhOTM1YTk0MmY0ZCIsInR5cCI6IkJlYXJlciIsImF6cCI6InBtLXJhcHAiLCJhY3IiOiIxIiwicmVhbG1fYWNjZXNzIjp7InJvbGVzIjpbImRlZmF1bHQtcm9sZXMtbm9ucnRyaWMtcmVhbG0iLCJvZmZsaW5lX2FjY2VzcyIsInVtYV9hdXRob3JpemF0aW9uIl19LCJyZXNvdXJjZV9hY2Nlc3MiOnsiYWNjb3VudCI6eyJyb2xlcyI6WyJtYW5hZ2UtYWNjb3VudCIsIm1hbmFnZS1hY2NvdW50LWxpbmtzIiwidmlldy1wcm9maWxlIl19fSwic2NvcGUiOiJwcm9maWxlIGVtYWlsIiwiZW1haWxfdmVyaWZpZWQiOmZhbHNlLCJjbGllbnRJZCI6InBtLXJhcHAiLCJjbGllbnRIb3N0IjoiMTI3LjAuMC42IiwicHJlZmVycmVkX3VzZXJuYW1lIjoic2VydmljZS1hY2NvdW50LXBtLXJhcHAiLCJjbGllbnRBZGRyZXNzIjoiMTI3LjAuMC42In0.GcxJzfCtyNkFg1Yzs9tFGGQ6qYbagGzERCwcjr7h7EZeWe7C7jKkyx3OaoDVjDGNJ3lmzIKj2EJ_vwj1RqeHMVHC8YjqqdW2HkDnimai4Y7as3MpapPZKC3Znr8jyEuWHLLuPanhe16w3cn5wrdC69iOGI8HKWb-gv8hrva5Yzq_JGHe1Z4X6QSAv1VbBUNsbDBjNzuBWJAVodvtC7BPrzZravlZ-Yf8uvIRstaS0t1o76niavb6rWn204IGivmJ8huc_nz8uZ_J_5tdwj7EzOKc3PPVH4xSSIxYkUrpKr20IHkNml9v4SCClug2MwBkLOkT25PD5X9NEhOW75tNEw"
time="2023-06-05T19:12:38Z" level=debug msg="Expiration: 2023-06-05 19:17:38.978781621 +0000 UTC m=+504.039411951"
time="2023-06-05T19:12:38Z" level=debug msg="Modified expiration: 2023-06-05 19:16:38.978781621 +0000 UTC m=+444.039411951"
time="2023-06-05T19:12:38Z" level=debug msg="Setting new token to consumer"
time="2023-06-05T19:12:39Z" level=debug msg=" Nothing to consume on topic: rapp-topic"

Troubleshooting

Since it is a local kubernetes deployment, unusual situations can appear.

For example, if the error ErrImagePull appears for any of the pods, the docker images that were built locally are most likely not available to the k8s cluster. The webpage here describes how to overcome this.

$ docker save pm-rapp:latest > pm-rapp.tar
$ microk8s ctr image import pm-rapp.tar
$ rm pm-rapp.tar

$ docker save pm-https-server:latest > pm-https-server.tar
$ microk8s ctr image import pm-https-server.tar
$ rm pm-https-server.tar

$ docker save pm-file-converter:latest > pm-file-converter.tar
$ microk8s ctr image import pm-file-converter.tar
$ rm pm-file-converter.tar



  • No labels