yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22439
[Bug 1374666] [NEW] Nova devref documentation on hooks is incorrect
Public bug reported:
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.
** Affects: nova
Importance: Undecided
Assignee: Lars Kellogg-Stedman (larsks)
Status: In Progress
--
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):
In Progress
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
Follow ups
References