[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-30 Thread Chuck Short
*** This bug is a duplicate of bug 1007266 ***
https://bugs.launchpad.net/bugs/1007266

** This bug has been marked a duplicate of bug 1007266
   rescue broken in libvirt for images without kernel and ramdisk

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-30 Thread Chuck Short
*** This bug is a duplicate of bug 1007266 ***
https://bugs.launchpad.net/bugs/1007266

** This bug has been marked a duplicate of bug 1007266
   rescue broken in libvirt for images without kernel and ramdisk

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-22 Thread Thierry Carrez
** Changed in: nova
   Importance: Undecided = Medium

** Changed in: nova
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-22 Thread Thierry Carrez
** Changed in: nova
   Importance: Undecided = Medium

** Changed in: nova
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-14 Thread Dave Walker
** Changed in: nova (Ubuntu)
   Importance: Undecided = Medium

** Changed in: nova (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-14 Thread Dave Walker
** Changed in: nova (Ubuntu)
   Importance: Undecided = Medium

** Changed in: nova (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-02 Thread Andrew Glen-Young
** Description changed:

  A client of mine attempted to rescue an instance by using the `nova
- rescuecl` command which failed putting the instance in the `ERROR`
- state.
+ rescue` command which failed putting the instance in the `ERROR` state.
  
  I am running Openstack Essex on Ubuntu 12.04 with KVM as my hypervisor
  and I do not have `rescue_image_id`, `rescue_kernel_id` nor
  `rescue_ramdisk_id` defined in my nova.conf file.
  
  The log (included below) indicates that the rescue failed to complete as
  the rescue kernel does not exist. This is expected as the config does
  not include the `rescue_*_id` variables and the instance was started
  with an image which does not include a ramdisk or kernel image.
  
  What happens:
  -
  
  The user is informed that an error occurred and the instance is set to
  the `error` state.
  
  What I expect:
  --
  
  If `rescue_kernel_id` is not defined in nova.conf and the instance does
  not have a valid kernel_id, then the user should be informed that the
  instance cannot be rescued rather than the instance going into the error
  state and becoming inaccessible.
  
  Log file:
  -
  
  2012-07-24 14:20:08 ERROR nova.compute.manager 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] unable to set user and group to '107:116' on 
'/srv/nova/instances/instance-367b/kernel.rescue': No such file or 
directory. Setting instance vm_state to ERROR
  2012-07-24 14:20:08 ERROR nova.rpc.amqp 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] Exception during message handling
  2012-07-24 14:20:08 TRACE nova.rpc.amqp Traceback (most recent call last):
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 253, in _process_data
  2012-07-24 14:20:08 TRACE nova.rpc.amqp rval = node_func(context=ctxt, 
**node_args)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 159, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 183, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp sys.exc_info())
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/contextlib.py, line 24, in __exit__
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self.gen.next()
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 177, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1133, in 
rescue_instance
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
self._legacy_nw_info(network_info), image_meta)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 853, 
in rescue
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._hard_reboot(instance, 
network_info, xml=xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 783, 
in _hard_reboot
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._create_new_domain(xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 1589, 
in _create_new_domain
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
domain.createWithFlags(launch_flags)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/libvirt.py, line 581, in createWithFlags
  2012-07-24 14:20:08 TRACE nova.rpc.amqp if ret == -1: raise libvirtError 
('virDomainCreateWithFlags() failed', dom=self)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp libvirtError: unable to set user and 
group to '107:116' on '/srv/nova/instances/instance-367b/kernel.rescue': No 
such file or directory
  
  SQL showing the relevant image fields for the instance:
  ---
  
  mysql select image_ref, kernel_id, ramdisk_id from instances where id = 
'13947';
  +--+---++
  | image_ref| kernel_id | ramdisk_id |
  

[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-08-02 Thread Andrew Glen-Young
** Description changed:

  A client of mine attempted to rescue an instance by using the `nova
- rescuecl` command which failed putting the instance in the `ERROR`
- state.
+ rescue` command which failed putting the instance in the `ERROR` state.
  
  I am running Openstack Essex on Ubuntu 12.04 with KVM as my hypervisor
  and I do not have `rescue_image_id`, `rescue_kernel_id` nor
  `rescue_ramdisk_id` defined in my nova.conf file.
  
  The log (included below) indicates that the rescue failed to complete as
  the rescue kernel does not exist. This is expected as the config does
  not include the `rescue_*_id` variables and the instance was started
  with an image which does not include a ramdisk or kernel image.
  
  What happens:
  -
  
  The user is informed that an error occurred and the instance is set to
  the `error` state.
  
  What I expect:
  --
  
  If `rescue_kernel_id` is not defined in nova.conf and the instance does
  not have a valid kernel_id, then the user should be informed that the
  instance cannot be rescued rather than the instance going into the error
  state and becoming inaccessible.
  
  Log file:
  -
  
  2012-07-24 14:20:08 ERROR nova.compute.manager 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] unable to set user and group to '107:116' on 
'/srv/nova/instances/instance-367b/kernel.rescue': No such file or 
directory. Setting instance vm_state to ERROR
  2012-07-24 14:20:08 ERROR nova.rpc.amqp 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] Exception during message handling
  2012-07-24 14:20:08 TRACE nova.rpc.amqp Traceback (most recent call last):
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 253, in _process_data
  2012-07-24 14:20:08 TRACE nova.rpc.amqp rval = node_func(context=ctxt, 
**node_args)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 159, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 183, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp sys.exc_info())
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/contextlib.py, line 24, in __exit__
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self.gen.next()
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 177, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1133, in 
rescue_instance
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
self._legacy_nw_info(network_info), image_meta)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 853, 
in rescue
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._hard_reboot(instance, 
network_info, xml=xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 783, 
in _hard_reboot
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._create_new_domain(xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 1589, 
in _create_new_domain
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
domain.createWithFlags(launch_flags)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/libvirt.py, line 581, in createWithFlags
  2012-07-24 14:20:08 TRACE nova.rpc.amqp if ret == -1: raise libvirtError 
('virDomainCreateWithFlags() failed', dom=self)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp libvirtError: unable to set user and 
group to '107:116' on '/srv/nova/instances/instance-367b/kernel.rescue': No 
such file or directory
  
  SQL showing the relevant image fields for the instance:
  ---
  
  mysql select image_ref, kernel_id, ramdisk_id from instances where id = 
'13947';
  +--+---++
  | image_ref| kernel_id | ramdisk_id |
  

[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-07-24 Thread Andrew Glen-Young
** Description changed:

  A client of mine attempted to rescue an instance by using the `nova
  rescuecl` command which failed putting the instance in the `ERROR`
  state.
  
  I am running Openstack Essex on Ubuntu 12.04 with KVM as my hypervisor
  and I do not have `rescue_image_id`, `rescue_kernel_id` nor
  `rescue_ramdisk_id` defined in my nova.conf file.
  
  The log (included below) indicates that the rescue failed to complete as
  the rescue kernel does not exist. This is expected as the config does
  not include the `rescue_*_id` variables and the instance was started
  with an image which does not include a ramdisk or kernel image.
  
- 
  What happens:
  -
  
  The user is informed that an error occurred and the instance is set to
  the `error` state.
  
- 
  What I expect:
  --
  
- If `rescue_kernel_id` is not defined and the instance does not have a
- valid kernel_id, then the user should be informed that the instance
- cannot be rescued rather than the instance going into the error state
- and becoming inaccessible.
- 
+ If `rescue_kernel_id` is not defined in nova.conf and the instance does
+ not have a valid kernel_id, then the user should be informed that the
+ instance cannot be rescued rather than the instance going into the error
+ state and becoming inaccessible.
  
  Log file:
  -
  
  2012-07-24 14:20:08 ERROR nova.compute.manager 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] unable to set user and group to '107:116' on 
'/srv/nova/instances/instance-367b/kernel.rescue': No such file or 
directory. Setting instance vm_state to ERROR
  2012-07-24 14:20:08 ERROR nova.rpc.amqp 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] Exception during message handling
  2012-07-24 14:20:08 TRACE nova.rpc.amqp Traceback (most recent call last):
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 253, in _process_data
  2012-07-24 14:20:08 TRACE nova.rpc.amqp rval = node_func(context=ctxt, 
**node_args)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 159, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 183, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp sys.exc_info())
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/contextlib.py, line 24, in __exit__
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self.gen.next()
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 177, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1133, in 
rescue_instance
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
self._legacy_nw_info(network_info), image_meta)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 853, 
in rescue
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._hard_reboot(instance, 
network_info, xml=xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 783, 
in _hard_reboot
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._create_new_domain(xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 1589, 
in _create_new_domain
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
domain.createWithFlags(launch_flags)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/libvirt.py, line 581, in createWithFlags
  2012-07-24 14:20:08 TRACE nova.rpc.amqp if ret == -1: raise libvirtError 
('virDomainCreateWithFlags() failed', dom=self)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp libvirtError: unable to set user and 
group to '107:116' on '/srv/nova/instances/instance-367b/kernel.rescue': No 
such file or directory
  
  SQL showing the relevant image fields for the instance:
  ---
  
  mysql select image_ref, kernel_id, ramdisk_id from instances where id = 
'13947';
  

[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-07-24 Thread Adam Gandelman
** Also affects: nova
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nova in Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-07-24 Thread Andrew Glen-Young
** Description changed:

  A client of mine attempted to rescue an instance by using the `nova
  rescuecl` command which failed putting the instance in the `ERROR`
  state.
  
  I am running Openstack Essex on Ubuntu 12.04 with KVM as my hypervisor
  and I do not have `rescue_image_id`, `rescue_kernel_id` nor
  `rescue_ramdisk_id` defined in my nova.conf file.
  
  The log (included below) indicates that the rescue failed to complete as
  the rescue kernel does not exist. This is expected as the config does
  not include the `rescue_*_id` variables and the instance was started
  with an image which does not include a ramdisk or kernel image.
  
- 
  What happens:
  -
  
  The user is informed that an error occurred and the instance is set to
  the `error` state.
  
- 
  What I expect:
  --
  
- If `rescue_kernel_id` is not defined and the instance does not have a
- valid kernel_id, then the user should be informed that the instance
- cannot be rescued rather than the instance going into the error state
- and becoming inaccessible.
- 
+ If `rescue_kernel_id` is not defined in nova.conf and the instance does
+ not have a valid kernel_id, then the user should be informed that the
+ instance cannot be rescued rather than the instance going into the error
+ state and becoming inaccessible.
  
  Log file:
  -
  
  2012-07-24 14:20:08 ERROR nova.compute.manager 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] unable to set user and group to '107:116' on 
'/srv/nova/instances/instance-367b/kernel.rescue': No such file or 
directory. Setting instance vm_state to ERROR
  2012-07-24 14:20:08 ERROR nova.rpc.amqp 
[req-2bdf6c17-1733-475f-b036-0e66a0bff266 7739264c2246454f9bdbc8a24ad30a63 
cf5a8bcc6652400593b472ba82c2c2b5] Exception during message handling
  2012-07-24 14:20:08 TRACE nova.rpc.amqp Traceback (most recent call last):
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py, line 253, in _process_data
  2012-07-24 14:20:08 TRACE nova.rpc.amqp rval = node_func(context=ctxt, 
**node_args)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 159, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 183, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp sys.exc_info())
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/contextlib.py, line 24, in __exit__
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self.gen.next()
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 177, in 
decorated_function
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return function(self, context, 
instance_uuid, *args, **kwargs)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/compute/manager.py, line 1133, in 
rescue_instance
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
self._legacy_nw_info(network_info), image_meta)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/exception.py, line 114, in wrapped
  2012-07-24 14:20:08 TRACE nova.rpc.amqp return f(*args, **kw)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 853, 
in rescue
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._hard_reboot(instance, 
network_info, xml=xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 783, 
in _hard_reboot
  2012-07-24 14:20:08 TRACE nova.rpc.amqp self._create_new_domain(xml)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py, line 1589, 
in _create_new_domain
  2012-07-24 14:20:08 TRACE nova.rpc.amqp 
domain.createWithFlags(launch_flags)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp   File 
/usr/lib/python2.7/dist-packages/libvirt.py, line 581, in createWithFlags
  2012-07-24 14:20:08 TRACE nova.rpc.amqp if ret == -1: raise libvirtError 
('virDomainCreateWithFlags() failed', dom=self)
  2012-07-24 14:20:08 TRACE nova.rpc.amqp libvirtError: unable to set user and 
group to '107:116' on '/srv/nova/instances/instance-367b/kernel.rescue': No 
such file or directory
  
  SQL showing the relevant image fields for the instance:
  ---
  
  mysql select image_ref, kernel_id, ramdisk_id from instances where id = 
'13947';
  

[Bug 1028509] Re: 'nova rescue' fails if an instance image does not have a kernel_id

2012-07-24 Thread Adam Gandelman
** Also affects: nova
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1028509

Title:
  'nova rescue' fails if an instance image does not have a kernel_id

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs