Fix up the way we do iqn variable in unit test
Fix up the way we do iqn variable in unit test

A recent bug was reported when a developer was trying to work
with the iscsi target unit tests.  There were two problems discovered,
one of which has been addressed by the dependent patch of this commit
(https://review.openstack.org/#/c/68223/) which fixed the inconsistencies
in the string we used for iqn's in our test.

This patch addresses another issue that's somewhat related and was
exposed when the developer tried to use the "self.target_name" variable
instead of hard-coding the iqn's in the tests.

The problem is that the target_name variable uses an invalid format
for the iqn based on cinder-defaults.  It neglected to use the
volume_name prefix (in this case: "volume-").

This patch modifies the self.target_name variable to be more accurate
with what we would see in real usage, it also modifies the test to just
use this variable rather than hard coding it and running the risk of
having mismatches again in the future.

Change-Id: I392d423d5c0f58b7a21ee0c477609265002faa0c

abusse/cinder,alex8866/cinder,eharney/cinder,j-griffith/cinder,takeshineshiro/cinder,duhzecca/cinder,openstack/cinder,phenoxim/cinder,phenoxim/cinder,bswartz/cinder,mahak/cinder,scottdangelo/RemoveVolumeMangerLocks,tlakshman26/cinder-new-branch,leilihh/cinder,duhzecca/cinder,nexusriot/cinder,ge0rgi/cinder,alex8866/cinder,scottdangelo/RemoveVolumeMangerLocks,leilihh/cinder,scality/cinder,abusse/cinder,potsmaster/cinder,Accelerite/cinder,redhat-openstack/cinder,sasukeh/cinder,bswartz/cinder,takeshineshiro/cinder,cloudbase/cinder,j-griffith/cinder,tlakshman26/cinder-bug-fix-volume-conversion-full,tlakshman26/cinder-bug-fix-volume-conversion-full,dims/cinder,nikesh-mahalka/cinder,eharney/cinder,Akrog/cinder,Akrog/cinder,saeki-masaki/cinder,Hybrid-Cloud/cinder,Paul-Ezell/cinder-1,nexusriot/cinder,NeCTAR-RC/cinder,Hybrid-Cloud/cinder,CloudServer/cinder,NeCTAR-RC/cinder,julianwang/cinder,hguemar/cinder,sasukeh/cinder,petrutlucian94/cinder,github-borat/cinder,Accelerite/cinder,apporc/cinder,tlakshman26/cinder-new-branch,tlakshman26/cinder-https-changes,spring-week-topos/cinder-week,hguemar/cinder,JioCloud/cinder,potsmaster/cinder,Nexenta/cinder,tlakshman26/cinder-https-changes,scality/cinder,dims/cinder,blueboxgroup/cinder,github-borat/cinder,Datera/cinder,Datera/cinder,nikesh-mahalka/cinder,apporc/cinder,Thingee/cinder,Nexenta/cinder,redhat-openstack/cinder,blueboxgroup/cinder,manojhirway/ExistingImagesOnNFS,Paul-Ezell/cinder-1,rakeshmi/cinder,manojhirway/ExistingImagesOnNFS,openstack/cinder,cloudbase/cinder,petrutlucian94/cinder,rakeshmi/cinder,winndows/cinder,Thingee/cinder,winndows/cinder,NetApp/cinder,JioCloud/cinder,julianwang/cinder,saeki-masaki/cinder,CloudServer/cinder,mahak/cinder,NetApp/cinder,spring-week-topos/cinder-week,Thingee/cinder