[EDP] Default os_auth_host cannot be localhost w/ Swift
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
High
|
Sergey Reshetnyak |
Bug Description
Using the Vanilla Plugin (status w/ HDP Plugin is unknown), savanna-api takes the os_auth_host and passes it into the core-site.xml of the cluster. By default, os_auth_host is localhost, which is very reasonable as the keystone identity service and savanna-api are often deployed on the same host. However, swift-hdfs tries to use a localhost url to contact keystone, which fails.
The failure looks like,
Launcher ERROR, reason: Main class [org.apache.
The workaround for this bug is to always configure os_auth_host to be the host, accessible from within an instance, that runs keystone.
A better implementation would be to use os_auth_host as a bootstrap to lookup the publicUrl for the identity service, then pass that url into the core-site.xml.
Changed in savanna: | |
milestone: | none → icehouse-1 |
importance: | Undecided → High |
status: | New → Triaged |
Changed in savanna: | |
assignee: | nobody → Sergey Reshetnyak (sreshetniak) |
summary: |
- Default os_auth_host cannot be localhost w/ Swift + [EDP] Default os_auth_host cannot be localhost w/ Swift |
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | icehouse-1 → 2014.1 |
Fix proposed to branch: master /review. openstack. org/56418
Review: https:/