From 5d9d332792439b851a28566adc6a4c974d96db81 Mon Sep 17 00:00:00 2001 From: Chris Meyers Date: Fri, 16 Dec 2016 10:36:38 -0500 Subject: [PATCH] rackspace deprecation warning on inv update --- awx/main/management/commands/inventory_import.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/awx/main/management/commands/inventory_import.py b/awx/main/management/commands/inventory_import.py index 7f87694cbe..797a211b79 100644 --- a/awx/main/management/commands/inventory_import.py +++ b/awx/main/management/commands/inventory_import.py @@ -1253,6 +1253,11 @@ class Command(NoArgsCommand): except re.error: raise CommandError('invalid regular expression for --host-filter') + ''' + TODO: Remove this deprecation when we remove support for rax.py + ''' + self.logger.info("Rackspace inventory sync is Deprecated in Tower 3.1.0 and support for Rackspace will be removed in a future release.") + begin = time.time() self.load_inventory_from_database()