diff --git a/openstackclient/shell.py b/openstackclient/shell.py index bc88e1f1e2..1be298be45 100644 --- a/openstackclient/shell.py +++ b/openstackclient/shell.py @@ -17,6 +17,7 @@ """Command-line interface to the OpenStack APIs""" import sys +import warnings from osc_lib.api import auth from osc_lib.command import commandmanager @@ -44,6 +45,10 @@ class OpenStackShell(shell.OpenStackShell): # Assume TLS host certificate verification is enabled self.verify = True + # ignore warnings from openstacksdk since our users can't do anything + # about them + warnings.filterwarnings('ignore', module='openstack') + def build_option_parser(self, description, version): parser = super(OpenStackShell, self).build_option_parser( description,