Failure to alter VM's MAC address with virsh
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Expired
|
Medium
|
Unassigned |
Bug Description
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.
Changed in libvirt (Ubuntu): | |
importance: | Undecided → Medium |
Hi,
Thanks for reporting this bug and helping to make Ubuntu better.
Could you please say a bit more about what you are trying to do and what exactly you are expecting to happen?
You say
'but the VM still does not connect to its host the way it is supposed to. '
How is it supposed to, and how is it actually doing it (i.e. actual xml for the libvirt network config and VM)?