-
Notifications
You must be signed in to change notification settings - Fork 39.3k
-
Notifications
You must be signed in to change notification settings - Fork 39.3k
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
Use intree-rbd to expand pvc failed #88643
Comments
/sig storage |
|
/assign @humblec |
@huchengze can you please let me know whats the ceph cluster version being used in your setup ? I am working on the fix. |
@humblec I totally forgot this...
|
@huchengze by any chance you have a nautilus cluster or any plans to migrate? if thats the case I can directly check on nautilus. |
@humblec I don't have a nautilus cluster,but I think you can check on nautilus. |
isn't the problem simply the use of that includes the stderr line of rbd info (which starts with -1) which is not json, the json is only on stdout |
How about the following change ?
|
if the only stderr line being parsed on your cluster is |
@juliantaylor @tedyu |
Ignore stderr of rbd info --format=json as without a ceph.conf it will print messages about no configuration onto stderr which break the json parsing. The actual json information the function wants is always on stdout. Closes: kubernetesgh-88643 Signed-off-by: Julian Taylor <juliantaylor108@gmail.com>
What happened:
When I use intree-rbd to expand a pvc from 20Gi to 30Gi, it has been in the Resizing state for a long time.
And kube-controller-manager reported this error:
The most important msg is:
I found this err:
kubernetes/pkg/volume/rbd/rbd_util.go
Line 735 in 7937745
After I read this part of the code, I realized that the output of command "rbd info" is not a struct.
What you expected to happen:
Pvc expand successful.
The text was updated successfully, but these errors were encountered: