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
)
This commit is contained in:
parent
7ae5d2a0fd
commit
f248f73e0b
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue