Bug 806143
Summary: | using python novaclient results in 1GB of data transferred over rest interface | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Steven Dake <sdake> |
Component: | python-novaclient | Assignee: | Mark McLoughlin <markmc> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 17 | CC: | apevec, asalkeld, crobinso, markmc, p |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-12-21 22:13:11 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Steven Dake
2012-03-23 02:20:28 UTC
Angus I'm off to dinner. Would you mind trying this on your F17 install? Also, could you try with a nova registered image vs one that was registered with our jeos_create? Could be user error on our part. Would be helpful to understand where the error lies so the API could be hardened. Note this problem still occurs with latest getting started guide, but using the nova pass-through works properly, so not a major concern for me atm. nova-passthrough: nova_client = client.Client(username, password, tenant, auth_url, service_type='compute', service_name='nova') -nova_client = client.Client(username, password, tenant, auth_url, service_type='image', service_name='glance',http_log_debug=True) +nova_client = client.Client(username, password, tenant, auth_url, service_type='compute', service_name='nova',http_log_debug=True) So bad things happen when novaclient talks to Glance API endpoint... Glance REST API was forked from Nova so wrong endpoint seemed to work at first, but there were changes, from glance/api/v1/images.py GET /images/detail -- Returns a set of detailed metadata about images HEAD /images/<ID> -- Return metadata about an image with id <ID> GET /images/<ID> -- Return image data for image with id <ID> vs Compute API (from api.openstack.org) GET v2/images/{image_id} Lists details of the specified image. Where you expected just metadata, Glance was happily streaming you the whole image :) |