Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upk8s prometheus pod crashed with the image built from the master branch #2848
Comments
This comment has been minimized.
This comment has been minimized.
|
i verified using the stable prometheus image pulled, the pod is up on Travis logs, but build from the master branch still fails
|
reachlin
changed the title
prometheus pod crashed on Travis
prometheus pod crashed on Travis with the image built from the master branch
Jun 16, 2017
This comment has been minimized.
This comment has been minimized.
|
on local box, the master branch image also crashed with similar errors:
|
reachlin
changed the title
prometheus pod crashed on Travis with the image built from the master branch
prometheus pod crashed with the image built from the master branch
Jun 16, 2017
reachlin
changed the title
prometheus pod crashed with the image built from the master branch
k8s prometheus pod crashed with the image built from the master branch
Jun 16, 2017
This comment has been minimized.
This comment has been minimized.
|
i did further investigation and login to that container, and found a very strange problem:
|
This comment has been minimized.
This comment has been minimized.
|
This could be a missing dynamic library
…On Fri, Jun 16, 2017, 09:07 Charles ***@***.***> wrote:
i did further investigation and login to that container, and found a very
strange problem:
/prometheus # /bin/prometheus -config.file=/etc/prometheus/prometheus.yml
sh: /bin/prometheus: not found
/prometheus # ls -al /bin/prometheus
-rwxrwxr-x 1 root root 61239613 Jun 16 06:37 /bin/prometheus
/prometheus # /bin/prometheus
sh: /bin/prometheus: not found
/prometheus # ls /etc/prometheus/prometheus.yml
/etc/prometheus/prometheus.yml
/prometheus #
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2848 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAICBqDSc2rmVB_zvwhS-4fNRMHXa_YUks5sEinIgaJpZM4N7-ga>
.
|
This comment has been minimized.
This comment has been minimized.
|
@matthiasr very likely, because if i run the same binary from my host, not in that container, it seems fine, so i guess, sth. changed in the parent image or lib depended? |
This comment has been minimized.
This comment has been minimized.
|
or the library exists on your host? I'll take a look later
…On Fri, Jun 16, 2017, 09:16 Charles ***@***.***> wrote:
@matthiasr <https://github.com/matthiasr> very likely, because if i run
the same binary from my host, not in that container, it seems fine, so i
guess, sth. changed in the parent image or lib depended?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2848 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAICBhMEJlIiRPaTBYfIGaOjccNSykZSks5sEivYgaJpZM4N7-ga>
.
|
This comment has been minimized.
This comment has been minimized.
|
The binaries built on release are statically linked binaries using |
This comment has been minimized.
This comment has been minimized.
|
so, I'm confused what image the issue is with. |
This comment has been minimized.
This comment has been minimized.
|
The official image works just fine:
I'm afraid the issue is with your build, not the mainline one. |
matthiasr
closed this
Jun 16, 2017
This comment has been minimized.
This comment has been minimized.
|
@matthiasr so the image build from 'make docker' won't work? did you try image build from the clone of master branch? I made k8s on Travis working and fine with other containers, check it here: https://github.com/reachlin/k8s0/ |
This comment has been minimized.
This comment has been minimized.
|
@reachlin the |
This comment has been minimized.
This comment has been minimized.
|
@brancz thanks, i will try that. please update the readme if possible, it's confusing |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 23, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
reachlin commentedJun 16, 2017
•
edited
What did you do?
trying to run prometheus build verification on k8s
What did you expect to see?
prometheus pod is up and running
What did you see instead? Under which circumstances?
prometheus pod crashed. but the same code works fine on local ubuntu box or Travis with the latest image from quay.io/coreos/prometheus. so there must be sth. wrong with the image built from the master branch?
https://travis-ci.org/reachlin/prometheus/builds/243513392
Environment
System information:
Travis
Prometheus version:
https://github.com/reachlin/prometheus/blob/travis/VERSION
Alertmanager version:
n/a
Prometheus configuration file:
Alertmanager configuration file:
n/a
Logs:
https://travis-ci.org/reachlin/prometheus/builds/243513392