Upload image with glance crash in CentOS HA for large images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Invalid
|
High
|
Aviram Bar-Haim |
Bug Description
After a successful CentOS HA installation, and Cirros image upload, glance image-create failed with image of 800MB.
log:
[root@node-1 ~]# glance image-create --name MLNX_VM --disk-format=qcow2 --container-
Request returned failure status.
500 Internal Server Error
Failed to upload image 40b3fd76-
(HTTP 500)
in syslog:
<43>Jul 30 07:38:12 node-2 swift-proxy-server: ERROR with Object server 192.168.1.3:6000/2 re: Trying to write to /v1/AUTH_
and
2014-07-30 07:38:16.939 5547 TRACE glance.
2014-07-30 07:38:16.939 5547 TRACE glance.
After changing in all controllers the following lines in /etc/haproxy/
timeout http-request 1m
timeout queue 1m
timeout connect 1m
timeout client 1m
timeout server 1m
timeout check 1m
And restart haproxy with: "crm resource restart clone_p_haproxy"
I managed to upload:
[root@node-2 ~]# glance image-create --name MLNXVM --disk-format=qcow2 --container-
+------
| Property | Value |
+------
| checksum | 7b9884a9ab42715
| container_format | bare |
| created_at | 2014-07-30T10:52:17 |
| deleted | False |
| deleted_at | None |
| disk_format | qcow2 |
| id | c5cd2d5e-
| is_public | False |
| min_disk | 0 |
| min_ram | 0 |
| name | MLNXVM |
| owner | e182a5603ab54bc
| protected | False |
| size | 861536256 |
| status | active |
| updated_at | 2014-07-30T10:52:49 |
| virtual_size | None |
+------
Changed in fuel: | |
assignee: | nobody → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
milestone: | none → 5.1 |
status: | Incomplete → New |
Changed in fuel: | |
assignee: | Sergii Golovatiuk (sgolovatiuk) → Fuel Library Team (fuel-library) |
Changed in fuel: | |
status: | New → Incomplete |
status: | Incomplete → Triaged |
importance: | Undecided → High |
Changed in fuel: | |
assignee: | Fuel Library Team (fuel-library) → Sergii Golovatiuk (sgolovatiuk) |
Changed in fuel: | |
assignee: | Sergii Golovatiuk (sgolovatiuk) → Aviram Bar-Haim (aviramb) |
Changed in fuel: | |
status: | Incomplete → Invalid |
Amiram, also provide iso version and diagnostic snapshot.