Can we create server group with empty policies?
Bug #1740123 reported by
wei.ying
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Confirmed
|
Wishlist
|
Takashi Natsume |
Bug Description
Env: devstack master branch
Des: According to the description of server group policies[1], the value of policies are "A list of exactly one policy name to associate with the server group".
However, when I use the following creation and pass the empty policies, and the server group can be created successfully, is this reasonable?
kwargs = {u'name': u'test', u'policies': []}
novaclient(
[1] https:/
tags: | added: api |
Changed in nova: | |
assignee: | nobody → Takashi NATSUME (natsume-takashi) |
To post a comment you must log in.
I don't see anything in the REST API schema validation or code that requires that policies are provided. I don't know if there is a good reason for creating a server group without any policies though.