Ask Your Question

How can server instances be filtered by its availability zone?

asked 2018-02-06 06:26:12 -0600

L4rS gravatar image

If I run openstack action execution run nova.servers_list '{ "search_opts": { "availability_zone": "myzone1" } }' as a non-admin user all instances are returned instead of a filtered list. Is there any possibility to filter instances by AZ without having an admin user?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-02-07 08:39:52 -0600

L4rS gravatar image

Use as a non-admin user nova.servers_findall:

openstack action execution run nova.servers_findall '{ "OS-EXT-AZ:availability_zone": "myzone1" }'

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-02-06 06:26:12 -0600

Seen: 49 times

Last updated: Feb 06 '18