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

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

Open
rogalv opened this issue Jul 27, 2020 · 0 comments
Open

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

rogalv opened this issue Jul 27, 2020 · 0 comments

Comments

@rogalv
Copy link
Collaborator

rogalv commented Jul 27, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant