← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1157237] Re: ERROR in log when rebooting too soon after a reboot

 

** Changed in: nova/grizzly
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1157237

Title:
  ERROR in log when rebooting too soon after a reboot

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Released

Bug description:
  With grizzly  1:2013.1+git201303180832~precise-0ubuntu1

  Doing

  nova reboot --hard test;nova reboot --hard test

  causes the following ERROR in the log. The second reboot is returning
  422. I presume the second call is expected to fail though 422 is not
  one of the codes mentioned in the spec.  If so, there should not be an
  ERROR in the log.  Interestingly, if you do the same thing with soft
  reboot, there is no error and the response to the second call is 409.

  Mar 19 10:58:09 se11-1eth0 2013-03-19 10:58:09.154 ERROR nova.api.openstack.compute.servers [req-3ca09d16-7195-43cc-b0c8-4e52ac334920 5dda90b838634950ae3bb5e43b9225e0 8f6f26e2d384488989abad72c7f2612f] [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a] Error in reboot unexpected task state: expecting [None, 'rebooting'] but the actual state is rebooting_hard#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a] Traceback (most recent call last):#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]   File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/servers.py", line 1072, in _action_reboot#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]     self.compute_api.reboot(context, instance, reboot_type)#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 163, in wrapped#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]     return func(self, context, target, *args, **kwargs)#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 153, in inner#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]     return function(self, context, instance, *args, **kwargs)#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]   File "/usr/lib/python2.7/dist-packages/nova/compute/api.py", line 134, in inner#0122013-03-19 10:58:09.154 32202 TRACE nova.api.openstack.compute.servers [instance: 10e0dfa0-5c7e-4526-b2a1-fa9b21ba531a]     return f(self, context, ins
  Mar 19 10:58:09 se11-1eth0 2013-03-19 10:58:09.156 INFO nova.api.openstack.wsgi [req-3ca09d16-7195-43cc-b0c8-4e52ac334920 5dda90b838634950ae3bb5e43b9225e0 8f6f26e2d384488989abad72c7f2612f] HTTP exception thrown: Unable to process the contained instructions
  Mar 19 10:58:09 se11-1eth0 2013-03-19 10:58:09.157 INFO nova.osapi_compute.wsgi.server [req-3ca09d16-7195-43cc-b0c8-4e52ac334920 5dda90b83863

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1157237/+subscriptions