~smoser/ubuntu/+source/open-iscsi:fix/1802354-disco-iscsid-run-if-rootfs

Last commit made on 2018-11-14
Get this branch:
git clone -b fix/1802354-disco-iscsid-run-if-rootfs https://git.launchpad.net/~smoser/ubuntu/+source/open-iscsi
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
fix/1802354-disco-iscsid-run-if-rootfs
Repository:
lp:~smoser/ubuntu/+source/open-iscsi

Recent commits

e43f63f... by Scott Moser

update changelog

817ac67... by Scott Moser

debian/tests/test-open-iscsi.py: collect artifacts

This just adds function to the tgt-boot-test to put its collected
files into the artifacts/ directory. They'll then be inspectable
after a run.

29fec48... by Scott Moser

debian/tests/patch-image: use open-iscsi for packages if none given.

If no packages or debs were provided on the command line to patch-image
then packages gets set to 'open-iscsi'. This fixes a use case when
running autopackage locally. For example, I would run like:

   autopkgtest ./open-iscsi/ debs/open-iscsi*.deb -- qemu ./base.img

The debs would get installed into the autopkg environment but
not make it into the booted guest.

17da176... by Scott Moser

debian/tests/tgt-boot-test: disable snap and seeding of snaps.

seeding of snaps is a great deal of IO and cpu for test that
is simply not currently necessary.

efbd8b3... by Scott Moser

Add check that iscsid.service is running in tgt-boot-test.

Just add a check that iscsid.service is running.

Also:
  - remove a tab that got stuck in here.
  - collect artifact of debug-mounts output.
  - collect journalctl output
  - collect a dpkg manifest.

a36d403... by Scott Moser

Add udev rule for iscsi disks to ensure iscsid is running.

This change makes open-iscsi install a udev rule that includes
systemd_wants [1] to ensure that if there are iscsi disks attached
then iscsid.service will be running.

 [1] https://www.freedesktop.org/software/systemd/man/systemd.device.html

This fixes a regression caused when iscsid was changed to be socket
activated under bug 1755858. The problematic case was when the
only iscsi mount was performed by the initramfs.

LP: #1802354

af4897a... by Victor Tapia

Import patches-unapplied version 2.0.874-5ubuntu9 to ubuntu/cosmic-proposed

Imported using git-ubuntu import.

Changelog parent: c3ff2a848812b38da1a236313ffc34d44373f444

New changelog entries:
  * d/net-interface-handler: replace 'domainsearch' with the correct
    configuration option 'search' in net-interface-handler (LP: #1791108)

c3ff2a8... by Scott Moser

Import patches-unapplied version 2.0.874-5ubuntu8 to ubuntu/cosmic-proposed

Imported using git-ubuntu import.

Changelog parent: d668e0c6b50ace3fdfaac06b5cd525814f24dd8f

New changelog entries:
  * d/tests: insert some debug units in an attempt to diagnose any
    occurences of bug 1788188.
  * Fix fail to build from source due to undefined reference to
    minor (LP: #1791154)

d668e0c... by Scott Moser

Import patches-unapplied version 2.0.874-5ubuntu7 to ubuntu/cosmic-proposed

Imported using git-ubuntu import.

Changelog parent: da0cf24766aeb875845a8d40a2526b70c98fa0c4

New changelog entries:
  * d/tests: make interactive use of tgt-boot-test more usable by
    only using 'timeout' from the test harness.
  * debian/tests/README-boot-test.md: minor doc fixes and whitespace.
  * d/net-interface-handler: Apply changes only for the iscsi-root interface.
    (LP: #1785108)

da0cf24... by Dimitri John Ledkov

Import patches-unapplied version 2.0.874-5ubuntu6 to ubuntu/cosmic-proposed

Imported using git-ubuntu import.

Changelog parent: 18ba5da8cfcb6ac96b3bbae1796c53d76f4598bb

New changelog entries:
  * Ship finalrd logout hook.