Right after the upgrade I had the same running LIO setup:

https://pastebin.ubuntu.com/p/VXb6JS98fy/

/> exit
Global pref auto_save_on_exit=true
Last 10 configs saved in /etc/rtslib-fb-target/backup/.
Configuration saved to /etc/rtslib-fb-target/saveconfig.json

After a reboot...

My LIO configuration was empty... I could only get back after doing:

/> restoreconfig 
Configuration restored from /etc/rtslib-fb-target/saveconfig.json

Problem here is that targetcli-fb has, by default the following option:

/> set global auto_save_on_exit=false

and if the user does not restore previous config and exit targetcli, it
will save the empty configuration.

Only way to restore the previous configuration (the working one) would
be:

/> restoreconfig /etc/rtslib-fb-target/backup/saveconfig-20200908-19:34:15-json 
Configuration restored from 
/etc/rtslib-fb-target/backup/saveconfig-20200908-19:34:15-json

and then I have my configuration back.

So this bug is about having "targetcli-fb" to load by default its
default settings. Something like a service running "sudo targetcli
restoreconfig", for example. Let me check Groovy's default behavior on
this...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1880443

Title:
  targetcli fails iscsi setup after upgrade from 18.04 to 20.04

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to