← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1377304] [NEW] Deleting endpoint group project fails

 

Public bug reported:

Deleting a endpoint group project fails because the router specifies a
controller method that doesn't exist. Adding this test highlights the
error:

    def test_removing_an_endpoint_group_project(self):
        # create endpoint group
        endpoint_group_id = self._create_valid_endpoint_group(
            self.DEFAULT_ENDPOINT_GROUP_URL, self.DEFAULT_ENDPOINT_GROUP_BODY)

        # create an endpoint_group project
        url = self._get_project_endpoint_group_url(
            endpoint_group_id, self.default_domain_project_id)
        self.put(url)

        # remove the endpoint group project
        self.delete(url)
        self.get(url, expected_status=404)

The `self.delete(url)` fails with the following error: 
    AttributeError: 'ProjectEndpointGroupV3Controller' object has no attribute 'remove_endpo
int_group_from_project'

This returns a 500 error to the user for what should be a successful
operation.

** Affects: keystone
     Importance: Medium
     Assignee: David Stanek (dstanek)
         Status: In Progress


** Tags: juno-rc-potential

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1377304

Title:
  Deleting endpoint group project fails

Status in OpenStack Identity (Keystone):
  In Progress

Bug description:
  Deleting a endpoint group project fails because the router specifies a
  controller method that doesn't exist. Adding this test highlights the
  error:

      def test_removing_an_endpoint_group_project(self):
          # create endpoint group
          endpoint_group_id = self._create_valid_endpoint_group(
              self.DEFAULT_ENDPOINT_GROUP_URL, self.DEFAULT_ENDPOINT_GROUP_BODY)

          # create an endpoint_group project
          url = self._get_project_endpoint_group_url(
              endpoint_group_id, self.default_domain_project_id)
          self.put(url)

          # remove the endpoint group project
          self.delete(url)
          self.get(url, expected_status=404)

  The `self.delete(url)` fails with the following error: 
      AttributeError: 'ProjectEndpointGroupV3Controller' object has no attribute 'remove_endpo
  int_group_from_project'

  This returns a 500 error to the user for what should be a successful
  operation.

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


Follow ups

References