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

errors while running ric vagrant #191

Open
osamirabo opened this issue Apr 19, 2023 · 0 comments
Open

errors while running ric vagrant #191

osamirabo opened this issue Apr 19, 2023 · 0 comments

Comments

@osamirabo
Copy link

osamirabo commented Apr 19, 2023

Hello All,

I tried to run the onos-ric via vagrant but I encountered the following error after running make riab OPT=ric VER=latest :

	You can attach to:
	* Onos CLI pod with
	$ kubectl -n riab exec -it $(kubectl -n riab get pods -l type=cli -o name) -- /bin/sh
	error: no matching resources found
	mk/ric.mk:10: recipe for target '/home/vagrant/sdran-in-a-box//workspace/milestones/ric' failed
	make: *** [/home/vagrant/sdran-in-a-box//workspace/milestones/ric] Error 1

Steps to reproduce :

 cd ./vagrant/ric/
 sudo vagrant up
 sudo vagrant ssh
 make riab OPT=ric VER=latest

Results :

  • The make file terminated and gives the following error :
    error: no matching resources found
    mk/ric.mk:10: recipe for target '/home/vagrant/sdran-in-a-box//workspace/milestones/ric' failed
    make: *** [/home/vagrant/sdran-in-a-box//workspace/milestones/ric] Error 1

  • Also some pods are keep restarting, below are the output of the kubectl describe pods :
    The following is the output of kubectl describe pods onos-uenib -n riab

Warning ConfigureStoreFailed 37m (x2 over 37m) atomix Failed reconfiguring store 'riab/onos-consensus-store': connection error: desc = "transport: Error while dialing dial tcp 192.168.84.10:5679: connect: connection refused"
Normal ConnectedStore 16m (x5 over 50m) atomix Successfully connected to store 'riab/onos-consensus-store'
Normal ConfiguredStore 16m (x29 over 50m) atomix Configured store 'riab/onos-consensus-store'
Warning Unhealthy 12m (x431 over 57m) kubelet Startup probe failed: dial tcp 192.168.84.10:5150: connect: connection refused

The following is the output of kubectl describe pods onos-e2t-66bf77f4dc-2hj2t -n riab

Normal Started 57m kubelet Started container atomix-proxy
Warning ConfigureStoreFailed 37m (x2 over 37m) atomix Failed reconfiguring store 'riab/onos-consensus-store': connection error: desc = "transport: Error while dialing dial tcp 192.168.84.10:5679: connect: connection refused"
Normal ConnectedStore 16m (x5 over 50m) atomix Successfully connected to store 'riab/onos-consensus-store'
Normal ConfiguredStore 16m (x29 over 50m) atomix Configured store 'riab/onos-consensus-store'
Warning Unhealthy 12m (x431 over 57m) kubelet Startup probe failed: dial tcp 192.168.84.10:5150: connect: connection refused

Appreciate your help

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

1 participant