Using Glance Client tool

Asked by Maty Grosz on 2013-07-30

Hey,

I have installed glance client tool 0.9.0.
I am trying to run this client tool against Image v2.0 APIs.
According to the documentations of Glance v2.0 - the REST requests should all point to http://{host}:{port}/v2.0/images.
Now, I see that for every galnce cli tool command I run, the path points to http://{host}:{port}/v2.0/v2/schema/image.

Where does the v2/schema come from? Can I configure the cli tool to not to use this addition?
Do I need a different client tool version?

Thanks

Maty.

Question information

Language:
English Edit question
Status:
Solved
For:
Glance Edit question
Assignee:
No assignee Edit question
Solved by:
Maty Grosz
Solved:
2013-08-01
Last query:
2013-08-01
Last reply:
2013-07-30
Tiantian Gao (gtt116) said : #1

mgrosz, I'm not sure I understand what you mean.

I test glance v2 api with 'glance --os-image-api-version 2 --debug image-list'. every thing goes well. what you test with glance cli?

Or do you means glance cli works well, but glance cli make request to /v2/schemas/image noisy you, you don't want glance cli to make request to the API. Just need glance cli make request to /v2/images. right?

Maty Grosz (maty-grosz) said : #2

"lance cli make request to /v2/schemas/image noisy you, you don't want glance cli to make request to the API. Just need glance cli make request to /v2/images." - correct. Is there a way to do so? or am I missing somthing?

Maty Grosz (maty-grosz) said : #3

Ok, got the idea.