-
Notifications
You must be signed in to change notification settings - Fork 145
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
Engine identity validation #1897
Conversation
This pull request is now in conflicts. Could you fix it @ejweber? 🙏 |
7bc70ba
to
484a332
Compare
This pull request is now in conflicts. Could you fix it @ejweber? 🙏 |
e899de5
to
c860e0b
Compare
This pull request is now in conflicts. Could you fix it @ejweber? 🙏 |
04ec768
to
4eccc05
Compare
4eccc05
to
33c028b
Compare
Core tests all pass except for live engine upgrade tests, which are failing because of longhorn/longhorn-engine#902 (comment). https://ci.longhorn.io/job/private/job/longhorn-tests-regression/4521/ Upgrade tests are running. https://ci.longhorn.io/job/private/job/longhorn-tests-regression/4524/ |
This pull request is now in conflicts. Could you fix it @ejweber? 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: This PR is not a draft anymore, can we edit the PR desc?
33c028b
to
ce99ddf
Compare
Realized I missed the engine upgrade case while testing. This prevents us from using engine identity validation for old engines that are live upgraded. longhorn-manager/engineapi/instance_manager.go Lines 667 to 719 in ff51c6c
|
ff51c6c
to
83abf0f
Compare
There is a new commit that fixes cloning, which is not included in the core tests. My code mistakenly assumed that the volume name we cloned from and to would be the same. This caused us to try to communicate with a from replica using the to volume name (triggering an invalid gRPC error). Please rereview when you are able. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to pump this version to 5
too
CurrentInstanceManagerAPIVersion = 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
c222a43
to
754790c
Compare
…gine identity flags and fields Signed-off-by: Eric Weber <eric.weber@suse.com>
Signed-off-by: Eric Weber <eric.weber@suse.com>
Signed-off-by: Eric Weber <eric.weber@suse.com>
Signed-off-by: Eric Weber <eric.weber@suse.com>
Signed-off-by: Eric Weber <eric.weber@suse.com>
Signed-off-by: Eric Weber <eric.weber@suse.com>
754790c
to
30911d8
Compare
@mergify backport v1.5.x |
✅ Backports have been created
|
longhorn/longhorn#5845
This PR makes use of the changes in longhorn-engine (longhorn/longhorn-engine#902) and longhorn-instance-manager (longhorn/longhorn-instance-manager#229) to ensure identity validation during normal Longhorn operation.