saltstack-formulas / iscsi-formula

Manage iSCSI Target and Initiator via SaltStack (FreeBSD & GNU/Linux)
http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
8 stars 7 forks source link

fix(os): archlinux fixes #21

Closed noelmcloughlin closed 5 years ago

noelmcloughlin commented 5 years ago

Resolves #12 and #20

Tested on Archlinux after kernel upgrade, before reboot of host.

----------
          ID: iscsi_target_wanted_pkgs_python-pip
    Function: pkg.installed
        Name: python-pip
      Result: True
     Comment: The following packages were installed/updated: python-pip
     Started: 07:34:30.790276
    Duration: 29583.866 ms
     Changes:   
              ----------
              python-cachecontrol:
                  ----------
                  new:
                      0.12.5-4
                  old:
              python-chardet:
                  ----------
                  new:
                      3.0.4-2
                  old:
              python-colorama:
                  ----------
                  new:
                      0.4.1-1
                  old:
              python-distlib:
                  ----------
                  new:
                      0.2.9-1
                  old:
              python-distro:
                  ----------
                  new:
                      1.4.0-1
                  old:
              python-html5lib:
                  ----------
                  new:
                      1.0.1-3
                  old:
              python-idna:
                  ----------
                  new:
                      2.8-1
                  old:
              python-importlib-metadata:
                  ----------
                  new:
                      0.20-1
                  old:
              python-lockfile:
                  ----------
                  new:
                      0.12.2-4
                  old:
              python-more-itertools:
                  ----------
                  new:
                      4.3.0-2
                  old:
              python-msgpack:
                  ----------
                  new:
                      0.6.1-1
                  old:
              python-pep517:
                  ----------
                  new:
                      0.6.0-1
                  old:
              python-pip:
                  ----------
                  new:
                      19.0.3-1
                  old:
              python-progress:
                  ----------
                  new:
                      1.5-1
                  old:
              python-pytoml:
                  ----------
                  new:
                      0.1.21-1
                  old:
              python-requests:
                  ----------
                  new:
                      2.22.0-1
                  old:
              python-retrying:
                  ----------
                  new:
                      1.3.3-4
                  old:
              python-urllib3:
                  ----------
                  new:
                      1.25.3-1
                  old:
              python-webencodings:
                  ----------
                  new:
                      0.5.1-2
                  old:
              python-zipp:
                  ----------
                  new:
                      0.6.0-1
                  old:
----------
          ID: iscsi_target_wanted_pkgs_thin-provisioning-tools
    Function: pkg.installed
        Name: thin-provisioning-tools
      Result: True
     Comment: All specified packages are already installed
     Started: 07:35:00.759671
    Duration: 341.991 ms
     Changes:   
----------
          ID: iscsi_target_wanted_pkgs_linux-lts
    Function: pkg.installed
        Name: linux-lts
      Result: True
     Comment: The following packages were installed/updated: linux-lts
     Started: 07:35:01.101793
    Duration: 126143.486 ms
     Changes:   
              ----------
              linux-lts:
                  ----------
                  new:
                      4.19.72-1
                  old:
----------
          ID: iscsi_target_make_pkg_python-rtslib-fb
    Function: file.directory
        Name: /home/iscsimake
      Result: True
     Comment: Directory /home/iscsimake updated
     Started: 07:37:07.250809
    Duration: 5.13 ms
     Changes:   
              ----------
              mode:
                  0755
----------
          ID: iscsi_target_make_pkg_python-rtslib-fb
    Function: git.latest
        Name: https://aur.archlinux.org/python-rtslib-fb.git
      Result: True
     Comment: https://aur.archlinux.org/python-rtslib-fb.git cloned to /home/iscsimake/python-rtslib-fb
     Started: 07:37:07.261553
    Duration: 1484.34 ms
     Changes:   
              ----------
              new:
                  https://aur.archlinux.org/python-rtslib-fb.git => /home/iscsimake/python-rtslib-fb
              revision:
                  ----------
                  new:
                      cac2bbe92e5423d098f60bfb59922d8e9dcae0ff
                  old:
                      None
----------
          ID: iscsi_target_make_pkg_python-rtslib-fb
    Function: cmd.run
        Name: makepkg -si --noconfirm -f
      Result: True
     Comment: Command "makepkg -si --noconfirm -f" run
     Started: 07:37:08.747133
    Duration: 19667.211 ms
     Changes:   
              ----------
              pid:
                  18049
              retcode:
                  0
              stderr:
                  ==> Making package: python-rtslib-fb 2.1.fb69-2 (Thu Sep 12 07:37:08 2019)
                  ==> Checking runtime dependencies...
                  ==> Checking buildtime dependencies...
                  ==> Installing missing dependencies...

                  We trust you have received the usual lecture from the local System
                  Administrator. It usually boils down to these three things:

                      #1) Respect the privacy of others.
                      #2) Think before you type.
                      #3) With great power comes great responsibility.

                  ==> Retrieving sources...
                    -> Downloading v2.1.fb69.tar.gz...
                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                   Dload  Upload   Total   Spent    Left  Speed

                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:02 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
                  100   131    0   131    0     0     43      0 --:--:--  0:00:03 --:--:--    43

                    0     0    0     0    0     0      0      0 --:--:--  0:00:04 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:06 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:07 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:08 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:10 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0
                  100 16426    0 16426    0     0   1354      0 --:--:--  0:00:12 --:--:--  3680
                  100 45820    0 45820    0     0   3475      0 --:--:--  0:00:13 --:--:-- 10143
                  100 48131    0 48131    0     0   3650      0 --:--:--  0:00:13 --:--:-- 13685
                    -> Found target.service
                  ==> Validating source files with sha512sums...
                      v2.1.fb69.tar.gz ... Passed
                      target.service ... Passed
                  ==> Extracting sources...
                    -> Extracting v2.1.fb69.tar.gz with bsdtar
                  ==> Starting prepare()...
                  ==> Entering fakeroot environment...
                  ==> Starting package_python-rtslib-fb()...
                  ==> Tidying install...
                    -> Removing libtool files...
                    -> Purging unwanted files...
                    -> Removing static library files...
                    -> Stripping unneeded symbols from binaries and libraries...
                    -> Compressing man and info pages...
                  ==> Checking for packaging issues...
                  ==> Creating package "python-rtslib-fb"...
                    -> Generating .PKGINFO file...
                    -> Generating .BUILDINFO file...
                    -> Generating .MTREE file...
                    -> Compressing package...
                  ==> Leaving fakeroot environment.
                  ==> Finished making: python-rtslib-fb 2.1.fb69-2 (Thu Sep 12 07:37:28 2019)
                  ==> Installing python-rtslib-fb package group with pacman -U...
              stdout:
                  resolving dependencies...
                  looking for conflicting packages...

                  Packages (1) python-pyudev-0.21.0-6

                  Total Download Size:   0.50 MiB
                  Total Installed Size:  4.32 MiB

                  :: Proceed with installation? [Y/n] 
                  :: Retrieving packages...
                  downloading python-pyudev-0.21.0-6-any.pkg.tar.xz...
                  checking keyring...
                  checking package integrity...
                  loading package files...
                  checking for file conflicts...
                  checking available disk space...
                  :: Processing package changes...
                  installing python-pyudev...
                  Optional dependencies for python-pyudev
                      python-pyqt5: PyQt integration
                      pyside2: PySide integration
                      python-gobject2: Glib integration
                      python-wxpython: WX integration
                  :: Running post-transaction hooks...
                  (1/1) Arming ConditionNeedsUpdate...
                  running install
                  running build
                  running build_py
                  creating build
                  creating build/lib
                  creating build/lib/rtslib_fb
                  copying rtslib_fb/alua.py -> build/lib/rtslib_fb
                  copying rtslib_fb/utils.py -> build/lib/rtslib_fb
                  copying rtslib_fb/__init__.py -> build/lib/rtslib_fb
                  copying rtslib_fb/root.py -> build/lib/rtslib_fb
                  copying rtslib_fb/target.py -> build/lib/rtslib_fb
                  copying rtslib_fb/fabric.py -> build/lib/rtslib_fb
                  copying rtslib_fb/node.py -> build/lib/rtslib_fb
                  copying rtslib_fb/tcm.py -> build/lib/rtslib_fb
                  creating build/lib/rtslib
                  copying rtslib/alua.py -> build/lib/rtslib
                  copying rtslib/utils.py -> build/lib/rtslib
                  copying rtslib/__init__.py -> build/lib/rtslib
                  copying rtslib/root.py -> build/lib/rtslib
                  copying rtslib/target.py -> build/lib/rtslib
                  copying rtslib/fabric.py -> build/lib/rtslib
                  copying rtslib/node.py -> build/lib/rtslib
                  copying rtslib/tcm.py -> build/lib/rtslib
                  running build_scripts
                  creating build/scripts-3.7
                  copying and adjusting scripts/targetctl -> build/scripts-3.7
                  changing mode of build/scripts-3.7/targetctl from 644 to 755
                  running install_lib
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/alua.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/utils.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/__init__.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/root.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/target.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/fabric.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/node.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  copying build/lib/rtslib/tcm.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/alua.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/utils.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/__init__.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/root.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/target.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/fabric.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/node.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  copying build/lib/rtslib_fb/tcm.py -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/alua.py to alua.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/utils.py to utils.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/__init__.py to __init__.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/root.py to root.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/target.py to target.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/fabric.py to fabric.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/node.py to node.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib/tcm.py to tcm.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/alua.py to alua.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/utils.py to utils.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/__init__.py to __init__.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/root.py to root.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/target.py to target.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/fabric.py to fabric.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/node.py to node.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb/tcm.py to tcm.cpython-37.pyc
                  writing byte-compilation script '/tmp/tmpr0nebfqa.py'
                  /usr/bin/python /tmp/tmpr0nebfqa.py
                  removing /tmp/tmpr0nebfqa.py
                  running install_egg_info
                  running egg_info
                  creating rtslib_fb.egg-info
                  writing rtslib_fb.egg-info/PKG-INFO
                  writing dependency_links to rtslib_fb.egg-info/dependency_links.txt
                  writing requirements to rtslib_fb.egg-info/requires.txt
                  writing top-level names to rtslib_fb.egg-info/top_level.txt
                  writing manifest file 'rtslib_fb.egg-info/SOURCES.txt'
                  reading manifest file 'rtslib_fb.egg-info/SOURCES.txt'
                  writing manifest file 'rtslib_fb.egg-info/SOURCES.txt'
                  Copying rtslib_fb.egg-info to /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/lib/python3.7/site-packages/rtslib_fb-2.1.69-py3.7.egg-info
                  running install_scripts
                  creating /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/bin
                  copying build/scripts-3.7/targetctl -> /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/bin
                  changing mode of /home/iscsimake/python-rtslib-fb/pkg/python-rtslib-fb/usr/bin/targetctl to 755
                  loading packages...
                  resolving dependencies...
                  looking for conflicting packages...

                  Packages (1) python-rtslib-fb-2.1.fb69-2

                  Total Installed Size:  1.01 MiB

                  :: Proceed with installation? [Y/n] 
                  checking keyring...
                  checking package integrity...
                  loading package files...
                  checking for file conflicts...
                  checking available disk space...
                  :: Processing package changes...
                  installing python-rtslib-fb...
                  :: Running post-transaction hooks...
                  (1/2) Reloading system manager configuration...
                  (2/2) Arming ConditionNeedsUpdate...
----------
          ID: iscsi_target_make_pkg_python-configshell-fb
    Function: file.directory
        Name: /home/iscsimake
      Result: True
     Comment: The directory /home/iscsimake is in the correct state
     Started: 07:37:28.414569
    Duration: 0.657 ms
     Changes:   
----------
          ID: iscsi_target_make_pkg_python-configshell-fb
    Function: git.latest
        Name: https://aur.archlinux.org/python-configshell-fb.git
      Result: True
     Comment: https://aur.archlinux.org/python-configshell-fb.git cloned to /home/iscsimake/python-configshell-fb
     Started: 07:37:28.415886
    Duration: 9083.649 ms
     Changes:   
              ----------
              new:
                  https://aur.archlinux.org/python-configshell-fb.git => /home/iscsimake/python-configshell-fb
              revision:
                  ----------
                  new:
                      c375530d50d5ec142158d9adad12f0e4525b5166
                  old:
                      None
----------
          ID: iscsi_target_make_pkg_python-configshell-fb
    Function: cmd.run
        Name: makepkg -si --noconfirm -f
      Result: True
     Comment: Command "makepkg -si --noconfirm -f" run
     Started: 07:37:37.499788
    Duration: 15852.347 ms
     Changes:   
              ----------
              pid:
                  18961
              retcode:
                  0
              stderr:
                  ==> Making package: python-configshell-fb 1.1.fb25-1 (Thu Sep 12 07:37:37 2019)
                  ==> Checking runtime dependencies...
                  ==> Checking buildtime dependencies...
                  ==> Retrieving sources...
                    -> Downloading v1.1.fb25.tar.gz...
                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                   Dload  Upload   Total   Spent    Left  Speed

                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
                  100   136    0   136    0     0    114      0 --:--:--  0:00:01 --:--:--   114

                    0     0    0     0    0     0      0      0 --:--:--  0:00:01 --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:--  0:00:03 --:--:--     0
                  100 11900    0 11900    0     0   2886      0 --:--:--  0:00:04 --:--:--  5217
                  100 34550    0 34550    0     0   8333      0 --:--:--  0:00:04 --:--:-- 14989
                  ==> Validating source files with sha512sums...
                      v1.1.fb25.tar.gz ... Passed
                  ==> Extracting sources...
                    -> Extracting v1.1.fb25.tar.gz with bsdtar
                  ==> Entering fakeroot environment...
                  ==> Starting package_python-configshell-fb()...
                  ==> Tidying install...
                    -> Removing libtool files...
                    -> Purging unwanted files...
                    -> Removing static library files...
                    -> Stripping unneeded symbols from binaries and libraries...
                    -> Compressing man and info pages...
                  ==> Checking for packaging issues...
                  ==> Creating package "python-configshell-fb"...
                    -> Generating .PKGINFO file...
                    -> Generating .BUILDINFO file...
                    -> Generating .MTREE file...
                    -> Compressing package...
                  ==> Starting package_python2-configshell-fb()...
                  ==> Tidying install...
                    -> Removing libtool files...
                    -> Purging unwanted files...
                    -> Removing static library files...
                    -> Stripping unneeded symbols from binaries and libraries...
                    -> Compressing man and info pages...
                  ==> Checking for packaging issues...
                  ==> Creating package "python2-configshell-fb"...
                    -> Generating .PKGINFO file...
                    -> Generating .BUILDINFO file...
                    -> Generating .MTREE file...
                    -> Compressing package...
                  ==> Leaving fakeroot environment.
                  ==> Finished making: python-configshell-fb 1.1.fb25-1 (Thu Sep 12 07:37:43 2019)
                  ==> Installing python-configshell-fb package group with pacman -U...
              stdout:
                  running install
                  running build
                  running build_py
                  creating build
                  creating build/lib
                  creating build/lib/configshell
                  copying configshell/log.py -> build/lib/configshell
                  copying configshell/console.py -> build/lib/configshell
                  copying configshell/__init__.py -> build/lib/configshell
                  copying configshell/prefs.py -> build/lib/configshell
                  copying configshell/shell.py -> build/lib/configshell
                  copying configshell/node.py -> build/lib/configshell
                  creating build/lib/configshell_fb
                  copying configshell_fb/log.py -> build/lib/configshell_fb
                  copying configshell_fb/console.py -> build/lib/configshell_fb
                  copying configshell_fb/__init__.py -> build/lib/configshell_fb
                  copying configshell_fb/prefs.py -> build/lib/configshell_fb
                  copying configshell_fb/shell.py -> build/lib/configshell_fb
                  copying configshell_fb/node.py -> build/lib/configshell_fb
                  running install_lib
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/log.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/console.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/__init__.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/prefs.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/shell.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  copying build/lib/configshell/node.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell
                  creating /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/log.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/console.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/__init__.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/prefs.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/shell.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/node.py -> /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/log.py to log.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/console.py to console.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/__init__.py to __init__.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/prefs.py to prefs.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/shell.py to shell.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell/node.py to node.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/log.py to log.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/console.py to console.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/__init__.py to __init__.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/prefs.py to prefs.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/shell.py to shell.cpython-37.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb/node.py to node.cpython-37.pyc
                  writing byte-compilation script '/tmp/tmpvfepa8zw.py'
                  /usr/bin/python /tmp/tmpvfepa8zw.py
                  removing /tmp/tmpvfepa8zw.py
                  running install_egg_info
                  running egg_info
                  creating configshell_fb.egg-info
                  writing configshell_fb.egg-info/PKG-INFO
                  writing dependency_links to configshell_fb.egg-info/dependency_links.txt
                  writing requirements to configshell_fb.egg-info/requires.txt
                  writing top-level names to configshell_fb.egg-info/top_level.txt
                  writing manifest file 'configshell_fb.egg-info/SOURCES.txt'
                  reading manifest file 'configshell_fb.egg-info/SOURCES.txt'
                  writing manifest file 'configshell_fb.egg-info/SOURCES.txt'
                  Copying configshell_fb.egg-info to /home/iscsimake/python-configshell-fb/pkg/python-configshell-fb/usr/lib/python3.7/site-packages/configshell_fb-1.1.25-py3.7.egg-info
                  running install_scripts
                  running install
                  running build
                  running build_py
                  running install_lib
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/log.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/console.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/__init__.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/prefs.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/shell.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  copying build/lib/configshell/node.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell
                  creating /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/log.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/console.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/__init__.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/prefs.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/shell.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  copying build/lib/configshell_fb/node.py -> /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/log.py to log.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/console.py to console.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/__init__.py to __init__.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/prefs.py to prefs.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/shell.py to shell.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell/node.py to node.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/log.py to log.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/console.py to console.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/__init__.py to __init__.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/prefs.py to prefs.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/shell.py to shell.pyc
                  byte-compiling /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb/node.py to node.pyc
                  writing byte-compilation script '/tmp/tmpF3k6e0.py'
                  /usr/bin/python2 -O /tmp/tmpF3k6e0.py
                  removing /tmp/tmpF3k6e0.py
                  running install_egg_info
                  running egg_info
                  writing requirements to configshell_fb.egg-info/requires.txt
                  writing configshell_fb.egg-info/PKG-INFO
                  writing top-level names to configshell_fb.egg-info/top_level.txt
                  writing dependency_links to configshell_fb.egg-info/dependency_links.txt
                  reading manifest file 'configshell_fb.egg-info/SOURCES.txt'
                  writing manifest file 'configshell_fb.egg-info/SOURCES.txt'
                  Copying configshell_fb.egg-info to /home/iscsimake/python-configshell-fb/pkg/python2-configshell-fb/usr/lib/python2.7/site-packages/configshell_fb-1.1.25-py2.7.egg-info
                  running install_scripts
                  loading packages...
                  resolving dependencies...
                  looking for conflicting packages...

                  Packages (4) python-urwid-2.0.1-2  python2-urwid-2.0.1-2  python-configshell-fb-1.1.fb25-1  python2-configshell-fb-1.1.fb25-1

                  Total Download Size:   0.64 MiB
                  Total Installed Size:  6.19 MiB

                  :: Proceed with installation? [Y/n] 
                  :: Retrieving packages...
                  downloading python-urwid-2.0.1-2-x86_64.pkg.tar.xz...
                  downloading python2-urwid-2.0.1-2-x86_64.pkg.tar.xz...
                  checking keyring...
                  checking package integrity...
                  loading package files...
                  checking for file conflicts...
                  checking available disk space...
                  :: Processing package changes...
                  installing python-urwid...
                  installing python-configshell-fb...
                  installing python2-urwid...
                  installing python2-configshell-fb...
                  :: Running post-transaction hooks...
                  (1/1) Arming ConditionNeedsUpdate...
----------
          ID: iscsi_target_make_pkg_targetcli-fb
    Function: file.directory
        Name: /home/iscsimake
      Result: True
     Comment: The directory /home/iscsimake is in the correct state
     Started: 07:37:53.352356
    Duration: 0.696 ms
     Changes:   
----------
          ID: iscsi_target_make_pkg_targetcli-fb
    Function: git.latest
        Name: https://aur.archlinux.org/targetcli-fb.git
      Result: True
     Comment: https://aur.archlinux.org/targetcli-fb.git cloned to /home/iscsimake/targetcli-fb
     Started: 07:37:53.353743
    Duration: 1673.369 ms
     Changes:   
              ----------
              new:
                  https://aur.archlinux.org/targetcli-fb.git => /home/iscsimake/targetcli-fb
              revision:
                  ----------
                  new:
                      e0b77c40adf00ab92f5ce2d2a61f817766a8367d
                  old:
                      None
----------
          ID: iscsi_target_make_pkg_targetcli-fb
    Function: cmd.run
        Name: makepkg -si --noconfirm -f
      Result: True
     Comment: Command "makepkg -si --noconfirm -f" run
     Started: 07:37:55.027358
    Duration: 11772.115 ms
     Changes:   
              ----------
              pid:
                  20261
              retcode:
                  0
              stderr:
                  ==> Making package: targetcli-fb 2.1.fb49-1 (Thu Sep 12 07:37:55 2019)
                  ==> Checking runtime dependencies...
                  ==> Installing missing dependencies...
                  ==> Checking buildtime dependencies...
                  ==> Retrieving sources...
                    -> Downloading v2.1.fb49.tar.gz...
                    % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                                   Dload  Upload   Total   Spent    Left  Speed

                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                    0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
                  100   134    0   134    0     0    247      0 --:--:-- --:--:-- --:--:--   246

                  100 24652    0 24652    0     0  18775      0 --:--:--  0:00:01 --:--:-- 18775
                  100 34147    0 34147    0     0  25810      0 --:--:--  0:00:01 --:--:--  927k
                  ==> Validating source files with sha512sums...
                      v2.1.fb49.tar.gz ... Passed
                  ==> Extracting sources...
                    -> Extracting v2.1.fb49.tar.gz with bsdtar
                  ==> Starting build()...
                  /usr/lib/python3.7/site-packages/setuptools/dist.py:483: UserWarning: The version specified ('2.1.fb49') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
                    "details." % self.metadata.version
                  ==> Entering fakeroot environment...
                  ==> Starting package()...
                  /usr/lib/python3.7/site-packages/setuptools/dist.py:483: UserWarning: The version specified ('2.1.fb49') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for more details.
                    "details." % self.metadata.version
                  ==> Tidying install...
                    -> Removing libtool files...
                    -> Purging unwanted files...
                    -> Removing static library files...
                    -> Stripping unneeded symbols from binaries and libraries...
                    -> Compressing man and info pages...
                  ==> Checking for packaging issues...
                  ==> Creating package "targetcli-fb"...
                    -> Generating .PKGINFO file...
                    -> Generating .BUILDINFO file...
                    -> Generating .MTREE file...
                    -> Compressing package...
                  ==> Leaving fakeroot environment.
                  ==> Finished making: targetcli-fb 2.1.fb49-1 (Thu Sep 12 07:38:06 2019)
                  ==> Installing package targetcli-fb with pacman -U...
              stdout:
                  resolving dependencies...
                  looking for conflicting packages...

                  Packages (5) gobject-introspection-runtime-1.62.0-1  pygobject-devel-3.34.0-1  python-dbus-common-1.2.8-2  python-dbus-1.2.8-2  python-gobject-3.34.0-1

                  Total Download Size:    4.96 MiB
                  Total Installed Size:  10.62 MiB

                  :: Proceed with installation? [Y/n] 
                  :: Retrieving packages...
                  downloading python-dbus-common-1.2.8-2-x86_64.pkg.tar.xz...
                  downloading python-dbus-1.2.8-2-x86_64.pkg.tar.xz...
                  downloading gobject-introspection-runtime-1.62.0-1-x86_64.pkg.tar.xz...
                  downloading pygobject-devel-3.34.0-1-x86_64.pkg.tar.xz...
                  downloading python-gobject-3.34.0-1-x86_64.pkg.tar.xz...
                  checking keyring...
                  checking package integrity...
                  loading package files...
                  checking for file conflicts...
                  checking available disk space...
                  :: Processing package changes...
                  installing python-dbus-common...
                  installing python-dbus...
                  installing gobject-introspection-runtime...
                  installing pygobject-devel...
                  installing python-gobject...
                  Optional dependencies for python-gobject
                      cairo: Cairo bindings
                  :: Running post-transaction hooks...
                  (1/1) Arming ConditionNeedsUpdate...
                  running build
                  running build_py
                  creating build
                  creating build/lib
                  creating build/lib/targetcli
                  copying targetcli/ui_root.py -> build/lib/targetcli
                  copying targetcli/ui_node.py -> build/lib/targetcli
                  copying targetcli/__init__.py -> build/lib/targetcli
                  copying targetcli/version.py -> build/lib/targetcli
                  copying targetcli/ui_backstore.py -> build/lib/targetcli
                  copying targetcli/ui_target.py -> build/lib/targetcli
                  running build_scripts
                  creating build/scripts-3.7
                  copying and adjusting scripts/targetcli -> build/scripts-3.7
                  changing mode of build/scripts-3.7/targetcli from 644 to 755
                  running install
                  running install_lib
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/ui_root.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/ui_node.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/__init__.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/version.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/ui_backstore.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  copying build/lib/targetcli/ui_target.py -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/ui_root.py to ui_root.cpython-37.pyc
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/ui_node.py to ui_node.cpython-37.pyc
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/__init__.py to __init__.cpython-37.pyc
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/version.py to version.cpython-37.pyc
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/ui_backstore.py to ui_backstore.cpython-37.pyc
                  byte-compiling /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli/ui_target.py to ui_target.cpython-37.pyc
                  writing byte-compilation script '/tmp/tmpqwuydcpb.py'
                  /usr/bin/python /tmp/tmpqwuydcpb.py
                  removing /tmp/tmpqwuydcpb.py
                  running install_egg_info
                  running egg_info
                  creating targetcli_fb.egg-info
                  writing targetcli_fb.egg-info/PKG-INFO
                  writing dependency_links to targetcli_fb.egg-info/dependency_links.txt
                  writing top-level names to targetcli_fb.egg-info/top_level.txt
                  writing manifest file 'targetcli_fb.egg-info/SOURCES.txt'
                  reading manifest file 'targetcli_fb.egg-info/SOURCES.txt'
                  writing manifest file 'targetcli_fb.egg-info/SOURCES.txt'
                  Copying targetcli_fb.egg-info to /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/lib/python3.7/site-packages/targetcli_fb-2.1.fb49-py3.7.egg-info
                  running install_scripts
                  creating /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/bin
                  copying build/scripts-3.7/targetcli -> /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/bin
                  changing mode of /home/iscsimake/targetcli-fb/pkg/targetcli-fb/usr/bin/targetcli to 755
                  loading packages...
                  resolving dependencies...
                  looking for conflicting packages...

                  Packages (1) targetcli-fb-2.1.fb49-1

                  Total Installed Size:  0.34 MiB

                  :: Proceed with installation? [Y/n] 
                  checking keyring...
                  checking package integrity...
                  loading package files...
                  checking for file conflicts...
                  checking available disk space...
                  :: Processing package changes...
                  installing targetcli-fb...
                  Optional dependencies for targetcli-fb
                      python-ethtool
                  :: Running post-transaction hooks...
                  (1/1) Arming ConditionNeedsUpdate...
----------
          ID: iscsi_target_service_config
    Function: file.managed
        Name: /etc/target/saveconfig.json
      Result: True
     Comment: File /etc/target/saveconfig.json updated
     Started: 07:38:06.800978
    Duration: 35.87 ms
     Changes:   
              ----------
              diff:
                  New file
              mode:
                  0640
----------
          ID: iscsi_target_service_running
    Function: service.running
        Name: target
      Result: False
     Comment: Job for target.service failed because the control process exited with error code.
              See "systemctl status target.service" and "journalctl -xe" for details.
     Started: 07:38:08.056837
    Duration: 115.352 ms
     Changes:   
----------
          ID: iscsi_target_service_running_failure_explanation
    Function: test.show_notification
      Result: True
     Comment: In certain circumstances the iscsi target service will not start.
              One reason is your kernel version was upgraded but host not rebooted.
              If that's the case then run command:
                  'systemctl enable target' && reboot
     Started: 07:38:08.173040
    Duration: 6.527 ms
     Changes:   
----------
          ID: iscsi_initiator_wanted_pkgs_open-iscsi
    Function: pkg.installed
        Name: open-iscsi
      Result: True
     Comment: The following packages were installed/updated: open-iscsi
     Started: 07:38:08.179687
    Duration: 3751.375 ms
     Changes:   
              ----------
              gobject-introspection-runtime:
                  ----------
                  new:
                      1.62.0-1
                  old:
              open-iscsi:
                  ----------
                  new:
                      2.0.877-2
                  old:
              open-isns:
                  ----------
                  new:
                      0.99-1
                  old:
              pygobject-devel:
                  ----------
                  new:
                      3.34.0-1
                  old:
              python-configshell-fb:
                  ----------
                  new:
                      1.1.fb25-1
                  old:
              python-dbus:
                  ----------
                  new:
                      1.2.8-2
                  old:
              python-dbus-common:
                  ----------
                  new:
                      1.2.8-2
                  old:
              python-gobject:
                  ----------
                  new:
                      3.34.0-1
                  old:
              python-pyudev:
                  ----------
                  new:
                      0.21.0-6
                  old:
              python-rtslib-fb:
                  ----------
                  new:
                      2.1.fb69-2
                  old:
              python-urwid:
                  ----------
                  new:
                      2.0.1-2
                  old:
              python2-configshell-fb:
                  ----------
                  new:
                      1.1.fb25-1
                  old:
              python2-urwid:
                  ----------
                  new:
                      2.0.1-2
                  old:
              targetcli-fb:
                  ----------
                  new:
                      2.1.fb49-1
                  old:
----------
          ID: iscsi_initiator_service_config
    Function: file.managed
        Name: /etc/iscsi/iscsid.conf
      Result: True
     Comment: File /etc/iscsi/iscsid.conf updated
     Started: 07:38:11.936931
    Duration: 41.49 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,328 +1,25 @@
                  -#
                  -# Open-iSCSI default configuration.
                  -# Could be located at /etc/iscsi/iscsid.conf or ~/.iscsid.conf
                  -#
                  -# Note: To set any of these values for a specific node/session run
                  -# the iscsiadm --mode node --op command for the value. See the README
                  -# and man page for iscsiadm for details on the --op command.
                  -#

                  -######################
                  -# iscsid daemon config
                  -######################
                  -#
                  -# If you want iscsid to start the first time an iscsi tool
                  -# needs to access it, instead of starting it when the init
                  -# scripts run, set the iscsid startup command here. This
                  -# should normally only need to be done by distro package
                  -# maintainers. If you leave the iscsid daemon running all
                  -# the time then leave this attribute commented out.
                  -#
                  -# Default for Fedora and RHEL. (uncomment to activate).
                  -# iscsid.startup = /bin/systemctl start iscsid.socket iscsiuio.soccket
                  -# 
                  -# Default if you are not using systemd (uncomment to activate)
                  -# iscsid.startup = /usr/bin/service start iscsid
                  -
                  -# Check for active mounts on devices reachable through a session
                  -# and refuse to logout if there are any.  Defaults to "No".
                  -# iscsid.safe_logout = Yes
                  -
                  -#############################
                  -# NIC/HBA and driver settings
                  -#############################
                  -# open-iscsi can create a session and bind it to a NIC/HBA.
                  -# To set this up see the example iface config file.
                  -
                  -#*****************
                  -# Startup settings
                  -#*****************
                  -
                  -# To request that the iscsi initd scripts startup a session set to "automatic".
                  -# node.startup = automatic
                  -#
                  -# To manually startup the session set to "manual". The default is manual.
                  +discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
                  +node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
                  +node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
                  +node.conn[0].timeo.login_timeout = 15
                  +node.conn[0].timeo.logout_timeout = 15
                  +node.conn[0].timeo.noop_out_interval = 5
                  +node.conn[0].timeo.noop_out_timeout = 5
                  +node.leading_login = False
                  +node.session.cmds_max = 128
                  +node.session.err_timeo.abort_timeout = 15
                  +node.session.err_timeo.lu_reset_timeout = 30
                  +node.session.err_timeo.tgt_reset_timeout = 30
                  +node.session.initial_login_retry_max = 8
                  +node.session.iscsi.FastAbort = True
                  +node.session.iscsi.FirstBurstLength = 262144
                  +node.session.iscsi.ImmediateData = True
                  +node.session.iscsi.InitialR2T = False
                  +node.session.iscsi.MaxBurstLength = 16776192
                  +node.session.nr_sessions = 1
                  +node.session.queue_depth = 32
                  +node.session.scan = auto
                  +node.session.timeo.replacement_timeout = 120
                  +node.session.xmit_thread_priority = -20
                   node.startup = manual
                  -
                  -# For "automatic" startup nodes, setting this to "Yes" will try logins on each
                  -# available iface until one succeeds, and then stop.  The default "No" will try
                  -# logins on all available ifaces simultaneously.
                  -node.leading_login = No
                  -
                  -# *************
                  -# CHAP Settings
                  -# *************
                  -
                  -# To enable CHAP authentication set node.session.auth.authmethod
                  -# to CHAP. The default is None.
                  -#node.session.auth.authmethod = CHAP
                  -
                  -# To set a CHAP username and password for initiator
                  -# authentication by the target(s), uncomment the following lines:
                  -#node.session.auth.username = username
                  -#node.session.auth.password = password
                  -
                  -# To set a CHAP username and password for target(s)
                  -# authentication by the initiator, uncomment the following lines:
                  -#node.session.auth.username_in = username_in
                  -#node.session.auth.password_in = password_in
                  -
                  -# To enable CHAP authentication for a discovery session to the target
                  -# set discovery.sendtargets.auth.authmethod to CHAP. The default is None.
                  -#discovery.sendtargets.auth.authmethod = CHAP
                  -
                  -# To set a discovery session CHAP username and password for the initiator
                  -# authentication by the target(s), uncomment the following lines:
                  -#discovery.sendtargets.auth.username = username
                  -#discovery.sendtargets.auth.password = password
                  -
                  -# To set a discovery session CHAP username and password for target(s)
                  -# authentication by the initiator, uncomment the following lines:
                  -#discovery.sendtargets.auth.username_in = username_in
                  -#discovery.sendtargets.auth.password_in = password_in
                  -
                  -# ********
                  -# Timeouts
                  -# ********
                  -#
                  -# See the iSCSI README's Advanced Configuration section for tips
                  -# on setting timeouts when using multipath or doing root over iSCSI.
                  -#
                  -# To specify the length of time to wait for session re-establishment
                  -# before failing SCSI commands back to the application when running
                  -# the Linux SCSI Layer error handler, edit the line.
                  -# The value is in seconds and the default is 120 seconds.
                  -# Special values:
                  -# - If the value is 0, IO will be failed immediately.
                  -# - If the value is less than 0, IO will remain queued until the session
                  -# is logged back in, or until the user runs the logout command.
                  -node.session.timeo.replacement_timeout = 120
                  -
                  -# To specify the time to wait for login to complete, edit the line.
                  -# The value is in seconds and the default is 15 seconds.
                  -node.conn[0].timeo.login_timeout = 15
                  -
                  -# To specify the time to wait for logout to complete, edit the line.
                  -# The value is in seconds and the default is 15 seconds.
                  -node.conn[0].timeo.logout_timeout = 15
                  -
                  -# Time interval to wait for on connection before sending a ping.
                  -node.conn[0].timeo.noop_out_interval = 5
                  -
                  -# To specify the time to wait for a Nop-out response before failing
                  -# the connection, edit this line. Failing the connection will
                  -# cause IO to be failed back to the SCSI layer. If using dm-multipath
                  -# this will cause the IO to be failed to the multipath layer.
                  -node.conn[0].timeo.noop_out_timeout = 5
                  -
                  -# To specify the time to wait for abort response before
                  -# failing the operation and trying a logical unit reset edit the line.
                  -# The value is in seconds and the default is 15 seconds.
                  -node.session.err_timeo.abort_timeout = 15
                  -
                  -# To specify the time to wait for a logical unit response
                  -# before failing the operation and trying session re-establishment
                  -# edit the line.
                  -# The value is in seconds and the default is 30 seconds.
                  -node.session.err_timeo.lu_reset_timeout = 30
                  -
                  -# To specify the time to wait for a target response
                  -# before failing the operation and trying session re-establishment
                  -# edit the line.
                  -# The value is in seconds and the default is 30 seconds.
                  -node.session.err_timeo.tgt_reset_timeout = 30
                  -
                  -
                  -#******
                  -# Retry
                  -#******
                  -
                  -# To specify the number of times iscsid should retry a login
                  -# if the login attempt fails due to the node.conn[0].timeo.login_timeout
                  -# expiring modify the following line. Note that if the login fails
                  -# quickly (before node.conn[0].timeo.login_timeout fires) because the network
                  -# layer or the target returns an error, iscsid may retry the login more than
                  -# node.session.initial_login_retry_max times.
                  -#
                  -# This retry count along with node.conn[0].timeo.login_timeout
                  -# determines the maximum amount of time iscsid will try to
                  -# establish the initial login. node.session.initial_login_retry_max is
                  -# multiplied by the node.conn[0].timeo.login_timeout to determine the
                  -# maximum amount.
                  -#
                  -# The default node.session.initial_login_retry_max is 8 and
                  -# node.conn[0].timeo.login_timeout is 15 so we have:
                  -#
                  -# node.conn[0].timeo.login_timeout * node.session.initial_login_retry_max =
                  -#                                120 seconds
                  -#
                  -# Valid values are any integer value. This only
                  -# affects the initial login. Setting it to a high value can slow
                  -# down the iscsi service startup. Setting it to a low value can
                  -# cause a session to not get logged into, if there are distuptions
                  -# during startup or if the network is not ready at that time.
                  -node.session.initial_login_retry_max = 8
                  -
                  -################################
                  -# session and device queue depth
                  -################################
                  -
                  -# To control how many commands the session will queue set
                  -# node.session.cmds_max to an integer between 2 and 2048 that is also
                  -# a power of 2. The default is 128.
                  -node.session.cmds_max = 128
                  -
                  -# To control the device's queue depth set node.session.queue_depth
                  -# to a value between 1 and 1024. The default is 32.
                  -node.session.queue_depth = 32
                  -
                  -##################################
                  -# MISC SYSTEM PERFORMANCE SETTINGS
                  -##################################
                  -
                  -# For software iscsi (iscsi_tcp) and iser (ib_iser) each session
                  -# has a thread used to transmit or queue data to the hardware. For
                  -# cxgb3i you will get a thread per host.
                  -#
                  -# Setting the thread's priority to a lower value can lead to higher throughput
                  -# and lower latencies. The lowest value is -20. Setting the priority to
                  -# a higher value, can lead to reduced IO performance, but if you are seeing
                  -# the iscsi or scsi threads dominate the use of the CPU then you may want
                  -# to set this value higher.
                  -#
                  -# Note: For cxgb3i you must set all sessions to the same value, or the
                  -# behavior is not defined.
                  -#
                  -# The default value is -20. The setting must be between -20 and 20.
                  -node.session.xmit_thread_priority = -20
                  -
                  -
                  -#***************
                  -# iSCSI settings
                  -#***************
                  -
                  -# To enable R2T flow control (i.e., the initiator must wait for an R2T
                  -# command before sending any data), uncomment the following line:
                  -#
                  -#node.session.iscsi.InitialR2T = Yes
                  -#
                  -# To disable R2T flow control (i.e., the initiator has an implied
                  -# initial R2T of "FirstBurstLength" at offset 0), uncomment the following line:
                  -#
                  -# The defaults is No.
                  -node.session.iscsi.InitialR2T = No
                  -
                  -#
                  -# To disable immediate data (i.e., the initiator does not send
                  -# unsolicited data with the iSCSI command PDU), uncomment the following line:
                  -#
                  -#node.session.iscsi.ImmediateData = No
                  -#
                  -# To enable immediate data (i.e., the initiator sends unsolicited data
                  -# with the iSCSI command packet), uncomment the following line:
                  -#
                  -# The default is Yes
                  -node.session.iscsi.ImmediateData = Yes
                  -
                  -# To specify the maximum number of unsolicited data bytes the initiator
                  -# can send in an iSCSI PDU to a target, edit the following line.
                  -#
                  -# The value is the number of bytes in the range of 512 to (2^24-1) and
                  -# the default is 262144
                  -node.session.iscsi.FirstBurstLength = 262144
                  -
                  -# To specify the maximum SCSI payload that the initiator will negotiate
                  -# with the target for, edit the following line.
                  -#
                  -# The value is the number of bytes in the range of 512 to (2^24-1) and
                  -# the defauls it 16776192
                  -node.session.iscsi.MaxBurstLength = 16776192
                  -
                  -# To specify the maximum number of data bytes the initiator can receive
                  -# in an iSCSI PDU from a target, edit the following line.
                  -#
                  -# The value is the number of bytes in the range of 512 to (2^24-1) and
                  -# the default is 262144
                  -node.conn[0].iscsi.MaxRecvDataSegmentLength = 262144
                  -
                  -# To specify the maximum number of data bytes the initiator will send
                  -# in an iSCSI PDU to the target, edit the following line.
                  -#
                  -# The value is the number of bytes in the range of 512 to (2^24-1).
                  -# Zero is a special case. If set to zero, the initiator will use
                  -# the target's MaxRecvDataSegmentLength for the MaxXmitDataSegmentLength.
                  -# The default is 0.
                  -node.conn[0].iscsi.MaxXmitDataSegmentLength = 0
                  -
                  -# To specify the maximum number of data bytes the initiator can receive
                  -# in an iSCSI PDU from a target during a discovery session, edit the
                  -# following line.
                  -#
                  -# The value is the number of bytes in the range of 512 to (2^24-1) and
                  -# the default is 32768
                  -# 
                  -discovery.sendtargets.iscsi.MaxRecvDataSegmentLength = 32768
                  -
                  -# To allow the targets to control the setting of the digest checking,
                  -# with the initiator requesting a preference of enabling the checking, uncomment# one or both of the following lines:
                  -#node.conn[0].iscsi.HeaderDigest = CRC32C,None
                  -#node.conn[0].iscsi.DataDigest = CRC32C,None
                  -#
                  -# To allow the targets to control the setting of the digest checking,
                  -# with the initiator requesting a preference of disabling the checking,
                  -# uncomment one or both of the following lines:
                  -#node.conn[0].iscsi.HeaderDigest = None,CRC32C
                  -#node.conn[0].iscsi.DataDigest = None,CRC32C
                  -#
                  -# To enable CRC32C digest checking for the header and/or data part of
                  -# iSCSI PDUs, uncomment one or both of the following lines:
                  -#node.conn[0].iscsi.HeaderDigest = CRC32C
                  -#node.conn[0].iscsi.DataDigest = CRC32C
                  -#
                  -# To disable digest checking for the header and/or data part of
                  -# iSCSI PDUs, uncomment one or both of the following lines:
                  -#node.conn[0].iscsi.HeaderDigest = None
                  -#node.conn[0].iscsi.DataDigest = None
                  -#
                  -# The default is to never use DataDigests or HeaderDigests.
                  -#
                  -
                  -# For multipath configurations, you may want more than one session to be
                  -# created on each iface record.  If node.session.nr_sessions is greater
                  -# than 1, performing a 'login' for that node will ensure that the
                  -# appropriate number of sessions is created.
                  -node.session.nr_sessions = 1
                  -
                  -# When iscsid starts up it recovers existing sessions, if possible.
                  -# If the target for a session has gone away when this occurs, the
                  -# iscsid daemon normally tries to reestablish each session,
                  -# in succession, in the background, by trying again every two
                  -# seconds, until all sessions are restored. This configuration
                  -# variable can limits the number of retries for each session.
                  -# For example, setting reopen_max=150 would mean that each session
                  -# recovery was limited to about five minutes.
                  -# 
                  -node.session.reopen_max = 0
                  -
                  -#************
                  -# Workarounds
                  -#************
                  -
                  -# Some targets like IET prefer after an initiator has sent a task
                  -# management function like an ABORT TASK or LOGICAL UNIT RESET, that
                  -# it does not respond to PDUs like R2Ts. To enable this behavior uncomment
                  -# the following line (The default behavior is Yes):
                  -node.session.iscsi.FastAbort = Yes
                  -
                  -# Some targets like Equalogic prefer that after an initiator has sent
                  -# a task management function like an ABORT TASK or LOGICAL UNIT RESET, that
                  -# it continue to respond to R2Ts. To enable this uncomment this line
                  -# node.session.iscsi.FastAbort = No
                  -
                  -# To prevent doing automatic scans that would add unwanted luns to the system
                  -# we can disable them and have sessions only do manually requested scans.
                  -# Automatic scans are performed on startup, on login, and on AEN/AER reception
                  -# on devices supporting it.  For HW drivers all sessions will use the value
                  -# defined in the configuration file.  This configuration option is independent
                  -# of scsi_mod scan parameter. (The default behavior is auto):
                  -node.session.scan = auto
              mode:
                  0640
----------
          ID: iscsi_initiator_service
    Function: file.line
        Name: None
      Result: True
     Comment: onlyif condition is false
     Started: 07:38:11.978542
    Duration: 1079.871 ms
     Changes:   
----------
          ID: iscsi_initiator_service
    Function: service.running
        Name: iscsi
      Result: True
     Comment: Service iscsi has been enabled, and is running
     Started: 07:38:13.059325
    Duration: 248.197 ms
     Changes:   
              ----------
              iscsi:
                  True
----------
          ID: iscsi_initiator_service
    Function: service.running
        Name: iscsid
      Result: False
     Comment: Job for iscsid.service failed because the control process exited with error code.
              See "systemctl status iscsid.service" and "journalctl -xe" for details.
     Started: 07:38:13.387102
    Duration: 71.163 ms
     Changes:   
----------
          ID: iscsi_initiator_service_running_failure_explanation
    Function: test.show_notification
      Result: True
     Comment: In certain circumstances the iscsi initiator service will not start.
              One reason is your kernel version was upgraded and reboot is needed.
              If that's the case then run command:
                  'systemctl enable [u'iscsi', u'iscsid']' && reboot
     Started: 07:38:13.459159
    Duration: 6.851 ms
     Changes:   
----------
          ID: iscsi_isnsd_install_open-isns_pkg
    Function: pkg.installed
        Name: open-isns
      Result: True
     Comment: All specified packages are already installed
     Started: 07:38:13.466135
    Duration: 25.956 ms
     Changes:   
----------
          ID: iscsi_isnsd_service_config
    Function: file.managed
        Name: /etc/isns/isnsd.conf
      Result: True
     Comment: File /etc/isns/isnsd.conf updated
     Started: 07:38:13.492630
    Duration: 120.79 ms
     Changes:   
              ----------
              diff:
                  --- 
                  +++ 
                  @@ -1,129 +1,13 @@
                  -#
                  -# Sample iSNS Server configuration file
                  -#

                  -# The source name. This is an iSCSI qualified name,
                  -# and identifies the client uniquely.
                  -#
                  -# If left empty, the source name is derived from
                  -# the client's hostname.
                  -#
                  -#SourceName  = iqn.2006-01.com.example.host1
                  -
                  -# Where to store the database.
                  -# If you leave this empty, isnsd will keep its
                  -# database in memory.
                  -# Setting this to an absolute path name will
                  -# make isnsd keep its database in a directory
                  -# hierarchy below that directory.
                  -Database = /var/lib/isns
                  -
                  -# The iSNS server can purge registered entities
                  -# after a certain period of inactivity. This is
                  -# called the registration period.
                  -# Clients who register objects are supposed to
                  -# refresh their registration within this period.
                  -#
                  -# The default value is 0, which disables this
                  -# feature.
                  -RegistrationPeriod   = 10m
                  -
                  -# iSNS scopes visibility of other nodes using so-called
                  -# Discovery Domains. A storage node A will only "see"
                  -# storage node B, if both are members of the same
                  -# discovery domain.
                  -#
                  -# So if a storage node is registered which is not part of
                  -# any discovery domain, it will not see any other nodes.
                  -#
                  -# By setting DefaultDiscoveryDomain=1, you can tell isnsd to
                  -# create a virtual "default discovery domain", which 
                  -# holds all nodes that are not part of any administratively
                  -# configured discovery domain.
                  -DefaultDiscoveryDomain   = 1
                  -
                  -# Make the iSNS server register itself with SLP.
                  -# Clients will be able to discover the server by
                  -# querying for service type "iscsi:sms", and a query
                  -# of "(protocols=isns)"
                  -SLPRegister      = 1
                  -
                  -# Authentication enable/disable.
                  -# When set to 1, the client will sign
                  -# all messages, and expect all server messages
                  -# to be signed.
                  -#
                  -# Authentication requires a valid private DSA
                  -# key in AuthKeyFile, and the server's DSA public
                  -# key in ServerKeyFile.
                  -#
                  -# The default is to use authentication if the
                  -# requires keys are installed, and use unauthenticated
                  -# iSNS otherwise.
                  -#Security    = 1
                  -
                  -# Location of the client's private key.
                  -# The file must contain a PEM encoded DSA key.
                  -# The default is /etc/isns/auth_key
                  -#AuthKeyFile = /etc/isns/auth_key
                  -
                  -# Location of the servers's public key.
                  -# The file must contain a PEM encoded DSA key.
                  -# The default is /etc/isns/server_key.pub
                  -#ServerKeyFile   = /etc/isns/server_key.pub
                  -
                  -# This describes where the iSNS server stores
                  -# authentication keys and policy information.
                  -# Two options are currently supported: a
                  -# simple key store (flat directory with public
                  -# keys in PEM encoded files), and the iSNS
                  -# database itself
                  -#ClientKeyStore  = /etc/isns/keystores
                  -ClientKeyStore   = DB:
                  -
                  -# When transmitting State Change Notification,
                  -# we expect the client to ack them. If the
                  -# ACK doesn't arrive in due time, we retransmit
                  -# for a limited number of attempts, cycling
                  -# through the available portals.
                  -SCNTimeout   = 60
                  -SCNRetries   = 3
                  -
                  -# Configuration of ESI.
                  -# Defaults are
                  -#  ESIMaxInterval = 1h
                  -#  ESIMinInterval = 60s
                  -#  ESIRetries     = 3
                  -# Setting ESIRetries to 0 disables ESI support, and makes
                  -# the server reject any portal registrations that specify
                  -# an ESI portal.
                  -ESIMinInterval   = 1m
                  -ESIMaxInterval   = 2m
                  -ESIRetries   = 3
                  -
                  -# In order to prevent replay attacks, the
                  -# authentication blocks carried by iSNS
                  -# include a time stamp. The following two
                  -# parameters control how we verify the
                  -# time stamp
                   Auth.ReplayWindow = 2m
                   Auth.TimeStampJitter = 1s
                  -
                  -# Maximum number of incoming connections
                  -# accepted.
                  -# Network.MaxSockets = 1024
                  -
                  -# Time to wait for a TCP connection to be
                  -# established.
                  -# (Client only)
                  -# Network.ConnectTimeout = 60
                  -
                  -# When a connection attempt failed, we wait
                  -# before we try connecting again.
                  -# (Client only)
                  -# Network.ReonnectTimeout = 10
                  -
                  -# Total amount of time to wait before timing
                  -# out a call to the iSNS server.
                  -# (Client only)
                  -# Network.CallTimeout = 60
                  +ClientKeyStore = DB:
                  +Database = /var/lib/isns
                  +DefaultDiscoveryDomain = 1
                  +ESIMaxInterval = 2m
                  +ESIMinInterval = 1m
                  +ESIRetries = 3
                  +RegistrationPeriod = 10m
                  +SCNRetries = 3
                  +SCNTimeout = 60
                  +SLPRegister = 1
              mode:
                  0640
----------
          ID: iscsi_isnsd_service
    Function: service.running
        Name: isnsd
      Result: True
     Comment: Service isnsd has been enabled, and is running
     Started: 07:38:14.168534
    Duration: 224.605 ms
     Changes:   
              ----------
              isnsd:
                  True

Summary for local
-------------
Succeeded: 22 (changed=20)
Failed:     2
saltstack-formulas-travis commented 4 years ago

:tada: This PR is included in version 1.0.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: