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

When Consul is used as a name resolution component, the same appid cannot achieve load balancing, and the dapr started later will overwrite the previous dapr #1199

Closed
cysnet opened this issue Oct 15, 2021 · 13 comments
Labels
kind/bug Something isn't working stale
Milestone

Comments

@cysnet
Copy link

cysnet commented Oct 15, 2021

image
I started two backend services on two dapr instances, but only the backend started later in consul, and load balancing cannot be achieved.
One instance ip is 192.168.43.131, another is 192.168.43.132. But only the one started later can be registed in consul.

And the config of the two dapr instances have the same content just as below:

apiVersion: dapr.io/v1alpha1
kind: Configuration
metadata:
  name: daprConfig
spec:
  nameResolution:
    component: "consul"
    configuration:
      client:
        address: "192.168.43.133:8500"
      selfRegister: true
@cysnet cysnet added the kind/bug Something isn't working label Oct 15, 2021
@dapr-bot
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@dapr-bot dapr-bot added stale and removed stale labels Nov 15, 2021
@lysilver
Copy link

dapr version 1.5
Dapr registers with Consul. After the same appid, one service takes the place of the first service

@dapr-bot
Copy link
Collaborator

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@dapr-bot dapr-bot added the stale label Dec 17, 2021
@dapr-bot
Copy link
Collaborator

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@yaron2 yaron2 reopened this Dec 24, 2021
@dapr-bot
Copy link
Collaborator

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@yaron2 yaron2 reopened this Dec 31, 2021
@dapr-bot
Copy link
Collaborator

dapr-bot commented Jan 7, 2022

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@shiling02404
Copy link
Contributor

The same problem was found

@yaron2 yaron2 reopened this Apr 1, 2022
@yaron2
Copy link
Member

yaron2 commented Apr 1, 2022

Reopened. We will fix this.

@cysnet
Copy link
Author

cysnet commented Apr 1, 2022

Reopened. We will fix this.

It will be very helpful if this issue fixed in the future.

@yaron2 yaron2 added this to the v1.8 milestone Apr 1, 2022
@yaron2
Copy link
Member

yaron2 commented Apr 1, 2022

Triaged for the next release.

@dapr-bot
Copy link
Collaborator

dapr-bot commented May 1, 2022

This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue, help wanted or triaged/resolved) or other activity occurs. Thank you for your contributions.

@dapr-bot dapr-bot added the stale label May 1, 2022
@dapr-bot
Copy link
Collaborator

dapr-bot commented May 8, 2022

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

@dapr-bot dapr-bot closed this as completed May 8, 2022
@yaron2 yaron2 reopened this May 9, 2022
@dapr-bot
Copy link
Collaborator

This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue, help wanted or triaged/resolved. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working stale
Projects
None yet
Development

No branches or pull requests

5 participants