IOError on `cinder-rtstool save` when targetcli is not installed

Bug #1453518 reported by Gorka Eguileor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Gorka Eguileor

Bug Description

After patch to fix LIO target persistence was introduced a bug was introduced where target creation/removal would result in an exception if targetcli is not installed.

Exception is: IOError: [Errno 2] No such file or directory: '/etc/target/saveconfig.json.temp'

This exception can be avoided by installing targetcli or creating /etc/target directory.

Gorka Eguileor (gorka)
Changed in cinder:
assignee: nobody → Gorka Eguileor (gorka)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/181739

Changed in cinder:
status: New → In Progress
Changed in cinder:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in cinder:
milestone: none → liberty-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: liberty-1 → 7.0.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.