-
Notifications
You must be signed in to change notification settings - Fork 366
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
try to connect to openStack from webserver and get ClientResponseException{message=Target service not allowed, status=403, status-code=FORBIDDEN} #769
Comments
@eitanElmalam it seems the permissions are not enabled, check without scopeToProject |
I check with out scopeToProject get same error. |
can you check with V2 authentication? |
I check with V2 same error. |
Hello, we are call with openstack4j from cloud environment so there a problem of security ..
|
@eitanElmalam I guess it's easier if you do and test the change on your side and follow up with a PR. |
Hi, Ok no problem , but how I do it ? I see your sources in the git , I do not know how to bring it to eclipse. |
I bring it to eclipse I got a few error like Where I can write unit test in which package ? |
I investigate the code , I do not know how to add the change , please help it is urgent. |
@eitanElmalam please try this approach |
I try, it did not help. |
Hey @eitanElmalam, |
Hi, I did the fix and it solve the issue .The fix in file - HttpClienFactory:
Can you add the fix to next realese ? |
we are try to connect from cloud java application to openstack environment and get error:
ClientResponseException{message=Target service not allowed, status=403, status-code=FORBIDDEN}
The code is :
OSClientV3 os = OSFactory.builderV3().endpoint(OPEN_STACK_URL)
.credentials("admin", "devstack", domainIdentifier)
.scopeToProject( projectIdentifier,domainIdentifier)
The text was updated successfully, but these errors were encountered: