Ask Your Question

Can't upload large image to glance cli or horizon, timeout

asked 2016-03-09 12:32:03 -0500

goldenfri gravatar image

updated 2016-03-09 23:34:06 -0500

Bipin gravatar image

I am trying to upload a very large image (100GB+) into glance and when I use the glance cli I get the following error:

Request returned failure status.

Invalid OpenStack Identity credentials.

I am able to do "glance image-list" and create smaller images just fine. So this make me think it is timing out.

I also tried to import it via horizon and the session times out before the upload can complete.

Is there a workaround for this?


edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-03-10 01:33:04 -0500

pjb gravatar image

Check the following configuration inside /etc/glance/glance-api.conf


Please note that the default value is 1TB.

edit flag offensive delete link more


Thanks, but the image I am trying to upload is around 120GB which is well under the 1TB cap.

goldenfri gravatar imagegoldenfri ( 2016-03-10 07:58:55 -0500 )edit

answered 2017-05-17 09:01:00 -0500

jim-golden gravatar image

updated 2017-05-17 09:49:42 -0500

I fixed this by extending the keystone token length.

In keystone.conf under: [token] I extended the token to one day:

expiration = 86400

and that fixed the problem.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-03-09 12:32:03 -0500

Seen: 2,331 times

Last updated: May 17 '17