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

Exabgpcli command run and stuck #1164

Closed
JamesTuMarines opened this issue Jun 7, 2023 · 3 comments
Closed

Exabgpcli command run and stuck #1164

JamesTuMarines opened this issue Jun 7, 2023 · 3 comments

Comments

@JamesTuMarines
Copy link

JamesTuMarines commented Jun 7, 2023

Hi Team,

I met a strange problem when I tried to use exabgpcli to show some information.

It shows the output but does not return to the bash command prompt.
So, I have to use Ctrl+C to break it.

image
image

That's the information shown on the screen.

********************************************************************************
-- Please provide ALL the information below on :
-- https://github.com/Exa-Networks/exabgp/issues
********************************************************************************

ExaBGP version : 4.2.13
Python version : 3.6.8 (default, Nov 16 2020, 16:55:22)  [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
System Uname   : #1 SMP Tue Mar 16 18:28:22 UTC 2021
System MaxInt  : 9223372036854775807


-- Traceback


Traceback (most recent call last):
  File "/usr/local/bin/exabgpcli", line 11, in <module>
    load_entry_point('exabgp==4.2.13', 'console_scripts', 'exabgpcli')()
  File "/usr/local/lib/python3.6/site-packages/exabgp/application/__init__.py", line 38, in run_cli
    main()
  File "/usr/local/lib/python3.6/site-packages/exabgp/application/cli.py", line 275, in main
    r, _, _ = select.select([reader], [], [], 0.01)
KeyboardInterrupt


-- Configuration





-- Logging History







I never met this problem on other devices that installed Exabgp.

Would you please tell me where I should check next?

Thank you.

@JamesTuMarines
Copy link
Author

Hi Team,

I think I found the reason.

When I set exabgp.api.ack to false, the command would stuck.

Is it the expected behavior?
If so, is any workaround for this?

We would like to set exabgp.api.ack to false and also use the command.

Thank you.

Best regards,
James

@thomas-mangin
Copy link
Member

Correct, same issue as #1159

@JamesTuMarines
Copy link
Author

Hi Thomas,

OK, I see.

Thank you.

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

2 participants