Bug 1091390
| Summary: | nova cli: --pool is not reporting actual upload of image when creating a snapshot | ||||||
|---|---|---|---|---|---|---|---|
| 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: | high | 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:55: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 889760 [details] logs Description of problem: I ran nova image-create <server uuid> <name of image> --poll and it seems that for a long time we see the same exact advancement in create of the image until a second before its finished and it turns into 100%. [root@puma31 ~(keystone_admin)]# nova image-create 9bf5fc48-0b44-497a-bdb2-d3fd6a60582c poll-test --poll Server snapshotting... 25% complete Server snapshotting... 25% complete Server snapshotting... 25% complete Server snapshotting... 25% complete Server snapshotting... 100% complete Finished So either the image is not uploaded (in which case it's a problem in glance) or the client is not actually sampling the upload advancement and just giving a fixed percentage. Version-Release number of selected component (if applicable): [root@puma32 ~(keystone_admin)]# rpm -qa |grep nova python-novaclient-2.15.0-3.el6ost.noarch openstack-nova-common-2013.2.3-5.el6ost.noarch python-nova-2013.2.3-5.el6ost.noarch openstack-nova-compute-2013.2.3-5.el6ost.noarch [root@puma32 ~(keystone_admin)]# rpm -qa |grep glance python-glance-2013.2.3-1.el6ost.noarch openstack-glance-2013.2.3-1.el6ost.noarch python-glanceclient-0.12.0-1.el6ost.noarch [root@puma32 ~(keystone_admin)]# How reproducible: 100% Steps to Reproduce: my setup is: controller with nova network stand alone glance stand alone cinder with gluster backend *all hosts are also computes 1. launch an instance from an image 2. on glance host run: nova image-create <server uuid> <name of image> --poll 3. Actual results: it does not seem like --poll actually shows progress. from the start of the image upload we see snapshoting in 25% until the upload is finished and we see 100% completed so we do not actually get a real status. Expected results: we need to see a real status to make sure that the upload is not stuck. Additional info: logs