[Bug 629247] [NEW] Failure to alter VM's MAC address with virsh

Jerome Potts 629247 at bugs.launchpad.net
Fri Sep 3 04:53:21 BST 2010


Public bug reported:

Binary package hint: libvirt-bin

$ virsh detach-interface myvm bridge
error: Requested operation is not valid: cannot detach device on inactive domain

$ virsh start myvm
Domain myvm started

$ virsh detach-interface myvm bridge
error: operation failed: network device cannot be detached - device state missing

$ virsh attach-interface myvm bridge br0 --mac '00:16:3e:10:34:31'
Interface attached successfully

$ virsh detach-interface myvm bridge --mac '52:54:00:e0:5d:cc'
error: operation failed: network device cannot be detached - device state missing

$ lsb_release -rd
Description:	Ubuntu 10.04 LTS
Release:	10.04

This may all be normal, working as designed ; i just can't find any
information on that "missing state" of a "device", what that means, and
how to correct that. This is a VM created with the wrong MAC address and
i wish to correct that ; i have also tried "virsh edit myvm", performed
the desired change, but the VM still does not connect to its host the
way it is supposed to. This is perhaps a problem on the host side,
however this "device state missing" err msg is annoying, keeping me from
moving ahead in my search for a solution to my problem. Thanks in
advance.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Failure to alter VM's MAC address with virsh
https://bugs.launchpad.net/bugs/629247
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list