Bug 1383373

Summary: [Docs][Kibana]Unable to save kibana dashboard
Product: Red Hat OpenStack Reporter: Chaitanya Shastri <cshastri>
Component: documentationAssignee: Chaitanya Shastri <cshastri>
Status: CLOSED CURRENTRELEASE QA Contact: Martin Lopes <mlopes>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0 (Liberty)CC: lbopf, mburns, srevivo
Target Milestone: async   
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-24 02:01:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Chaitanya Shastri 2016-10-10 13:29:10 UTC
Description of problem:
Configuring Kibana, elasticsearch according to this documentation: https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/single/red-hat-openstack-platform-operational-tools/#installing_the_centralized_log_relay_transformer does not let you save the dashboard popping out the error 'The requested method PUT is not allowed for the URL /kibana-int/dashboard/test'

This bug can be tracked here: https://bugzilla.redhat.com/show_bug.cgi?id=1382751

Version-Release number of selected component (if applicable):
RHOSP 8

How reproducible:
Always

Steps to Reproduce:
1.Configure Kibana, elasticsearch along with Proxy for Elasticsearch according to documentation: https://access.redhat.com/documentation/en/red-hat-openstack-platform/8/single/red-hat-openstack-platform-operational-tools/#installing_the_centralized_log_relay_transformer

Actual results:
Unable to save Kibana dashboard.

Expected results:
Kibana dashboard should be saved successfully.

Additional info:
Adding following lines to kibana3.conf file fixes the issue and hence should be added to the documentation:

<LocationMatch "^/(kibana-int/dashboard/|kibana-int/temp)(.*)$">
  ProxyPassMatch http://127.0.0.1:9200/$1$2
  ProxyPassReverse http://127.0.0.1:9200/$1$2
</LocationMatch>

Comment 2 Lucy Bopf 2017-03-02 05:59:37 UTC
Martin, can you review this one, and take a look at merging to the correct branch(es)?