summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--novaclient/tests/functional/v2/test_extended_attributes.py3
-rw-r--r--novaclient/v2/shell.py1
-rw-r--r--releasenotes/notes/bug-1669140-c21d045491201352.yaml5
3 files changed, 7 insertions, 2 deletions
diff --git a/novaclient/tests/functional/v2/test_extended_attributes.py b/novaclient/tests/functional/v2/test_extended_attributes.py
index b585a34b..bf06875c 100644
--- a/novaclient/tests/functional/v2/test_extended_attributes.py
+++ b/novaclient/tests/functional/v2/test_extended_attributes.py
@@ -32,8 +32,7 @@ class TestExtAttrNovaClientV23(test_extended_attributes.TestExtAttrNovaClient):
'OS-EXT-SRV-ATTR:ramdisk_id',
'OS-EXT-SRV-ATTR:kernel_id',
'OS-EXT-SRV-ATTR:hostname',
- 'OS-EXT-SRV-ATTR:root_device_name',
- 'OS-EXT-SRV-ATTR:user_data']:
+ 'OS-EXT-SRV-ATTR:root_device_name']:
self._get_value_from_the_table(table, attr)
# Check that attribute given below also exists in 'nova show' table
# as a key (first column) of table dict
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index 773e6ce0..e86add10 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -2502,6 +2502,7 @@ def _print_server(cs, args, server=None, wrap=0):
info.pop('links', None)
info.pop('addresses', None)
+ info.pop('OS-EXT-SRV-ATTR:user_data', None)
utils.print_dict(info, wrap=wrap)
diff --git a/releasenotes/notes/bug-1669140-c21d045491201352.yaml b/releasenotes/notes/bug-1669140-c21d045491201352.yaml
new file mode 100644
index 00000000..1c950c1f
--- /dev/null
+++ b/releasenotes/notes/bug-1669140-c21d045491201352.yaml
@@ -0,0 +1,5 @@
+---
+issues:
+ - |
+ The ``nova show`` command will no longer output the ``user_data`` column.
+ This is traditionally binary data of limited value from a CLI perspective.