-
Notifications
You must be signed in to change notification settings - Fork 2
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
Allow share server migration with replicas #214
base: stable/2023.1-m3
Are you sure you want to change the base?
Allow share server migration with replicas #214
Conversation
0a7726e
to
6137fd7
Compare
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
upstream has suggested to make changes assuming this config option is global and wont sustain if multiple driver backends are used. So lets hold this change until we finalize there. |
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 have hard coded disabling the replica check,
Lines 2762 to 2767 in 4af50a0
# if share.has_replicas: | |
# msg = _('Share %s has replicas. Remove the replicas of all ' | |
# 'shares in the share server before attempting to ' | |
# 'migrate it.') % share['id'] | |
# LOG.warning(msg) | |
# raise exception.InvalidShareServer(reason=msg) |
we can add it back with checking this option now
sounds a good idea to use backend capability for this |
7155581
to
47af695
Compare
New share server property `allow_migration_with_replicas` will be set by share driver and then evaluated in api layer to allow/dis-allow share server migration with replicas. Closes-bug: #2052785 Change-Id: I1cc5489488f44cc7edc7348fb3b3af7397564682
6137fd7
to
f0e2589
Compare
No description provided.