openstack.compute
openstack.compute copied to clipboard
Python's images.list() doesn't capture image IDs properly
I'm writing a python script that gathers data about a collection of RS servers. To reduce the number of queries, I've been using the list() function to gather servers and images and then cross-referencing the image IDs with those of the servers to determine which server is using which image. However, some of the servers have image IDs that don't correspond to any image in the list that the list function returns. When I query the database with get(), however, it properly identifies the image.