Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to install onos-umbrella on a microk8s cluster #637

Open
paaguti opened this issue May 27, 2022 · 6 comments
Open

Not able to install onos-umbrella on a microk8s cluster #637

paaguti opened this issue May 27, 2022 · 6 comments

Comments

@paaguti
Copy link

paaguti commented May 27, 2022

I'm trying to test micro-onos on a microk8s single node cluster

I succeed to create the namespaces and after deploying on the kube-systemnamespace,
I see the following:

Every 5.0s: kubectl -n kube-system get pods                         uk8s: Fri May 27 10:26:16 2022

NAME                                              READY   STATUS    RESTARTS   AGE
atomix-controller-99f978c7d-mxkmf                 0/1     Running   0          6m48s
atomix-raft-storage-controller-5446776fd6-5l24s   1/1     Running   0          13m
coredns-67fccc976-d44ld                           1/1     Running   0          19m
hostpath-provisioner-75fdc8fccd-89kl7             1/1     Running   0          19m
onos-operator-app-676674b79c-vr259                0/1     Running   0          6m3s
onos-operator-topo-7698956594-8lg4v               1/1     Running   0          6m3s

When I try to deploy 'onos-umbrellaon the micro-onos`namespace I get:

student@uk8s:~$ helm -n micro-onos install onos-umbrella onosproject/onos-umbrella
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.securityContext): unknown field "seccompProfile" in io.k8s.api.core.v1.PodSecurityContext

Current snaps:

student@uk8s:~$ snap list
Name      Version        Rev    Tracking       Publisher   Notes
core      16-2.55.5      13250  latest/stable  canonical✓  core
core20    20220512       1494   latest/stable  canonical✓  base
lxd       4.0.9-8e2046b  22753  4.0/stable/…   canonical✓  -
microk8s  v1.18.20       2271   1.18/stable    canonical✓  classic
snapd     2.55.5         15904  latest/stable  canonical✓  snapd

The VM I'm running is a Ubuntu20.04 LTS

uname -a
Linux uk8s 5.4.0-107-generic #121-Ubuntu SMP Thu Mar 24 16:04:27 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
@SeanCondon
Copy link
Contributor

SeanCondon commented May 27, 2022 via email

@Mohammen1977
Copy link

Hi @SeanCondon
I have a problem also by deploying the µONOS services umbrella after installing it
I've done all the steps as per "https://docs.onosproject.org/developers/deploy_with_helm/#deploy-atomix-controller"
But when I tried to Run the install:
$ helm -n micro-onos install onos-umbrella onosproject/onos-umbrella
I couldn't as below :
WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/mohammed/.kube/kind
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/mohammed/.kube/kind
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.securityContext): unknown field "seccompProfile" in io.k8s.api.core.v1.PodSecurityContext

Your help is highly appreciated

@SeanCondon
Copy link
Contributor

I have a problem also by deploying the µONOS services umbrella after installing it
Hi @Mohammen1977 - this is really a separate issue, since you appear to be installing it on KinD.

Please run these commands to see if the atomix components and the onos-operator are installed OK

helm -n kube-system list
kubectl -n kube-system get pods | grep -i atomix
kubectl -n kube-system get pods | grep -i onos

I suspect it is your evnironment is wrong - do you have any way of validating that helm and kind are installed properly independently of micro-onos?

You may find this guide useful as well - it is for ROC - which is like an adv
https://docs.aetherproject.org/master/developer/roc.html

@Mohammen1977
Copy link

I have a problem also by deploying the µONOS services umbrella after installing it
Hi @Mohammen1977 - this is really a separate issue, since you appear to be installing it on KinD.

Please run these commands to see if the atomix components and the onos-operator are installed OK

helm -n kube-system list
kubectl -n kube-system get pods | grep -i atomix
kubectl -n kube-system get pods | grep -i onos

I suspect it is your evnironment is wrong - do you have any way of validating that helm and kind are installed properly independently of micro-onos?

You may find this guide useful as well - it is for ROC - which is like an adv https://docs.aetherproject.org/master/developer/roc.html

Hi , thanks for you reply
The atomix and ONOS operator are installed properly.
Please find the below:

root@DESKTOP-B3OO8UU:# helm -n kube-system list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
atomix-controller kube-system 1 2022-08-08 03:25:08.31977441 +0100 BST deployed atomix-controller-0.6.9 v0.6.2
atomix-raft-storage kube-system 1 2022-08-08 03:25:11.57485373 +0100 BST deployed atomix-raft-storage-0.1.26 v0.9.20
onos-operator kube-system 1 2022-08-08 03:25:27.147694865 +0100 BST deployed onos-operator-0.5.5 v0.5.2
root@DESKTOP-B3OO8UU:
# kubectl -n kube-system get pods | grep -i atomix
atomix-controller-99f978c7d-wg9js 1/1 Running 1 12h
atomix-raft-storage-controller-5446776fd6-844bt 1/1 Running 1 12h
root@DESKTOP-B3OO8UU:~# kubectl -n kube-system get pods | grep -i onos
onos-operator-app-5944cb8fcc-w8cw2 1/1 Running 1 12h
onos-operator-topo-77cd856489-zrq8q 1/1 Running 1 12h

@Mohammen1977
Copy link

Still have problems with the below

helm -n micro-onos install aether-roc-umbrella aether/aether-roc-umbrella -f values-override.yaml
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: ValidationError(Deployment.spec.template.spec.securityContext): unknown field "seccompProfile" in io.k8s.api.core.v1.PodSecurityContext

@paaguti
Copy link
Author

paaguti commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants