Skip to content

Error calling nova, glance with v3 authentication #512

@sjpatil

Description

@sjpatil

Hi,
I am using openstack4j 2.0.2 with httpclient. All operations work properly with v2 auth but when I got for v3 I am getting errors.

OSClient os = OSFactory.builderV3().endpoint("http://myopenstack:5000/v3").domainName("d1").credentials("u1", "****").authenticate();

When I try to get supported service types from os client , it throws null pointer -
http://pastie.org/10577255#2

When called flavor list API or any other API, It shows -
http://pastie.org/10577259

Authenticate API returns token Id this means authentication is happening properly but somehow it is not able to communicate with other services.

With this version authentication API I even do not see option to specify project name/Id to get project scoped tokens

Using openstack4j snapshot 2.10 with HTTPClient I can execute APIs with project scoped tokens, However I am not able to authenticate with domain scope

Note: I have tried all these APIs with v3 token through curl and found them working fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions