Coder Social home page Coder Social logo

openair-k8s's People

Contributors

fzdarsky avatar kaltenbe avatar luigiaparicio avatar oglok avatar orion-belt avatar rdefosse avatar rzr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openair-k8s's Issues

HSS Deployment YAML ValidationError

I've been attempting to set this repository up on my cluster and running hack/run_oai_on_k8s throws a ValidationError when creating the oai-hss deployment. The error is below.

cameron@m:~/openair-k8s$ hack/run_oai_on_k8s 
namespace/oai created
serviceaccount/enb-sa created
serviceaccount/hss-sa created
serviceaccount/mme-sa created
serviceaccount/spgwc-sa created
serviceaccount/spgwu-sa created
clusterrolebinding.rbac.authorization.k8s.io/enb-rbac created
clusterrolebinding.rbac.authorization.k8s.io/hss-rbac created
clusterrolebinding.rbac.authorization.k8s.io/mme-rbac created
clusterrolebinding.rbac.authorization.k8s.io/spgwc-rbac created
clusterrolebinding.rbac.authorization.k8s.io/spgwu-rbac created
configmap/cassandra-config created
configmap/enb-config created
configmap/hss-config created
configmap/mme-config created
configmap/oai-db created
configmap/spgwc-config created
configmap/spgwu-config created
secret/hss-tls-secret created
secret/mme-tls-secret created
service/cassandra created
service/oai-enb created
service/oai-hss created
service/oai-mme created
service/oai-spgwc created
service/oai-spgwu created
deployment.apps/oai-enb created
error: error validating "STDIN": error validating data: ValidationError(Deployment.spec.template.spec.initContainers[0]): unknown field "restartPolicy" in io.k8s.api.core.v1.Container; if you choose to ignore these errors, turn validation off with --validate=false

When I looked at the YAML that Kustomize generated, this error seemed to be coming from the below section.

      initContainers:
      - command:
        - sh
        - -c
        - cqlsh cassandra-0.cassandra.oai.svc.cluster.local --file /root/oai_db.cql
        image: cassandra:3.11
        name: init-db
        restartPolicy: Never
        volumeMounts:
        - mountPath: /root
          name: db

Which in turn comes from manifests/oai-hss/05_deployment.yaml. The docs for Kubernetes 1.17 have no restartPolicy field for Container and I couldn't find one going back to 1.10. Is there a reason that this restartPolicy field is in there that I'm missing?

Environment information:

cameron@m:~/openair-k8s$ kubectl version
Client Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:14:22Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"17", GitVersion:"v1.17.3", GitCommit:"06ad960bfd03b39c8310aaf92d1e7c12ce618213", GitTreeState:"clean", BuildDate:"2020-02-11T18:07:13Z", GoVersion:"go1.13.6", Compiler:"gc", Platform:"linux/amd64"}
cameron@m:~/openair-k8s$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=18.04
DISTRIB_CODENAME=bionic
DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"

Issues in building OAI containers

Hi,

I am trying to build the OAI containers but i am getting some errors. Two of them are about repositories that are deleted (?). I run the command:

hack/build_images oai-build-base:v1.0.0 oai-enb:v1.0.0 oai-hss:v1.0.0 oai-mme:v1.0.0 oai-nrue:v1.0.0 oai-spgwc:v1.0.0 oai-spgwu:v1.0.0 oai-ue:v1.0.0 rt-tests-cyclictest:v1.0.0

Error 1. I am getting this for the eNB, NRUE and UE.

Screenshot 2020-11-20 at 4 19 59 PM

Error 2. I am getting this for the HSS and the MME.

Screenshot 2020-11-20 at 4 31 24 PM

Error 3. I am getting this for the SPGWC and the SPGWU.

Screenshot 2020-11-20 at 4 32 21 PM

Issue in building OAI

Hello Team,

I tried to build OAI using below command:
[cloud-user@openshift openair-k8s]$ ./hack/build_images

But facing below error:
== Building image oai-enb:1.1.1.el8
STEP 1: FROM localhost/oai-build-base:latest.el8 AS builder
Error: error creating build container: Error initializing source docker://localhost/oai-build-base:latest.el8: error pinging docker registry localhost: Get https://localhost/v2/: dial tcp [::1]:443: connect: connection refused

== Building image oai-gnb:develop-nr.el8
STEP 1: FROM localhost/oai-build-base:latest.el8 AS builder
Error: error creating build container: Error initializing source docker://localhost/oai-build-base:latest.el8: error pinging docker registry localhost: Get https://localhost/v2/: dial tcp [::1]:443: connect: connection refused

I am following the steps mentioned. Can you please resolve this problem.
Thanks

Kind Regards,
Faisal

Deployment Documentation

Hi,

Is there any documentation on how to use this implementation? From the k8s manifests I was able to deduce the below, please correct me wherever needed:

1.) This is a kind of simulation whereby real HW is not needed (this will be for testing purposes).

2.) UE-OAI -- This is a simulated lte device (my assumption also), I could not find information about how to configure the msisdn, imsi, eNodeB information. Can it be run with more than 1 replica (separate deployment)?
I saw a Cassandra configmap file that has some UE information which I believe is what the HSS will use.

3.) Any other reason apart from small image size for using UBI images (this requires getting a redhat system just for the purpose of building the images) or are there pre-built images that can be used?

UE- build fail- OAI

I have used the command : ./build_oai -I -w USRP --UE

i am getting the message ue_ip compilation have failed. I am not able to know what is the reason, and same can be seen in the attached photo

error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.