Comment 12 for bug 1802354

Revision history for this message
Scott Moser (smoser) wrote :

I'm marking bionic as verified.

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

$ systemctl is-active iscsid.service
inactive

$ 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: inactive (dead)
     Docs: man:iscsid(8)

# 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

## enable -proposed and upgrade and reboot
$ echo "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc)-proposed main" | sudo tee -a /etc/apt/sources.list.d/proposed.list
deb http://archive.ubuntu.com/ubuntu bionic-proposed main

$ 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).