In order to test this I did the following:
a.) have attached the log and artifacts from the open-iscsi dep8 run
for open-iscsi/2.0.874-5ubuntu2.4 on 2018-11-20 18:42:40 UTC
as 'bionic-autopkgtest.log' and 'bionic-autopkgtest-artifacts.tar.gz'
b.) tested on oracle bare metal.
Launched an instance of image '2018.10.16-0'
There was a more recent '2018.11.17-0', but I wanted to avoid any
workarounds that might have been put into it.
Upon connection via ssh:
## verify not running and show old version.
$ dpkg-query --show open-iscsi
open-iscsi 2.0.874-5ubuntu2.3
# show there is a iscsi mount
$ ls /dev/disk/by-path/
ip-169.254.0.2:3260-iscsi-iqn.2015-02.oracle.boot:uefi-lun-1
ip-169.254.0.2:3260-iscsi-iqn.2015-02.oracle.boot:uefi-lun-1-part1
ip-169.254.0.2:3260-iscsi-iqn.2015-02.oracle.boot:uefi-lun-1-part14
ip-169.254.0.2:3260-iscsi-iqn.2015-02.oracle.boot:uefi-lun-1-part15
$ sudo apt-get update -q
$ sudo apt-get install open-iscsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
open-iscsi
1 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
Need to get 280 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 open-iscsi amd64 2.0.874-5ubuntu2.4 [280 kB]
...
Unpacking open-iscsi (2.0.874-5ubuntu2.4) over (2.0.874-5ubuntu2.3) ...
...
Setting up open-iscsi (2.0.874-5ubuntu2.4) ...
...
# the upgrade requires a reboot to fix.
$ systemctl is-active iscsid.service
inactive
$ sudo reboot
## ssh back in to see fix.
$ dpkg-query --show open-iscsi
open-iscsi 2.0.874-5ubuntu2.4
$ systemctl is-active iscsid.service
active
$ systemctl status iscsid.service --full --no-pager
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/system/iscsid.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2018-11-27 20:04:06 UTC; 1min 22s ago
Docs: man:iscsid(8)
Process: 1885 ExecStart=/sbin/iscsid (code=exited, status=0/SUCCESS)
Process: 1873 ExecStartPre=/lib/open-iscsi/startup-checks.sh (code=exited, status=0/SUCCESS)
Main PID: 1890 (iscsid)
Tasks: 2 (limit: 11059)
CGroup: /system.slice/iscsid.service
├─1888 /sbin/iscsid
└─1890 /sbin/iscsid
Nov 27 20:04:01 smoser-b1 iscsid[1885]: iSCSI logger with pid=1888 started!
Nov 27 20:04:02 smoser-b1 iscsid[1888]: iSCSI daemon with pid=1890 started!
Nov 27 20:04:02 smoser-b1 iscsid[1888]: Could not read data from db. Using default and currently negotiated values
Nov 27 20:04:04 smoser-b1 iscsid[1888]: connection1:0 is operational after recovery (1 attempts)
Nov 27 20:04:00 smoser-b1 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Nov 27 20:04:06 smoser-b1 systemd[1]: Started iSCSI initiator daemon (iscsid).
I'm marking bionic as verified.
In order to test this I did the following: 2.0.874- 5ubuntu2. 4 on 2018-11-20 18:42:40 UTC autopkgtest. log' and 'bionic- autopkgtest- artifacts. tar.gz'
a.) have attached the log and artifacts from the open-iscsi dep8 run
for open-iscsi/
as 'bionic-
b.) tested on oracle bare metal.
Launched an instance of image '2018.10.16-0'
There was a more recent '2018.11.17-0', but I wanted to avoid any
workarounds that might have been put into it.
Upon connection via ssh:
## verify not running and show old version.
$ dpkg-query --show open-iscsi
open-iscsi 2.0.874-5ubuntu2.3
$ systemctl is-active iscsid.service
inactive
$ systemctl status iscsid.service --full --no-pager system/ iscsid. service; disabled; vendor preset: enabled)
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/
Active: inactive (dead)
Docs: man:iscsid(8)
# show there is a iscsi mount 254.0.2: 3260-iscsi- iqn.2015- 02.oracle. boot:uefi- lun-1 254.0.2: 3260-iscsi- iqn.2015- 02.oracle. boot:uefi- lun-1-part1 254.0.2: 3260-iscsi- iqn.2015- 02.oracle. boot:uefi- lun-1-part14 254.0.2: 3260-iscsi- iqn.2015- 02.oracle. boot:uefi- lun-1-part15
$ ls /dev/disk/by-path/
ip-169.
ip-169.
ip-169.
ip-169.
## enable -proposed and upgrade and reboot archive. ubuntu. com/ubuntu $(lsb_release -sc)-proposed main" | sudo tee -a /etc/apt/ sources. list.d/ proposed. list archive. ubuntu. com/ubuntu bionic-proposed main
$ echo "deb http://
deb http://
$ sudo apt-get update -q archive. ubuntu. com/ubuntu bionic- proposed/ main amd64 open-iscsi amd64 2.0.874-5ubuntu2.4 [280 kB] 5ubuntu2. 4) over (2.0.874- 5ubuntu2. 3) ... 5ubuntu2. 4) ...
$ sudo apt-get install open-iscsi
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
grub-pc-bin
Use 'sudo apt autoremove' to remove it.
The following packages will be upgraded:
open-iscsi
1 upgraded, 0 newly installed, 0 to remove and 104 not upgraded.
Need to get 280 kB of archives.
After this operation, 1024 B of additional disk space will be used.
Get:1 http://
...
Unpacking open-iscsi (2.0.874-
...
Setting up open-iscsi (2.0.874-
...
# the upgrade requires a reboot to fix.
$ systemctl is-active iscsid.service
inactive
$ sudo reboot
## ssh back in to see fix. system/ iscsid. service; disabled; vendor preset: enabled) /sbin/iscsid (code=exited, status=0/SUCCESS) /lib/open- iscsi/startup- checks. sh (code=exited, status=0/SUCCESS) slice/iscsid. service
$ dpkg-query --show open-iscsi
open-iscsi 2.0.874-5ubuntu2.4
$ systemctl is-active iscsid.service
active
$ systemctl status iscsid.service --full --no-pager
● iscsid.service - iSCSI initiator daemon (iscsid)
Loaded: loaded (/lib/systemd/
Active: active (running) since Tue 2018-11-27 20:04:06 UTC; 1min 22s ago
Docs: man:iscsid(8)
Process: 1885 ExecStart=
Process: 1873 ExecStartPre=
Main PID: 1890 (iscsid)
Tasks: 2 (limit: 11059)
CGroup: /system.
├─1888 /sbin/iscsid
└─1890 /sbin/iscsid
Nov 27 20:04:01 smoser-b1 iscsid[1885]: iSCSI logger with pid=1888 started!
Nov 27 20:04:02 smoser-b1 iscsid[1888]: iSCSI daemon with pid=1890 started!
Nov 27 20:04:02 smoser-b1 iscsid[1888]: Could not read data from db. Using default and currently negotiated values
Nov 27 20:04:04 smoser-b1 iscsid[1888]: connection1:0 is operational after recovery (1 attempts)
Nov 27 20:04:00 smoser-b1 systemd[1]: Starting iSCSI initiator daemon (iscsid)...
Nov 27 20:04:06 smoser-b1 systemd[1]: Started iSCSI initiator daemon (iscsid).