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

fix(eventbus): Refine auto-reconnection and bugfix #761

Merged
merged 5 commits into from
Jul 22, 2020

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Jul 21, 2020

There were some cases auto-reconnection didn't work, this change fixes them.

Stop using reconnect feature provided by NATS because sometimes there was inconsistent natsConn and stanConn statuses. Handling reconnection in Sensor and EventSource is good enough.

@whynowy whynowy changed the title fix(eventbus): Refine auto-reconnections fix(eventbus): Refine auto-reconnection Jul 21, 2020
@whynowy whynowy marked this pull request as draft July 21, 2020 01:10
@@ -4,7 +4,7 @@ RUN yum -y update && yum -y install ca-certificates openssh openssh-server opens
# Argo Workflow CLI
COPY assets/argo-linux-amd64 /usr/local/bin/argo

RUN argo version
RUN argo version || true
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Latest argo cli has an issue that it throws an error if no kubeconfig is provided.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so shall we pin it to a version that doesnt require kubeconfig? or whats the solution?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks like the issue has been fixed in workflow, let me create a PR to release a new CLI version and then we update it.

argoproj/argo-workflows#3383

Copy link
Member Author

@whynowy whynowy Jul 21, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was merged 4 days ago, not in any release.

It only impacts docker build, let's use argo version || true here for now to workaround the issue, and update it later with new CLI.

@whynowy whynowy marked this pull request as ready for review July 21, 2020 06:21
@whynowy whynowy requested a review from VaibhavPage July 21, 2020 06:22
@whynowy whynowy changed the title fix(eventbus): Refine auto-reconnection fix(eventbus): Refine auto-reconnection and bugfix Jul 21, 2020
@@ -4,7 +4,7 @@ RUN yum -y update && yum -y install ca-certificates openssh openssh-server opens
# Argo Workflow CLI
COPY assets/argo-linux-amd64 /usr/local/bin/argo

RUN argo version
RUN argo version || true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so shall we pin it to a version that doesnt require kubeconfig? or whats the solution?

@VaibhavPage VaibhavPage self-requested a review July 22, 2020 01:57
@whynowy whynowy merged commit 258e446 into argoproj:master Jul 22, 2020
@whynowy whynowy deleted the eb branch July 22, 2020 02:03
juliev0 pushed a commit to juliev0/argo-events that referenced this pull request Mar 29, 2022
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

Successfully merging this pull request may close these issues.

2 participants