You should be able to set glance to chuck the image when it is over a certain size.
The default is to chuck into 200MB objects when the image os over 5GB (5GB is also the default max object size in swift) Sam > On 26 Nov 2014, at 2:15 am, Chinasubbareddy M > <chinasubbaredd...@persistent.com> wrote: > > Hi, > > When I am trying to upload 14 GB image , this is the issue I am getting: > > 2014-11-25 18:59:14.430 31680 TRACE swiftclient > 2014-11-25 18:59:14.438 31680 ERROR glance.store.swift > [3b26e687-0125-402b-a813-35e2c4d807fa 45e0ca2c6ef746458c4801cb0bb4c048 > 22ff902721944cc592c0b4358698089b - - -] Failed to add object to Swift. > Got error from Swift: Object PUT failed: > http://10.233.52.161:8080:8080/v1/AUTH_9bb0be211a254743be5e6d1497ca969d/glance/e27bb490-859b-429f-abda-664abd786d7c > 413 Request Entity Too Large [first 60 chars of response] <html><h1>Request > Entity Too Large</h1><p>The body of your r > 2014-11-25 18:59:14.439 31680 ERROR glance.api.v1.upload_utils > [3b26e687-0125-402b-a813-35e2c4d807fa 45e0ca2c6ef746458c4801cb0bb4c048 > 22ff902721944cc592c0b4358698089b - - -] Failed to upload image > e27bb490-859b-429f-abda-664abd786d7c > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils Traceback > (most recent call last): > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils File > "/usr/lib/python2.7/dist-packages/glance/api/v1/upload_utils.py", line 99, in > upload_data_to_store > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils store) > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils File > "/usr/lib/python2.7/dist-packages/glance/store/__init__.py", line 382, in > store_add_to_backend > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils (location, > size, checksum, metadata) = store.add(image_id, data, size) > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils File > "/usr/lib/python2.7/dist-packages/glance/store/swift.py", line 503, in add > 2014-11-25 18:59:14.439 31680 TRACE glance.api.v1.upload_utils raise > glance.store.BackendException(msg) > > From: Chinasubbareddy M > Sent: Tuesday, November 25, 2014 12:33 PM > To: 'openstack@lists.openstack.org' > Subject: RE: [openstack][glance][swift-backend][icehouse] > > Hi all, > > I configured my glance backend to swift ,while uploading images to my glance > am not able to upload files which are larger than 10GB, please help me out. > it is taking ages while uploading , please let me know if there are any > changes which will improve the performance. > > Regards, > Subbareddy, > Persistent systems ltd. > > > From: Chinasubbareddy M > Sent: Monday, November 24, 2014 10:51 PM > To: openstack@lists.openstack.org <mailto:openstack@lists.openstack.org> > Cc: Shanker Gudipati > Subject: [openstack][glance][swift-backend][icehouse] > > Hi all, > > I configured my glance backend to swift ,while uploading images to my glance > am not able to upload files which are larger than 10GB, please help me out. > it is taking ages while uploading , please let me know if there are any > changes which will improve the performance. > > Regards, > Subbareddy, > Persistent systems ltd. > DISCLAIMER ========== This e-mail may contain privileged and confidential > information which is the property of Persistent Systems Ltd. It is intended > only for the use of the individual or entity to which it is addressed. If you > are not the intended recipient, you are not authorized to read, retain, copy, > print, distribute or use this message. If you have received this > communication in error, please notify the sender and delete all copies of > this message. Persistent Systems Ltd. does not accept any liability for virus > infected mails. > > _______________________________________________ > Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack