Bug 1270805

Summary: Glance client returning 'Expected endpoint'
Product: [Community] RDO Reporter: Marius Cornea <mcornea>
Component: rdo-managerAssignee: Hugh Brock <hbrock>
Status: CLOSED CURRENTRELEASE QA Contact: Shai Revivo <srevivo>
Severity: high Docs Contact:
Priority: unspecified    
Version: LibertyCC: chris.brown, fpercoco, mburns
Target Milestone: ---   
Target Release: Liberty   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-18 06:25:49 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:

Description Marius Cornea 2015-10-12 12:27:53 UTC
Description of problem:
When using the glance client for creating an image it returns 'Expected endpoint'.

Version-Release number of selected component (if applicable):
python-glance-store-0.9.2-dev6.el7.centos.noarch
openstack-glance-11.0.0.0-rc2.dev6.el7.centos.noarch
python-glanceclient-1.1.1-dev8.el7.centos.noarch
python-glance-11.0.0.0-rc2.dev6.el7.centos.noarch

How reproducible:
100%

Steps to Reproduce:
1. Follow the docs on https://repos.fedorapeople.org/repos/openstack-m/rdo-manager-docs/liberty
2. Deploy overcloud with one compute, one controller:
 openstack overcloud deploy --templates --libvirt-type qemu
3. glance --debug image-create --name Fedora22 --file Fedora-Cloud-Base-22-20150521.x86_64.qcow2  --disk-format qcow2 --container-format bare --visibility public --progress

Actual results:
[stack@instack ~]$ glance --debug image-create --name Fedora22 --file Fedora-Cloud-Base-22-20150521.x86_64.qcow2  --disk-format qcow2 --container-format bare --visibility public --progress 
Expected endpoint

Expected results:
Image gets created.

Additional info:
Workaround was to use the openstack client to create the image:
openstack image create --file Fedora-Cloud-Base-22-20150521.x86_64.qcow2 --public Fedora22

Comment 1 Flavio Percoco 2015-10-19 10:28:16 UTC
This is probably related to the linked bug, which is fixed in both master and liberty.

Note that a new liberty release might be needed.

Comment 4 Christopher Brown 2017-06-17 17:20:21 UTC
This is long-since fixed so can be closed.