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

Problem running the onos-cli in Excercise 3 #105

Open
sinaebrahimi opened this issue Jun 18, 2022 · 6 comments
Open

Problem running the onos-cli in Excercise 3 #105

sinaebrahimi opened this issue Jun 18, 2022 · 6 comments

Comments

@sinaebrahimi
Copy link

After restarting mininet and onos at the beginning of the exercise, when I want to make onos-cli, I get the following error:
image

PS: I have waited very long and there were no more changes in the onos log. Also, the error is different than what was expected about the command in the instructions, although the error 255 is raised.

Do you have any idea about the problem?

@ederollora
Copy link

Have you tried "make restart", and you got no errors? It seems that the CLI cannot be started.

If "make restart" does not work, try to manually removing the docker containers, then, deploy again the exercise.

There are also "make clean" and "make reset" in case those could help, but ont sure.

Cheers,

@sinaebrahimi
Copy link
Author

sinaebrahimi commented Jun 19, 2022

Thank you very much, Eder.

I tried all of the things you said. However, I got the same error on my Ubuntu 22.04 (I used make deps, etc., as the tutorial suggested). This is my 'make onos-log' output when I entered 'make onos-cli' and got the same error again:
image

I think it's something to do with my ssh key or something. I generated an ssh-rsa key, but it didn't help either.

PS: I just downloaded the pre-built VM (Ubuntu 16.04) and tried to run onos-cli. It works there, but I wanted it to run on Ubuntu 22.04.

@phunghaduong99
Copy link

Hi @sinaebrahimi ,
I got the same problem too. Is there any advice until now?

@sinaebrahimi
Copy link
Author

Hi @phunghaduong99 ,

I could not do it on Ubuntu 22.04 and tried it on the pre-built VM (Ubuntu 16.04).
Sorry I can't help more!

@URIB4u
Copy link

URIB4u commented May 21, 2023

Don't know if @sinaebrahimi @phunghaduong99 solved the problem or if someone else needed a solution. I encountered a similar problem. based on my observations is that key-exchange algorithm issue, but what I did was add the option of ssh- rsa option in the _onos-cli target in the ssh command. it solved my problem

-o "HostKeyAlgorithms=+ssh-rsa"

@sinaebrahimi
Copy link
Author

Don't know if @sinaebrahimi @phunghaduong99 solved the problem or if someone else needed a solution. I encountered a similar problem. based on my observations is that key-exchange algorithm issue, but what I did was add the option of ssh- rsa option in the _onos-cli target in the ssh command. it solved my problem

-o "HostKeyAlgorithms=+ssh-rsa"

Sorry, @URIB4u.
I did not try that. I just used the pre-built VM.

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

No branches or pull requests

4 participants