Activity log for bug #974293

Date Who What changed Old value New value Message
2012-04-05 14:04:39 Unmesh Gurjar bug added bug
2012-04-05 14:11:55 Unmesh Gurjar description Scenario: I have a running instance in my devstack environment (using master branch). Then I ran the unit test suite and the Nova instances directory got deleted. My instances directory is '/opt/stack/nova/instances' and all instances are lost. The periodic task 'update_available_resource' fails with the following stack trace: 2012-04-05 06:51:20 DEBUG nova.manager [-] Running periodic task ComputeManager.update_available_resource from (pid=12348) periodic_tasks /opt/stack/nova/nova/manager.p y:152 2012-04-05 06:51:20 ERROR nova.manager [-] Error during ComputeManager.update_available_resource: [Errno 2] No such file or directory: '/opt/stack/nova/instances' 2012-04-05 06:51:20 TRACE nova.manager Traceback (most recent call last): 2012-04-05 06:51:20 TRACE nova.manager File "/opt/stack/nova/nova/manager.py", line 155, in periodic_tasks 2012-04-05 06:51:20 TRACE nova.manager task(self, context) 2012-04-05 06:51:20 TRACE nova.manager File "/opt/stack/nova/nova/compute/manager.py", line 2403, in update_available_resource 2012-04-05 06:51:20 TRACE nova.manager self.driver.update_available_resource(context, self.host) 2012-04-05 06:51:20 TRACE nova.manager File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 2025, in update_available_resource 2012-04-05 06:51:20 TRACE nova.manager 'local_gb': self.get_local_gb_total(), 2012-04-05 06:51:20 TRACE nova.manager File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 1839, in get_local_gb_total 2012-04-05 06:51:20 TRACE nova.manager stats = libvirt_utils.get_fs_info(FLAGS.instances_path) 2012-04-05 06:51:20 TRACE nova.manager File "/opt/stack/nova/nova/virt/libvirt/utils.py", line 277, in get_fs_info 2012-04-05 06:51:20 TRACE nova.manager hddinfo = os.statvfs(path) 2012-04-05 06:51:20 TRACE nova.manager OSError: [Errno 2] No such file or directory: '/opt/stack/nova/instances' 2012-04-05 06:51:20 TRACE nova.manager 2012-04-05 06:51:20 DEBUG nova.manager [-] Running periodic task ComputeManager._poll_rebooting_instances from (pid=12348) periodic_tasks /opt/stack/nova/nova/manager.p y:152 2012-04-05 06:51:20 DEBUG nova.manager [-] Skipping ComputeManager._cleanup_running_deleted_instances, 17 ticks left until next run from (pid=12348) periodic_tasks /opt /stack/nova/nova/manager.py:147 Scenario: I have a running instance in my devstack environment (using master branch). Then I ran the unit test suite and the Nova instances directory got deleted. My instances directory is '/opt/stack/nova/instances' and all instances are lost. The periodic task 'update_available_resource' fails with the following stack trace/nova-compute console log in the below link: http://paste.openstack.org/show/12456/
2012-04-05 23:47:04 Vish Ishaya nova: importance Undecided High
2012-04-05 23:47:11 Vish Ishaya nova: status New In Progress
2012-04-05 23:47:14 Vish Ishaya nova: assignee Vish Ishaya (vishvananda)
2012-04-06 07:06:13 Thierry Carrez nominated for series nova/essex
2012-04-06 07:06:13 Thierry Carrez bug task added nova/essex
2012-04-06 07:06:24 Thierry Carrez bug task deleted nova/essex
2012-04-06 07:07:23 Thierry Carrez nominated for series nova/essex
2012-04-06 07:07:23 Thierry Carrez bug task added nova/essex
2012-04-06 07:07:31 Thierry Carrez nova/essex: status New In Progress
2012-04-06 07:07:41 Thierry Carrez nova/essex: assignee Vish Ishaya (vishvananda)
2012-04-06 07:07:44 Thierry Carrez nova/essex: importance Undecided High
2012-04-06 19:42:35 OpenStack Infra nova: status In Progress Fix Committed
2012-04-07 01:52:37 OpenStack Infra tags in-stable-essex
2012-04-10 21:19:33 Mark McLoughlin nova/essex: status In Progress Fix Committed
2012-04-17 14:20:45 Mohammad Y. Zachariah nova/essex: status Fix Committed Fix Released
2012-04-23 14:19:15 Thierry Carrez nova/essex: status Fix Released Fix Committed
2012-05-22 16:53:50 Devin Carlen nova: milestone folsom-1
2012-05-23 12:58:11 Thierry Carrez nova: status Fix Committed Fix Released
2012-06-14 15:03:33 Mark McLoughlin nova/essex: milestone 2012.1.1
2012-06-21 23:58:10 Mark McLoughlin nova/essex: status Fix Committed Fix Released
2012-09-27 15:18:57 Thierry Carrez nova: milestone folsom-1 2012.2