]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
src/test/cli-integration: correct hostname for iscsi gateway
authorDeepika Upadhyay <dupadhya@redhat.com>
Thu, 14 Oct 2021 07:10:14 +0000 (12:40 +0530)
committerDeepika Upadhyay <dupadhya@redhat.com>
Mon, 18 Oct 2021 07:51:50 +0000 (13:21 +0530)
commitb09c6ca2cc639d702283d17e49366e191843dafc
tree2a7707f9f5e1eaa99d3e2fba84615d285fa45ca2
parent3e9b8c8f8bc12287e93146e3d6a6bca37cb5ac07
src/test/cli-integration: correct hostname for iscsi gateway

iscsi accepts first word of hostname as local hostname[0] instead of
smithi061.front.sepia.ceph.com we use: smithi061 otherwise gateway
creation will error out with:
```The first gateway defined must be the local machine```

[0] https://github.com/ceph/ceph-iscsi-cli/blob/ff3e430b70a62257a560b8988bd54bf845c01fb7/gwcli/utils.py#L36

Signed-off-by: Deepika Upadhyay <dupadhya@redhat.com>
src/test/cli-integration/rbd/gwcli_create.t