failed to load image via glance cli
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Andrey Sledzinskiy |
Bug Description
OS: Centos
Mode: HA
Steps to reproduce:
1. load small image via glance image-create - success
2. load big image via glance image-create - fail
My case:
[root@node-2 F17-x86_
100+0 records in
100+0 records out
104857600 bytes (105 MB) copied, 0.105806 s, 991 MB/s
[root@node-2 F17-x86_
/usr/lib/
import pkg_resources
curl -i -X POST -H 'x-image-
HTTP/1.1 201 Created
content-length: 479
etag: 2f282b84e7e608d
location: http://
date: Fri, 25 Jul 2014 15:30:29 GMT
content-type: application/json
x-openstack-
{"image": {"status": "active", "deleted": false, "container_format": "bare", "min_ram": 0, "updated_at": "2014-07-
+------
| Property | Value |
+------
| checksum | 2f282b84e7e608d
| container_format | bare |
| created_at | 2014-07-25T15:30:19 |
| deleted | False |
| deleted_at | None |
| disk_format | qcow2 |
| id | 1deeed8d-
| is_public | True |
| min_disk | 0 |
| min_ram | 0 |
| name | moo100 |
| owner | 3e8a4979b9c2489
| protected | False |
| size | 104857600 |
| status | active |
| updated_at | 2014-07-25T15:30:29 |
| virtual_size | None |
+------
[root@node-2 F17-x86_
1000+0 records in
1000+0 records out
1048576000 bytes (1.0 GB) copied, 0.89716 s, 1.2 GB/s
[root@node-2 F17-x86_
/usr/lib/
import pkg_resources
curl -i -X POST -H 'x-image-
HTTP/1.1 500 Internal Server Error
date: Fri, 25 Jul 2014 15:31:13 GMT
content-length: 91
content-type: text/plain; charset=UTF-8
x-openstack-
500 Internal Server Error
Failed to upload image 7fcbd9d4-
Request returned failure status.
500 Internal Server Error
Failed to upload image 7fcbd9d4-
(HTTP 500)
glance-all.log:
<151>Jul 25 15:30:52 node-2 glance-swiftclient DEBUG: REQ: curl -i http://
<151>Jul 25 15:30:52 node-2 glance-swiftclient DEBUG: RESP STATUS: 204
<151>Jul 25 15:30:52 node-2 glance-
<151>Jul 25 15:31:12 node-2 glance-swiftclient DEBUG: REQ: curl -i http://
<151>Jul 25 15:31:12 node-2 glance-swiftclient DEBUG: RESP STATUS: 503
<151>Jul 25 15:31:12 node-2 glance-swiftclient DEBUG: RESP BODY: <html><h1>Service Unavailable<
<147>Jul 25 15:31:13 node-2 glance-
Got error from Swift: put_object(
<147>Jul 25 15:31:13 node-2 glance-
Traceback (most recent call last):
File "/usr/lib/
store)
File "/usr/lib/
(location, size, checksum, metadata) = store.add(image_id, data, size)
File "/usr/lib/
raise glance.
BackendException: Failed to add object to Swift.
Got error from Swift: put_object(
<151>Jul 25 15:31:13 node-2 glance-
<151>Jul 25 15:31:13 node-2 glance-
<151>Jul 25 15:31:13 node-2 glance-
syslog:
<43>Jul 25 15:31:08 node-2 swift-proxy-server: ERROR with Object server 192.168.0.6:6000/1 re: Trying to write to /v1/AUTH_
<43>Jul 25 15:31:08 node-2 swift-proxy-server: ERROR with Object server 192.168.0.6:6000/2 re: Trying to write to /v1/AUTH_
<43>Jul 25 15:31:08 node-2 swift-proxy-server: Object PUT exceptions during send, 0/2 required connections (txn: tx90782bd5c44e4
description: | updated |
Changed in fuel: | |
milestone: | none → 5.1 |
Changed in fuel: | |
importance: | Undecided → High |
assignee: | nobody → Andrey Sledzinskiy (asledzinskiy) |
Changed in fuel: | |
status: | Incomplete → Invalid |
tags: | added: customer-found |
tags: | added: qa-agree |
I can't reproduce this. I was able to upload 100MB, 1GB and 10GB images. Can you upload a diagnostic snapshot?