I think it's better to specify param read_deleted='False' when invoke instance_types.get_instance_type_by_flavor_id() in show() method (nova.api.openstack.compute.flavors:Controller.show).
I think it's better to specify param read_deleted= 'False' when invoke instance_ types.get_ instance_ type_by_ flavor_ id() in show() method (nova.api. openstack. compute. flavors: Controller. show).