Bug 997107
Summary: | nova image-create doesn't exit with nonzero when failed to upload to swift | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Jaroslav Henner <jhenner> |
Component: | python-novaclient | Assignee: | Jakub Ruzicka <jruzicka> |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Jaroslav Henner <jhenner> |
Severity: | medium | Docs Contact: | |
Priority: | high | ||
Version: | 3.0 | CC: | eglynn, fpercoco, jruzicka, ndipanov, sferdjao, sgordon, yeylon |
Target Milestone: | --- | Keywords: | Automation, ZStream |
Target Release: | 6.0 (Juno) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-12-16 15:06:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
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. Thanks, s. |
Created attachment 786618 [details] client debug 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): openstack-glance-2013.1.2-1.el6ost.noarch How reproducible: 1/10 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. 3. Actual results: echo $? 0 Expected results: echo $? non-zero Additional info: