-
Notifications
You must be signed in to change notification settings - Fork 4
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
Build script failed ! #82
Comments
Any chance to look into this error?. Thanks in Advance. |
hey @gugansankar , i was on vacation, but i fixed graphitewatcher to work with a new library and it now builds fine. |
Thank you so much. Will check it and get back to you if hit with any errors |
I run the script on fresh machine. Now again , its stopped at nodejsgo container build % Total % Received % Xferd Average Speed Time Time Time Current tar: go/test: Cannot mkdir: Invalid argumentcd Se tar: go/test/utf.go: Cannot open: No such file or directory |
any chance your hard drive ran full? that's what this looks like. |
No, I have enough space in the server. [root@srv1 raintank-docker]# df -h |
hmm weird. anyway this looks more like a problem with the underlying host/software - like perhaps a hard drive or filesystem error - not with our dockerfiles or scripts. can you check the log of your docker daemon, or perhaps |
i just deleted all my docker images and rebuilt everything from scratch without problems. which docker version and kernel do you use? i'm on docker 1.12.1 and kernel 4.7.5, but earlier versions should work too, if not too old. |
Server Specification : Now script stopped at this Eventtank.
|
while different errors, i suspect the cause is the same. looks like disk/filesystem io errors. check the system logs, dmesg, docker log etc. |
thanks for your kind replies. Now I changed my server OS to Ubuntu. this time build and setup scripts are completed without any issue. root@ubuntu: If I comment "version 2" in fig-dev.yaml and run the launch_dev.sh script, it shows some service are unsupported. root@ubuntu: I've one question here, In fig-dev.yaml you have mentioned to use "https://github.com/raintank/raintank-docker/blob/master/docker/fig-dev.yaml#L51" and "https://github.com/raintank/raintank-docker/blob/master/docker/fig-dev.yaml#L62" but there is no docker images created for these services. Even there is no Dockerfile present in the folder [ " https://github.com/raintank/raintank-docker/tree/master/docker/metrictank " , " https://github.com/raintank/raintank-docker/tree/master/docker/graphitewatcher " ] |
for metrictank it should automatically pull the right image from https://hub.docker.com/r/raintank/metrictank/ regarding the launch_dev.sh output and fig-dev.yaml, i suspect that maybe your docker-compose is too old. just a guess though. which version of docker-compose do you have? |
Docker-Composer version: For graphiteMetrictank : there is no Docker file present the folder. but its called in fig-dev.yaml " https://github.com/raintank/raintank-docker/blob/master/docker/fig-dev.yaml#L114" Output of docker images: |
the graphiteMetrictank service uses the raintank/graphite-metrictank image which lives at https://hub.docker.com/r/raintank/graphite-metrictank/ don't worry, it will be automatically pulled in when needed (just like the metrictank image) the error
|
Yes, that error message got resolved once I upgrade it. But still received the below error message at last. Also, containers are started but not sure all the containers are started. Since I couldn't see the port 3000 listening in the server. Containers started in the server: Default Grafana Port Not running : Could you please give some more explanation on this how to connect it. Since I followed the steps mentioned in the README file. |
there was a critical docker error, so none of the stack got brought up. |
Sorry for the delay response on this. I just checked this on s fresh Ubuntu instance. No issues on running build and setup script. But when I run the launch scipt, it stops with below error and no screen session started. Grafana port 3000 also not listening. Creating raintank_graphitemon_1 ERROR: for kafkaManager Cannot start service kafkaManager: driver failed programming external connectivity on endpoint raintank_kafkaManager_1 (8fa059ea3a4d8078521314875be2ff1db921ed1f6ce246878f06276f3a3b1ea6): Error iptables FORWARD: Another app is currently holding the xtables lock; waiting (1s) for it to exit... ERROR: for metrictank Cannot start service metrictank: invalid header field value "oci runtime error: container_linux.go:247: starting container process caused "process_linux.go:359: container init caused \"rootfs_linux.go:53: mounting \\"/root/raintank-docker/raintank_code/metrictank/build/metrictank\\" to rootfs \\"/var/lib/docker/aufs/mnt/77b0ba6a5380d242510d14ec316dd260678464aee590d987c5fe3cced2f7bea9\\" at \\"/var/lib/docker/aufs/mnt/77b0ba6a5380d242510d14ec316dd260678464aee590d987c5fe3cced2f7bea9/usr/bin/metrictank\\" caused \\"not a directory\\"\""\n" |
@Dieterbe Any chance to check this ?. Kindly help on this. Some of the containers are not started. |
this creates the needed binary so that the metrictank container can start see #82
your first error seems like a problem between docker and your firewall. find out what kind of firewall you have running or google for the error. for the second error, i just pushed a fix, see above mentioned commit |
ok for the first part, i just wrote down what to do at https://github.com/raintank/raintank-docker#when-stuff-goes-wrong (the 4th item), please do that. for the worldping-app stuff, hold on, i'm working on a fix. i'll get back to you soon. |
even I tried to start it manually, but it failed without any error message.
|
ok i just pushed a bunch of fixes. please:
|
Ok, will check it. for carbon-relay-ng issue, Please find the logs below, root@ubuntu: |
once I entered the key as "changeme", I can see that some requests are triggered. but one request got cancelled. http://ip:3000/api/plugin-proxy/raintank-worldping-app/api/grafana-net/profile/org Respective error log message for above event, 2016/10/18 06:01:14 http: proxy error: net/http: request canceled |
I have pushed the fix for carbon-relay-ng. if you update your raintank-docker, run build_all.sh and launch_dev.sh again it should be fixed. it will now also run differently so that logs/carbon-relay-ng.log will be equivalent to as for the WP problems, i'm having similar issues, I opened ticket #84 to track this problem. |
Tested the setup on new fresh ubuntu OS again. setup_dev script failed in Worldping-api and metrictank section.
Launch script at metrictank creation:
|
these errors are very weird. can you tell me what is inside the code/metrictank and code/eventtank directories? on a fresh install they should not exist, but at that point in the script they should exist (and be empty directories), and cloning into empty directories should work fine. but it says not an empty directory.. did you run the script previously and maybe abort it or something? let me know what's inside those dirs please :) |
sorry for the delay. there is no files inside those directories. only some subfolders are present. No, I haven't terminate the script while its in process. [ Note : I tested the setup on fresh machine ]. root@ubuntu: |
I'm very skeptical that this can happen on a fresh install. those files/dirs can't be there yet. they are also not in version control. i just created a new ubuntu 16.04 machine in digitalocean and ran through the steps and everything worked fine: it said |
Ok, will clear everything and try it once. let you know if hit with any issues |
yes, now launch-dev.sh script is working fine on a fresh machine. but still I'm unable to create endpoints. Getting 401 errors. hope, you are checking it. Kindly let me know once its fixed. Will test it. Thanks |
Ok i'm going to close this issue since we worked through all the building issues. for the http 401's, see #84 the workaround for now is to just make an account on grafana.net, and create an api key there (it's free). and just use that key, that should work. (I will also test this). if you have any more issues, please open a new ticket. thanks |
Just one question on this topic, so creating account in grafana.net and add that key in api tab, won't store those info in local containers. Everything will be in grafana.net and endpoints/events will stores in raintank.io , Am I correct ? . Any plan, do you have to keep "Account/API key" generating module in this same docker container sets, instead of going to create it on grafana.net ?. Like , some local account//key management container. |
@gugansankar The key needs to be authenticated against grafana.net, but once authenticated all of the endpoints, checks and probes created only exist locally within the components deployed by the raintank-docker stack. We have no plans to remove the dependency of grafana.net. The raintank-docker stack is an internal tool used for development and testing. It is not a product we offer and we can't provide support for it. We have made all of this code opensource so that others dont need to re-invent the wheel and can take advantage of the work we have already done. If the stack doesn't meet your needs you are welcome to fork it and make any modifications you want. If those modifications are aligned with our vision for the stack we will happily merge them. If you are after a supported on-premise version of our Worldping Product, then i welcome you to reach out to us at [email protected] where we can discuss your options. |
to confirm: it will only use grafana.net for authentication. it will use the collector running in the docker stack, and it will save all data locally through the local tsdb, kafka and metrictank. the only thing that is remote is the authentication. I think it would be nice to bypass grafana.net authentication. it would help when developing without internet access or for people who want to run entirely self-hosted. see also #75 , but i don't have time to work on something like that. |
Build script failed with the below mentioned error. When I check the requested package , its not there. it says 404 error [ https://github.com/raintank/metrictank/metricdef ] . But you have included in the config "https://github.com/raintank/inspect/blob/master/graphitewatcher/main.go#L7"
Please help me on this. Thanks in Advance
The text was updated successfully, but these errors were encountered: