Code Monkey home page Code Monkey logo

easytravel-docker's Issues

docker-compose-withDtAppMon.yml does not match Dynatrace-AppMon-Docker project

I'm trying to get the dockerized version of AppMon to work with easyTravel-Docker as per the instructions. I've successfully setup Dynatrace-AppMon-Docker and can run it in docker.

Unfortunately, the command docker-compose -f docker-compose-withDtAppMon.yml up fails because the links to the AppMon docker setup (networks, volumes) do not match. I've tried porting the configuration file to v3 and fixing the links, but have been unable to get it working.

Any help would be much appreciated.

Thanks,
Martin

mongodb exited with code 100

Hi,

Mongodb doesn't run correctly. What can I do to fix it?
The logs are here;

mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] MongoDB starting : pid=11 port=27017 dbpath=/data/db/easyTravel 64-bit host=easytravel-mongodb
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] db version v3.4.10
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] git version: 078f28920cb24de0dd479b5ea6c66c644f6326e9
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] OpenSSL version: LibreSSL 2.6.5
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] allocator: system
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] modules: none
mongodb     | 2020-03-25T01:55:16.682+0000 I CONTROL  [initandlisten] build environment:
mongodb     | 2020-03-25T01:55:16.683+0000 I CONTROL  [initandlisten]     distarch: x86_64
mongodb     | 2020-03-25T01:55:16.683+0000 I CONTROL  [initandlisten]     target_arch: x86_64
mongodb     | 2020-03-25T01:55:16.683+0000 I CONTROL  [initandlisten] options: { net: { http: { RESTInterfaceEnabled: true, enabled: true } }, storage: { dbPath: "/data/db/easyTravel", mmapv1: { smallFiles: true } } }
mongodb     | 2020-03-25T01:55:16.692+0000 I -        [initandlisten] Detected data files in /data/db/easyTravel created by the 'wiredTiger' storage engine, so setting the active storage engine to 'wiredTiger'.
mongodb     | 2020-03-25T01:55:16.692+0000 I STORAGE  [initandlisten] wiredtiger_open config: create,cache_size=2471M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0),
mongodb     | 2020-03-25T01:55:16.701+0000 E STORAGE  [initandlisten] WiredTiger error (-31803) [1585101316:701856][11:0x7f21c4d44b50], txn-recover: Recovery failed: WT_NOTFOUND: item not found
mongodb     | 2020-03-25T01:55:16.766+0000 I -        [initandlisten] Assertion: 28595:-31803: WT_NOTFOUND: item not found src/mongo/db/storage/wiredtiger/wiredtiger_kv_engine.cpp 276
mongodb     | 2020-03-25T01:55:16.823+0000 I STORAGE  [initandlisten] exception in initAndListen: 28595 -31803: WT_NOTFOUND: item not found, terminating
mongodb     | 2020-03-25T01:55:16.823+0000 I NETWORK  [initandlisten] shutdown: going to close listening sockets...
mongodb     | 2020-03-25T01:55:16.823+0000 I NETWORK  [initandlisten] removing socket file: /tmp/mongodb-27017.sock
mongodb     | 2020-03-25T01:55:16.824+0000 I NETWORK  [initandlisten] shutdown: going to flush diaglog...
mongodb     | 2020-03-25T01:55:16.824+0000 I CONTROL  [initandlisten] now exiting
mongodb     | 2020-03-25T01:55:16.824+0000 I CONTROL  [initandlisten] shutting down with code:100
mongodb exited with code 100

Control Loadgen

It's not possible to control the amount of requests the loadgenerator is running.
It would be great to have access to the weblauncher interface or something similar to change user behavior while the application is running.

HTTP 400 Errors due to nginx configuration

In order to be able to make easyTravel work properly with nginx, I had to make the following change in the nginx configuration:

         location / {
+           proxy_set_header    Host $http_host;
             proxy_pass http://easytravel_frontend;
         }

Without that I always got HTTP 400 errors when trying to navigate there.

RFE: Make Nginx Access Log Configurable via Environment Variable

Nginx Access Logs are configured in nginx.conf. By default, in the configuration used by the Docker images available on Dockerhub have Nginx Access Logs disabled.

https://github.com/Dynatrace/easyTravel-Docker/blob/master/images/nginx/conf/nginx.conf

For those that wish to use the images on Dockerhub (not build their own) and have Nginx Access Logs enabled, it would be helpful if this configuration was controlled through an Environment Variable. Similar to those configurations already referencing an Environment Variable in the nginx.conf file.

upstream easytravelfrontend {
        server $ET_FRONTEND_LOCATION;
    }

Persistent Hourly Authentication and CPU problems when ET_PROBLEMS are disabled

loadgen:
  container_name: loadgen
  image: "dynatrace/easytravel-loadgen"
  links:
  - backend
  - frontend
  - www
  environment:
    ET_APM_SERVER_DEFAULT: "${ET_APM_SERVER_DEFAULT}"
    ET_FRONTEND_URL: "http://easytravel-www:80"
    ET_BACKEND_URL: "http://easytravel-www:8080"
    ET_PROBLEMS: ""

ET_PROBLEMS: ""
Every hour there are authentication problems and CPU problems.
Based on this yml config no problems should be present in our easyTravel deployment.
This is conflicting with problems we are manually simulating and remediating

Unable to build mongo image

I'm trying to build the images so they can run in a raspberry pi (using docker buildx), and it seems that mongo is no longer in the dependencies of alpine.
I tried using different alpine versions (3.6 - 3.11) as the base image, adding the community repos and the edge ones but without success.

Checking dockerhub the image was built 4 months ago, was this build using a different Dockerfile than the one in this repo?

Dynatrace oneAgent

Hello everybody,

I have the latest version of easyTravel Docker installed. The services are also recognized by the OneAgent, but they can not be monitored. On Dynatrace Hompage is: reboot the service to get more informations. But even after restarting the service or docker, nothing changes.

Many Thanks
Alexander

Replacing Environment variables in nginx.conf fails due to permissions

Describe the bug
Trying to deploy ET on K8s/Openshift, when the nginx revproxy starts it is trying to substitute in-place the environment variables for backend service in the nginx.conf file.
This fails with:

sed: couldn't open temporary file /etc/nginx/sedRjs8rf: Permission denied

Since the startup script tries to modify the nginx.conf which is read-only.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.