Description of problem: With python-manilaclinet version 1.1.0 command to set default quota class produces error: "'Namespace' object has not attribute 'class-name'" How reproducible: 100% Actual results: $ manila quota-class-update --shares 0 default ERROR: 'Namespace' object has no attribute 'class_name' $ manila --debug quota-class-update --shares 0 default DEBUG (shell:507) 'Namespace' object has no attribute 'class_name' Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/manilaclient/shell.py", line 502, in main map(encodeutils.safe_decode, sys.argv[1:])) File "/usr/lib/python2.7/site-packages/manilaclient/shell.py", line 450, in main args.func(self.cs, args) File "/usr/lib/python2.7/site-packages/manilaclient/v1/shell.py", line 359, in do_quota_class_update _quota_update(cs.quota_classes, args.class_name, args) AttributeError: 'Namespace' object has no attribute 'class_name' ERROR: 'Namespace' object has no attribute 'class_name' Expected results: No error and quota class will be set.
Fixed in upstream 1.5