shelve server taking too long
Dear Openstack community, I am trying to shelve a server but the process seems to be stuck in shelving_image_pending_upload state. is it normal for the shelve process to take several hours? thank you NOTICE Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
On 4/19/2019 8:16 AM, Manuel Sopena Ballesteros wrote:
I am trying to shelve a server but the process seems to be stuck in shelving_image_pending_upload state.
is it normal for the shelve process to take several hours?
Well, it's trying to snapshot the server's root disk and upload the snapshot image to glance. Have you debugged to determine if it's doing a live snapshot or a cold snapshot - the libvirt driver should log something about that. Do the compute logs say that it's uploading the image? Are there errors or anything else in the glance logs? I'm not sure if there is a hard timeout on the actual image upload itself, but the user token would eventually timeout and should trigger a failure (unless you've configured service user tokens [1]). [1] https://docs.openstack.org/nova/latest/admin/support-compute.html#user-token... -- Thanks, Matt
participants (2)
-
Manuel Sopena Ballesteros
-
Matt Riedemann