Bug 1383403

Summary: can't upload images to glance
Product: Red Hat OpenStack Reporter: Ian Pilcher <ipilcher>
Component: python-tripleoclientAssignee: Ben Nemec <bnemec>
Status: CLOSED DUPLICATE QA Contact: Arik Chernetsky <achernet>
Severity: urgent Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: bnemec, hbrock, jslagle, mburns, ohochman, rhel-osp-director-maint
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-11 13:49:04 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:

Description Ian Pilcher 2016-10-10 14:21:48 UTC
Couldn't find a relevant downstream bug, and this doesn't seem to have made it into the latest puddle, so ...

All of our stable/newton jobs are failing on an error uploading the overcloud images to glance:

MissingSchema: Invalid URL 'x/v1/images/detail?limit=20': No schema supplied. Perhaps you meant http://x/v1/images/detail?limit=20?

In the debug output, I see:

uploading overcloud images to glance
Instantiating image client: <class 'glanceclient.v1.client.Client'>
Using auth plugin: token_endpoint
Using parameters {'url': 'x', 'token': '***', 'project_name': 'admin'}

So for some reason we are passing 'x' as the url. Switching to glance v2 results in the same error, except with v2 in the path.

Comment 1 Ben Nemec 2016-10-10 14:48:13 UTC
This is fixed upstream, so we should just need a new downstream build with the fix.

Comment 2 James Slagle 2016-10-11 13:47:09 UTC

*** This bug has been marked as a duplicate of bug 1382956 ***

Comment 3 James Slagle 2016-10-11 13:49:04 UTC

*** This bug has been marked as a duplicate of bug 1382956 ***