Comment 2 for bug 898097

Revision history for this message
Stuart McLaren (stuart-mclaren) wrote : Re: [Bug 898097] Re: Glance cli produces 'invalid literal for int' error when using ssl

Why not.

On Wed, 30 Nov 2011, Jay Pipes wrote:

> Stuart, shall I assign this one to you?
>
> ** Changed in: glance
> Status: New => Confirmed
>
> ** Changed in: glance
> Importance: Undecided => Medium
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/898097
>
> Title:
> Glance cli produces 'invalid literal for int' error when using ssl
>
> Status in OpenStack Image Registry and Delivery Service (Glance):
> Confirmed
>
> Bug description:
>
> If glance is configured to use ssl I see the following:
>
> $ glance index -H https://localhost
> Failed to show index. Got error:
> invalid literal for int() with base 10: '//localhost'
>
> One potential way to fix this (which would be consistent with
> the swift cli) would be to change to provide some parameters
> (http vs https, hostname, port, possibly version) via a URL, eg:
>
> https://localhost:9292/v1
>
> and parse this accordingly.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/glance/+bug/898097/+subscriptions
>