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

Result apps not showing the results #359

Open
piyushsachdeva opened this issue Jul 21, 2024 · 3 comments
Open

Result apps not showing the results #359

piyushsachdeva opened this issue Jul 21, 2024 · 3 comments

Comments

@piyushsachdeva
Copy link

Description

Steps to reproduce the issue, if relevant:

  1. Clone the repo
  2. Apply the kubernetes manifest
  3. Access the application on port 31000 and 31001

Describe the results you received:
50%/50%

Describe the results you expected:
100%/0%

Additional information you deem important (e.g., the issue happens only occasionally): It has been Persistent for the past 2-3 days; it was working fine last week for me.

Output of docker version:

Master-->docker version
Client:
 Version:           24.0.7
 API version:       1.43
 Go version:        go1.22.2
 Git commit:        24.0.7-0ubuntu4
 Built:             Wed Apr 17 20:08:25 2024
 OS/Arch:           linux/amd64
 Context:           default

Output of docker info:

Master-->docker info
Client:
 Version:    24.0.7
 Context:    default
 Debug Mode: false

Output of kubectl version:

Master-->kubectl version
Client Version: v1.30.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.30.2

Output of kubeadm version:

Master-->kubelet --version
Kubernetes v1.30.2

Master-->kubeadm version
kubeadm version: &version.Info{Major:"1", Minor:"30", GitVersion:"v1.30.2", GitCommit:"39683505b630ff2121012f3c5b16215a1449d5ed", GitTreeState:"clean", BuildDate:"2024-06-11T20:27:59Z", GoVersion:"go1.22.4", Compiler:"gc", Platform:"linux/amd64"}

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):
Kubernetes on AWS EC2 server installed using kubeadm , 1 master node 2 worker nodes cluster , machine t2.medium

@piyushsachdeva
Copy link
Author

Hi Team,
Any update on this?

Regards,
Piyush

@piyushsachdeva
Copy link
Author

Sharing a few more details:

  • Frontend is accepting the votes
  • worker is processing the votes
Master-->k logs worker-5dd767667f-htn7n
Waiting for db
Waiting for db
Connected to db
Connecting to redis
Found redis at 10.100.254.126
Processing vote for 'a' by '836faea57c42b0e'
Processing vote for 'b' by '836faea57c42b0e'
Processing vote for 'a' by '836faea57c42b0e'
  • result is not able to connect to the db to fetch votes
Master-->k logs result-d8c4c69b8-dxgb5
Wed, 14 Aug 2024 13:20:25 GMT body-parser deprecated undefined extended: provide extended option at server.js:67:17
App running on port 80
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
Waiting for db
  • redis pod is ready to accept the connection
Master-->k logs redis-796dc594bb-62f44
1:C 14 Aug 2024 13:20:26.351 # WARNING Your system is configured to use the 'xen' clocksource which might lead to degraded performance. Check the result of the [slow-clocksource] system check: run 'redis-server --check-system' to check if the system's clocksource isn't degrading performance.
1:C 14 Aug 2024 13:20:26.351 * oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
1:C 14 Aug 2024 13:20:26.351 * Redis version=7.4.0, bits=64, commit=00000000, modified=0, pid=1, just started
1:C 14 Aug 2024 13:20:26.351 # Warning: no config file specified, using the default config. In order to specify a config file use redis-server /path/to/redis.conf
1:M 14 Aug 2024 13:20:26.352 * Increased maximum number of open files to 10032 (it was originally set to 1024).
1:M 14 Aug 2024 13:20:26.352 * monotonic clock: POSIX clock_gettime
1:M 14 Aug 2024 13:20:26.355 * Running mode=standalone, port=6379.
1:M 14 Aug 2024 13:20:26.355 * Server initialized
1:M 14 Aug 2024 13:20:26.355 * Ready to accept connections TCP

@alexcraviotto
Copy link

Did you fix that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants