]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
openstack: server show must always return array 677/head
authorLoic Dachary <ldachary@redhat.com>
Mon, 26 Oct 2015 09:09:47 +0000 (18:09 +0900)
committerLoic Dachary <ldachary@redhat.com>
Wed, 28 Oct 2015 05:38:20 +0000 (14:38 +0900)
If cliff-tablib is not present, the output of openstack server show is a
dictionary, otherwise it is a list of Field/Value pairs. Since
cliff-tablib is not a required dependency of python-openstack client,
the output format of openstack server show may vary. Add cliff-tablib as
a dependency so that the output format is always the same.

https://bugs.launchpad.net/python-openstackclient/+bug/1510546

Signed-off-by: Loic Dachary <ldachary@redhat.com>
setup.py

index 332f1124d60d64b58e65ddd8ff1b9fe5ec566ea6..5128efa1b3fa5ead7a1c07bbbd8a83904914bb2c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -55,6 +55,10 @@ setup(
                       'pyopenssl>=0.13',
                       'ndg-httpsclient',
                       'pyasn1',
+                      # the following may be removed when
+                      # https://bugs.launchpad.net/python-openstackclient/+bug/1510546
+                      # is resolved
+                      'cliff-tablib', # required to get a Field/Value output from openstack server show
                       'python-openstackclient',
                       ],