Merge "Remove ..agent.build_instance_info_for_deploy() in Pike"
This commit is contained in:
commit
9eb148ad37
@ -68,11 +68,11 @@ PARTITION_IMAGE_LABELS = ('kernel', 'ramdisk', 'root_gb', 'root_mb', 'swap_mb',
|
|||||||
|
|
||||||
|
|
||||||
def build_instance_info_for_deploy(task):
|
def build_instance_info_for_deploy(task):
|
||||||
# TODO(pas-ha) remove this at the end of Ocata release
|
# TODO(pas-ha) remove this in Pike cycle
|
||||||
LOG.warning(_LW("This function is moved to "
|
LOG.warning(_LW("This function has moved to "
|
||||||
"'ironic.drivers.modules.deploy_utils' module. "
|
"'ironic.drivers.modules.deploy_utils' module. "
|
||||||
"Using it from 'ironic.drivers.modules.agent' module "
|
"Using it from 'ironic.drivers.modules.agent' module "
|
||||||
"is deprecated and will be impossible in Ocata release. "
|
"is deprecated and will be removed in the Pike release. "
|
||||||
"Please update your driver to use this function "
|
"Please update your driver to use this function "
|
||||||
"from its new location."))
|
"from its new location."))
|
||||||
return deploy_utils.build_instance_info_for_deploy(task)
|
return deploy_utils.build_instance_info_for_deploy(task)
|
||||||
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- The function build_instance_info_for_deploy() is deprecated from
|
||||||
|
ironic.drivers.modules.agent and will be removed in the Pike cycle.
|
||||||
|
Its new home is ironic.drivers.modules.deploy_utils. Out-of-tree
|
||||||
|
drivers that use this function should be updated accordingly.
|
Loading…
x
Reference in New Issue
Block a user