← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1740123] [NEW] Can we create server group with empty policies?

 

Public bug reported:

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(request).server_groups.create(**kwargs)


[1] https://developer.openstack.org/api-ref/compute/#create-server-group

** Affects: nova
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1740123

Title:
  Can we create server group with empty policies?

Status in OpenStack Compute (nova):
  New

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(request).server_groups.create(**kwargs)

  
  [1] https://developer.openstack.org/api-ref/compute/#create-server-group

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1740123/+subscriptions