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

the pod of submariner-engine always Back-off #9

Closed
RocMe opened this issue Mar 28, 2019 · 5 comments
Closed

the pod of submariner-engine always Back-off #9

RocMe opened this issue Mar 28, 2019 · 5 comments
Labels
question Further information is requested

Comments

@RocMe
Copy link

RocMe commented Mar 28, 2019

when I exec "helm install submariner-latest/submariner
--name submariner
--namespace submariner
--set ipsec.psk="${SUBMARINER_PSK}"
--set broker.server="${SUBMARINER_BROKER_URL}"
--set broker.token="${SUBMARINER_BROKER_TOKEN}"
--set broker.namespace="${SUBMARINER_BROKER_NS}"
--set broker.ca="${SUBMARINER_BROKER_CA}"

--set submariner.clusterId="<CLUSTER_ID>"
--set submariner.clusterCidr="<CLUSTER_CIDR>"
--set submariner.serviceCidr="<SERVICE_CIDR>"
--set submariner.natEnabled="<NAT_ENABLED>"
the submariner-engine pod status:
Conditions:
Type Status
Initialized True
Ready False
ContainersReady False
PodScheduled True
Volumes:
submariner-engine-token-llv7j:
Type: Secret (a volume populated by a Secret)
SecretName: submariner-engine-token-llv7j
Optional: false
QoS Class: BestEffort
Node-Selectors: submariner.io/gateway=true
Tolerations: node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type Reason Age From Message


Normal Scheduled 85s default-scheduler Successfully assigned submariner/submariner-585556659b-txbb4 to instance-qynqwmj9-1
Normal Pulling 34s (x4 over 85s) kubelet, instance-qynqwmj9-1 pulling image "rancher/submariner:v0.0.1"
Normal Pulled 33s (x4 over 81s) kubelet, instance-qynqwmj9-1 Successfully pulled image "rancher/submariner:v0.0.1"
Normal Created 33s (x4 over 81s) kubelet, instance-qynqwmj9-1 Created container
Normal Started 33s (x4 over 81s) kubelet, instance-qynqwmj9-1 Started container
Warning BackOff 8s (x7 over 78s) kubelet, instance-qynqwmj9-1 Back-off restarting failed container
I want to know how to fix it .Thanks.

@Oats87 Oats87 added the question Further information is requested label Mar 28, 2019
@Oats87
Copy link
Member

Oats87 commented Mar 28, 2019

Did you just blindly run that helm install command or did you populate the fields?

@RocMe
Copy link
Author

RocMe commented Mar 29, 2019

Did you just blindly run that helm install command or did you populate the fields?

sure . I got values fields from broker cluster and set them. example :
I exec on broker cluster
echo $SUBMARINER_BROKER_NS
submariner-k8s-broker

then I do west cluster
SUBMARINER_BROKER_NS="submariner-k8s-broker"
and so on

@RocMe
Copy link
Author

RocMe commented Mar 29, 2019

Did you just blindly run that helm install command or did you populate the fields?

something I have to mention . I try to build submariner based on k3s not k8s .

@RocMe
Copy link
Author

RocMe commented Mar 29, 2019

I see the log of the error log
envconfig.Process: assigning SUBMARINER_NATENABLED to NatEnabled: converting '<NAT_ENABLED>' to type bool. details: strconv.ParseBool: parsing "<NAT_ENABLED>": invalid syntax

I try to set NAT_ENABLED in 3 ways:
NAT_ENABLED=false
NAT_ENABLED="false"
NAT_ENABLED=0

I got the same log based on the k3s .Could you help me , thank you.

mangelajo added a commit to mangelajo/submariner that referenced this issue Oct 1, 2019
…ecret

Add waits for secret creation before verifications
@mangelajo
Copy link
Contributor

Closing old issue with no activity for 6+ months. Please re-open if you still need help with this. Hopefully subctl is of help here.

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

No branches or pull requests

3 participants