Ticket #3478 (closed defect: worksforme)
Error al añadir máquina virtual img de KVM
| Reported by: | alberto@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | virt |
| Severity: | major | Keywords: | |
| Cc: |
Description
Buenas tardes
Tenía un servidor de virtualización con KVM y los discos duros de la s máquinas virtuales son .img.
He creado una máquina nueva en zentyal, le he añadido este disco duro, y me sale un error. Copio del zentyal.log.
Command output: . Exit value: 1 2011/11/13 17:33:28 ERROR> GlobalImpl?.pm:612 EBox::GlobalImpl::ANON - Failed to save changes in module virt: root command /var/lib/zentyal/machines/P2P/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/P2P/domain.xml
error: Failed to add tap interface to bridge 'none': No such device
Command output: . Exit value: 1 2011/11/13 17:33:28 ERROR> GlobalImpl?.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 2011/11/13 17:34:12 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/P2P/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/P2P/domain.xml
error: Failed to add tap interface to bridge 'none': No such device
Command output: . Exit value: 1 2011/11/13 17:35:27 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services virt firewall 2011/11/13 17:35:27 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services 2011/11/13 17:35:28 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 17:35:28 ERROR> Service.pm:39 EBox::Service::manage - No such daemon: zentyal-virt.vnc.Win7_P2P 2011/11/13 17:35:30 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/Win7_P2P/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/Win7_P2P/domain.xml
error: Failed to add tap interface to bridge 'none': No such device
Command output: . Exit value: 1 2011/11/13 17:35:30 ERROR> GlobalImpl?.pm:612 EBox::GlobalImpl::ANON - Failed to save changes in module virt: root command /var/lib/zentyal/machines/Win7_P2P/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/Win7_P2P/domain.xml
error: Failed to add tap interface to bridge 'none': No such device
Command output: . Exit value: 1 2011/11/13 17:35:30 ERROR> GlobalImpl?.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 2011/11/13 17:35:59 DEBUG> Validate.pm:525 EBox::Validate::checkVifaceName - Nombre de la interfaz virtual inválido, valor: Maquinas Virtuales. 2011/11/13 17:36:14 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: network antivirus samba firewall 2011/11/13 17:36:14 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: network 2011/11/13 17:36:20 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: antivirus 2011/11/13 17:36:25 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: samba 2011/11/13 17:36:27 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2011/11/13 17:36:58 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall virt 2011/11/13 17:36:58 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 17:37:01 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2011/11/13 17:37:34 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall virt 2011/11/13 17:37:34 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 17:37:35 DEBUG> Row.pm:409 EBox::Model::Row::elementByName - element no existente: mac. 2011/11/13 17:38:25 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall virt 2011/11/13 17:38:25 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 17:38:26 DEBUG> Row.pm:409 EBox::Model::Row::elementByName - element no existente: mac. 2011/11/13 17:39:28 INFO> Base.pm:206 EBox::CGI::Base::_checkForbiddenChars - Invalid characters in param value /archivos/grupos/datos/ISOs/Windows 7 Profesional (64bits).iso. 2011/11/13 17:39:28 DEBUG> Base.pm:208 EBox::CGI::Base::_checkForbiddenChars - La entrada contiene caracteres inválidos. Todos los caracteres alfanuméricos más los caracteres /.?'&+:-@ y los espacios están permitidos. 2011/11/13 17:40:10 DEBUG> DeviceSettings?.pm:222 EBox::Virt::Model::DeviceSettings::validateTypedRow - No puede modificar un disco ya creado. Necesita borrarlo y añadir uno nuevo si quieres cambiar el tamaño. 2011/11/13 17:42:49 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services virt firewall 2011/11/13 17:42:49 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services 2011/11/13 17:42:50 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 17:42:50 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2011/11/13 18:00:58 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services virt firewall 2011/11/13 18:00:58 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services 2011/11/13 18:00:59 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2011/11/13 18:01:00 ERROR> Service.pm:39 EBox::Service::manage - No such daemon: zentyal-virt.vnc.P2P 2011/11/13 18:01:01 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2011/11/13 18:01:38 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/P2P/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/P2P/domain.xml
error: monitor socket did not show up.: Connection refused
Attachments
Change History
comment:1 Changed 18 months ago by jacalvo@…
- Status changed from new to closed
- Resolution set to worksforme
asegurate de que las imagenes estan en formato qcow2, quiza las tienes en raw (pero las puedes convertir con qemu-img convert)
aparte de eso, cual es tu configuracion de red?
error: Failed to add tap interface to bridge 'none': No such device
si estas intentando poner la maquina puenteada con una de las tarjetas de red fisicas, tendras que poner la interfaz en modo bridged en Network -> Interfaces
