Hotfixes API and gogo.sh #14

Merged
MOIS3Y merged 2 commits from MOIS3Y/isp-maintenance:gogo into main 2024-06-09 15:59:05 +08:00
Owner

I came across the fact that some instances use a dash rather than an underscore in the name of containers.
The problem affects the connection to DCImanager 6. The API cannot access dci_input_1 since it is called dci-input-1.
It is not possible to predict which option is on the server, I applied a workaround even if requests returns a ConnectionError, provided that PLATFORM_TYPE == "dci" changes for the instance class f self.API_URL to http://dci-input-1

Globally, the problem would be solved if each microservice had a container_name specified in the docker-compose.yaml of the platform. But this is a question for the development department.

I also corrected gogo.sh, there were problems with --init, it once again printed help and --crt did not save the certificate in ssh-add -l

I came across the fact that some instances use a dash rather than an underscore in the name of containers. The problem affects the connection to DCImanager 6. The API cannot access dci_input_1 since it is called dci-input-1. It is not possible to predict which option is on the server, I applied a workaround even if requests returns a ConnectionError, provided that PLATFORM_TYPE == "dci" changes for the instance class f self.API_URL to http://dci-input-1 Globally, the problem would be solved if each microservice had a container_name specified in the docker-compose.yaml of the platform. But this is a question for the development department. I also corrected gogo.sh, there were problems with --init, it once again printed help and --crt did not save the certificate in ssh-add -l
MOIS3Y added the
hotfix
label 2024-06-09 15:54:09 +08:00
MOIS3Y added 2 commits 2024-06-09 15:54:10 +08:00
MOIS3Y added this to the ISP maintenace app project 2024-06-09 15:54:10 +08:00
a.garaev approved these changes 2024-06-09 15:58:13 +08:00
MOIS3Y merged commit 6c6df42e7f into main 2024-06-09 15:59:05 +08:00
Sign in to join this conversation.
No description provided.