Bug 1091426
| Summary: | nova cli: when running nova image-create with --pool we continues to report even when instance is desroyed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Dafna Ron <dron> | ||||
| Component: | python-novaclient | Assignee: | RHOS Maint <rhos-maint> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Ami Jeain <ajeain> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 4.0 | CC: | jruzicka, ndipanov, sgordon, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 5.0 (RHEL 7) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | storage | ||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-05-22 19:56:24 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: | |||||||
| Attachments: |
|
||||||
Created attachment 889782 [details] logs Description of problem: I launched an instance and started a nova create-image with --pool Than I destroyed the instance. although the qemu pid is gone and so is the image --pool continues to run and report 0% progress: [root@puma31 ~(keystone_admin)]# nova image-create 9bf5fc48-0b44-497a-bdb2-d3fd6a60582c poll-test1 --poll Server snapshotting... 25% complete Server snapshotting... 25% complete Server snapshotting... 25% complete Server snapshotting... 0% completee Server snapshotting... 0% complete Server snapshotting... 0% complete Server snapshotting... 0% complete Server snapshotting... 0% complete I think that we should exit if qemu pid is gone. Version-Release number of selected component (if applicable): [root@puma31 ~(keystone_admin)]# rpm -qa |grep nova python-novaclient-2.15.0-3.el6ost.noarch openstack-nova-api-2013.2.3-5.el6ost.noarch openstack-nova-network-2013.2.3-5.el6ost.noarch python-nova-2013.2.3-5.el6ost.noarch openstack-nova-compute-2013.2.3-5.el6ost.noarch openstack-nova-conductor-2013.2.3-5.el6ost.noarch openstack-nova-novncproxy-2013.2.3-5.el6ost.noarch openstack-nova-scheduler-2013.2.3-5.el6ost.noarch openstack-nova-common-2013.2.3-5.el6ost.noarch openstack-nova-console-2013.2.3-5.el6ost.noarch openstack-nova-cert-2013.2.3-5.el6ost.noarch [root@puma31 ~(keystone_admin)]# rpm -qa |grep glance python-glanceclient-0.12.0-1.el6ost.noarch How reproducible: 100% Steps to Reproduce: 1. launch an instance from an image 2. from cli run: nova image-create <server uuid> <name of new snapshot> --poll 3. after the snapshot is created, destroy the instance from horizon Actual results: the instance is destroyed and the image is gone but --poll continues to run and report 0% Expected results: once the qemu pid is gone and the image is gone, there is no point in continuing the report and we should exit with appropriate error. Additional info: