[root@server223 common_software]# targetcli
targetcli shell version 2.1.fb41
Copyright 2011-2013 by Datera, Inc and others.
For help on commands, type 'help'.

/> exit
Global pref auto_save_on_exit=true
Last 10 configs saved in /etc/target/backup.
Traceback (most recent call last):
  File "/bin/targetcli", line 121, in <module>
    main()
  File "/bin/targetcli", line 117, in main
    root_node.ui_command_saveconfig()
  File "/usr/lib/python2.7/site-packages/targetcli/ui_root.py", line 86, in ui_command_saveconfig
    self.rtsroot.save_to_file(savefile)
  File "/usr/lib/python2.7/site-packages/rtslib_fb/root.py", line 250, in save_to_file
    f.write(json.dumps(self.dump(), sort_keys=True, indent=2))
  File "/usr/lib/python2.7/site-packages/rtslib_fb/root.py", line 146, in dump
    d['storage_objects'] = [so.dump() for so in self.storage_objects]
  File "/usr/lib/python2.7/site-packages/rtslib_fb/tcm.py", line 734, in dump
    d['wwn'] = self.wwn
  File "/usr/lib/python2.7/site-packages/rtslib_fb/tcm.py", line 124, in _get_wwn
    + "an unconfigured StorageObject")
rtslib_fb.utils.RTSLibError: Cannot read a T10 WWN Unit Serial from an unconfigured StorageObject

targetctl clear

targetcli saveconfig

01-13 12:41