OpenStack: O carregamento para imagem do Cinder não funcionará se o volume estiver conectado.

Summary: OpenStack: O carregamento para imagem do Cinder não funcionará se o volume estiver conectado.

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms



O carregamento para a imagem do Cinder não funcionará se o volume estiver conectado:
 
Cinder upload-to-image --force true --disk-format qcow2 volume_name image

Depois de criar uma imagem de resumo, o olhar recebe uma solicitação de exclusão imediatamente:
 
INFO glance.registry.api.v1.images [d9dfe1e8-2400-4335-86e9-03be91819d35 c63ec4cfed984f7eaffbddeae77b0381 - - -] Imagem criada com sucesso da9a8830-6c35-433d-8717-e8e69318b51d
DEBUG routes.middleware [a1083f78-7d1a-4a41-83fd-403c5be4409c c63ec4cfed984f7eaffbddeae77b0381 - - -] DELETE /images/da9a8830-6c35-433d-8717-e8e69318b51d __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:100
DEBUG routes.middleware [a1083f78-7d1a-4a41-83fd-403c5be4409c c63ec4cfed984f7eaffbddeae77b0381 - - -] Ditado da partida: {'action': u'delete', 'controller': [glance.common.wsgi.Resource object em 0x7fa5d4af8ad0], 'id': u'da9a8830-6c35-433d-8717-e8e69318b51d'} __call__ /usr/lib/python2.7/dist-packages/routes/middleware.py:103
INFO glance.registry.api.v1.images [a1083f78-7d1a-4a41-83fd-403c5be4409c c63ec4cfed984f7eaffbddeae77b0381 - - -] Imagem excluída com sucesso da9a8830-6c35-433d-8717-e8e69318b51d
glance.wsgi.server [a1083f78-7d1a-4a41-83fd-403c5be4409c AH8282 c63ec4cfed984f7eaffbddeae77b0381 - - -] 135.144.28.54 - - [27/Jun/2016 21:01:11] "DELETE /images/da9a8830-6c35-433d-8717-e8e69318b51d HTTP/1.1" 200 726 0.042534

Durante a investigação, descobrimos que esse pedido vai do serviço de cinder:
 
ERRO: cinder.volume.manager: [req-ddc5db47-db91-4a09-8854-16b0ee8f8ce0 c63ec4cfed984f7eaffbddeae77b0381 - --] Ocorreu um erro ao carregar o volume b5839c03-d93c-4d91-87e6-0
2ceb851aba2 para a imagem da9a8830-6c35-433d-8717-e8e69318b51d.
  glanceclient.common.http [req-ddc5db47-db91-4a09-8854-16b0ee8f8ce0 c63ec4cfed984f7eaffbddeae77b0381 - --] curl -i -X HEAD -H 'User-Agent: python-glanceclient' -H 'Content-Type: application/octet-stream' -H 'Accept-Encoding: gzip, deflate, compress' -H 'Accept: */*' -H 'X-Auth-Token: {SHA1}199d851e5925bc18e3c41d241db919796ef6d93c' http://image.domain.com:9292/v1/images/da9a8830-6c35-433d-8717-e8e69318b51d log_curl_request /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:122
DEBUG glanceclient.common.http [req-ddc5db47-db91-4a09-8854-16b0ee8f8ce0 c63ec4cfed984f7eaffbddeae77b0381 - - -]
HTTP/1.1 200 OK
  .......
  x-image-meta-name: ah8282_test
log_http_response /usr/lib/python2.7/dist-packages/glanceclient/common/http.py:135
AVISO cinder.volume.manager [req-ddc5db47-db91-4a09-8854-16b0ee8f8ce0 c63ec4cfed984f7eaffbddeae77b0381 - - -] Excluindo imagem da9a8830-6c35-433d-8717-e8e69318b51d em estado em fila.

No registro cinder-volume, encontramos o seguinte erro:
 
ERRO hostname [req-ddc5db47-db91-4a09-8854-16b0ee8f8ce0 c63ec4cfed984f7eaffbddeae77b0381 - - -] Exceção durante o tratamento de mensagens: Dispositivo de volume não encontrado em /dev/disk/by-path/ip-ip-address<>:3260-iscsi-iqn.1009-03.com.emc:50000973001a8510-lun-3

Cause

.

Resolution

Esse problema foi resolvido na versão KILO do driver de cinder.

Affected Products

OpenStack Data Protection Extension
Article Properties
Article Number: 000052241
Article Type: Solution
Last Modified: 13 Mar 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.