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
rgw: check zone_id or zone_name not empty for zone get sub-command #22957
Conversation
Fixes: http://tracker.ceph.com/issues/24846 Signed-off-by: Zhi Zhang <zhangz.david@outlook.com>
@oritwas Pls help to review this PR, thanks. |
if zone_id & zone_name are both empty, will get the default zone, so I think it's not necessary. |
@tianshan Pls check the tracker, you can see if run And all the other |
@david-z I think it's another issue about |
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.
agree with @tianshan, this would be a regression that breaks 'radosgw-admin zone get' to read the default zone
hi @david-z, my concern is not that a warning will break tests. it's more that the 'default zone' is itself a feature - it's controlled with the it just doesn't seem right to warn people that make use of this feature. i would rather find a way to improve our documentation to eliminate this kind of confusion |
Thanks for the explanation. I will close this PR. |
Fixes: http://tracker.ceph.com/issues/24846
Signed-off-by: Zhi Zhang zhangz.david@outlook.com