← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1403586] Re: 'Controller.create' is too complex

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => kilo-2

-- 
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/1403586

Title:
  'Controller.create' is too complex

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The method Controller.create in nova/api/openstack/compute/servers.py
  has a complexity of 46 that is the most complex in Nova code and it is
  equal to the limit specified in tox.ini. This cause a pep8 error if
  someone tries to add a new api for server create action. This fail is
  unavoidable if one wants to keep consistency with the way other
  extensions are loaded, so a refactoring is necessary to lower the
  complexity.

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


References