Modify

Ticket #3601 (closed defect: fixed)

Opened 17 months ago

Last modified 15 months ago

cant create any VM

Reported by: mka@… Owned by: jamor@…
Milestone: 2.2.X Component: virt
Severity: normal Keywords: VM KVM Virtual
Cc: mka@…

Description

VM install get fail

i Click to create anew VM i give only a new name for VM and select "Save changes" ...

msg->
Some modules reported an error when you save the changes. For more information, see the logs in / var / log / zentyal /

mac element does not exist

But, the new VM is present in zentyal, I edit the VM and taking the network options (e.g.: NAT) if i want to save the changes, next

msg->
Some modules reported an error when you save the changes. For more information, see the logs in / var / log / zentyal /

mac element does not exist

This msg came up at every "network settings" for the VM

I go back in Dashboard, the Button Änderungen (Store) but still red ... (all the old commands are still available in the survey)

+ Attachment error.log

Attachments

error.log.tar.bz2 Download (39.6 KB) - added by mka@… 17 months ago.
error.log
comments.txt Download (54.9 KB) - added by mka@… 17 months ago.
logfile output
domain.xml Download (1.0 KB) - added by mka@… 16 months ago.
domain.xml
hardware.txt Download (1.9 KB) - added by mka@… 16 months ago.
cpu and memory
grep.libvirt Download (6.7 KB) - added by mka@… 16 months ago.
libvirt output
qemu.log Download (785 bytes) - added by anonymous 15 months ago.
qemu log
domain.2.xml Download (1.2 KB) - added by aleksgk@… 15 months ago.
(NEW)domain.xml Download (1.0 KB) - added by mka@… 15 months ago.
my last (actual) VM settings

Change History

Changed 17 months ago by mka@…

error.log

comment:1 Changed 17 months ago by jacalvo@…

  • Status changed from new to closed
  • Resolution set to worksforme

I can't reproduce this, please try to upgrade to the new zentyal-virt 2.2.3, which includes a lot of fixes. If the problem persist, please reopen the ticket but try to provide the steps you follow to reproduce as much detailed as possible. Thanks!

comment:2 Changed 17 months ago by mka@…

  • Keywords VM KVM Virtual added
  • Status changed from closed to reopened
  • Resolution worksforme deleted
  • Milestone set to 2.2.X

hola jacalvo,

thx for your answer. but, i have always install the VM module 2.2.3 but, today i have it re-install. the same sh* ;)

in zentyal GUI i set up a new VM ("xpklon") in attachment (comments.txt) you can see the output from zentyal before i save settings.(#1) no error message after save. (whit out autostart) and taged wit # are my comments

obvious at logfiles is: "failed to connect to the hypervisor" and "Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml"

yes my server can VT ;)

sudo egrep 'flags.*(vmx|svm)' /proc/cpuinfo

flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority

Changed 17 months ago by mka@…

logfile output

comment:3 Changed 16 months ago by mka@…

Update

now, i can save the settings from a VM. but no VM will start... if i start a VM the familiar msg cames: "Please look for the details in the /var/log/zentyal/zentyal.log file and take a minute to submit a bug report so we can fix the issue as soon as possible." ok, here is the output from zentyal.log

2012/01/17 19:19:14 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml

error: monitor socket did not show up.: Connection refused

Command output: . Exit value: 1

saludos

comment:4 Changed 16 months ago by mka@…

  • Cc mka@… added

just a second small update - i change the networksettings from interal network to NAT. here is the logfile output

2012/01/17 19:48:57 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command qemu-img create -f qcow2 /var/lib/zentyal/machines/xpklonsvr/kvm/xpklon/xpklon.img.img 8000M failed. Error output: qemu-img: Error while formatting (Operation not permitted)

Command output: Formatting '/var/lib/zentyal/machines/xpklonsvr/kvm/xpklon/xpklon.img.img', fmt=qcow2 size=8388608000 encryption=off cluster_size=0 . Exit value: 1 2012/01/17 19:48:58 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2012/01/17 19:49:46 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall 2012/01/17 19:49:47 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml

error: monitor socket did not show up.: Connection refused

Command output: . Exit value: 1

comment:5 Changed 16 months ago by mka@…

some digging....

I set up a new VM. for this i make a default folder for all of my VM (files) absolute way is: /svr/kvm/$Name/$.img or $.iso

The folder for my DSL (ISO) file is : /svr/kvm/dsl/DSL.iso

I can setup the new VM. neither the Device Settings. I *must* set up the ISO File as a Harddisk?! The Zentyal exept the filepath to the ISO file only as HD not as CD/DVD. after save the settings , the error msg. is:

Command output: Formatting '/var/lib/zentyal/machines/DSL//svr/kvm/dsl/dsl-4.4.0.iso.img', fmt=qcow2 size=8388608000 encryption=off cluster_size=0

(!pls, look to the file path!)

Next issue: i go back to  https://MyZentyal/Virt/View/VirtualMachines - I see my second setup (DSL) and my "old" setup (XPKLON) at overview. If i will start the new setup DSL all! VM from the Overview will/do start ?! I cant start only one VM ?!

2012/01/19 11:45:25 ERROR> Sudo.pm:213 zentyal::Sudo::_rootError - root command qemu-img create -f qcow2 /var/lib/zentyal/machines/xpklon//svr/kvm/xpklon/xpklon.img.img 8000M failed. 
Error output: qemu-img: Error while formatting (Operation not permitted)

Command output: Formatting '/var/lib/zentyal/machines/xpklon//svr/kvm/xpklon/xpklon.img.img', fmt=qcow2 size=8388608000 encryption=off cluster_size=0 

I give all of my Images (XPKLON and DSL) a chmod 777 - nothing goes better...

2012/01/19 11:52:14 ERROR> Sudo.pm:213 zentyal::Sudo::_rootError - root command /var/lib/zentyal/machines/DSL/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/DSL/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1

On a "rootshell" i go to the file "domain.xml" - i make a new chmod 777 - nothing happens better

the same problem by starting my "old" xpklon VM

USER@zentyal:~$ sudo qemu-img create -f qcow2 /var/lib/zentyal/machines/xpklon//svr/kvm/xpklon/xpklon.img.img 8000M
[sudo] password for USER: 
Formatting '/var/lib/zentyal/machines/xpklon//svr/kvm/xpklon/xpklon.img.img', fmt=qcow2 size=8388608000 encryption=off cluster_size=0 
qemu-img: Error while formatting (Operation not permitted)
USER@zentyal:~$ 

wrong file path :( i am editing that too (file path, chmod)

2012/01/19 12:05:21 ERROR> Sudo.pm:213 zentyal::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1

the fact remains .. :( thx for help and a nice weekend

comment:6 Changed 16 months ago by jamor@…

  • Status changed from reopened to closed
  • Resolution set to fixed

Hello mka,

the problem is that you are suing a path for your disk image name and it should be a regular name. Also the extension is not required. Try to call it 'xpklon' and retry.

We have made the changeset [53b7732b] to restrict the names of the hard disk and avoid this situation in the future.

Regards,

Javier

Last edited 16 months ago by jamor@… (previous) (diff)

comment:7 Changed 16 months ago by mka@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

sorry 4late answer... (i have do all updates, i am on core: 2.2.5)

if i start my VM the msg cames up:

Ein interner Fehler ist aufgetreten. Dies ist höchstwahrscheinlich ein Programmierfehler, zugehörige Informationen finden Sie in den Logs. Please look for the details in the /var/log/zentyal/zentyal.log file and take a minute to submit a bug report so we can fix the issue as soon as possible.

i have allways a shell whit "tail -f" open. zentyal.log says:

2012/02/09 11:27:30 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml

i have re-install the VM paket (2.2.3) in Zentyal GUI

after the install zentyal.log tells:

2012/02/09 11:56:33 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall virt 2012/02/09 11:56:33 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall 2012/02/09 11:56:35 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt 2012/02/09 11:56:37 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully 2012/02/09 11:56:52 INFO> GlobalImpl?.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services firewall 2012/02/09 11:56:52 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services 2012/02/09 11:56:53 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall 2012/02/09 11:56:55 INFO> GlobalImpl?.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully

looks fine for my.. but the same error msg "manage.sh" dosent start comes twice

2012/02/09 11:58:43 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml

error: monitor socket did not show up.: Connection refused

Command output: . Exit value: 1

comment:8 Changed 16 months ago by jamor@…

  • Status changed from reopened to accepted

Hello Mka,

have you changed the name of the hard disk as indicated in the comment number 6?.

If you have already done so and it continues to fail, can you attach the /var/lib/zentyal/machines/xpklon/domain.xml file?.

Regards,

Javier

Changed 16 months ago by mka@…

domain.xml

comment:9 Changed 16 months ago by jamor@…

Hello Mka,

I see you have changed the name of the hard disk so it is not the problem.

I have created a VM with your same configuration and it starts correctly so it is not a configuration failure, at least no a obviously one.

The 'error: monitor socket did not show up.' is a kind of catch-all error, that could be raised for a lot of conditions.

One of the many problems that can fire this error, is not having enough memory to run the VMs, so check your system free memory, free memory, and try a VM with smaller memory footprint.

Regards,

Javier

comment:10 Changed 16 months ago by jamor@…

Also sometimes the true error is show in the syslog, try this command and see if you find some useful information:

grep libvirt /var/log/messages

comment:11 Changed 16 months ago by jamor@…

  • Component changed from base to virt

Changed 16 months ago by mka@…

cpu and memory

Changed 16 months ago by mka@…

libvirt output

comment:12 Changed 16 months ago by mka@…

hello Javier

thanks for your help. i have to the thinks you write. pls, see the Attachments

BTW: i have many problems to connect the zentyal trac too ?! Fehler 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL-Protokollfehler - works whit all (my) brwosers (opera,firefox,chome) i can only use http. if i use firefox- trac say to my: "you are a spammer" :(

later i came back whit firefox

comment:13 Changed 16 months ago by mka@…

ok, back to the roots...

i have erase all (in zentyal configured) VM i set up a new VM call DSL (yes exactly the same as in  http://doc.zentyal.org/en/virt.html) if i start te new VM, msg is:

Zentyal GUI: Please look for the details in the /var/log/zentyal/zentyal.log file and take a minute to submit a bug report so we can fix the issue as soon as possible.

Shell / zentyal.log 2012/02/09 17:45:09 DEBUG> VirtualMachines?.pm:310 EBox::Virt::Model::VirtualMachines::_doStart - Couldn't start virtual machine 'dsl'

grep / libvirt

Feb 9 17:42:30 ebox libvirtd: 17:42:30.171: warning : qemudDispatchSignalEvent:385 : Shutting down on signal 15 Feb 9 17:42:30 ebox libvirtd: 17:42:30.567: warning : qemudStartup:1087 : Unable to create cgroup for driver: No such device or address Feb 9 17:42:30 ebox libvirtd: 17:42:30.628: warning : lxcStartup:1755 : Unable to create cgroup for driver: No such device or address Feb 9 17:43:58 ebox libvirtd: 17:43:58.247: warning : qemudDispatchSignalEvent:385 : Shutting down on signal 15 Feb 9 17:43:59 ebox libvirtd: 17:43:59.359: warning : qemudStartup:1087 : Unable to create cgroup for driver: No such device or address Feb 9 17:43:59 ebox libvirtd: 17:43:59.415: warning : lxcStartup:1755 : Unable to create cgroup for driver: No such device or address Feb 9 17:44:38 ebox kernel: [1407184.270974] type=1505 audit(1328805878.383:81): operation="profile_load" pid=24278 name="libvirt-f1f09fcc-6bd6-0681-59bb-8108302124bc" Feb 9 19:02:36 ebox libvirtd: 19:02:36.602: warning : qemudDispatchSignalEvent:385 : Shutting down on signal 15 Feb 9 19:02:37 ebox libvirtd: 19:02:37.406: warning : qemudStartup:1087 : Unable to create cgroup for driver: No such device or address Feb 9 19:02:37 ebox libvirtd: 19:02:37.483: warning : lxcStartup:1755 : Unable to create cgroup for driver: No such device or address

damn

comment:14 Changed 16 months ago by mka@…

hola,

i have once again the virtual modul in zentyal re- install. i set up the DSL iso file and start it. but it looks terrible

 http://glx-consult.com/download/dsl-vm.png hda lost interrupt ?!

if i set up a win (or other) VM to - nothing works. also the DSL VM dosen´ t start anymore.

i set up once again the modul (virtual manager) in zentyal

EBox::Module::Service::__ANON__ - Error restarting service: Can't call method "valueByName" on an undefined value at /usr/share/perl5/EBox/Model/DataTable.pm line 1540.
2012/02/09 19:39:57 INFO> remove-packages:81 main::__ANON__ - Read: end
2012/02/09 19:39:57 INFO> remove-packages:102 main::__ANON__ - End packages remove


2012/02/09 19:41:32 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: Can't call method "valueByName" on an undefined value at /usr/share/perl5/EBox/Model/DataTable.pm line 1540.
2012/02/09 19:41:33 INFO> install-packages:116 main::__ANON__ - Package installation process finished
2012/02/09 19:41:39 ERROR> Base.pm:365 EBox::CGI::Base::__ANON__ - Exception: Das Programm verursachte den Abbruch der Verbindung
2012/02/09 19:41:43 ERROR> Base.pm:365 EBox::CGI::Base::__ANON__ - Exception: Das Programm verursachte den Abbruch der Verbindung




Exit value: 1
2012/02/09 20:37:54 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module virt: root command /var/lib/zentyal/machines/xp/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xp/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1
2012/02/09 20:37:54 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 
2012/02/09 20:38:38 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall

. 
Exit value: 1
2012/02/09 20:41:55 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module virt: root command /var/lib/zentyal/machines/xp/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xp/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1
2012/02/09 20:41:55 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt




Exit value: 1
2012/02/09 20:45:18 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module virt: root command /var/lib/zentyal/machines/xp/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xp/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1
2012/02/09 20:45:18 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 

i set up the only one new VM (here win) ant the bastard going up ??

 http://glx-consult.com/download/win-vm.png

comment:15 Changed 16 months ago by mka@…

next step (back) :(

this morning i will setup a new VM. i also de-install the (zentyal) Virtual Manager i re-install the (zentyal) Virtual Manager i set up my (new) VM ....

the Modul virt dosen't start anymore....

msg @ de-install of the "virt- paket" in zentyal

2012/02/10 11:19:05 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 

i install the "virt" again

2012/02/10 11:21:54 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 

i set up (in zentyal GUI) my new VM

2012/02/10 11:23:09 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon0/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon0/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1

every time i must save the changes twice ?!

2012/02/10 11:24:39 INFO> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully
2012/02/10 11:25:16 ERROR> Base.pm:365 EBox::CGI::Base::__ANON__ - Exception: Das Programm verursachte den Abbruch der Verbindung
2012/02/10 11:26:36 INFO> GlobalImpl.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: firewall virt
2012/02/10 11:26:36 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall
2012/02/10 11:26:39 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt

but i can't start the VM ...

2012/02/10 11:29:30 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpsetup0/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpsetup0/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1

if i will/do start the modul

 * Starting Zentyal module: virt                                         [fail]

pls, tell my who is: "ANON" thx & a nice weekend

comment:16 Changed 16 months ago by jamor@…

Hello Mka,

'ANON' is just the name for anonymous functions in Perl; in this case I think the error message comes from apache-perl itself. Do you have your VM with auto-start?. In this case the 'monitor socket' error would cause the restart of the module to fail.

comment:17 Changed 16 months ago by jamor@…

I am a bit lost so we try to recapitualte:

are you saying that a VM with a windows ISO starts OK, but with the Damn Small Linux ISO it fails?. What about other Linux distributions?.

Also the memory in your machine does not seem to be a problem.

comment:18 Changed 15 months ago by jamor@…

As for the error that forces you to click twice in 'Save changes' I had fixed it in the repository. However it was related to adding ports to firewall's services and it is not related to the VMs errors.

comment:19 Changed 15 months ago by jamor@…

  • Owner changed from jacalvo@… to jamor@…

Changed 15 months ago by anonymous

qemu log

comment:20 Changed 15 months ago by mka@…

only a small step... hola!

I have delete all VM in Zentyal GUI (Virtual Manager) I set up a New (only) VM - i give only the Name "xpklon-qcow"in Virtual Manager. And set the checkbox "Autostart" (On /var/lib/zentyal/machines/ i found a new folder named "xpklon-qcow". In this Folder are a domain.xml. I edit the domain.xml (I use the settings from this post:  http://forum.zentyal.org/index.php/topic,6005.msg24238.html#msg24238 "J. A. Calvo")

I start the VM via Virtual Manager in Zentyal-GUI: First, it looks good, but last msg is:

qemu: could not open disk image /srv/kvm/xpklon/xpklon.qcow: Success

All notes attached

Changed 15 months ago by aleksgk@…

comment:21 Changed 15 months ago by aleksgk@…

Hi just a quick update from me with the same errors... problems.. I've installed zentyal on a new machine ,upadated, installed only virt,users, ftp (+what was there) so min. conf. Again no HDD detected, while CD works fine. output from grep libvirt /var/log/messages is the same as above. I've changed the name of virt machine (last time you asked for the output of those commands) -rw-r--r-- 1 root root 1209 2012-02-15 22:21 domain.xml -rw-r--r-- 1 root root 262144 2012-02-15 14:59 hdd.img -rwxr-xr-x 1 root root 178 2012-02-15 22:20 manage.sh domain.xml: ASCII text hdd.img: Qemu Image, Format: Qcow , Version: 2 manage.sh: Bourne-Again shell script text executable monitor@srvlin2:/var/lib/zentyal/machines/gb$ domain.xml I've tryed to change hdd from scsi to ide - no use...

comment:22 Changed 15 months ago by mka@…

pls, look comment: #20 also...

i have ONLY one VM on zentyal. (I would be glad if the running) i start a *.IMG File. In Zentyal GUI looks al fine. But, when i start the Console View on Zentyal (GUI) i see only the msg:

Websocket error: (object Event)

from remote, via LAN, "i see" no VM (netbios name) or IP Adress

domain.xml attached

Changed 15 months ago by mka@…

my last (actual) VM settings

comment:23 Changed 15 months ago by mka@…

hola,

now whats going on?!

i have DE-install the complete Virt-Manager Modul in Zentyal. If i reinstall the Modul (2.2.3) i have a error msg:

Einige Module meldeten ein Fehler beim Sichern der Änderungen. Weitere Informationen finden Sie in den Logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: virt
Click here to return to the Dashboard 

But, at Zentyal GUI i see my VM as "Green LED" (they was started) if i am on line (https) over the Internet i cant see anything on the "VM Console" in Zentyal GUI

I start a VPN, make a new login to Zentyal GUI -> Go to Virtual Machines (LED shows Green) -> i open the "Console" and see the Error MSG

WebSock? error [object Event]

zentyal write many big log files. here you can load it:

 http://glx-consult.com/download/zentyal.tar.bz2

comment:24 Changed 15 months ago by mka@…

Ups ?!

an now, the Modul "virt" dosent start anymore?!

  1. deinstall modul in zentyal gui
  2. reinstall modul in zentyal gui
  3. set up VM in zentyal gui
2012/02/21 12:03:43 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 

Zentyal gui: Error restarting service Virtual Machines. See /var/log/zentyal/zentyal.log for more information.

2012/02/21 12:05:22 ERROR> RestartService.pm:67 EBox::CGI::SysInfo::RestartService::__ANON__ - Restart of Virtual Machines from dashboard failed: root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1



2012/02/21 12:06:51 INFO> Log.pm:118 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'service',
                 'compMessage' => 'Virtual Machines',
                 'level' => 'error',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1329822410,
                 'duration' => 0,
                 'message' => 'The following modules are not running but they are enabled: Virtual Machines
'
               }, 'EBox::Event' );

comment:25 Changed 15 months ago by jamor@…

Hello Mka,

the last error is only consequence of the 'error: monitor socket did not show up'; if you don't have any VM set to automatically start it will not bother you.

In the log files I see the following:

 error: operation failed: domain 'xpklon' already exists with uuid ddb4a3c8-899b-da53-2940-c1b5edf87068

Maybe you should remove this VM and create another new with different name

comment:26 Changed 15 months ago by jamor@…

Also there is a way to see and destroy (unknown to the module) vm instances:

foobar@z22:~$ sudo virsh
[sudo] password for foobar: 
Welcome to virsh, the virtualization interactive terminal.

Type:  'help' for help with commands
       'quit' to quit

virsh # list
 Id Name                 State
----------------------------------
  1 ea                   running

virsh # destroy 1
Domain 1 destroyed

virsh # 


comment:27 Changed 15 months ago by jamor@…

Hello mka, I have found an error, if a VM is removed and it is running or paused, it continues to run. This is fixed in the branch jag/virt-rmvm of the repository but it could be the root cause of the problems.

If this is the case, I suggest to do this:

  • stop all the VMs in the interface
  • use virsh to kill any additional running VM
  • removing them and saving changes
  • create a new ones with distinct names

Regards,

Javier

comment:28 Changed 15 months ago by mka@…

i delete my only VM i check if they down

virsh # list
 Id Name                 Status
----------------------------------

in zentyal gui i set up a new VM (only the name and the checkbox for autostart)

2012-02-22 16:51:31 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt3294" has been added with "autostart" set to "1"
2012-02-22 16:51:32 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt3294" has been added with "name" set to "xpklon"

the /var/log/zentyal/zentyal.log tells:

2012/02/22 16:52:01 INFO> GlobalImpl.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services virt firewall
2012/02/22 16:52:01 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services
2012/02/22 16:52:01 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt
2012/02/22 16:52:01 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh stop failed. 
Error output: /var/lib/zentyal/tmp/lPfMnCEJK6.cmd: 1: /var/lib/zentyal/machines/xpklon/manage.sh: not found

Command output: . 
Exit value: 127
2012/02/22 16:52:03 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: firewall
2012/02/22 16:52:06 INFO> GlobalImpl.pm:653 EBox::GlobalImpl::saveAllModules - Changes saved successfully

return to zentyal gui (dasbord) the zentyal gui tells my (on modules) (see sreenshot)

 http://glx-consult.com/download/zentyal.png(Bild)

i start it whit the button on widget Modules. the widget always tells my the VM Modul was stopped. But in the section Virtual Machines i see the VM is running. also the shell tells:

The following 1 processes are likely causing it:
17911   2012-02-22 16:52:02  /usr/bin/kvm -S -M pc -enable-kvm -m 512 -smp 1 -name xpklon -uuid a6bf9cd1-62a4-2cef-f8d3-428555fa5eac -chardev socket,id=monitor,path=/var/lib/libvirt/qemu/xpklon.monitor,server,nowait -monitor chardev:monitor -boot c -net none -serial none -parallel none -usb -usbdevice mouse -vnc 0.0.0.0:0,password -k en-us -vga cirrus
'
               }, 'EBox::Event' );
2012/02/22 16:56:21 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: virt


after a few minutes the logfile tells:

2012/02/22 16:59:09 INFO> Log.pm:118 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'service',
                 'compMessage' => 'Virtual Machines',
                 'level' => 'error',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1329926345,
                 'duration' => 0,
                 'message' => 'The following modules are not running but they are enabled: Virtual Machines
'
               }, 'EBox::Event' );


but, i give this VM NO settings.!! (only the name and autostart was set)

ok, next one. i delete this VM and do the same whit VM settings....

i delete the "NO Settings VM" i look the virsh if any VM is running...

2012-02-22 16:56:24 	Dashboard 		The action "restartService(Virtual Machines)" has been executed
2012-02-22 17:03:13 	Virtual Machines 	List of Virtual Machines 	The action "virt3294(stop)" has been executed
2012-02-22 17:03:17 	Virtual Machines 	List of Virtual Machines 	The virtual machine "virt3294" has been deleted


the widget in zentyal gui tells my now the VM Modul was running..

i set up a new VM (whit settings!)

2012-02-22 17:05:54 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt8647" has been added with "autostart" set to "1"
2012-02-22 17:05:54 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt8647" has been added with "name" set to "xpklon"
2012-02-22 17:06:03 	Virtual Machines 	System Settings 	The value of "memory" has been changed from "512" to "1024"
2012-02-22 17:06:09 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt8647/netw7096" has been added with "type" set to "nat"
2012-02-22 17:06:09 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt8647/netw7096" has been added with "iface" set to "none"
2012-02-22 17:06:09 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt8647/netw7096" has been added with "enabled" set to "on"
2012-02-22 17:06:32 	Virtual Machines 	Device Settings 	A new drive "virt8647/devi4035" has been added with "path" set to "/srv/kvm/xpklon/xpklon.img"
2012-02-22 17:06:32 	Virtual Machines 	Device Settings 	A new drive "virt8647/devi4035" has been added with "size" set to "8000"
2012-02-22 17:06:32 	Virtual Machines 	Device Settings 	A new drive "virt8647/devi4035" has been added with "type" set to "hd"
2012-02-22 17:06:32 	Virtual Machines 	Device Settings 	A new drive "virt8647/devi4035" has been added with "enabled" set to "on"
2012-02-22 17:06:32 	Virtual Machines 	Device Settings 	A new drive "virt8647/devi4035" has been added with "disk_action" set to "use"


and save this..

first error i see on the shell...

2012/02/22 17:07:22 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh stop failed. 
Error output: /var/lib/zentyal/tmp/1Zu0NzbGqf.cmd: 1: /var/lib/zentyal/machines/xpklon/manage.sh: not found



zentyal gui shows:

Einige Module meldeten ein Fehler beim Sichern der Änderungen. Weitere Informationen finden Sie in den Logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: virt
Click here to return to the Dashboard 

shell

2012/02/22 17:07:56 ERROR> GlobalImpl.pm:664 EBox::GlobalImpl::saveAllModules - The following modules failed while saving their changes, their state is unknown: virt 


zentyal gui:

Error restarting service Virtual Machines. See /var/log/zentyal/zentyal.log for more information.


ok, i re-install the hole module (in zentyal gui)

btw: after de-install the vm-modul my https connection frags up!

i enable the module as new

2012-02-22 17:19:40 	global 	Module Status 	The action "enableService(virt)" has been executed


zentyal gui tells my thats the modul was running now i set up a new (and only) VM. include all settings and autostart

2012-02-22 17:21:38 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt9045" has been added with "autostart" set to "1"
2012-02-22 17:21:38 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt9045" has been added with "name" set to "xpklon"
2012-02-22 17:21:48 	Virtual Machines 	System Settings 	The value of "memory" has been changed from "512" to "1024"
2012-02-22 17:21:51 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt9045/netw659" has been added with "type" set to "nat"
2012-02-22 17:21:51 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt9045/netw659" has been added with "iface" set to "none"
2012-02-22 17:21:51 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt9045/netw659" has been added with "enabled" set to "on"
2012-02-22 17:22:01 	Virtual Machines 	Device Settings 	A new drive "virt9045/devi6595" has been added with "path" set to "/srv/kvm/xpklon/xpklon.img"
2012-02-22 17:22:01 	Virtual Machines 	Device Settings 	A new drive "virt9045/devi6595" has been added with "size" set to "8000"
2012-02-22 17:22:01 	Virtual Machines 	Device Settings 	A new drive "virt9045/devi6595" has been added with "type" set to "hd"
2012-02-22 17:22:01 	Virtual Machines 	Device Settings 	A new drive "virt9045/devi6595" has been added with "disk_action" set to "use"
2012-02-22 17:22:01 	Virtual Machines 	Device Settings 	A new drive "virt9045/devi6595" has been added with "enabled" set to "on"


first error i seen on shell

var/lib/zentyal/machines/xpklon/manage.sh stop failed. 
Error output: /var/lib/zentyal/tmp/4fSvCPV6ac.cmd: 1: /var/lib/zentyal/machines/xpklon/manage.sh: not found

Command output: . 
Exit value: 127



i see more errors on shell

Saving config and restarting services: services virt firewall
2012/02/22 17:23:16 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services
2012/02/22 17:23:17 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt
2012/02/22 17:23:17 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh stop failed. 
Error output: /var/lib/zentyal/tmp/4fSvCPV6ac.cmd: 1: /var/lib/zentyal/machines/xpklon/manage.sh: not found

Command output: . 
Exit value: 127
2012/02/22 17:23:48 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1
2012/02/22 17:23:48 ERROR> GlobalImpl.pm:612 EBox::GlobalImpl::__ANON__ - Failed to save changes in module virt: root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused


and also the zentyal gui tells my:

Einige Module meldeten ein Fehler beim Sichern der Änderungen. Weitere Informationen finden Sie in den Logs in /var/log/zentyal/

The following modules failed while saving their changes, their state is unknown: virt
Click here to return to the Dashboard 


if i go back to zentyal gui dashbord i see in widget modules thats the VM modul was stopped. i start it from the widget button.....

2012/02/22 17:27:40 ERROR> Service.pm:721 EBox::Module::Service::__ANON__ - Error restarting service: root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1
2012/02/22 17:27:40 ERROR> RestartService.pm:67 EBox::CGI::SysInfo::RestartService::__ANON__ - Restart of Virtual Machines from dashboard failed: root command /var/lib/zentyal/machines/xpklon/manage.sh start failed. 
Error output: error: Failed to create domain from /var/lib/zentyal/machines/xpklon/domain.xml
 error: monitor socket did not show up.: Connection refused

Command output: 
. 
Exit value: 1



the hole module don't starts anymore... :(  http://glx-consult.com/download/zentyal1.png(Bild)

comment:29 Changed 15 months ago by jamor@…

Hello Mka,

I think with that all the removal some state has been left for previous run, probably in tsome of the files in /var/lib/zentyal/machines/xpklon .

For this reason I would redo the process but choosing a different name for the VM (something different of 'xpklon'). Also we can remove /var/lib/zentyal/machines/xpklon to going back to a blank state.

Also in the outputs you have pasted we have seen that we could have a kvm process not listed in virsh. So additionally after using virsh we could kill any remaining kvm process.

Could you try again the process with this additions ?

comment:30 Changed 15 months ago by jamor@…

Another option would be to let me remote access to your server so I could look things myself. In this case send me a email to jamor AT zentyal.com with the details

comment:31 Changed 15 months ago by jamor@…

Hello Mka,

the problem is that only qcow2 disks are supported and your Windows disk is not in this format:

file  /srv/kvm/xpklon/xpklon.img 
/srv/kvm/xpklon/xpklon.img: x86 boot sector, Microsoft Windows XP MBR (german), Serial 0x5c205c1; partition 1: ID=0x7, active, starthead 1, startsector 63, 20948697 sectors, code offset 0xc0

I have deattached it and created a test disk to see if the VM can start and it can.

So you need to convert the disk to qcow2 format or get a WinXP disk in this format.

Regards,

Javier

comment:32 Changed 15 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Added file image validation in

To hotfix:

  1. Download the new DeviceSettings?.pm from  http://git.zentyal.org/zentyal.git/blob_plain/aee82f3e60fc0242c07224b549c126922483959f:/main/virt/src/EBox/Virt/Model/DeviceSettings.pm
  2. Reload the interface with 'sudo /etc/init.d/zentyal apache restart'

Regards,

Javier

Last edited 15 months ago by jamor@… (previous) (diff)

comment:33 Changed 15 months ago by mka@…

ok, thanks. the restart works whiteout error mag. but, in the folder /usr7share/perl5/EBox/Virt/ was no DeviceSettings?.pm file before !

comment:34 Changed 15 months ago by jamor@…

Sorry, the good folder is /usr/share/perl5/EBox/Virt/Model

I will edit the original answer

comment:35 Changed 15 months ago by mka@…

i have do this... i restart apache (looks fine) i log in to the zentyal GUI and see only the MSG:

Trace

    Error loading class: EBox::Virt error: Bad name after zentyal' at /usr/share/perl5/EBox/Virt/Model/DeviceSettings.pm line 70.
    Compilation failed in require at /usr/share/perl5/EBox/Virt.pm line 34.
    BEGIN failed--compilation aborted at /usr/share/perl5/EBox/Virt.pm line 34.
    Compilation failed in require at (eval 344) line 2.
    BEGIN failed--compilation aborted at (eval 344) line 2.
    at /usr/share/perl5/EBox/GlobalImpl.pm line 836
    EBox::GlobalImpl::modInstance('EBox::GlobalImpl=HASH(0xb949d738)', 1, 'virt') called at /usr/share/perl5/EBox/Global.pm line 92
    EBox::Global::AUTOLOAD('EBox::Global=HASH(0xb8f6b810)', 'virt') called at /usr/share/perl5/EBox/CGI/Dashboard/Index.pm line 70
    EBox::CGI::Dashboard::Index::masonParameters('EBox::CGI::Dashboard::Index=HASH(0xb9610b38)') called at /usr/share/perl5/EBox/CGI/Base.pm line 522
    EBox::CGI::Base::_process('EBox::CGI::Dashboard::Index=HASH(0xb9610b38)') called at /usr/share/perl5/EBox/CGI/Base.pm line 275
    EBox::CGI::Base::run('EBox::CGI::Dashboard::Index=HASH(0xb9610b38)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
    EBox::CGI::Run::run('EBox::CGI::Run', '', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
    ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0xb93b77a0)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
    eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
    ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0xb9452ba8)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
    ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0xb9452ba8)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
    ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0xb93b77a0)') called at -e line 0
    eval {...} called at -e line 0


no VM is working... :(

comment:36 Changed 15 months ago by jamor@…

I have edited the comment #32 to give a directly link to the file itself and not to its HTML preview.

Sorry for any inconvenience.

comment:37 Changed 15 months ago by mka@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

i have delete the file in: /usr/share/perl5/EBox/Virt/ i copy the file in: /usr/share/perl5/EBox/Virt/Model i restart apache i go to login to the zentyal GUI i c&p this what i see in comment: #35 :(

comment:38 Changed 15 months ago by jamor@…

Please, check that the file you downlaoded has the correctly md5sum:

jag@zapp:/tmp$ md5sum main_virt_src_EBox_Virt_Model_DeviceSettings.pm 
9087ecc1274bac1df534e2cceb285e12  main_virt_src_EBox_Virt_Model_DeviceSettings.pm

Also, as you see, the git browser puts a strange name it needs to be renamed to just 'DeviceSttings?.pm'.

comment:39 Changed 15 months ago by mka@…

yes i have see it.

by my first download i have the "stange" (file) names. i cange it from hand. by my second download (today) i have the right filename "DeviceSettings?.pm"

comment:40 Changed 15 months ago by mka@…

ok, I'm too stupid to configure a VM (in zentyal!) However, it would be nice if this module "virt" would work

#situation this morning:

2012/02/28 12:16:47 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: virt
2012/02/28 12:16:59 INFO> Log.pm:118 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'service',
                 'compMessage' => 'Virtual Machines',
                 'level' => 'error',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1330427818,
                 'duration' => 0,
                 'message' => 'The following modules are not running but they are enabled: Virtual Machines
'
               }, 'EBox::Event' );

#i delete the old VM #i delete the module virt-manager in zentyal gui

2012/02/28 12:21:44 INFO> apache-restart:53 main:: - Waiting for apache to shutdown, attempt 0
2012/02/28 12:21:51 ERROR> Base.pm:365 EBox::CGI::Base::__ANON__ - Exception: Das Programm verursachte den Abbruch der Verbindung

#btw: the firewall whit "hiccup"

2012/02/28 12:23:58 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall

# i setup the virt-moddul as new

2012/02/28 12:24:59 INFO> EventDaemon.pm:307 EBox::EventDaemon::_loadModules - EBox::Event::Watcher::RAID loaded from registeredEvents
2012/02/28 12:24:59 INFO> EventDaemon.pm:307 EBox::EventDaemon::_loadModules - EBox::Event::Dispatcher::ControlCenter loaded from registeredDispatchers
2012/02/28 12:25:07 ERROR> Base.pm:365 EBox::CGI::Base::__ANON__ - Exception: Das Programm verursachte den Abbruch der Verbindung

#to go there, looks fine

2012-02-28 12:26:16 	global 	Module Status 	The action "enableService(virt)" has been executed

#the firewall again (hiccup)

2012/02/28 12:28:11 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall

#setup a new vm (in zentyal)

2012-02-28 12:28:00 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt7414" has been added with "autostart" set to "1"
2012-02-28 12:28:00 	Virtual Machines 	List of Virtual Machines 	A new virtual machine "virt7414" has been added with "name" set to "dsl-live"
2012-02-28 12:28:11 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt7414/netw5373" has been added with "type" set to "nat"
2012-02-28 12:28:11 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt7414/netw5373" has been added with "iface" set to "none"
2012-02-28 12:28:11 	Virtual Machines 	Network Settings 	A new Schnittstelle "virt7414/netw5373" has been added with "enabled" set to "on"
2012-02-28 12:30:03 	Virtual Machines 	Device Settings 	A new drive "virt7414/devi2954" has been added with "path" set to "/srv/kvm/dsl/dsl-4.4.10.iso"
2012-02-28 12:30:03 	Virtual Machines 	Device Settings 	A new drive "virt7414/devi2954" has been added with "size" set to "8000"
2012-02-28 12:30:03 	Virtual Machines 	Device Settings 	A new drive "virt7414/devi2954" has been added with "type" set to "cd"
2012-02-28 12:30:03 	Virtual Machines 	Device Settings 	A new drive "virt7414/devi2954" has been added with "disk_action" set to "create"
2012-02-28 12:30:03 	Virtual Machines 	Device Settings 	A new drive "virt7414/devi2954" has been added with "enabled" set to "on"

#zentyal.log output

2012/02/28 12:33:31 INFO> GlobalImpl.pm:539 EBox::GlobalImpl::saveAllModules - Saving config and restarting services: services virt firewall
2012/02/28 12:33:31 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: services
2012/02/28 12:33:31 INFO> Base.pm:228 EBox::Module::Base::save - Restarting service for module: virt
2012/02/28 12:33:31 ERROR> Sudo.pm:213 EBox::Sudo::_rootError - root command /var/lib/zentyal/machines/dsl-live/manage.sh stop failed. 
Error output: /var/lib/zentyal/tmp/35hb6mToef.cmd: 1: /var/lib/zentyal/machines/dsl-live/manage.sh: not found

#and now the same situation as earlyer in the morning. the VM Modul dosent start anymore?!

2012/02/28 12:46:06 INFO> Log.pm:118 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'service',
                 'compMessage' => 'Virtual Machines',
                 'level' => 'error',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1330429560,
                 'duration' => 0,
                 'message' => 'The following modules are not running but they are enabled: Virtual Machines
'
               }, 'EBox::Event' );

#oh yeah and the firewall again

2012/02/28 12:44:11 INFO> Service.pm:716 EBox::Module::Service::restartService - Restarting service for module: firewall

comment:41 Changed 15 months ago by jamor@…

Hello mka,

I have created a VM with your same configuration and a DSL iso with this md5sum ->  http://distro.ibiblio.org/damnsmall/current/dsl-4.4.10.iso.md5.txt

It worked as expected. Maybe you have some trouble with ancient machines?. Could you look to /var/lib/zentyal/machines/dsl-live/ to assure it is all in order?.

Ah, for the firewall restart is necessary to update the vnc service. There is code in the repository to fix the "two savechanges" problem but anyway after the second 'save changes' the service should be set.

Regards,

Javier

comment:42 Changed 15 months ago by jamor@…

  • Status changed from reopened to accepted

comment:43 Changed 15 months ago by jamor@…

  • Status changed from accepted to closed
  • Resolution set to fixed

Ok, I close this ticket until more feedback is received.

Various VM issues were fixed. If you have one that don't fit in the issues discussed here it would be better to create a new ticket.

Regards,

Javier

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.