← 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

 

We're also seeing this in the aiopcpu job during block live migration:

http://logs.openstack.org/14/172614/13/experimental/check-tempest-dsvm-
aiopcpu-
full/599095f/logs/10.209.0.151-subnode/screen-n-cpu.txt.gz?level=TRACE#_2015-04-11_19_32_41_959

The error was also mentioned with live migrate on ask.openstack.org:

https://ask.openstack.org/en/question/45282/issue-solvedunable-to-pre-
create-chardev-file-optstackdatanovainstanceconsolelog-in-remote-
compute-node/

But the solution there was shared file storage.

** Changed in: nova
       Status: Invalid => New

** Tags added: libvirt

-- 
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):
  New

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