http://bugzilla.suse.com/show_bug.cgi?id=1093639
http://bugzilla.suse.com/show_bug.cgi?id=1093639#c1
--- Comment #1 from Holger Schranz
From where I can get the lost configuration - it says it is recoverable.
Here is the .json file from where I try to recover: saveconfig-20180520-10:43:38.json { "fabric_modules": [], "storage_objects": [ { "alua_tpgs": [ { "alua_access_state": 0, "alua_access_status": 0, "alua_access_type": 3, "alua_support_active_nonoptimized": 1, "alua_support_active_optimized": 1, "alua_support_offline": 1, "alua_support_standby": 1, "alua_support_transitioning": 1, "alua_support_unavailable": 1, "alua_write_metadata": 0, "implicit_trans_secs": 0, "name": "default_tg_pt_gp", "nonop_delay_msecs": 100, "preferred": 0, "tg_pt_gp_id": 0, "trans_delay_msecs": 0 } ], "attributes": { "cmd_time_out": 30, "dev_config": "qcow//home/tf1.img", "dev_size": 1073741824, "emulate_write_cache": 0 }, "config": "qcow//home/tf1.img", "hw_max_sectors": 128, "name": "tcmtest", "plugin": "user", "size": 1073741824, "wwn": "3c77f03f-a79e-4839-88d4-716d4c764ec7" } ], "targets": [ { "fabric": "iscsi", "tpgs": [ { "attributes": { "authentication": 0, "cache_dynamic_acls": 0, "default_cmdsn_depth": 64, "default_erl": 0, "demo_mode_discovery": 1, "demo_mode_write_protect": 1, "fabric_prot_type": 0, "generate_node_acls": 0, "login_keys_workaround": 1, "login_timeout": 15, "netif_timeout": 2, "prod_mode_write_protect": 0, "t10_pi": 0, "tpg_enabled_sendtargets": 1 }, "enable": true, "luns": [ { "alias": "b25cf380cd", "alua_tg_pt_gp_name": "default_tg_pt_gp", "index": 0, "storage_object": "/backstores/user/tcmtest" } ], "node_acls": [ { "attributes": { "dataout_timeout": 3, "dataout_timeout_retries": 5, "default_erl": 0, "nopin_response_timeout": 30, "nopin_timeout": 15, "random_datain_pdu_offsets": 0, "random_datain_seq_offsets": 0, "random_r2t_offsets": 0 }, "mapped_luns": [ { "alias": "d8bbc3799b", "index": 0, "tpg_lun": 0, "write_protect": false } ], "node_wwn": "iqn.1996-04.de.suse:01:c94c1ee1f242" } ], "parameters": { "AuthMethod": "CHAP,None", "DataDigest": "CRC32C,None", "DataPDUInOrder": "Yes", "DataSequenceInOrder": "Yes", "DefaultTime2Retain": "20", "DefaultTime2Wait": "2", "ErrorRecoveryLevel": "0", "FirstBurstLength": "65536", "HeaderDigest": "CRC32C,None", "IFMarkInt": "Reject", "IFMarker": "No", "ImmediateData": "Yes", "InitialR2T": "Yes", "MaxBurstLength": "262144", "MaxConnections": "1", "MaxOutstandingR2T": "1", "MaxRecvDataSegmentLength": "8192", "MaxXmitDataSegmentLength": "262144", "OFMarkInt": "Reject", "OFMarker": "No", "TargetAlias": "LIO Target" }, "portals": [ { "ip_address": "192.168.178.35", "iser": false, "offload": false, "port": 3260 }, { "ip_address": "192.168.178.45", "iser": false, "offload": false, "port": 3260 } ], "tag": 1 } ], "wwn": "iqn.2003-01.org.linux-iscsi.leap150.x8664:sn.f21ea062ec7a" } ] } leap150:/etc/target/backup # ============================================================================== When the targetcli is closed the information is lost: actual saveconfig.json file: { "fabric_modules": [], "storage_objects": [ { "alua_tpgs": [ { "alua_access_state": 0, "alua_access_status": 0, "alua_access_type": 3, "alua_support_active_nonoptimized": 1, "alua_support_active_optimized": 1, "alua_support_offline": 1, "alua_support_standby": 1, "alua_support_transitioning": 1, "alua_support_unavailable": 1, "alua_write_metadata": 0, "implicit_trans_secs": 0, "name": "default_tg_pt_gp", "nonop_delay_msecs": 100, "preferred": 0, "tg_pt_gp_id": 0, "trans_delay_msecs": 0 } ], "attributes": { "cmd_time_out": 30, "dev_config": "qcow//home/tf1.img", "dev_size": 1073741824, "emulate_write_cache": 0 }, "config": "qcow//home/tf1.img", "hw_max_sectors": 128, "name": "tcmtest", "plugin": "user", "size": 1073741824, "wwn": "3c77f03f-a79e-4839-88d4-716d4c764ec7" } ], "targets": [ { "fabric": "iscsi", "tpgs": [ { "attributes": { "authentication": 0, "cache_dynamic_acls": 0, "default_cmdsn_depth": 64, "default_erl": 0, "demo_mode_discovery": 1, "demo_mode_write_protect": 1, "fabric_prot_type": 0, "generate_node_acls": 0, "login_keys_workaround": 1, "login_timeout": 15, "netif_timeout": 2, "prod_mode_write_protect": 0, "t10_pi": 0, "tpg_enabled_sendtargets": 1 }, "enable": true, "luns": [ { "alias": "b25cf380cd", "alua_tg_pt_gp_name": "default_tg_pt_gp", "index": 0, "storage_object": "/backstores/user/tcmtest" } ], "node_acls": [ { "attributes": { "dataout_timeout": 3, "dataout_timeout_retries": 5, "default_erl": 0, "nopin_response_timeout": 30, "nopin_timeout": 15, "random_datain_pdu_offsets": 0, "random_datain_seq_offsets": 0, "random_r2t_offsets": 0 }, "mapped_luns": [ { "alias": "d8bbc3799b", "index": 0, "tpg_lun": 0, "write_protect": false } ], "node_wwn": "iqn.1996-04.de.suse:01:c94c1ee1f242" } ], "parameters": { "AuthMethod": "CHAP,None", "DataDigest": "CRC32C,None", "DataPDUInOrder": "Yes", "DataSequenceInOrder": "Yes", "DefaultTime2Retain": "20", "DefaultTime2Wait": "2", "ErrorRecoveryLevel": "0", "FirstBurstLength": "65536", "HeaderDigest": "CRC32C,None", "IFMarkInt": "Reject", "IFMarker": "No", "ImmediateData": "Yes", "InitialR2T": "Yes", "MaxBurstLength": "262144", "MaxConnections": "1", "MaxOutstandingR2T": "1", "MaxRecvDataSegmentLength": "8192", "MaxXmitDataSegmentLength": "262144", "OFMarkInt": "Reject", "OFMarker": "No", "TargetAlias": "LIO Target" }, "portals": [], "tag": 1 } ], "wwn": "iqn.2003-01.org.linux-iscsi.leap150.x8664:sn.f21ea062ec7a" } ] } leap150:/etc/target/backup # -- You are receiving this mail because: You are on the CC list for the bug.