Deprecate overcloud image prepare
We have replaced this function with the `openstack tripleo container image prepare` command which is more flexible. Change-Id: Ib4403d5040d2965575a87adbc2e2ca59aa286467
This commit is contained in:
parent
3d1a850302
commit
33130b75a8
|
@ -0,0 +1,8 @@
|
|||
---
|
||||
deprecations:
|
||||
- |
|
||||
`openstack overcloud container image prepare` has been
|
||||
deprecated and replaced by `openstack tripleo container image prepare`
|
||||
- |
|
||||
`openstack overcloud container image tag discover` has been
|
||||
deprecated and replaced by `openstack tripleo container image prepare`
|
|
@ -405,6 +405,9 @@ class PrepareImageFiles(command.Command):
|
|||
|
||||
def take_action(self, parsed_args):
|
||||
self.log.debug("take_action(%s)" % parsed_args)
|
||||
self.log.warning("[DEPRECATED] This command has been deprecated and "
|
||||
"replaced by the 'openstack tripleo container image "
|
||||
"prepare' command.")
|
||||
|
||||
roles_data = utils.fetch_roles_file(parsed_args.roles_file) or set()
|
||||
|
||||
|
@ -501,6 +504,9 @@ class DiscoverImageTag(command.Command):
|
|||
|
||||
def take_action(self, parsed_args):
|
||||
self.log.debug("take_action(%s)" % parsed_args)
|
||||
self.log.warning("[DEPRECATED] This command has been deprecated and "
|
||||
"replaced by the 'openstack tripleo container image "
|
||||
"prepare' command.")
|
||||
|
||||
uploader = image_uploader.ImageUploadManager([])
|
||||
print(uploader.discover_image_tag(
|
||||
|
|
Loading…
Reference in New Issue