openstack4j icon indicating copy to clipboard operation
openstack4j copied to clipboard

HostAggregateMetadata can't be removed

Open zhongkuiGuo opened this issue 4 years ago • 1 comments

  • First, I add a metadata (cpu_allocation_ratio) to hostAggregate and success !

  • Then, I want to delete this metadata , set this metadata value to null and send request :

Executing Request: POST http://novahost:8774/v2.1/os-aggregates/11/action, Headers -> {X-Auth-Token=gAAAAABgk1n......, User-Agent=OpenStack4j / OpenStack Client}, Params -> null, Body -> HostAggregateMetadata{metadata={cpu_allocation_ratio=null}}, Json -> null:50

  • It returned success ,but don't remove this metadata.

  • I watch the nova host , don't receive the request body : { "set_metadata" : { "metadata" : { } } }

zhongkuiGuo avatar May 06 '21 03:05 zhongkuiGuo

@olivergondza @drerik @frsyuki @gondor HELP!

zhongkuiGuo avatar May 06 '21 03:05 zhongkuiGuo