← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1507564] Re: os.path.remove doesn't exist. Conver task fails

 

** Changed in: glance
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1507564

Title:
  os.path.remove doesn't exist. Conver task fails

Status in Glance:
  Fix Released
Status in Glance kilo series:
  In Progress
Status in Glance liberty series:
  In Progress

Bug description:
    File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 96, in run
      for _state in self.run_iter():
    File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 146, in run_iter
      self._change_state(states.FAILURE)
    File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 119, in __exit__
      six.reraise(self.type_, self.value, self.tb)
    File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/engine.py", line 130, in run_iter
      failure.Failure.reraise_if_any(failures)
    File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 244, in reraise_if_any
      failures[0].reraise()
    File "/usr/lib/python2.7/site-packages/taskflow/types/failure.py", line 251, in reraise
      six.reraise(*self._exc_info)
    File "/usr/lib/python2.7/site-packages/taskflow/engines/action_engine/executor.py", line 86, in _revert_task
      result = task.revert(**arguments)
    File "/usr/lib/python2.7/site-packages/glance/async/flows/convert.py", line 99, in revert
      os.path.remove(fs_path)
  AttributeError: 'module' object has no attribute 'remove'
  2015-07-11 11:40:00.817 6663 INFO eventlet.wsgi.server [req-c4c286ec-2248-4d93-b631-a2270de43ec8 7a6bd2901f0642b18be91d82782ed1ca 3954f0a8635249eba2eda9a489e233a7 - - -] 10.12.27.41 - - [11/Jul/2015 11:40:00] "POST /v2/tasks HTTP/1.1" 500 139

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1507564/+subscriptions


References