I do not think it is good practice to allow invalid utf-8 sequences in any name.
Most people expects valid UTF-8 names in xml and json rest API-s.
IMHO the invalid UTF-8 names should be rejected by 400.
(The test case in tempest is wrong now, but it can be fixed.)
Now, I can can cause an internal server error in glance by an invalid name.
I do not think it is good practice to allow invalid utf-8 sequences in any name.
Most people expects valid UTF-8 names in xml and json rest API-s.
IMHO the invalid UTF-8 names should be rejected by 400.
(The test case in tempest is wrong now, but it can be fixed.)
Now, I can can cause an internal server error in glance by an invalid name.