← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1594593] [NEW] API tests are broken with 'TypeError: create_tenant() takes exactly 1 argument (2 given)'

 

Public bug reported:

Tempest patch with Change-Id of:
I3fe7b6b7f81a0b20888b2c70a717065e4b43674f

Changed the v2 Keystone tenant API create_tenant to keyword arguments. This broke our API tests that used create_tenant with a tenant_id... It looks like the addCleanup that was supposed
to delete the newly created tenant actually created a second tenant. The existing create_tenant calls were unaffected by the Tempest change as it is backwards compatible.

** Affects: neutron
     Importance: Critical
     Assignee: Assaf Muller (amuller)
         Status: In Progress


** Tags: gate-failure

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

Title:
  API tests are broken with 'TypeError: create_tenant() takes exactly 1
  argument (2 given)'

Status in neutron:
  In Progress

Bug description:
  Tempest patch with Change-Id of:
  I3fe7b6b7f81a0b20888b2c70a717065e4b43674f

  Changed the v2 Keystone tenant API create_tenant to keyword arguments. This broke our API tests that used create_tenant with a tenant_id... It looks like the addCleanup that was supposed
  to delete the newly created tenant actually created a second tenant. The existing create_tenant calls were unaffected by the Tempest change as it is backwards compatible.

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


Follow ups