Launching Mongo.Charts as Kubernetes service

1/22/2020

Hello - i’m launching Charts as kubernetes helm chart and have a problem with launch of Stitch inside container.

2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:80 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/bundle.js" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/bundle.js: no such file or directory
2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:86 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/vendor.bundle.js" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/vendor.bundle.js: no such file or directory
2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:92 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/main.css" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/main.css: no such file or directory

repo address https://github.com/IgorGerasimov/mongo-charts

Short description: Mongo.Charts succesfully connected to remote mongo server, but Stitch are unable to start

{"level":"info","ts":1579177828.2081048,"caller":"libmongo/libmongo.go:80","msg":"libmongo: using plugin"}
2020-01-16T12:30:28.231Z    INFO    main_server server/main.go:367  Starting prometheus exporter on: localhost:8100
2020-01-16T12:30:28.243Z    INFO    main_server server/main.go:84   Starting combined API & admin API server on :8080
2020-01-16T12:30:28.307Z    INFO    main_server service/service.go:307  starting events service
2020-01-16T12:30:28.310Z    DEBUG   main_server utils/utils.go:42   starting polling for FailedJobs with period 10s
2020-01-16T12:30:28.310Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionsStale with period 90s
2020-01-16T12:30:28.310Z    DEBUG   main_server utils/utils.go:42   starting polling for StaleOwnedJobs with period 60s
2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:80 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/bundle.js" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/bundle.js: no such file or directory
2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:86 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/vendor.bundle.js" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/vendor.bundle.js: no such file or directory
2020-01-16T12:30:28.310Z    ERROR   main_server server/server.go:92 Warning: generating bundle hash for "/mongodb-charts/www/stitch-ui/app/dist/static/main.css" failed: open /mongodb-charts/www/stitch-ui/app/dist/static/main.css: no such file or directory
2020-01-16T12:30:28.310Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionsFailed with period 90s
2020-01-16T12:30:28.311Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionNew with period 5s
2020-01-16T12:30:28.311Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionHeartbeat with period 2s
2020-01-16T12:30:28.311Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionNew with period 30s
2020-01-16T12:30:28.311Z    DEBUG   main_server utils/utils.go:42   starting polling for EventSubscriptionHeartbeat with period 15s
2020-01-16T12:30:28.311Z    DEBUG   main_server consumer/poller.go:49   starting polling for Unordered Queue Consumer
2020-01-16T12:30:28.312Z    DEBUG   main_server consumer/poller.go:49   starting polling for Ordered Queue Consumer
2020-01-16T12:30:28.324Z    INFO    main_server server/main.go:170  Serving on "[::]:8080"
2020-01-16T12:30:28.414Z    INFO    main_server.5e205764b181ec5ac98980c2    log/util.go:90  Started {"api_type": "private", "co_id": "5e205764b181ec5ac98980c2", "http_remote_addr": "127.0.0.1:49846", "http_proto": "HTTP/1.1", "http_method": "GET", "http_path": "/"}
2020-01-16T12:30:28.415Z    INFO    main_server.5e205764b181ec5ac98980c2    log/util.go:97  Completed   {"api_type": "private", "co_id": "5e205764b181ec5ac98980c2", "http_remote_addr": "127.0.0.1:49846", "http_proto": "HTTP/1.1", "http_method": "GET", "http_path": "/", "http_status": 200, "request_duration": 0.240436}
2020-01-16T12:30:28.503Z    INFO    main_server.5e205764b181ec5ac98980c3    log/util.go:90  Started {"api_type": "admin", "co_id": "5e205764b181ec5ac98980c3", "http_remote_addr": "127.0.0.1:49852", "http_proto": "HTTP/1.1", "http_method": "POST", "http_path": "/api/admin/v3.0/auth/providers/local-userpass/login"}
2020-01-16T12:30:28.508Z    DEBUG   main_server.5e205764b181ec5ac98980c3    local/userpass.go:252   error finding user; domain_id="000000000000000000000000" username="stitchadmin@charts.mongodb.com"  {"api_type": "admin", "co_id": "5e205764b181ec5ac98980c3", "http_remote_addr": "127.0.0.1:49852", "http_proto": "HTTP/1.1", "http_method": "POST", "http_path": "/api/admin/v3.0/auth/providers/local-userpass/login", "admin_app_id": "000000000000000000000000", "admin_app_domain_id": "000000000000000000000000", "admin_resource_type": "", "admin_resource_action": "", "http_pattern": "/auth/providers/:auth_provider_name/login"}
2020-01-16T12:30:28.508Z    DEBUG   main_server.5e205764b181ec5ac98980c3    common/auth.go:378  Error authenticating user with provider 'local-userpass': invalid username/password {"api_type": "admin", "co_id": "5e205764b181ec5ac98980c3", "http_remote_addr": "127.0.0.1:49852", "http_proto": "HTTP/1.1", "http_method": "POST", "http_path": "/api/admin/v3.0/auth/providers/local-userpass/login", "admin_app_id": "000000000000000000000000", "admin_app_domain_id": "000000000000000000000000", "admin_resource_type": "", "admin_resource_action": "", "http_pattern": "/auth/providers/:auth_provider_name/login"}
2020-01-16T12:30:28.509Z    INFO    main_server.5e205764b181ec5ac98980c3    common/utils.go:191 Completed app request   {"api_type": "admin", "co_id": "5e205764b181ec5ac98980c3", "http_remote_addr": "127.0.0.1:49852", "http_proto": "HTTP/1.1", "http_method": "POST", "http_path": "/api/admin/v3.0/auth/providers/local-userpass/login", "admin_app_id": "000000000000000000000000", "admin_app_domain_id": "000000000000000000000000", "admin_resource_type": "", "admin_resource_action": "", "http_pattern": "/auth/providers/:auth_provider_name/login", "http_status": 401, "request_duration": 5.584644}
2020-01-16T12:30:28.509Z    INFO    main_server.5e205764b181ec5ac98980c3    log/util.go:97  Completed   {"api_type": "admin", "co_id": "5e205764b181ec5ac98980c3", "http_remote_addr": "127.0.0.1:49852", "http_proto": "HTTP/1.1", "http_method": "POST", "http_path": "/api/admin/v3.0/auth/providers/local-userpass/login", "http_status": 401, "request_duration": 6.001042}
2020-01-16T12:30:28.514Z    INFO    main_server server/main.go:187  received shutdown signal; initiating shutdown procedure
2020-01-16T12:30:28.514Z    INFO    main_server server/main.go:190  asking HTTP server to drain and stop accepting connections
2020-01-16T12:30:28.515Z    INFO    main_server server/main.go:194  HTTP server shutdown
2020-01-16T12:30:28.515Z    INFO    main_server server/main.go:205  stopping API servers
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:182    finishing active git deploy operations...
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:187    git deploy operations were completed successfully
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:558    closing active SSE streams
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:560    all active SSE streams closed
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:563    disabling connection tracker
2020-01-16T12:30:28.515Z    INFO    main_server utils/tracker.go:264    waiting for connection trackers to finish
2020-01-16T12:30:28.515Z    INFO    main_server utils/tracker.go:266    connection trackers finished
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:565    connection tracker disabled
2020-01-16T12:30:28.515Z    INFO    main_server server/server.go:568    closing events service
2020-01-16T12:30:28.515Z    DEBUG   main_server common/source.go:703    shutting down...    {"event_source_name": "mongodb_global"}
2020-01-16T12:30:28.516Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionHeartbeat
2020-01-16T12:30:28.516Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionNew
2020-01-16T12:30:28.516Z    DEBUG   main_server common/source.go:728    started unregistering streams   {"event_source_name": "mongodb_global"}
2020-01-16T12:30:28.516Z    DEBUG   main_server common/source.go:749    finished unregistering streams  {"event_source_name": "mongodb_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:580    exiting...  {"event_source_name": "mongodb_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:725    done shutting down...   {"event_source_name": "mongodb_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:703    shutting down...    {"event_source_name": "scheduled_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionHeartbeat
2020-01-16T12:30:30.311Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionNew
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:728    started unregistering streams   {"event_source_name": "scheduled_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:749    finished unregistering streams  {"event_source_name": "scheduled_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:580    exiting...  {"event_source_name": "scheduled_global"}
2020-01-16T12:30:30.311Z    DEBUG   main_server common/source.go:725    done shutting down...   {"event_source_name": "scheduled_global"}
2020-01-16T12:30:30.312Z    DEBUG   main_server utils/utils.go:54   shutting down polling for FailedJobs
2020-01-16T12:30:30.312Z    DEBUG   main_server utils/utils.go:54   shutting down polling for StaleOwnedJobs
2020-01-16T12:30:30.312Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionsFailed
2020-01-16T12:30:30.312Z    DEBUG   main_server utils/utils.go:54   shutting down polling for EventSubscriptionsStale
2020-01-16T12:30:30.312Z    DEBUG   main_server consumer/poller.go:63   shutting down polling for Unordered Queue Consumer
2020-01-16T12:30:30.312Z    DEBUG   main_server consumer/poller.go:63   shutting down polling for Ordered Queue Consumer
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:570    events service closed
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:572    closing resource pool
2020-01-16T12:30:30.312Z    DEBUG   main_server.resource_pool   utils/resource_pool.go:361  Done searching for targets; found=0 time_spent='26.136µs'
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:574    resource pool closed
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:583    stopping metrics collection
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:585    metrics collection stopped
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:586    stopping and log storage
2020-01-16T12:30:30.312Z    INFO    main_server server/server.go:588    log storage stopped
2020-01-16T12:30:30.312Z    INFO    main_server server/main.go:209  API servers stopped
2020-01-16T12:30:30.312Z    INFO    main_server server/main.go:217  prometheus exporter shutdown
2020-01-16T12:30:30.312Z    INFO    main_server server/main.go:227  clean shutdown; goodbye
-- dezzinto
kubernetes
mongodb

0 Answers