Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kibana plugin --install with a timeout fails #6495

Closed
mikeforbes opened this issue Mar 10, 2016 · 4 comments · Fixed by #73154
Closed

kibana plugin --install with a timeout fails #6495

mikeforbes opened this issue Mar 10, 2016 · 4 comments · Fixed by #73154
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team

Comments

@mikeforbes
Copy link

I wonder if the default timeout value of 0 might be being ignored somehow..

My ansible playbook task seems to think a successful plugin install fails (it probably takes so long as it's running on my laptop in a vm)
e.g

# ./bin/kibana plugin --install "elasticsearch/marvel"
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Transferring 1523138 bytes....................
Transfer complete
Extracting plugin archive
Extraction complete
Optimizing and caching browser bundles...
Killed
#

It is installed successfully, but the "Killed" means it's causing my ansible task to call it a failure.

The real issue however, is the timeout values seem to be ignored:

I tried adding a timeout value and I get:

sudo ./bin/kibana plugin --install "elasticsearch/marvel" --timeout 5m
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Error: Client request timeout
Plugin installation was unsuccessful due to error "Client request timeout"

other values seem to have no effect:

sudo ./bin/kibana plugin --install "elasticsearch/marvel" --timeout 0
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Error: Client request timeout
Plugin installation was unsuccessful due to error "Client request timeout"
sudo ./bin/kibana plugin --install "elasticsearch/marvel" --timeout 30s
Installing marvel
Attempting to transfer from https://download.elastic.co/elasticsearch/marvel/marvel-latest.tar.gz
Error: Client request timeout
Plugin installation was unsuccessful due to error "Client request timeout"

running kibana 4.4.1, ubuntu package installed from the elastic debian repo

@rashidkpc rashidkpc added bug Fixes for quality problems that affect the customer experience P3 and removed P3 labels Mar 11, 2016
@regel
Copy link

regel commented Sep 22, 2016

Hi Mike,
I'm in trouble with the same issue. Did you find any workaround or patch to solve this ?
Environment: kibana 4.5.4 and trying to install html plugin. The process is running in packer. We're packaging a RHEL7 AMI.

Plugin install is randomly killed while doing 'Optimizing and caching browser bundles...'
amazon-ebs: + ./bin/kibana plugin -i kibana-html-plugin -u https://github.com/raystorm-place/kibana-html-plugin/releases/download/v0.0.3/kibana-html-plugin-v0.0.3.tar.gz
amazon-ebs: Installing kibana-html-plugin
amazon-ebs: Attempting to transfer from https://github.com/raystorm-place/kibana-html-plugin/releases/download/v0.0.3/kibana-html-plugin-v0.0.3.tar.gz
amazon-ebs: Transferring 2260613 bytes....................
amazon-ebs: Transfer complete
amazon-ebs: Extracting plugin archive
amazon-ebs: Extraction complete
amazon-ebs: Optimizing and caching browser bundles...
amazon-ebs: /tmp/script_4105.sh: line 130: 9454 Killed ./bin/kibana plugin -i kibana-html-plugin -u https://github.com/raystorm-place/kibana-html-plugin/releases/download/v0.0.3/kibana-html-plugin-v0.0.3.tar.gz
==> amazon-ebs: Terminating the source AWS instance...

@regel
Copy link

regel commented Sep 22, 2016

As a workaround we're building the AMI with a larger EC2 instance so that we don't run into this strange Kibana timeout issue.

@mikeforbes
Copy link
Author

@regel Yeah, I just stopped using kibana plugins.

Be nice to get a fix though...

@mrkeelan
Copy link

I'm also running into this issue on a virtual machine, guess there isn't enough RAM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Operations Team label for Operations Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants