1) In cinder/objects/qos_specs.py
the OPTIONAL_FIELDS is part of the class definition,
_from_db_object should no longer be a staticmethod,
but should be a classmethod
2) Same issue fixed in cinder/objects/snapshot.py
3) cinder/api/views/qos_specs.py
The comma missing in dictionary definition
https://review.openstack.org/#/c/251989/27/cinder/api/views/qos_specs.py@44
Change-Id: I94977ffdd1dce5a44f19c1d35422cb37b54f8d25