Glance image-create stuck in queued status

提问于 2015-04-27 02:49:31 -0500

zholiuw 图像

Hi , Experts :

I am installing OpenStack As per Installation guide on SLES . When I was Verifying the Glance service , I recognized :

The progress stucked

openstack:~/Desktop # glance image-create --name "ubuntu" --file /mnt/ubuntu-14.04-server-cloudimg-amd64-disk1.img --disk-format qcow2 --container-format bare --is-public True --progress [> ] 0%

Show image state

 openstack:~/Desktop # glance image-show 42637692-26bc-4eda-badc-956193b012a1
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| container_format | bare                                 |
| created_at       | 2015-04-27T06:53:00                  |
| deleted          | False                                |
| disk_format      | qcow2                                |
| id               | 42637692-26bc-4eda-badc-956193b012a1 |
| is_public        | True                                 |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | ubuntu                               |
| owner            | 936ec31d708c4947bbcd67103dc1f548     |
| protected        | False                                |
| size             | 257556992                            |
| status           | queued                               |
| updated_at       | 2015-04-27T06:53:00                  |
+------------------+--------------------------------------+

/var/log/glance/api.log

2015-04-27 15:07:10.185 30077 ERROR oslo.messaging._drivers.impl_rabbit [23a47dc9-2021-4e81-8e94-6ad1a87d87f3 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed 2015-04-27 15:07:10.219 30077 ERROR oslo.messaging._drivers.impl_rabbit [23a47dc9-2021-4e81-8e94-6ad1a87d87f3 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed 2015-04-27 15:07:10.631 30077 ERROR oslo.messaging._drivers.impl_rabbit [23a47dc9-2021-4e81-8e94-6ad1a87d87f3 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed 2015-04-27 15:07:12.700 30076 ERROR oslo.messaging._drivers.impl_rabbit [69b83b04-d2f6-4538-9fe9-b4fd297931b7 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] AMQP server controller:5672 closed the connection. Check login credentials: Socket closed

I already changed the rabbitmq guest password to guest and applyed it in the /etc/glance/glance-api.conf and /etc/glance/glance-resigtry.conf. Don't know why error exists

/var/log/glance/registry.log

2015-04-27 15:06:15.343 30087 INFO glance.wsgi.server [42c20c79-5269-4dd6-b3ce-3123675d0cf7 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] 127.0.0.1 - - [27/Apr/2015 15:06:15] "GET /images/42637692-26bc-4eda-badc-956193b012a1 HTTP/1.1" 200 678 0.073630 2015-04-27 15:06:15.421 30086 INFO glance.wsgi.server [708fb951-d443-4250-b49a-dde8c1e35924 505f9cff37294e00aceb213264f8acc2 936ec31d708c4947bbcd67103dc1f548 - - -] 127.0.0.1 - - [27/Apr/2015 15:06:15] "GET /images/42637692-26bc-4eda-badc-956193b012a1 HTTP/1.1" 200 678 0.068274

edit retag flag offensive close merge delete