[NetApp NFS] Cinder downloads image from Glance twice
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Goutham Pacha Ravi | ||
Mirantis OpenStack |
Won't Fix
|
Medium
|
Ivan Kolodyazhny | ||
10.0.x |
Won't Fix
|
Medium
|
MOS Cinder | ||
8.0.x |
Won't Fix
|
Medium
|
MOS Cinder |
Bug Description
Detailed bug description:
Both Cinder and Glance use NFS as backend. For such scenarios Cinder supports 'NetApp NFS Copy Offload client'(http://
The issue is when offloading tool is configured Cinder downloads image from Glance via HTTP before using offloading tool. So effectively it does the job twice: first it downloads image from Glance using HTTP (converts it ....) and then it downloads image second time using offloading tool.
Steps to reproduce:
Configure NetApp NFS backend for Cinder, specify 2 (or more) NFS shares for NFS backend.
Configure NFS backend for Glance (file backend pointing to NFS mount point).
Create volume `cinder create --image 59cd2153-
Check cinder-volume log:
2016-10-11 11:26:41.819 17653 DEBUG glanceclient.
- - -] curl -g -i -X GET -H 'Accept-Encoding: gzip, deflate' -H 'Accept: */*' -H 'User-Agent: python-
5561ab8f9c94662
l_request /usr/lib/
2016-10-11 11:26:41.931 17653 DEBUG glanceclient.
- - -]
HTTP/1.1 200 OK
content-length: 8823242752
content-md5: e7f6e7d7d38423a
connection: close
date: Tue, 11 Oct 2016 11:26:41 GMT
content-type: application/
x-openstack-
log_http_response /usr/lib/
...
2016-10-11 11:28:32.317 17653 DEBUG cinder.
and later
2016-10-11 11:28:32.872 17653 DEBUG cinder.
2016-10-11 11:28:32.875 17653 DEBUG cinder.
2016-10-11 11:28:32.875 17653 DEBUG cinder.
Example log file https:/
Expected results:
Cinder downloads image with ID 59cd2153-
Actual result:
Although 'offloading tool' is configured for Cinder and Glance backend is NFS, Cinder downloads image from Glance using HTTP client before using 'offloading tool' (so actually it does the job twice)
Description of the environment
VERSION:
feature_groups:
- mirantis
production: "docker"
release: "8.0"
api: "1.0"
build_number: "570"
build_id: "570"
fuel-nailgun_sha: "558ca91a854cf2
python-
fuel-agent_sha: "658be72c4b42d3
fuel-
astute_sha: "b81577a5b7857c
fuel-library_sha: "c2a335b5b725f1
fuel-ostf_sha: "3bc76a63a9e7d1
fuel-mirror_sha: "fb45b80d7bee58
fuelmenu_sha: "78ffc73065a967
shotgun_sha: "63645dea384a37
network-
fuel-upgrade_sha: "616a7490ec7199
fuelmain_sha: "d605bcbabf3153
description: | updated |
Changed in mos: | |
assignee: | nobody → Ivan Kolodyazhny (e0ne) |
tags: | added: area-cinder |
Changed in cinder: | |
assignee: | nobody → Goutham Pacha Ravi (gouthamr) |
Changed in cinder: | |
status: | New → Confirmed |
summary: |
- [netapp] Cinder downloads image from Glance twice + Cinder downloads image from Glance twice |
tags: | added: netapp |
tags: | added: ct1 |
summary: |
- Cinder downloads image from Glance twice + [NetApp NFS] Cinder downloads image from Glance twice |
no longer affects: | mos/9.x |
Changed in mos: | |
milestone: | 9.2-mu-1 → 9.x-updates |
Changed in cinder: | |
assignee: | Adriano (rosso-af) → Goutham Pacha Ravi (gouthamr) |
some logs are here http:// paste.openstack .org/show/ 585396/