← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 984996] Re: Instance directory does not exist: Unable to pre-create chardev file console.log

 

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

** Changed in: nova
    Milestone: None => liberty-1

-- 
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/984996

Title:
  Instance directory does not exist: Unable to pre-create chardev file
  console.log

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

Bug description:
  When asking for reboot of an instance, I see the following backtrace
  in nova-compute.log (Nova 2012.1).

  
  2012-04-18 12:29:33 TRACE nova.rpc.amqp Traceback (most recent call last):
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/rpc/amqp.py", line 252, in _process_data
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     rval = node_func(context=ctxt, **node_args)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     return f(*args, **kw)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 153, in decorated_function
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     function(self, context, instance_uuid, *args, **kwargs)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 177, in decorated_function
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     sys.exc_info())
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     self.gen.next()
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 171, in decorated_function
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     return function(self, context, instance_uuid, *args, **kwargs)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 898, in reboot_instance
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     reboot_type)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/exception.py", line 114, in wrapped
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     return f(*args, **kw)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 707, in reboot
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     return self._hard_reboot(instance, network_info)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 762, in _hard_reboot
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     self._create_new_domain(xml)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py", line 1557, in _create_new_domain
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     domain.createWithFlags(launch_flags)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 547, in createWithFlags
  2012-04-18 12:29:33 TRACE nova.rpc.amqp     if ret == -1: raise libvirtError ('virDomainCreateWithFlags() failed', dom=self)
  2012-04-18 12:29:33 TRACE nova.rpc.amqp libvirtError: Unable to pre-create chardev file '/var/lib/nova/instances/instance-0000047b/console.log': No such file or directory
  2012-04-18 12:29:33 TRACE nova.rpc.amqp

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