← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1702925] Re: The servers group api is called even if the policy disallows it [launch instance modal]

 

Reviewed:  https://review.openstack.org/481682
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f93c546c141ce2ba4356c5e57c8c5e1663663a83
Submitter: Jenkins
Branch:    master

commit f93c546c141ce2ba4356c5e57c8c5e1663663a83
Author: Pascal Boutin <pboutin@xxxxxxxxxxxx>
Date:   Fri Jul 7 11:44:04 2017 -0400

    Prevent getServerGroups if the policy disallows it
    
    The old implementation did not wait for the
    promise to resolve before doing the call, thus
    ignoring the policy.
    
    Change-Id: I2a7a55ddf287e660371dd6b268953a75afa2a380
    Closes-Bug: #1702925


** Changed in: horizon
       Status: In Progress => Fix Released

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

Title:
  The servers group api is called even if the policy disallows it
  [launch instance modal]

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  When the "os_compute_api:os-server-groups:discoverable" from the nova
  policy is disabled, a call is make to this api when the launch
  instance modal is opened, resulting into an 404 error.

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