yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22752
[Bug 1374666] Re: Nova devref documentation on hooks is incorrect
** 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
References