adminURL used instead of publicURL or internalURL #1

Closed
diegoparrilla opened this Issue Jul 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@diegoparrilla

Testing the library we have found out that the different libraries (Nova, Glance, Volume) use the 'adminURL' parameter instead of the 'publicURL' parameter.

If the application runs inside the corporate firewall, then probably internalURL fits better.

If the application runs outside the corporate firewall (in a remote browser, for example), then probably publicURL is a better choice.

Probably the library should allow some kind of configuration to support both scenarios.

In our case, we are testing horizon-js in the same server of an Apache server acting as a proxy to the different services (Glance,Nova, Volume and Keystone). The apache proxy endpoints are the publicURL configured in keystone.

@ghost ghost assigned jcague Jul 25, 2012

@jcague

This comment has been minimized.

Show comment
Hide comment
@jcague

jcague Jul 25, 2012

Member

Yes, it's a bug. I'll fix it today.

The library could try to use the internalURL by default. And if it cannot reach this endpoint it then could try to use the publicURL.

Do you agree?

Member

jcague commented Jul 25, 2012

Yes, it's a bug. I'll fix it today.

The library could try to use the internalURL by default. And if it cannot reach this endpoint it then could try to use the publicURL.

Do you agree?

jcague added a commit that referenced this issue Jul 26, 2012

Added some documentation to new configure function. Issue #1 resolved…
…. Diego, could you test it now again? Thanks!

@jcague jcague closed this Aug 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment