`cinder-rtstool save` results in "IOError: [Errno 2] No such file or directory: '/etc/target/saveconfig.json.temp'"

Solution Verified - Updated -


When applying the fix described in Cinder iSCSI target configuration lost on target.service restart or host reboot the step cinder-rtstool save results in the following trace:

# cinder-rtstool save 

Traceback (most recent call last):
  File "/usr/bin/cinder-rtstool", line 234, in <module>
  File "/usr/bin/cinder-rtstool", line 225, in main
  File "/usr/bin/cinder-rtstool", line 160, in save_to_file
  File "/usr/lib/python2.7/site-packages/rtslib/root.py", line 235, in save_to_file
    with open(save_file+".temp", "w+") as f:
IOError: [Errno 2] No such file or directory: '/etc/target/saveconfig.json.temp'


  • Red Hat OpenStack 6.0
  • openstack-cinder < 2014.2.3-3.el7ost

  • Red Hat OpenStack 5.0 on RHEL7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content