← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1442004] [NEW] instance group data model allows multiple polices

 

Public bug reported:

Now only two policy available, but only one can be used with a server
group.

$  nova server-group-create name "affinity" "anti-affinity"
ERROR (BadRequest): Invalid input received: Conflicting policies configured! (HTTP 400) (Request-ID: req-1af553f8-5fd6-4227-870b-be963aad2b62)
$  nova server-group-create name "affinity" "affinity"
ERROR (BadRequest): Invalid input received: Duplicate policies configured! (HTTP 400) (Request-ID: req-4b697798-89ec-48e1-9840-5e627c08657b)

The https://review.openstack.org/#/c/168372/1/specs/liberty/approved/soft-affinity-for-server-group.rst,cm,
contains two additional policy name,  but

"These new soft-affinity and soft-anti-affinity policies are mutually
exclusive with each other and with the other existing server-group
policies."

Suggesting to remove the 'instance_group_policy' table and add the
'policy' field to the 'instance_groups' tables.

** 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/1442004

Title:
  instance group data model allows multiple polices

Status in OpenStack Compute (Nova):
  New

Bug description:
  Now only two policy available, but only one can be used with a server
  group.

  $  nova server-group-create name "affinity" "anti-affinity"
  ERROR (BadRequest): Invalid input received: Conflicting policies configured! (HTTP 400) (Request-ID: req-1af553f8-5fd6-4227-870b-be963aad2b62)
  $  nova server-group-create name "affinity" "affinity"
  ERROR (BadRequest): Invalid input received: Duplicate policies configured! (HTTP 400) (Request-ID: req-4b697798-89ec-48e1-9840-5e627c08657b)

  The https://review.openstack.org/#/c/168372/1/specs/liberty/approved/soft-affinity-for-server-group.rst,cm,
  contains two additional policy name,  but

  "These new soft-affinity and soft-anti-affinity policies are mutually
  exclusive with each other and with the other existing server-group
  policies."

  Suggesting to remove the 'instance_group_policy' table and add the
  'policy' field to the 'instance_groups' tables.

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


Follow ups

References