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

corosync link issue #1546

Open
liangxin1300 opened this issue Sep 8, 2024 · 3 comments
Open

corosync link issue #1546

liangxin1300 opened this issue Sep 8, 2024 · 3 comments

Comments

@liangxin1300
Copy link
Collaborator

  1. Completer of crm corosync link remove not works
  2. When giving out the range index for the remove command, just log an error, it's better not to exit the whole crmsh
crm(live/alp-1)corosync link# remove 12
ERROR: list index out of range
bye

another example, should give the same error log message:

crm(live/alp-1)corosync link# update 2 alp-1=20.20.20.61 alp-2=20.20.20.62
ERROR: corosync.link.update: Link 2 does not exist.
crm(live/alp-1)corosync link# update 11 alp-1=20.20.20.61 alp-2=20.20.20.62
ERROR: list index out of range
bye
  1. Build status is failed now in https://build.opensuse.org/package/show/network:ha-clustering:Factory/crmsh
@liangxin1300
Copy link
Collaborator Author

@nicholasyang2022 Please take a look, thanks!

nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Sep 9, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Sep 9, 2024
nicholasyang2022 added a commit to nicholasyang2022/crmsh that referenced this issue Sep 9, 2024
@liangxin1300
Copy link
Collaborator Author

  1. Completer of crm corosync link remove not works

Still not works
@nicholasyang2022 Please take a look

@nicholasyang2022
Copy link
Collaborator

@liangxin1300 How do you inspect and debug completers? Setting breakpoints does not work as completers runs in background?

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