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

HostAggregateMetadata can't be removed #1334

Open
zhongkuiGuo opened this issue May 6, 2021 · 1 comment
Open

HostAggregateMetadata can't be removed #1334

zhongkuiGuo opened this issue May 6, 2021 · 1 comment

Comments

@zhongkuiGuo
Copy link

zhongkuiGuo commented May 6, 2021

  • 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
Copy link
Author

@olivergondza @drerik @frsyuki @gondor HELP!

@zhongkuiGuo zhongkuiGuo changed the title HostAggregateMetadata can't set to null HostAggregateMetadata can't be removed May 6, 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

1 participant