What Should I Do If an Error Occurs When I Change the Name of a Project ?
For the professional edition of microservice engines, projects are used for resource isolation. When their names are changed, the changes need to be updated globally.
It means that you need to update all microservices that use the professional service center for registration and discovery in the project. Otherwise, the "Project id or name is not existed" error may occur.
You can perform the following operations to resolve this issue:
- If a microservice is deployed through ServiceStage, update the microservice components by referring to Upgrading an Application Component (you do not need to modify any parameter).
- If a microservice is not deployed through ServiceStage, change the name of the project in the microservice configuration to the actual value and update the microservice.
- For details about the configuration items of a project, see Table 1.
- For details about how to obtain the name of a project, see How Do I Obtain a Project Name?.
Table 1 Configuration items of project Microservice Framework
Configuration Item
Configuration File
Java Chassis
servicecomb.credentials.project
microservice.yml
Spring Cloud Huawei
spring.cloud.servicecomb.credentials.project
application.yml
Dubbo ServiceComb
dubbo.servicecomb.credentials.project
dubbo.properties
Go Chassis
servicecomb.credentials.project
chassis.yaml or auth.yaml
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot