[Kernel-packages] [Bug 1536280] Re: domain shutdown fails for libvirt/lxc

2016-01-25 Thread Christopher M. Penalver
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1536280

Title:
  domain shutdown fails for libvirt/lxc

Status in libvirt package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  There appears to be a regression from kernel 3.13.0-58-generic where
  virDomainShutdown no longer brings the domain to shutoff state in
  newer Ubuntu kernels.

  Details:
  

  OS:
  ---
  $ lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  Kernel:
  ---
  $ uname -a
  Linux thomas-devstack01 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  Package:
  
  $ dpkg -l | grep libvirt-bin
  ii  libvirt-bin  1.2.2-0ubuntu13.1.16 
 amd64programs for the libvirt library

  Libvirt virt driver: LXC

  Issue seen from console:
  

  $ sudo virsh -c lxc:/// shutdown instance-0001
  error: Failed to shutdown domain instance-0001
  error: internal error: Child process (1304) unexpected exit status 1

  libvirtd logs:
  --

  2016-01-20 16:42:38.267+: 14089: debug : virDomainShutdown:3094 : 
dom=0x7f89d0004a70, (VM: name=instance-0001, 
uuid=e342beb8-8666-4a47-8b40-5844e866e1f7)
  2016-01-20 16:42:38.269+: 14089: error : virProcessWait:191 : internal 
error: Child process (1304) unexpected exit status 1

  nova-compute logs
  -
  *Note*: From when attempting to do a nova stop  in devstack

  
  2016-01-20 16:37:35.244 ERROR oslo_messaging.rpc.dispatcher 
[req-dd0fe69c-9bd2-4de5-b59b-77619699d69b demo demo] Exception during message 
handling: internal error: Child process
  (631) unexpected exit status 1
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
143, in _dispatch_and_reply
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback))
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
189, in _dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher result = 
func(ctxt, **new_args)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 110, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher payload)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 89, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
f(self, context, *args, **kw)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 357, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
LOG.warning(msg, e, instance=instance)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 330, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 407, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
kwargs['instance'], e, sys.exc_info())
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE o

[Kernel-packages] [Bug 1536280] Re: domain shutdown fails for libvirt/lxc

2016-01-20 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: libvirt (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1536280

Title:
  domain shutdown fails for libvirt/lxc

Status in libvirt package in Ubuntu:
  Confirmed
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  There appears to be a regression from kernel 3.13.0-58-generic where
  virDomainShutdown no longer brings the domain to shutoff state in
  newer Ubuntu kernels.

  Details:
  

  OS:
  ---
  $ lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  Kernel:
  ---
  $ uname -a
  Linux thomas-devstack01 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  Package:
  
  $ dpkg -l | grep libvirt-bin
  ii  libvirt-bin  1.2.2-0ubuntu13.1.16 
 amd64programs for the libvirt library

  Libvirt virt driver: LXC

  Issue seen from console:
  

  $ sudo virsh -c lxc:/// shutdown instance-0001
  error: Failed to shutdown domain instance-0001
  error: internal error: Child process (1304) unexpected exit status 1

  libvirtd logs:
  --

  2016-01-20 16:42:38.267+: 14089: debug : virDomainShutdown:3094 : 
dom=0x7f89d0004a70, (VM: name=instance-0001, 
uuid=e342beb8-8666-4a47-8b40-5844e866e1f7)
  2016-01-20 16:42:38.269+: 14089: error : virProcessWait:191 : internal 
error: Child process (1304) unexpected exit status 1

  nova-compute logs
  -
  *Note*: From when attempting to do a nova stop  in devstack

  
  2016-01-20 16:37:35.244 ERROR oslo_messaging.rpc.dispatcher 
[req-dd0fe69c-9bd2-4de5-b59b-77619699d69b demo demo] Exception during message 
handling: internal error: Child process
  (631) unexpected exit status 1
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
143, in _dispatch_and_reply
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback))
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
189, in _dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher result = 
func(ctxt, **new_args)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 110, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher payload)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 89, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
f(self, context, *args, **kw)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 357, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
LOG.warning(msg, e, instance=instance)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 330, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 407, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
kwargs['instance'], e, sys.exc_info())
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/

[Kernel-packages] [Bug 1536280] Re: domain shutdown fails for libvirt/lxc

2016-01-20 Thread Thomas Maddox
** Description changed:

  There appears to be a regression from kernel 3.13.0-58-generic where
  virDomainShutdown no longer brings the domain to shutoff state in newer
  Ubuntu kernels.
  
  Details:
  
  
  OS:
  ---
  $ lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04
  
  Kernel:
  ---
  $ uname -a
  Linux thomas-devstack01 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  
  Package:
  
  $ dpkg -l | grep libvirt-bin
  ii  libvirt-bin  1.2.2-0ubuntu13.1.16 
 amd64programs for the libvirt library
  
  Libvirt virt driver: LXC
  
  Issue seen from console:
  
  
  $ sudo virsh -c lxc:/// shutdown instance-0001
  error: Failed to shutdown domain instance-0001
  error: internal error: Child process (1304) unexpected exit status 1
  
  libvirtd logs:
  --
  
  2016-01-20 16:42:38.267+: 14089: debug : virDomainShutdown:3094 : 
dom=0x7f89d0004a70, (VM: name=instance-0001, 
uuid=e342beb8-8666-4a47-8b40-5844e866e1f7)
  2016-01-20 16:42:38.269+: 14089: error : virProcessWait:191 : internal 
error: Child process (1304) unexpected exit status 1
  
  nova-compute logs
  -
  *Note*: From when attempting to do a nova stop  in devstack
  
- ```
+ 
  2016-01-20 16:37:35.244 ERROR oslo_messaging.rpc.dispatcher 
[req-dd0fe69c-9bd2-4de5-b59b-77619699d69b demo demo] Exception during message 
handling: internal error: Child process
  (631) unexpected exit status 1
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
143, in _dispatch_and_reply
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback))
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
189, in _dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher result = 
func(ctxt, **new_args)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 110, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher payload)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 89, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
f(self, context, *args, **kw)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 357, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
LOG.warning(msg, e, instance=instance)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 330, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 407, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
kwargs['instance'], e, sys.exc_info())
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 373, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
 

[Kernel-packages] [Bug 1536280] Re: domain shutdown fails for libvirt/lxc

2016-01-20 Thread Thomas Maddox
** Description changed:

  There appears to be a regression from kernel 3.13.0-58-generic where
  virDomainShutdown no longer brings the domain to shutoff state in newer
  Ubuntu kernels.
  
  Details:
+ 
  
  OS:
+ ---
  $ lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04
  
  Kernel:
+ ---
  $ uname -a
  Linux thomas-devstack01 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
  
  Package:
+ 
  $ dpkg -l | grep libvirt-bin
  ii  libvirt-bin  1.2.2-0ubuntu13.1.16 
 amd64programs for the libvirt library
  
- 
- Kernel: 3.13.0-76-generic
- Libvirt Version: 1.2.2
  Libvirt virt driver: LXC
  
- 
  Issue seen from console:
+ 
  
  $ sudo virsh -c lxc:/// shutdown instance-0001
  error: Failed to shutdown domain instance-0001
  error: internal error: Child process (1304) unexpected exit status 1
  
- 
  libvirtd logs:
+ --
  
  2016-01-20 16:42:38.267+: 14089: debug : virDomainShutdown:3094 : 
dom=0x7f89d0004a70, (VM: name=instance-0001, 
uuid=e342beb8-8666-4a47-8b40-5844e866e1f7)
  2016-01-20 16:42:38.269+: 14089: error : virProcessWait:191 : internal 
error: Child process (1304) unexpected exit status 1
  
- 
- nova-compute logs (when attempting to do a nova stop  in devstack):
+ nova-compute logs
+ - 
+ *Note*: From when attempting to do a nova stop  in devstack
  
  2016-01-20 16:37:35.244 ERROR oslo_messaging.rpc.dispatcher 
[req-dd0fe69c-9bd2-4de5-b59b-77619699d69b demo demo] Exception during message 
handling: internal error: Child process
  (631) unexpected exit status 1
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
143, in _dispatch_and_reply
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback))
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
189, in _dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher result = 
func(ctxt, **new_args)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 110, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher payload)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 89, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
f(self, context, *args, **kw)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 357, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
LOG.warning(msg, e, instance=instance)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 330, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 407, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
kwargs['instance'], e, sys.exc_info())
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 373, in decorate

[Kernel-packages] [Bug 1536280] Re: domain shutdown fails for libvirt/lxc

2016-01-20 Thread Serge Hallyn
marking as affecting kernel given the description.


** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1536280

Title:
  domain shutdown fails for libvirt/lxc

Status in libvirt package in Ubuntu:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  There appears to be a regression from kernel 3.13.0-58-generic where
  virDomainShutdown no longer brings the domain to shutoff state in
  newer Ubuntu kernels.

  Details:
  

  OS:
  ---
  $ lsb_release -rd
  Description:  Ubuntu 14.04.3 LTS
  Release:  14.04

  Kernel:
  ---
  $ uname -a
  Linux thomas-devstack01 3.13.0-76-generic #120-Ubuntu SMP Mon Jan 18 15:59:10 
UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

  Package:
  
  $ dpkg -l | grep libvirt-bin
  ii  libvirt-bin  1.2.2-0ubuntu13.1.16 
 amd64programs for the libvirt library

  Libvirt virt driver: LXC

  Issue seen from console:
  

  $ sudo virsh -c lxc:/// shutdown instance-0001
  error: Failed to shutdown domain instance-0001
  error: internal error: Child process (1304) unexpected exit status 1

  libvirtd logs:
  --

  2016-01-20 16:42:38.267+: 14089: debug : virDomainShutdown:3094 : 
dom=0x7f89d0004a70, (VM: name=instance-0001, 
uuid=e342beb8-8666-4a47-8b40-5844e866e1f7)
  2016-01-20 16:42:38.269+: 14089: error : virProcessWait:191 : internal 
error: Child process (1304) unexpected exit status 1

  nova-compute logs
  -
  *Note*: From when attempting to do a nova stop  in devstack

  
  2016-01-20 16:37:35.244 ERROR oslo_messaging.rpc.dispatcher 
[req-dd0fe69c-9bd2-4de5-b59b-77619699d69b demo demo] Exception during message 
handling: internal error: Child process
  (631) unexpected exit status 1
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
143, in _dispatch_and_reply
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback))
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
189, in _dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
executor_callback)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher result = 
func(ctxt, **new_args)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 110, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher payload)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/exception.py", line 89, in wrapped
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
f(self, context, *args, **kw)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 357, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
LOG.warning(msg, e, instance=instance)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 204, in 
__exit__
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
six.reraise(self.type_, self.value, self.tb)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 330, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 407, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher return 
function(self, context, *args, **kwargs)
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/opt/stack/nova/nova/compute/manager.py", line 385, in decorated_function
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher 
kwargs['instance'], e, sys.exc_info())
  2016-01-20 16:37:35.244 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py