Skip to content

Broker fails to init with ECS in NAMESPACE user scope mode #149

@rogalv

Description

@rogalv

Broker deployment fails when target ECS is configured with user_scope=NAMESPACE option:

2020-07-27 07:55:46.593  INFO 1 --- [           main] com.emc.ecs.management.sdk.Connection    : Making get request to https://10.52.202.90:4443/object/user-secret-keys/test-e2e-user
2020-07-27 07:55:47.450  WARN 1 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ecsService': Invocation of init method failed; nested exception is org.springframework.cloud.servicebroker.exception.ServiceBrokerException: com.emc.ecs.servicebroker.EcsManagementClientException: Error: An error occurred in the API Service (7000): An error occurred in the API service. Cause: error getting user secret key.. Retryable: false.

Broker should use different APIs when user scope is GLOBAL or NAMESPACE, see docs:

Configuration Get:
http://doc.isilon.com/ECS/3.3/API/ConfigurationService_getProperties_7a77b1678546de976f546c1d4fd26fb1_b2081f90369a6d96de7811240fd3b244_detail.html

User secret Get used now:
http://doc.isilon.com/ECS/3.3/API/UserSecretKeyService_getKeysForUser_42eb878be2de016490ed45ca033aa750_b2081f90369a6d96de7811240fd3b244_detail.html

User secret Get to use in NAMESPACE mode:
http://doc.isilon.com/ECS/3.3/API/UserSecretKeyService_getKeysForUser_63d6b556ce89f160a9aac540955ee75d_b2081f90369a6d96de7811240fd3b244_detail.html

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions