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

Error reported by localFeedRemoveOnedataUserToCredentialsMapping #49

Closed
andrea-manzi opened this issue Apr 21, 2021 · 1 comment
Closed

Comments

@andrea-manzi
Copy link

andrea-manzi commented Apr 21, 2021

Hello,
we are noticing that removing a user mapping from the LUMA Local Feed on a non imported storage is giving an error even though the mapping is actually removed from the feed

the mapping is there

[Onedata REST CLI - 20.02.7]$ onepanel-rest-cli -u onepanel:$PASSPHRASE localFeedGetOnedataUserToCredentialsMapping id=$STORAGE_ID onedata_user_id=$ONEDATA_USER_ID --host https://$ONEPANEL_HOST:9443 {"storageCredentials":{"uid":"1000"},"displayUid":1000}#

we try to remove it but we get an error

[Onedata REST CLI - 20.02.7]$ onepanel-rest-cli -u onepanel:$PASSPHRASE localFeedRemoveOnedataUserToCredentialsMapping id=$STORAGE_ID onedata_user_id=$ONEDATA_USER_ID --host https://$ONEPANEL_HOST:9443 {"error":{"id":"errorOnNodes","details":{"hostnames":["notebooks-cesnet-00.datahub.egi.eu"],"error":{"id":"requiresImportedStorage","details":{"storageId":"7093397c7214c48e89aa2d3df81ab992ch8e65"},"description":"Cannot apply for storage 7093397c7214c48e89aa2d3df81ab992ch8e65 - this operation requires an imported storage."}},"description":"Error on nodes notebooks-cesnet-00.datahub.egi.eu: Cannot apply for storage 7093397c7214c48e89aa2d3df81ab992ch8e65 - this operation requires an imported storage."}}#

if we check again, the mapping is correctly removed

[Onedata REST CLI - 20.02.7]$ onepanel-rest-cli -u onepanel:$PASSPHRASE localFeedGetOnedataUserToCredentialsMapping id=$STORAGE_ID onedata_user_id=$ONEDATA_USER_ID --host https://$ONEPANEL_HOST:9443 {"error":{"id":"errorOnNodes","details":{"hostnames":["notebooks-cesnet-00.datahub.egi.eu"],"error":{"id":"notFound","description":"The resource could not be found."}},"description":"Error on nodes notebooks-cesnet-00.datahub.egi.eu: The resource could not be found."}}#

same behaviour if we use directly the REST API

thanks
Andrea

@jakud
Copy link
Contributor

jakud commented Apr 21, 2021

Hello Andrea,

thank you very much for reporting the issue. We have just fixed it.
The fix will be present in the 20.02.10 release.

Cheers,
Jakub

@jakud jakud closed this as completed Jun 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants