Ask Your Question

Aswad Rangnekar's profile - activity

2014-04-24 07:34:56 -0500 received badge  Famous Question (source)
2014-03-02 02:31:10 -0500 received badge  Notable Question (source)
2014-02-24 01:39:17 -0500 received badge  Popular Question (source)
2014-02-14 18:58:03 -0500 received badge  Student (source)
2014-02-12 04:29:05 -0500 asked a question Nova compute service does not shutdown gracefully when it is terminated abruptly during create server api

Hi,

Ref Nova graceful-shutdown BP: https://blueprints.launchpad.net/nova...

I am testing Nova graceful-shutdown BP for "create server scenario" on "single node Openstack installation using Devstack".

When I terminate the nova-compute processes, it does not wait for run_instance() from nova compute manager to complete. The processes terminated abruptly. According to the BP; nova compute services should wait for long running calls and it currently supported SIGINT and SIGTERM processes kill signals. Where am I going wrong while testing this scenario? Is create server API call supported by this BP ?

I performed following steps for testing:

  1. Insert pdb/time.sleep(20) in nova.compute.manager run_instance()
  2. Launch a new instance using dashboard (nova compute processes will stop at the point where pdb is inserted or time.sleep is introduced as described in step 1.
  3. Kill nova compute processes using any one SIGINT or SIGTERM signal as shown below
$ sudo kill -2 <nova_compute-processes-id>
OR
$ sudo kill -15 <nova_compute-processes-id>

Is there any alternate way to test this blueprint?

2014-01-15 02:57:56 -0500 answered a question How to be Python developer in Openstack

Hi,

To get insight of the libraries used you can take a look at "requirements.txt" file in each project repo. Say if you want to know what modules are used in glance take a look at the URl below. https://github.com/openstack/glance/blob/master/requirements.txt

2013-11-19 18:49:15 -0500 received badge  Good Answer (source)
2013-11-19 09:33:32 -0500 received badge  Nice Answer (source)
2013-11-19 07:59:12 -0500 received badge  Teacher (source)
2013-11-19 07:42:14 -0500 answered a question Is there a command or method to know the openstack swift version?

Have you tried "swift --version" ?

2013-11-16 00:08:05 -0500 received badge  Enthusiast