list_instances and get_info in libvirt_conn do not return defer

Asked by Armando Migliaccio

I can see from the code in virt/libvirt_conn.py that most of the LibvirtConnection's methods are asynchronous. However list_instances and get_info are not. Is this intentional? Or am I missing something?

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Armando Migliaccio
Solved:
Last query:
Last reply:
Revision history for this message
Armando Migliaccio (armando-migliaccio) said :
#1

Based on Ewan's comment at revision 229 (http://bazaar.launchpad.net/~ewanmellor/nova/xenapi-concurrency-model/revision/229) I am assuming that those methods were meant to be made async at some point.

If no-one objects I am creating a bug report for this and fix it shortly.

Revision history for this message
Armando Migliaccio (armando-migliaccio) said :
#2

It looks like the issue is present, but the way we make things async will change soon. See bug activity log for more info.