Mailinglist Archive: opensuse-ha (4 mails)

< Previous Next >
[opensuse-ha] iscsitarget/targetcli - always getting a [::0]:3260 portal although I specified 0.0.0.0:3260
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 28 Mar 2018 11:30:32 +0200
  • Message-id: <p9fnbp$qtd$1@saturn.local.net>
when using the iSCSITarget RA, I always seem to get a target portal
of [::0]:3260. If I manually remove and add with targetcli, it
works fine - with the RA, the syslog says I got the right thing, but ...

With iSCSITarget: (from /var/log/messages)

iSCSITarget(t31)[27728]: INFO: Parameter auto_add_default_portal is now 'false'.
iSCSITarget(t31)[27767]: INFO: Created target
iqn.2018-01.net.hostsuisse:server000816. Created TPG 1.
iSCSITarget(t31)[27779]: INFO: Using default IP port 3260 Binding to INADDR_ANY
(0.0.0.0) Created network portal 0.0.0.0:3260.

Sounds good, but:

# targetcli ls
o- /
.....................................................................................................
[...]
o- backstores
..........................................................................................
[...]
| o- block
..............................................................................
[Storage Objects: 1]
| | o- z32 ..............................................
[/dev/Grp1/numberone (10.0GiB) write-thru activated]
| o- fileio
.............................................................................
[Storage Objects: 0]
| o- pscsi
..............................................................................
[Storage Objects: 0]
| o- ramdisk
............................................................................
[Storage Objects: 0]
o- iscsi
........................................................................................
[Targets: 1]
| o- iqn.2018-01.net.hostsuisse:server000816
....................................................... [TPGs: 1]
| o- tpg1
..............................................................................
[gen-acls, no-auth]
| o- acls
......................................................................................
[ACLs: 0]
| o- luns
......................................................................................
[LUNs: 1]
| | o- lun1 ............................................................
[block/z32 (/dev/Grp1/numberone)]
| o- portals
................................................................................
[Portals: 1]
| o- [::0]:3260
...................................................................................
[OK]


I really don't see anything in the RA script that would cause this.
Can anyone suggest where to look?



--
Per Jessen, Zürich (9.8°C)
http://www.hostsuisse.com/ - dedicated server rental in Switzerland.

--
To unsubscribe, e-mail: opensuse-ha+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-ha+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation
This Thread
  • No further messages