Bug 1102009
| Summary: | v2 API Image-create --file, 403 forbidden attribute 'file' is read-only | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Tzach Shefi <tshefi> | ||||
| Component: | python-glanceclient | Assignee: | CIndy Pallares <cpallare> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 5.0 (RHEL 7) | CC: | cpallare, eglynn, fpercoco, jruzicka, scohen, sgotliv, yeylon | ||||
| Target Milestone: | --- | Keywords: | ZStream | ||||
| Target Release: | 7.0 (Kilo) | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-08-25 09:40:22 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 899928 [details] Glance api.log Description of problem: On a semi distributed setup, Glance back-end is a Gluster volume, v2 API image-create from source --file fails. [root@puma31 ~(keystone_admin)]# glance --os-image-api-version 2 image-create --name apiV2FromFile --disk-format qcow2 --container-format bare --file cirros-0.3.2-x86_64-disk.img Request returned failure status. 403 Forbidden Attribute 'file' is read-only. (HTTP 403) Same command from v1 API, works fine. Version-Release number of selected component (if applicable): RHEL7 python-glanceclient-0.12.0-1.el7ost.noarch python-glance-2014.1-2.el7ost.noarch openstack-glance-2014.1-2.el7ost.noarch How reproducible: Every time Steps to Reproduce: 1. # glance --os-image-api-version 2 image-create ... --file <file> 2. 3. Actual results: Failed to create image, error: Request returned failure status. 403 forbidden Attribute 'file' is read-only. (HTTP 403) Expected results: Image should be created successfully.