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

EDC 0.7.3 → DEBUG Message DataPlaneInstance is now in state AVAILABLE → Every Minute on end #1477

Closed
jerzy-wachowiak opened this issue Aug 2, 2024 · 5 comments
Labels
stale wontfix This will not be worked on

Comments

@jerzy-wachowiak
Copy link

During deployment data-plane is restarted

$ kc get po -w
NAME                                                              READY   STATUS    RESTARTS   AGE
dtr050-digital-twin-registry-5bcc797b6b-pg6dz                     1/1     Running   0          177m
edc073-tractusx-connector-azure-vault-controlplane-7f77b74tn4qh   0/1     Running   0          1s
edc073-tractusx-connector-azure-vault-dataplane-f9cd7c7d4-txmpk   0/1     Running   0          1s
edc073-tractusx-connector-azure-vault-controlplane-7f77b74tn4qh   1/1     Running   0          40s
edc073-tractusx-connector-azure-vault-dataplane-f9cd7c7d4-txmpk   0/1     Running   1 (1s ago)   91s
edc073-tractusx-connector-azure-vault-dataplane-f9cd7c7d4-txmpk   1/1     Running   1 (40s ago)   2m10s

due to

Events:
  Type     Reason     Age                  From               Message
  ----     ------     ----                 ----               -------
  Normal   Scheduled  2m36s                default-scheduler  Successfully assigned bpnl000000000nph-stg44/edc073-tractusx-connector-azure-vault-dataplane-f9cd7c7d4-txmpk to aks-agentpool-31089915-vmss00000g
  Normal   Pulled     67s (x2 over 2m37s)  kubelet            Container image "tractusx/edc-dataplane-azure-vault:0.7.3" already present on machine
  Normal   Created    67s (x2 over 2m37s)  kubelet            Created container tractusx-connector-azure-vault
  Warning  Unhealthy  67s (x8 over 117s)   kubelet            Readiness probe failed: HTTP probe failed with statuscode: 503
  Warning  Unhealthy  67s (x6 over 117s)   kubelet            Liveness probe failed: HTTP probe failed with statuscode: 503
  Normal   Killing    67s                  kubelet            Container tractusx-connector-azure-vault failed liveness probe, will be restarted
  Normal   Started    66s (x2 over 2m36s)  kubelet            Started container tractusx-connector-azure-vault

after this Debug logs are thrown every minute on end

INFO 2024-08-02T12:03:01.613766671 Runtime edc073-tractusx-connector-azure-vault-controlplane ready
DEBUG 2024-08-02T12:04:45.236498637 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state UNAVAILABLE
DEBUG 2024-08-02T12:05:45.324061335 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:06:45.38564909 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:07:45.440055655 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:08:45.489983729 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:09:45.534195069 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:10:45.581373155 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:11:45.629833481 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE
DEBUG 2024-08-02T12:12:45.669354558 [DataPlaneSelectorManagerImpl] DataPlaneInstance edc073-tractusx-connector-azure-vault-dataplane is now in state AVAILABLE

How can this be stopped?

@jerzy-wachowiak jerzy-wachowiak added bug Something isn't working triage all new issues awaiting classification labels Aug 2, 2024
@ndr-brt ndr-brt removed the bug Something isn't working label Aug 2, 2024
@github-project-automation github-project-automation bot moved this to Open in EDC Board Aug 2, 2024
@ndr-brt
Copy link
Contributor

ndr-brt commented Aug 2, 2024

it is a DEBUG message, to stop it just put the log level to INFO.
not a bug.

@ndr-brt ndr-brt added the wontfix This will not be worked on label Aug 2, 2024
@jerzy-wachowiak
Copy link
Author

Default chart settings are used with .level=INFO :
control plane:

logging: |-
.level=INFO
org.eclipse.edc.level=ALL
handlers=java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n

data plane:
logging: |-
.level=INFO
org.eclipse.edc.level=ALL
handlers=java.util.logging.ConsoleHandler
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.ConsoleHandler.level=ALL
java.util.logging.SimpleFormatter.format=[%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS] [%4$-7s] %5$s%6$s%n

Where the log level should be set?

@ndr-brt
Copy link
Contributor

ndr-brt commented Aug 2, 2024

good catch, looks like default level cannot be changed.
Opened an issue upstream: eclipse-edc/Connector#4392

@lgblaumeiser lgblaumeiser removed the triage all new issues awaiting classification label Aug 13, 2024
Copy link
Contributor

This issue is stale because it has been open for 2 weeks with no activity.

@github-actions github-actions bot added the stale label Aug 28, 2024
Copy link
Contributor

github-actions bot commented Sep 4, 2024

This issue was closed because it has been inactive for 7 days since being marked as stale.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 4, 2024
@github-project-automation github-project-automation bot moved this from Open to Done in EDC Board Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale wontfix This will not be worked on
Projects
Status: Done
Development

No branches or pull requests

3 participants