Glance image upload or VM creation taking huge time

Solution In Progress - Updated -

Issue

  • Glance image upload or VM creation taking huge time:
[stack@undercloud images]$  time openstack image create --container-format bare --public --file cirros-0.5.1-x86_64-disk.raw --disk-format raw test-cirros-may25-5 
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| Field            | Value                                                                                                                                               |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+
| checksum         | 01e7d1515ee776be3228673441d449e6                                                                                                                    |
| container_format | bare                                                                                                                                                |
| created_at       | 2020-05-25T23:46:53Z                                                                                                                                |
| disk_format      | raw                                                                                                                                                 |
| file             | /v2/images/f93d0412-62d0-4d0d-8918-4ea06b8b7ffa/file                                                                                                |
| id               | f93d0412-62d0-4d0d-8918-4ea06b8b7ffa                                                                                                                |
| min_disk         | 0                                                                                                                                                   |
| min_ram          | 0                                                                                                                                                   |
| name             | test-cirros-may25-5                                                                                                                                 |
| owner            | fb568abcc0244df3b9f911fb748b5e5e                                                                                                                    |
| properties       | direct_url='rbd://eb2bb192-b1c9-11e6-9205-525400330666/images/f93d0412-62d0-4d0d-8918-4ea06b8b7ffa/snap', locations='[{u'url':                      |
|                  | u'rbd://eb2bb192-b1c9-11e6-9205-525400330666/images/f93d0412-62d0-4d0d-8918-4ea06b8b7ffa/snap', u'metadata': {}}]'                                  |
| protected        | False                                                                                                                                               |
| schema           | /v2/schemas/image                                                                                                                                   |
| size             | 117440512                                                                                                                                           |
| status           | active                                                                                                                                              |
| tags             |                                                                                                                                                     |
| updated_at       | 2020-05-25T23:50:22Z                                                                                                                                |
| virtual_size     | None                                                                                                                                                |
| visibility       | public                                                                                                                                              |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------+

real    3m30.406s
user    0m0.536s
sys     0m0.244s

Environment

  • Red Hat OpenStack Platform 13.0 (RHOSP)
  • Red Hat OpenStack Platform 10.0 (RHOSP)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content