Skip to content

Incompatible change in NovaKeypair #869

@asilgidjian

Description

@asilgidjian

I am using OpenStack Liberty instance and OpenStack4J 3.0.3-SNAPSHOT, because I need to create a private flavor, which got fixed with:
https://github.com/ContainX/openstack4j/pull/686/files

However my functionality got broken recently and now I cannot generate key pair. The error is as follows:

Additional properties are not allowed (u'deleted' was unexpected), status=400, status-code=BAD_REQUEST}
    at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:38)
    at org.openstack4j.core.transport.HttpExceptionHandler.mapException(HttpExceptionHandler.java:23)
    at org.openstack4j.core.transport.HttpEntityHandler.handleLessThan500(HttpEntityHandler.java:101)
    at org.openstack4j.core.transport.HttpEntityHandler.handle(HttpEntityHandler.java:47)
    at org.openstack4j.connectors.httpclient.HttpResponseImpl.getEntity(HttpResponseImpl.java:67)
    at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:220)
    at org.openstack4j.openstack.internal.BaseOpenStackService$Invocation.execute(BaseOpenStackService.java:202)
    at org.openstack4j.openstack.compute.internal.KeypairServiceImpl.create(KeypairServiceImpl.java:54)

I think that the issue is caused by the following change:
f5c65ff

Would you fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions