Comment 3 for bug 1946816

Revision history for this message
melanie witt (melwitt) wrote (last edit ):

This is actually Invalid for nova. I made a mistake when I read the api-ref and missed that it says [1]:

"""
tags (Optional)

query

string

A list of tags to filter the server list by. Servers that match all tags in this list will be returned. Boolean expression in this case is ‘t1 AND t2’. Tags in query must be separated by comma.

New in version 2.26
"""

with the important bit being "Tags in query must be separated by comma." The nova API expects the tags request param to be of the format "tag1,tag2,tag3" and does not expect a string representation of a JSON list.

[1] https://docs.openstack.org/api-ref/compute/?expanded=list-servers-detailed-detail#id15