unable to add IPv6-only interface address as iscsi portal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtslib (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When I attempt to add a ULA address as a portal IP:
/iscsi/
/iscsi/
/iscsi/
Using default IP port 3260
IP address does not exist: fd60:e0:a0f4:121::4
But this succeeds when adding a global IP:
/iscsi/
Using default IP port 3260
Created network portal 2606:a000:
Entering new node /iscsi/
I do not know if this is a filter within the target that it can only add global IPs, or if it is only looking at primary interfaces and not VLANs:
$ ip addr
1: lo: <LOOPBACK,
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,
link/ether 00:21:85:10:77:49 brd ff:ff:ff:ff:ff:ff
inet 172.31.3.4/24 brd 172.31.3.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 2606:a000:
valid_lft forever preferred_lft forever
inet6 fe80::221:
valid_lft forever preferred_lft forever
3: eth0.121@eth0: <BROADCAST,
link/ether 00:21:85:10:77:49 brd ff:ff:ff:ff:ff:ff
inet6 fd60:e0:
valid_lft forever preferred_lft forever
inet6 fe80::221:
valid_lft forever preferred_lft forever
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: targetcli 1:3.0~pre4.
ProcVersionSign
Uname: Linux 4.4.0-43-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Date: Sat Nov 12 13:55:57 2016
PackageArchitec
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: targetcli
UpgradeStatus: Upgraded to xenial on 2016-09-05 (68 days ago)
Ah, this appears to be a fault in rtslib not enumerating the VLAN interface:
>>> import rtslib.utils utils.list_ eth_names( )
>>> rtslib.
['lo', 'eth0']