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

Deployment only out of .json files #222

Open
OlavHerbst opened this issue Dec 20, 2023 · 1 comment
Open

Deployment only out of .json files #222

OlavHerbst opened this issue Dec 20, 2023 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@OlavHerbst
Copy link

OlavHerbst commented Dec 20, 2023

We detected that after editing a container deployment Json file the container is running twice. The reason is that the backup file created by text editor vim is also evaluated by the container-management. The log shows that it reads every file in deployment subdir. not only the files with suffix .json. Example:

ls -1a /etc/container-management/deployment/
.
..
self-update-agent.json
self-update-agent.json~ <-- created by vim
.self-update-agent.json.un~ <-- binary created by vim, not listed with ls
vehicle-update-manager.json

Suggestion to avoid this: Kanto should only evaluate the Json files with file extension .json for container deployment.

@k-gostev k-gostev added the bug Something isn't working label Dec 20, 2023
@k-gostev k-gostev added this to the M5 milestone Dec 20, 2023
@k-gostev
Copy link
Member

thanks @OlavHerbst for reporting this bug, we will check it out and try to resolve it soon

AnishVallolikalathilAchuthadas added a commit to AnishVallolikalathilAchuthadas/container-management that referenced this issue Jun 5, 2024
Signed-off-by: Anish Vallolikalathil Achuthadas <anish.vallolikalathilachuthadas@in.bosch.com>
AnishVallolikalathilAchuthadas added a commit to AnishVallolikalathilAchuthadas/container-management that referenced this issue Jun 12, 2024
Signed-off-by: Anish Vallolikalathil Achuthadas <anish.vallolikalathilachuthadas@in.bosch.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants