-
Notifications
You must be signed in to change notification settings - Fork 73
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
Agents Stuck in loop on Docker For Windows #366
Comments
If possible please provide the logs of an terminating agent. |
I have similar problem. I create cluster on k8s (3 worker nodes cluster) and one Agent is in restart loop. Operator logs :
logs from restarting Pod:
Limit memory for Agent pod is set to 2Gi |
same issue.. anyone found a solution for it? |
Im attempting to run a linux container in Docker For Windows with a kubernetes arango cluster. It starts up but gets stuck in an endless loop of the agents starting in error,terminating,then initializing. I also noticed that the load balancer I have is set to local host instead of the IP to hit the pod from an external source. Im not quite sure what im doing wrong. Running the same commands on a linux machine works fine. Any help would be appreciated. Let me know if you need more info. Logs & screen shots below.
Here is the Yaml to deploy the cluster:
Here is a Screen shot of the termination:
Here is them re-initializing:
The load balancer service:
and here is the describe command on the deployment:
Name: arango-cluster
Namespace: default
Labels:
Annotations: kubectl.kubernetes.io/last-applied-configuration:
{"apiVersion":"database.arangodb.com/v1alpha","kind":"ArangoDeployment","metadata":{"annotations":{},"name":"arango-cluster","namespace":"...
API Version: database.arangodb.com/v1alpha
Kind: ArangoDeployment
Metadata:
Cluster Name:
Creation Timestamp: 2019-03-29T02:06:59Z
Finalizers:
database.arangodb.com/remove-child-finalizers
Generation: 1
Resource Version: 71178
Self Link: /apis/database.arangodb.com/v1alpha/namespaces/default/arangodeployments/arango-cluster
UID: 560ccde7-51c7-11e9-b4f7-00155d001410
Spec:
Agents:
Count: 3
Resources:
Requests:
Storage: 8Gi
Auth:
Jwt Secret Name: arango-cluster-jwt
Chaos:
Interval: 60000000000
Kill - Pod - Probability: 50
Coordinators:
Count: 3
Resources:
Dbservers:
Count: 3
Resources:
Requests:
Storage: 8Gi
Environment: Development
External Access:
Type: LoadBalancer
Image: arangodb/arangodb:3.4.4
Image Pull Policy: IfNotPresent
License:
Mode: Cluster
Rocksdb:
Encryption:
Single:
Resources:
Requests:
Storage: 8Gi
Storage Engine: RocksDB
Sync:
Auth:
Client CA Secret Name: arango-cluster-sync-client-auth-ca
Jwt Secret Name: arango-cluster-sync-jwt
External Access:
Monitoring:
Token Secret Name: arango-cluster-sync-mt
Tls:
Ca Secret Name: arango-cluster-sync-ca
Ttl: 2610h
Syncmasters:
Resources:
Syncworkers:
Resources:
Tls:
Ca Secret Name: arango-cluster-ca
Ttl: 2610h
Status:
Accepted - Spec:
Agents:
Count: 3
Resources:
Requests:
Storage: 8Gi
Auth:
Jwt Secret Name: arango-cluster-jwt
Chaos:
Interval: 60000000000
Kill - Pod - Probability: 50
Coordinators:
Count: 3
Resources:
Dbservers:
Count: 3
Resources:
Requests:
Storage: 8Gi
Environment: Development
External Access:
Type: LoadBalancer
Image: arangodb/arangodb:3.4.4
Image Pull Policy: IfNotPresent
License:
Mode: Cluster
Rocksdb:
Encryption:
Single:
Resources:
Requests:
Storage: 8Gi
Storage Engine: RocksDB
Sync:
Auth:
Client CA Secret Name: arango-cluster-sync-client-auth-ca
Jwt Secret Name: arango-cluster-sync-jwt
External Access:
Monitoring:
Token Secret Name: arango-cluster-sync-mt
Tls:
Ca Secret Name: arango-cluster-sync-ca
Ttl: 2610h
Syncmasters:
Resources:
Syncworkers:
Resources:
Tls:
Ca Secret Name: arango-cluster-ca
Ttl: 2610h
Arangodb - Images:
Arangodb - Version: 3.4.4
Image: arangodb/arangodb:3.4.4
Image - Id: arangodb/arangodb@sha256:56abd87cc340a29f9d60e61a8941afb962b18a22c072fe6b77397fa24d531c04
Conditions:
Last Transition Time: 2019-03-29T02:07:07Z
Last Update Time: 2019-03-29T02:07:07Z
Status: False
Type: Ready
Current - Image:
Arangodb - Version: 3.4.4
Image: arangodb/arangodb:3.4.4
Image - Id: arangodb/arangodb@sha256:56abd87cc340a29f9d60e61a8941afb962b18a22c072fe6b77397fa24d531c04
Members:
Agents:
Conditions:
Last Transition Time: 2019-03-29T02:14:38Z
Last Update Time: 2019-03-29T02:14:38Z
Reason: Pod Not Ready
Status: False
Type: Ready
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Failed
Status: True
Type: Terminated
Last Transition Time: 2019-03-29T02:15:39Z
Last Update Time: 2019-03-29T02:15:39Z
Reason: Pod marked for deletion
Status: True
Type: Terminating
Created - At: 2019-03-29T02:07:01Z
Id: AGNT-bnq8tiee
Initialized: false
Persistent Volume Claim Name: arango-cluster-agent-bnq8tiee
Phase: Created
Pod Name: arango-cluster-agnt-bnq8tiee-128dfb
Recent - Terminations:
2019-03-29T02:08:04Z
2019-03-29T02:08:42Z
2019-03-29T02:09:20Z
2019-03-29T02:09:54Z
2019-03-29T02:10:29Z
2019-03-29T02:11:55Z
2019-03-29T02:13:07Z
2019-03-29T02:15:05Z
Conditions:
Last Transition Time: 2019-03-29T02:14:38Z
Last Update Time: 2019-03-29T02:14:38Z
Reason: Pod Not Ready
Status: False
Type: Ready
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Failed
Status: True
Type: Terminated
Last Transition Time: 2019-03-29T02:15:39Z
Last Update Time: 2019-03-29T02:15:39Z
Reason: Pod marked for deletion
Status: True
Type: Terminating
Created - At: 2019-03-29T02:07:01Z
Id: AGNT-co8m3gqw
Initialized: true
Persistent Volume Claim Name: arango-cluster-agent-co8m3gqw
Phase: Created
Pod Name: arango-cluster-agnt-co8m3gqw-128dfb
Recent - Terminations:
2019-03-29T02:07:59Z
2019-03-29T02:08:38Z
2019-03-29T02:09:16Z
2019-03-29T02:09:49Z
2019-03-29T02:10:29Z
2019-03-29T02:11:55Z
2019-03-29T02:13:07Z
2019-03-29T02:15:05Z
Conditions:
Last Transition Time: 2019-03-29T02:14:38Z
Last Update Time: 2019-03-29T02:14:38Z
Reason: Pod Not Ready
Status: False
Type: Ready
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Failed
Status: True
Type: Terminated
Last Transition Time: 2019-03-29T02:15:39Z
Last Update Time: 2019-03-29T02:15:39Z
Reason: Pod marked for deletion
Status: True
Type: Terminating
Created - At: 2019-03-29T02:07:01Z
Id: AGNT-z8htk4xo
Initialized: false
Persistent Volume Claim Name: arango-cluster-agent-z8htk4xo
Phase: Created
Pod Name: arango-cluster-agnt-z8htk4xo-128dfb
Recent - Terminations:
2019-03-29T02:08:05Z
2019-03-29T02:08:43Z
2019-03-29T02:09:21Z
2019-03-29T02:09:55Z
2019-03-29T02:10:29Z
2019-03-29T02:11:55Z
2019-03-29T02:13:07Z
2019-03-29T02:15:05Z
Coordinators:
Conditions:
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Not Ready
Status: False
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: CRDN-fgfmyrni
Initialized: false
Phase: Created
Pod Name: arango-cluster-crdn-fgfmyrni-128dfb
Recent - Terminations:
2019-03-29T02:14:38Z
Conditions:
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Not Ready
Status: False
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: CRDN-sxgd2w6y
Initialized: false
Phase: Created
Pod Name: arango-cluster-crdn-sxgd2w6y-128dfb
Recent - Terminations:
2019-03-29T02:14:38Z
Conditions:
Last Transition Time: 2019-03-29T02:15:05Z
Last Update Time: 2019-03-29T02:15:05Z
Reason: Pod Not Ready
Status: False
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: CRDN-to1bm0c3
Initialized: false
Phase: Created
Pod Name: arango-cluster-crdn-to1bm0c3-128dfb
Recent - Terminations:
2019-03-29T02:14:38Z
Dbservers:
Conditions:
Last Transition Time: 2019-03-29T02:07:59Z
Last Update Time: 2019-03-29T02:07:59Z
Reason: Pod Ready
Status: True
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: PRMR-32xzf09n
Initialized: true
Persistent Volume Claim Name: arango-cluster-dbserver-32xzf09n
Phase: Created
Pod Name: arango-cluster-prmr-32xzf09n-128dfb
Recent - Terminations:
Conditions:
Last Transition Time: 2019-03-29T02:07:50Z
Last Update Time: 2019-03-29T02:07:50Z
Reason: Pod Ready
Status: True
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: PRMR-cdvjutsj
Initialized: true
Persistent Volume Claim Name: arango-cluster-dbserver-cdvjutsj
Phase: Created
Pod Name: arango-cluster-prmr-cdvjutsj-128dfb
Recent - Terminations:
Conditions:
Last Transition Time: 2019-03-29T02:08:11Z
Last Update Time: 2019-03-29T02:08:11Z
Reason: Pod Ready
Status: True
Type: Ready
Created - At: 2019-03-29T02:07:01Z
Id: PRMR-gdxuutwg
Initialized: true
Persistent Volume Claim Name: arango-cluster-dbserver-gdxuutwg
Phase: Created
Pod Name: arango-cluster-prmr-gdxuutwg-128dfb
Recent - Terminations:
Phase: Running
Plan:
Creation Time: 2019-03-29T02:12:45Z
Group: 4
Id: cJIhbLxsuV4pyc5n
Member ID: CRDN-fgfmyrni
Type: RemoveMember
Creation Time: 2019-03-29T02:12:45Z
Group: 4
Id: U1PGroR95ybUN1Km
Type: AddMember
Secret - Hashes:
Auth - Jwt: eff9b00914cc1a4511de887d056a5c4ef1b324f6b746456ca2443db98bdaeea1
Tls - Ca: d69ded4284c5f832388b3633c3db1453d91514300a07313ddf91f32b31653b45
Service Name: arango-cluster
Events:
Type Reason Age From Message
Normal New Coordinator Added 36h arango-deployment-operator-8579f476cc-fspdz New coordinator CRDN-fgfmyrni added to deployment
Normal New Agent Added 36h arango-deployment-operator-8579f476cc-fspdz New agent AGNT-co8m3gqw added to deployment
Normal New Agent Added 36h arango-deployment-operator-8579f476cc-fspdz New agent AGNT-z8htk4xo added to deployment
Normal New Dbserver Added 36h arango-deployment-operator-8579f476cc-fspdz New dbserver PRMR-32xzf09n added to deployment
Normal New Dbserver Added 36h arango-deployment-operator-8579f476cc-fspdz New dbserver PRMR-cdvjutsj added to deployment
Normal New Dbserver Added 36h arango-deployment-operator-8579f476cc-fspdz New dbserver PRMR-gdxuutwg added to deployment
Normal New Coordinator Added 36h arango-deployment-operator-8579f476cc-fspdz New coordinator CRDN-sxgd2w6y added to deployment
Normal New Coordinator Added 36h arango-deployment-operator-8579f476cc-fspdz New coordinator CRDN-to1bm0c3 added to deployment
Normal New Agent Added 36h arango-deployment-operator-8579f476cc-fspdz New agent AGNT-bnq8tiee added to deployment
Normal Pod Of Dbserver Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-prmr-32xzf09n-128dfb of member dbserver is created
Normal Pod Of Dbserver Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-prmr-cdvjutsj-128dfb of member dbserver is created
Normal Pod Of Dbserver Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-prmr-gdxuutwg-128dfb of member dbserver is created
Normal Pod Of Coordinator Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-crdn-fgfmyrni-128dfb of member coordinator is created
Normal Pod Of Coordinator Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-crdn-sxgd2w6y-128dfb of member coordinator is created
Normal Pod Of Coordinator Created 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-crdn-to1bm0c3-128dfb of member coordinator is created
Normal Pod Of Agent Created 36h (x2 over 36h) arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-co8m3gqw-128dfb of member agent is created
Normal Pod Of Agent Gone 36h arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-z8htk4xo-128dfb of member agent is gone
Normal Pod Of Agent Created 36h (x2 over 36h) arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-bnq8tiee-128dfb of member agent is created
Normal Pod Of Agent Created 36h (x2 over 36h) arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-z8htk4xo-128dfb of member agent is created
Normal Pod Of Agent Gone 36h (x2 over 36h) arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-co8m3gqw-128dfb of member agent is gone
Normal Pod Of Agent Gone 36h (x6 over 36h) arango-deployment-operator-8579f476cc-fspdz Pod arango-cluster-agnt-bnq8tiee-128dfb of member agent is gone
The text was updated successfully, but these errors were encountered: