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

** Changed in: nova
    Milestone: None => juno-rc1

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

Title:
  Nova devref documentation on hooks is incorrect

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  The syntax suggested for adding hooks to nova via setup.py entrypoints
  is:

      entry_points = {
          'nova.hooks': [
              'resize_hook': your_package.hooks.YourHookClass,
          ]
      },

  
  But this is incorrect.  The class name and module name need to be delimited 
with ':':

      entry_points = {
          'nova.hooks': [
              'resize_hook': your_package.hooks:YourHookClass,
          ]
      },

  Follow the example in the existing documentation will result in hooks
  that never get called.

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to