[Bug 2052679] [NEW] modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n

Utkarsh Gupta 2052679 at bugs.launchpad.net
Thu Feb 8 07:11:43 UTC 2024


Public bug reported:

The upgrade has aborted. Your system could be in an unusable state. A 
recovery will run now (dpkg --configure -a). 

Setting up python3-rtslib-fb (2.1.74-0ubuntu4) ...
Job for rtslib-fb-targetctl.service failed because the control process exited with error code.
See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xeu rtslib-fb-targetctl.service" for details.
invoke-rc.d: initscript rtslib-fb-targetctl, action "restart" failed.
× rtslib-fb-targetctl.service - Restore LIO kernel target configuration
     Loaded: loaded (/lib/systemd/system/rtslib-fb-targetctl.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Thu 2024-02-08 12:39:52 IST; 6ms ago
    Process: 330938 ExecStart=mkdir -p /etc/rtslib-fb-target (code=exited, status=0/SUCCESS)
    Process: 330939 ExecStart=/usr/bin/targetctl restore (code=exited, status=1/FAILURE)
   Main PID: 330939 (code=exited, status=1/FAILURE)

Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/bin/targetctl", line 47, in restore
Feb 08 12:39:52 utkarsh2102 target[330939]:     errors = RTSRoot().restore_from_file(restore_file=from_file)
Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 85, in __init__
Feb 08 12:39:52 utkarsh2102 target[330939]:     modprobe('target_core_mod')
Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/lib/python3/dist-packages/rtslib_fb/utils.py", line 428, in modprobe
Feb 08 12:39:52 utkarsh2102 target[330939]:     raise RTSLibError(stderrdata)
Feb 08 12:39:52 utkarsh2102 target[330939]: rtslib_fb.utils.RTSLibError: b"modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n"
Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Main process exited, code=exited, status=1/FAILURE
Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Failed with result 'exit-code'.
Feb 08 12:39:52 utkarsh2102 systemd[1]: Failed to start Restore LIO kernel target configuration.
invoke-rc.d: release upgrade in progress, error is not fatal

** Affects: python-rtslib-fb (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Package breaks when upgrading from Focal to Jammy
+ modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-rtslib-fb in Ubuntu.
https://bugs.launchpad.net/bugs/2052679

Title:
  modprobe: ERROR: could not insert 'target_core_mod': Invalid
  argument\n

Status in python-rtslib-fb package in Ubuntu:
  New

Bug description:
  The upgrade has aborted. Your system could be in an unusable state. A 
  recovery will run now (dpkg --configure -a). 

  Setting up python3-rtslib-fb (2.1.74-0ubuntu4) ...
  Job for rtslib-fb-targetctl.service failed because the control process exited with error code.
  See "systemctl status rtslib-fb-targetctl.service" and "journalctl -xeu rtslib-fb-targetctl.service" for details.
  invoke-rc.d: initscript rtslib-fb-targetctl, action "restart" failed.
  × rtslib-fb-targetctl.service - Restore LIO kernel target configuration
       Loaded: loaded (/lib/systemd/system/rtslib-fb-targetctl.service; disabled; vendor preset: enabled)
       Active: failed (Result: exit-code) since Thu 2024-02-08 12:39:52 IST; 6ms ago
      Process: 330938 ExecStart=mkdir -p /etc/rtslib-fb-target (code=exited, status=0/SUCCESS)
      Process: 330939 ExecStart=/usr/bin/targetctl restore (code=exited, status=1/FAILURE)
     Main PID: 330939 (code=exited, status=1/FAILURE)

  Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/bin/targetctl", line 47, in restore
  Feb 08 12:39:52 utkarsh2102 target[330939]:     errors = RTSRoot().restore_from_file(restore_file=from_file)
  Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/lib/python3/dist-packages/rtslib_fb/root.py", line 85, in __init__
  Feb 08 12:39:52 utkarsh2102 target[330939]:     modprobe('target_core_mod')
  Feb 08 12:39:52 utkarsh2102 target[330939]:   File "/usr/lib/python3/dist-packages/rtslib_fb/utils.py", line 428, in modprobe
  Feb 08 12:39:52 utkarsh2102 target[330939]:     raise RTSLibError(stderrdata)
  Feb 08 12:39:52 utkarsh2102 target[330939]: rtslib_fb.utils.RTSLibError: b"modprobe: ERROR: could not insert 'target_core_mod': Invalid argument\n"
  Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Main process exited, code=exited, status=1/FAILURE
  Feb 08 12:39:52 utkarsh2102 systemd[1]: rtslib-fb-targetctl.service: Failed with result 'exit-code'.
  Feb 08 12:39:52 utkarsh2102 systemd[1]: Failed to start Restore LIO kernel target configuration.
  invoke-rc.d: release upgrade in progress, error is not fatal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-rtslib-fb/+bug/2052679/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list