summaryrefslogtreecommitdiff
path: root/releasenotes
diff options
context:
space:
mode:
authorwhoami-rajat <rajatdhasmana@gmail.com>2021-12-23 12:46:32 +0000
committerwhoami-rajat <rajatdhasmana@gmail.com>2021-12-23 11:39:53 -0500
commit8b4d97a6f7ce0805a430dac6756495db7a5aacb4 (patch)
tree57d97283ccf8441a4c172bf80e5e64c096826da1 /releasenotes
parent63d6f8341a8756bcd4d6f7a856d6db48a544f0ae (diff)
downloadglance_store-8b4d97a6f7ce0805a430dac6756495db7a5aacb4.tar.gz
Pass valid IP address to os-brick
While fetching connector information the cinder driver of glance-store is passing 'hostname' as IP address whereas it actually needs IP address. This path fetches the IPV4 or IPV6 address from the available 'hostname' and passes it to os-brick. This worked for other cinder backends which don't rely specifically on IP address for initializing connection like fibre channel, nfs etc and even for some iscsi backends since, in some environments, the hostname is same as the ip address. This is not the case always and we should pass the correct IPv4/IPv6 address of the host to avoid this issue. Closes-Bug: #1955668 Change-Id: Ic79815972e654a8bfe2775f57c68cfa0bf115e2f
Diffstat (limited to 'releasenotes')
-rw-r--r--releasenotes/notes/fix-ip-in-connector-info-36b95d9959f10f63.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-ip-in-connector-info-36b95d9959f10f63.yaml b/releasenotes/notes/fix-ip-in-connector-info-36b95d9959f10f63.yaml
new file mode 100644
index 0000000..0ec4b00
--- /dev/null
+++ b/releasenotes/notes/fix-ip-in-connector-info-36b95d9959f10f63.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ `Bug #1955668 <https://bugs.launchpad.net/glance-store/+bug/1955668>`_:
+ Fixed issue with glance cinder store passing hostname instead of IP
+ address to os-brick while getting connector information. \ No newline at end of file