Sahara uses publicURL by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Sergey Reshetnyak |
Bug Description
Sahara uses publicURL for all actions and it's wrong - it should be internalURL instead.
The main problem is that when we use SSL it will occurs errors like:
2015-07-24 14:38:23.895 15216 ERROR sahara.utils.api [-] Request aborted with status code 500 and message 'Error occurred during validation'
2015-07-24 14:38:23.896 15216 ERROR sahara.utils.api [-] Traceback (most recent call last):
File "/usr/lib/
validator(
File "/usr/lib/
data[
File "/usr/lib/
check_
File "/usr/lib/
flavor_list = nova.client(
File "/usr/lib/
return self._list(
File "/usr/lib/
_resp, body = self.api.
File "/usr/lib/
return self._cs_
File "/usr/lib/
resp, body = self._time_
File "/usr/lib/
resp, body = self.request(url, method, **kwargs)
File "/usr/lib/
**kwargs)
File "/usr/lib/
return session.
File "/usr/lib/
resp = self.send(prep, **send_kwargs)
File "/usr/lib/
r = adapter.
File "/usr/lib/
raise SSLError(e)
SSLError: hostname '172.16.0.7' doesn't match u'public.
2015-07-24 14:38:23.906 15216 INFO sahara.utils.wsgi [-] 192.168.0.5 - - [24/Jul/2015 14:38:23] "POST /v1.1/4e7c947e6
It will works if we specified insecure options in sahara.conf.
Changed in mos: | |
assignee: | MOS Sahara (mos-sahara) → Sergey Reshetnyak (sreshetniak) |
status: | New → Triaged |
Changed in mos: | |
status: | Triaged → In Progress |
Changed in mos: | |
status: | In Progress → Fix Committed |
upstream bug: https:/ /bugs.launchpad .net/sahara/ +bug/1478059