Handle oslo.serialization type error and binascii error
Handle oslo.serialization type error and binascii error

A upcoming oslo.serialization release will unify these
but for now just handle both so that the release of that
library can proceed without breaking nova.

Change-Id: I87d5497307fa1610b4c340fe562d65cd25a93feb

phenoxim/nova,rajalokan/nova,gooddata/openstack-nova,rajalokan/nova,Juniper/nova,klmitch/nova,mikalstill/nova,gooddata/openstack-nova,Juniper/nova,klmitch/nova,vmturbo/nova,mikalstill/nova,rahulunair/nova,vmturbo/nova,mahak/nova,openstack/nova,mahak/nova,mahak/nova,jianghuaw/nova,klmitch/nova,openstack/nova,jianghuaw/nova,Juniper/nova,rahulunair/nova,phenoxim/nova,rajalokan/nova,vmturbo/nova,gooddata/openstack-nova,gooddata/openstack-nova,klmitch/nova,jianghuaw/nova,openstack/nova,Juniper/nova,vmturbo/nova,rahulunair/nova,rajalokan/nova,jianghuaw/nova,mikalstill/nova