[ops] Investigating Shelving/Unshelving of Instances in OpenStack with Asynchronous Functions
21 May
2024
21 May
'24
6:18 p.m.
Hi, I have a customer using a Pyrhon script to shelve/unshelve instance periodicly in the openstack, *He use openstack's std library for python and thus call * if (novaC.servers.get(server).status=='ACTIVE'): (novaC, cinderC, server, 'stop') -> nova.servers.stop() while (novaC.servers.get(server).status!='SHUTOFF'): time.sleep(10) if (novaC.servers.get(server).status=='SHUTOFF'): controlServer(novaC, cinderC, server, 'shelve') -> nova.servers.shelve() seems that script uses async function, which I supose be the problem.It is possible from nova API manipulate async requests ?
230
Age (days ago)
230
Last active (days ago)
0 comments
1 participants
participants (1)
-
Shubham Kumar Yadav