Red Hat Bugzilla – Bug 997107
nova image-create doesn't exit with nonzero when failed to upload to swift
Last modified: 2016-04-26 13:28:55 EDT
Created attachment 786618 [details]
Description of problem:
When snapshot creation fails somewhere in the middle of creating the snapshot, glance 4 polling mode exits with status 0.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
It is not easy to reproduce, what I did was:
1. nova --debug image-create --poll '4b1317d3-71b5-4f4a-8ea5-b2e2f529da43' 'mirage_rhel-6.4-preinstalled'
2. There was some error when glance was saving data to swift.
The problem when saving trough glance to swift should probably be reproducible by changing the node_timeout in /etc/swift/proxy-server.conf to some low value, like 1.
This sounds more like a novaclient error than a glanceclient error (assuming glanceclient is raising an exception)
Yeah maybe I was mistaken by seeing the word "glance" in the traceback.
This issue has been reported on a EOL version of OSP and do not get any activities. Please feel fre to reopen whether that issue is still happening on current releases.