NetApp ONTAP NFS driver fail to flexclone glance image.

When the driver is trying to perform a flexclone from glance is
making a bad reference to a non-existent methond utils.resolve_hostname
the correct method is volume_utils.resolve_hostname

Change-Id: I5cd729bdd1fb97b07610b1971232c786bad7917d
Closes-Bug: #1875959
(cherry picked from commit 2da53ac02b)
(cherry picked from commit f248f73e0b)
This commit is contained in:
Jose Phillips 2020-04-29 15:53:53 -05:00
parent ac6e0c472f
commit 8c33838f6e
1 changed files with 1 additions and 1 deletions

View File

@ -740,7 +740,7 @@ class NetAppNfsDriver(driver.ManageableVD,
try:
if conn:
host = conn.split(':')[0]
ip = utils.resolve_hostname(host)
ip = volume_utils.resolve_hostname(host)
share_candidates = []
for sh in self._mounted_shares:
sh_exp = sh.split(':')[-1]