← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1612912] [NEW] live-migration due to Unable to pre-create chardev file console.log

 

Public bug reported:

Description
===========
I created a instance with local disk, and live migrated it, and this action failed.

Steps to reproduce
==================
A chronological list of steps which will bring off the
issue you noticed:
* I did create a instance with local disk
* then I did live-migration
* then instance was active, task_state was none and it was still on source compute node.

Expected result
===============
live-migration action is successful.

Environment
===========
1. Exact version of OpenStack you are running. See the following
  list for all releases: http://docs.openstack.org/releases/

$ git log -1

commit 8435999c782d4cca00c9e362e393019b43abb366
Merge: 9a26e92 6e81fa4
Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
Date:   Fri Jun 17 23:01:21 2016 +0000

    Merge "Re-deprecate use_usb_tablet config option"

2. Which hypervisor did you use?
   Libvirt + KVM,

3. Which storage type did you use?
   local disk

Logs & Configs
===========
2016-08-13 14:57:55.649 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Increasing downtime to 46 ms after 0 sec elapsed time
2016-08-13 14:57:56.368 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration running for 0 secs, memory 100% remaining; (bytes processed=0, remaining=0, total=0)
2016-08-13 14:57:56.901 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Live Migration failure: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
libvirtError: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
2016-08-13 14:57:57.372 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration operation has aborted

** Affects: nova
     Importance: Undecided
         Status: New

** Description changed:

  Description
  ===========
  I created a instance with local disk, and live migrated it, and this action failed.
  
  Steps to reproduce
  ==================
  A chronological list of steps which will bring off the
  issue you noticed:
  * I did create a instance with local disk
  * then I did live-migration
  * then instance was active, task_state was none and it was still on source compute node.
  
- 
  Expected result
  ===============
- live-migration action sis successful.
- 
+ live-migration action is successful.
  
  Environment
  ===========
  1. Exact version of OpenStack you are running. See the following
-   list for all releases: http://docs.openstack.org/releases/
+   list for all releases: http://docs.openstack.org/releases/
  
  $ git log -1
  
  commit 8435999c782d4cca00c9e362e393019b43abb366
  Merge: 9a26e92 6e81fa4
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Fri Jun 17 23:01:21 2016 +0000
  
-     Merge "Re-deprecate use_usb_tablet config option"
+     Merge "Re-deprecate use_usb_tablet config option"
  
  2. Which hypervisor did you use?
-    Libvirt + KVM,
+    Libvirt + KVM,
  
  3. Which storage type did you use?
-    local disk
+    local disk
  
  Logs & Configs
  ===========
  2016-08-13 14:57:55.649 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Increasing downtime to 46 ms after 0 sec elapsed time
  2016-08-13 14:57:56.368 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration running for 0 secs, memory 100% remaining; (bytes processed=0, remaining=0, total=0)
  2016-08-13 14:57:56.901 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Live Migration failure: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
  libvirtError: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
  2016-08-13 14:57:57.372 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration operation has aborted

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

Title:
  live-migration due to Unable to pre-create chardev file console.log

Status in OpenStack Compute (nova):
  New

Bug description:
  Description
  ===========
  I created a instance with local disk, and live migrated it, and this action failed.

  Steps to reproduce
  ==================
  A chronological list of steps which will bring off the
  issue you noticed:
  * I did create a instance with local disk
  * then I did live-migration
  * then instance was active, task_state was none and it was still on source compute node.

  Expected result
  ===============
  live-migration action is successful.

  Environment
  ===========
  1. Exact version of OpenStack you are running. See the following
    list for all releases: http://docs.openstack.org/releases/

  $ git log -1

  commit 8435999c782d4cca00c9e362e393019b43abb366
  Merge: 9a26e92 6e81fa4
  Author: Jenkins <jenkins@xxxxxxxxxxxxxxxxxxxx>
  Date:   Fri Jun 17 23:01:21 2016 +0000

      Merge "Re-deprecate use_usb_tablet config option"

  2. Which hypervisor did you use?
     Libvirt + KVM,

  3. Which storage type did you use?
     local disk

  Logs & Configs
  ===========
  2016-08-13 14:57:55.649 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Increasing downtime to 46 ms after 0 sec elapsed time
  2016-08-13 14:57:56.368 INFO nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration running for 0 secs, memory 100% remaining; (bytes processed=0, remaining=0, total=0)
  2016-08-13 14:57:56.901 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Live Migration failure: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
  libvirtError: Unable to pre-create chardev file '/opt/stack/data/instances/b8301519-e567-4222-813c-eb13653351e2/console.log': No such file or directory
  2016-08-13 14:57:57.372 ERROR nova.virt.libvirt.driver [req-2eb18c6b-01c8-4b5c-8aba-248624263cc5 admin admin] [instance: b8301519-e567-4222-813c-eb13653351e2] Migration operation has aborted

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


Follow ups