Hi, I tried to install a pv guest ubuntu by netinstall (see below) on a xen host (centos6.3 + XEN4.2) ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- mkdir -p /var/lib/xen/images/ubuntu-netboot cd /var/lib/xen/images/ubuntu-netboot sudo wget http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/initrd.gz sudo wget http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/vmlinuz Set up the initial guest configuration: /etc/xen/ubuntu.cfg ------------------------------------------------------------------------------------------------ name = "ubuntu"memory = 512disk [''phy:/dev/xen_vms/ubuntu,xvda,w'']vif = ['' '']kernel "/var/lib/xen/images/ubuntu-netboot/vmlinuz"ramdisk "/var/lib/xen/images/ubuntu-netboot/initrd.gz"extra "debian-installer/exit/always_halt=true -- console=hvc0" ----------------------------------------------------------------------------------- [root@mypc ~]# xm create /etc/xen/ubuntu -c Using config file "/etc/xen/ubuntu". Started domain ubuntu (id=2) [root@mypc ~]# Then, nothing appeared and not installation went in progress. I checked the xend-debug.log and found this error: end started at Tue Jan 1 20:47:26 2013. /usr/lib64/python2.6/site-packages/xen/xend/XendAPI.py:551: DeprecationWarning: object.__new__() takes no parameters return object.__new__(cls, *args, **kwds) Exception in thread UnixHttpServer: Traceback (most recent call last): File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner self.run() File "/usr/lib64/python2.6/threading.py", line 484, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line 312, in run (sock, addr) = self.accept() File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line 331, in accept return self.socket.accept() File "/usr/lib64/python2.6/socket.py", line 197, in accept sock, addr = self._sock.accept() error: [Errno 22] Invalid argument Any thoughts about this ? Is there any way to see the monitor the creation process ? Thx & best Regards _Jm -- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
I mean: is there any way to monitor the DomU creation process ? On Tue, Jan 1, 2013 at 9:38 PM, Jihed M''selmi <jihed.mselmi@gmail.com>wrote:> Hi, > > I tried to install a pv guest ubuntu by netinstall (see below) on a xen > host (centos6.3 + XEN4.2) > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- > mkdir -p /var/lib/xen/images/ubuntu-netboot cd > /var/lib/xen/images/ubuntu-netboot sudo wget > http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/initrd.gz sudo > wget > http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/vmlinuz > > Set up the initial guest configuration: /etc/xen/ubuntu.cfg > > ------------------------------------------------------------------------------------------------ > name = "ubuntu"memory = 512disk = [''phy:/dev/xen_vms/ubuntu,xvda,w'']vif = ['' '']kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"extra = "debian-installer/exit/always_halt=true -- console=hvc0" > > > ----------------------------------------------------------------------------------- > > [root@mypc ~]# xm create /etc/xen/ubuntu -c > Using config file "/etc/xen/ubuntu". > Started domain ubuntu (id=2) > > [root@mypc ~]# > > Then, nothing appeared and not installation went in progress. > I checked the xend-debug.log and found this error: > end started at Tue Jan 1 20:47:26 2013. > /usr/lib64/python2.6/site-packages/xen/xend/XendAPI.py:551: > DeprecationWarning: object.__new__() takes no parameters > return object.__new__(cls, *args, **kwds) > Exception in thread UnixHttpServer: > Traceback (most recent call last): > File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner > self.run() > File "/usr/lib64/python2.6/threading.py", line 484, in run > self.__target(*self.__args, **self.__kwargs) > File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line > 312, in run > (sock, addr) = self.accept() > File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line > 331, in accept > return self.socket.accept() > File "/usr/lib64/python2.6/socket.py", line 197, in accept > sock, addr = self._sock.accept() > error: [Errno 22] Invalid argument > > > Any thoughts about this ? Is there any way to see the monitor the creation > process ? > > Thx & best Regards > > _Jm > -- > Jihed M’SELMI > http://about.me/jihed.mselmi >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Any help, please ? On Tue, Jan 1, 2013 at 10:09 PM, Jihed M''selmi <jihed.mselmi@gmail.com>wrote:> I mean: is there any way to monitor the DomU creation process ? > > > > On Tue, Jan 1, 2013 at 9:38 PM, Jihed M''selmi <jihed.mselmi@gmail.com>wrote: > >> Hi, >> >> I tried to install a pv guest ubuntu by netinstall (see below) on a xen >> host (centos6.3 + XEN4.2) >> >> >> ----------------------------------------------------------------------------------------------------------------------------------------------------------------------- >> mkdir -p /var/lib/xen/images/ubuntu-netboot cd >> /var/lib/xen/images/ubuntu-netboot sudo wget >> http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/initrd.gz sudo >> wget >> http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/vmlinuz >> >> Set up the initial guest configuration: /etc/xen/ubuntu.cfg >> >> ------------------------------------------------------------------------------------------------ >> name = "ubuntu"memory = 512disk = [''phy:/dev/xen_vms/ubuntu,xvda,w'']vif = ['' '']kernel = "/var/lib/xen/images/ubuntu-netboot/vmlinuz"ramdisk = "/var/lib/xen/images/ubuntu-netboot/initrd.gz"extra = "debian-installer/exit/always_halt=true -- console=hvc0" >> >> >> ----------------------------------------------------------------------------------- >> >> [root@mypc ~]# xm create /etc/xen/ubuntu -c >> Using config file "/etc/xen/ubuntu". >> Started domain ubuntu (id=2) >> >> [root@mypc ~]# >> >> Then, nothing appeared and not installation went in progress. >> I checked the xend-debug.log and found this error: >> end started at Tue Jan 1 20:47:26 2013. >> /usr/lib64/python2.6/site-packages/xen/xend/XendAPI.py:551: >> DeprecationWarning: object.__new__() takes no parameters >> return object.__new__(cls, *args, **kwds) >> Exception in thread UnixHttpServer: >> Traceback (most recent call last): >> File "/usr/lib64/python2.6/threading.py", line 532, in __bootstrap_inner >> self.run() >> File "/usr/lib64/python2.6/threading.py", line 484, in run >> self.__target(*self.__args, **self.__kwargs) >> File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line >> 312, in run >> (sock, addr) = self.accept() >> File "/usr/lib64/python2.6/site-packages/xen/web/httpserver.py", line >> 331, in accept >> return self.socket.accept() >> File "/usr/lib64/python2.6/socket.py", line 197, in accept >> sock, addr = self._sock.accept() >> error: [Errno 22] Invalid argument >> >> >> Any thoughts about this ? Is there any way to see the monitor the >> creation process ? >> >> Thx & best Regards >> >> _Jm >> -- >> Jihed M’SELMI >> http://about.me/jihed.mselmi >> > > > > -- > Jihed M’SELMI > http://about.me/jihed.mselmi >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
On Wed, 2013-01-02 at 11:25 +0000, Jihed M''selmi wrote:> Any help, please ?Please be patient, not everybody is checking the list every minute.> On Tue, Jan 1, 2013 at 10:09 PM, Jihed M''selmi > <jihed.mselmi@gmail.com> wrote: > I mean: is there any way to monitor the DomU creation > process ?The error message you are getting suggests to me that your domU hasn''t actually been created. What does "xm list" say? If the domain is running you could try connecting to its console with "xm console <name>". You are using Xen 4.2, I would strongly recommend you try switching to the xl toolstack instead of xm. Ian.
Yeah, sure...I''m not pressing. Sorry for the misunderstanding. :-) Rgds _Jm _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
H Ian, "xm list" listed only the Dom0. I''ll try to do it with xl command instead of xm and post the result but I remember that I used the same way on (ubuntu+xen 4.2) and the installation started fine... Thanks Ian Best Regards Jm _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
El 01/01/13 15:09, Jihed M''selmi escribió:> I mean: is there any way to monitor the DomU creation process ?The usual monitor is /var/log/xen/xend.log. Also, you might wish to consider to deploy a PV Linux guest via xen-tools (xe-create-image). It uses debootstrap for creating the initial FS and writes extensive log of the installation process, handful to debug. -- Alexandre Kouznetsov
Hi, I tried again, I faced a network pb in the begining then I had this error: [root@mypc xen]# xl -f create -c /etc/xen/ubuntu Parsing config from /etc/xen/ubuntu Daemon running with PID 11249 libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain type for domid=15 Unable to attach console libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console child [0] exited with error status 1 BR _Jm On Thu, Jan 3, 2013 at 4:54 PM, Alexandre Kouznetsov <alk@ondore.com> wrote:> El 01/01/13 15:09, Jihed M''selmi escribió: > > I mean: is there any way to monitor the DomU creation process ? >> > > The usual monitor is /var/log/xen/xend.log. > > Also, you might wish to consider to deploy a PV Linux guest via xen-tools > (xe-create-image). It uses debootstrap for creating the initial FS and > writes extensive log of the installation process, handful to debug. > > -- > Alexandre Kouznetsov > > > ______________________________**_________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello. El 03/01/13 13:55, Jihed M''selmi escribió:> I tried again, I faced a network pb in the beginingWhat do you mean by "pb"? "Problem"?> then I had this error: > > [root@mypc xen]# xl -f create -c /etc/xen/ubuntu > Parsing config from /etc/xen/ubuntu > Daemon running with PID 11249 > libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain > type for domid=15 > Unable to attach console > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console > child [0] exited with error status 1Are you using the same configuration file as before? I don''t have the opportunity to test now, but I recall Xen to get confused then you attempt to start a domain without a valid vif configuration. I faced that some time ago, not sure it it''s still an issue. Anyway, if you are trying to perform a network install, how do you expect it to run without network? Another question, is that the recommended way to create a PV guest is via xen-tools, not the regular installer. I can''t tell if even the installer would work, never tried it that way. In any case, xend.log should hold the answer. -- Alexandre Kouznetsov
Thanks Alex, below some answer... On Thu, Jan 3, 2013 at 9:29 PM, Alexandre Kouznetsov <alk@ondore.com> wrote:> Hello. > > El 03/01/13 13:55, Jihed M''selmi escribió: > > I tried again, I faced a network pb in the begining >> > What do you mean by "pb"? "Problem"? > > > then I had this error: >> >> [root@mypc xen]# xl -f create -c /etc/xen/ubuntu >> Parsing config from /etc/xen/ubuntu >> Daemon running with PID 11249 >> libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain >> type for domid=15 >> Unable to attach console >> libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console >> child [0] exited with error status 1 >> > > Are you using the same configuration file as before? >> I don''t have the opportunity to test now, but I recall Xen to get confused > then you attempt to start a domain without a valid vif configuration. I > faced that some time ago, not sure it it''s still an issue. >> it''s the same file, but I changed the name of the vif (in the > /etc/sysconfig/ifcfg-xenbr0 to fits the configuration=>because, I didn''t > know where how to change the configuration) >> Anyway, if you are trying to perform a network install, how do you expect > it to run without network? > >> Another question, is that the recommended way to create a PV guest is via > xen-tools, not the regular installer. I can''t tell if even the installer > would work, never tried it that way. > It worked when I had the xen on ubuntu...and I am still doing my first > tests (I am a newbie with xen, yet) >> In any case, xend.log should hold the answer. > grep ''ERROR'' xend.log >[2013-01-03 20:53:10 10003] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.356788 seconds). Refusing to restart to avoid loops. [2013-01-03 20:53:10 10003] ERROR (XendDomainInfo:2422) Device release failed: ubuntu; console; console/0 [2013-01-03 20:53:41 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.475673 seconds). Refusing to restart to avoid loops. [2013-01-03 21:01:14 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.951567 seconds). Refusing to restart to avoid loops. [2013-01-03 21:01:14 11357] ERROR (XendDomainInfo:2422) Device release failed: ubuntu; console; console/0 [2013-01-03 21:01:40 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 0.919044 seconds). Refusing to restart to avoid loops. [2013-01-03 21:02:14 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.588021 seconds). Refusing to restart to avoid loops. [2013-01-03 21:17:23 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 2.232704 seconds). Refusing to restart to avoid loops. [2013-01-03 21:17:42 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.420576 seconds). Refusing to restart to avoid loops. [2013-01-03 21:17:42 11357] ERROR (XendDomainInfo:3091) XendDomainInfo.destroy: domain destruction failed. BR _Jm> > -- > Alexandre Kouznetsov > > > ______________________________**_________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello, Jihed. El 03/01/13 14:44, Jihed M''selmi escribió:> In any case, xend.log should hold the answer. > grep ''ERROR'' xend.log >[...]Please, attach (not copy) to your mail the config file you are using to start this DomU. About the log, the piece you quoted is too few informative. First, i would begin putting in the config file this lines: on_poweroff = ''destroy'' on_reboot = ''destroy'' on_crash = ''destroy'' ...so the log does not get spammed with messages of unsuccessful restart attempt. Second, please attach the extract of your log file, but don''t grep it. Instead, cut everything before the moment you attempt to start the DomU, and everything after the moment when your "xl create" gives up with error. Put that both attachments in the same mail, this way we know they strictly correspond one to another. -- Alexandre Kouznetsov
I copied the content of the config file inthe original post (see attached the one I am using now) this is a piece from xend.log: 2013-01-03 21:17:42 11357] INFO (XendDomainInfo:169) Recreating domain 21, UUID 521f0e68-a60a-4ee6-a92a-c9fffdeb1f50. at /local/domain/21 [2013-01-03 21:17:42 11357] DEBUG (XendDomain:476) Adding Domain: 21 [2013-01-03 21:17:42 11357] DEBUG (XendDomainInfo:1882) XendDomainInfo.handleShutdownWatch [2013-01-03 21:17:42 11357] DEBUG (DevController:95) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/console/21/0''} to /local/domain/21/device/console/0. [2013-01-03 21:17:42 11357] DEBUG (DevController:97) DevController: writing {''domain'': ''ubuntu'', ''frontend'': ''/local/domain/21/device/console/0'', ''uuid'': ''5147f879-d9e7-56bf-fe5c-98e462cdabcf'', ''frontend-id'': ''21'', ''state'': ''1'', ''location'': ''2'', ''online'': ''1'', ''protocol'': ''vt100''} to /local/domain/0/backend/console/21/0. [2013-01-03 21:17:42 11357] WARNING (XendDomainInfo:2062) Domain has crashed: name=ubuntu id=21. [2013-01-03 21:17:42 11357] ERROR (XendDomainInfo:2196) VM ubuntu restarting too fast (Elapsed time: 1.420576 seconds). Refusing to restart to avoid loops. [2013-01-03 21:17:42 11357] DEBUG (XendDomainInfo:3077) XendDomainInfo.destroy: domid=21 [2013-01-03 21:17:42 11357] ERROR (XendDomainInfo:3091) XendDomainInfo.destroy: domain destruction failed. Traceback (most recent call last): File "/usr/lib64/python2.6/site-packages/xen/xend/XendDomainInfo.py", line 3086, in destroy xc.domain_destroy(self.domid) Error: (3, ''No such process'') [2013-01-03 21:17:42 11357] DEBUG (XendDomainInfo:1882) XendDomainInfo.handleShutdownWatch [2013-01-03 21:17:42 11357] DEBUG (XendDomainInfo:2402) Destroying device model [2013-01-03 21:17:42 11357] DEBUG (XendDomainInfo:2409) Releasing devices [2013-01-03 21:27:45 11357] DEBUG (XendDomainInfo:151) XendDomainInfo.recreate({''max_vcpu_id'': 0, ''cpu_time'': 0L, ''ssidref'': 0, ''hvm'': 0, ''shutdown_reason'': 255, ''dying'': 0, ''online_vcpus'': 1, ''domid'': 22, ''paused'': 1, ''crashed'': 0, ''running'': 0, ''maxmem_kb'': 525312L, ''shutdown'': 0, ''mem_kb'': 524288L, ''handle'': [214, 135, 226, 199, 253, 208, 68, 24, 189, 139, 73, 120, 177, 196, 208, 4], ''blocked'': 0, ''cpupool'': 0}) On Thu, Jan 3, 2013 at 9:57 PM, Alexandre Kouznetsov <alk@ondore.com> wrote:> Hello, Jihed. > > El 03/01/13 14:44, Jihed M''selmi escribió: > >> In any case, xend.log should hold the answer. >> grep ''ERROR'' xend.log >> [...] >> > > Please, attach (not copy) to your mail the config file you are using to > start this DomU. > > About the log, the piece you quoted is too few informative. First, i would > begin putting in the config file this lines: > on_poweroff = ''destroy'' > on_reboot = ''destroy'' > on_crash = ''destroy'' > ...so the log does not get spammed with messages of unsuccessful restart > attempt. > Second, please attach the extract of your log file, but don''t grep it. > Instead, cut everything before the moment you attempt to start the DomU, > and everything after the moment when your "xl create" gives up with error. > > Put that both attachments in the same mail, this way we know they strictly > correspond one to another. > > > -- > Alexandre Kouznetsov > > > ______________________________**_________________ > Xen-users mailing list > Xen-users@lists.xen.org > http://lists.xen.org/xen-users >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
Hello. El 03/01/13 15:10, Jihed M''selmi escribió:> I copied the content of the config file inthe original post (see > attached the one I am using now)As I can see, indeed it''s the same config. Well, I still recommend to configure it so xend does not attempt to respawn crashed DomU. That is clearly not the main problem you are facing, but would be a much cleaner way to do things.> this is a piece from xend.log: > [...] > [2013-01-03 21:17:42 11357] WARNING (XendDomainInfo:2062) Domain has > crashed: name=ubuntu id=21.This must be something internal to DomU. Probably a wrong kernel or missconfiguration. Your config file has much less options than a regular one (mine are created by custom template for xen-tools), but I can''t tell about which is the critical one. http://mirror.anl.gov/pub/ubuntu/dists/precise/main/installer-amd64/current/images/netboot/xen/ The same mirror where you got your vmlinuz and initrd.gz, has a file xm-debian.cfg. It has a brief instruction in the header. Never used it that way, but looks promising. Maybe you should try to stick to those instructions. My python is poor, but it does not look like running the debian-installer within the DomU. Another good thing to look at: run "xl create ..." without -f option. Does it complain, about what? Try -v option for "xl", it might give some useful output also. If you insist in using the regular debian-installer (can''t think of a good reason, but hopefully you have one) and don''t get xm-debian.cfg to work, I may suggest deploying a HVM DomU (it even can boot from PXE) and then convert it to PV. Although, I think using xen-tools is a much easer and faster way. Greetings.
On Thu, 2013-01-03 at 21:10 +0000, Jihed M''selmi wrote:> > [2013-01-03 21:17:42 11357] WARNING (XendDomainInfo:2062) Domain has crashed: name=ubuntu id=21.Your guest kernel has crashed. Are there any message on the Xen console (xl|xm dmesg)? You might find that the guest kernel is logging something useful as it fails but that you don''t get to see it because the domain gets destroyed first. You could try enabling guest console logging as described in http://wiki.xen.org/wiki/Reporting_Bugs_against_Xen or you could try on_crash="preserve" which ought to let you get to the console of the crashed guest (you will need to explicitly xl|xm destroy it when you are done). Ian.
Hello. El 05/01/13 05:43, Jihed M''selmi escribió:> On Fri, Jan 4, 2013 at 4:37 AM, Alexandre Kouznetsov <alk@ondore.com >> The same mirror where you got your vmlinuz and initrd.gz, has a file >> xm-debian.cfg. It has a brief instruction in the header. Never used it >> that way, but looks promising. Maybe you should try to stick to those >> instructions. My python is poor, but it does not look like running the >> debian-installer within the DomU. > =======> > I had a some wanings: > warning: Config file looks like it contains Python code. > warning: Arbitrary Python is no longer supported. > warning: See http://wiki.xen.org/wiki/PythonInXlConfig > Failed to parse config: Invalid argumentHm. As I told you, I have never used it that way, so can''t help much. The error message is clear enough by itself, this config will not be usable under your setup "as is". If you insist using debian-installer, you should pay attention to Ian about how to debug the crash reason. One of the first steps would be adding this to your config, as he suggested: on_crash="preserve" (Instead of mine on_crash="destroy") ...and inspecting the console.>> Another good thing to look at: >> run "xl create ..." without -f option. Does it complain, about what? >> Try -v option for "xl", it might give some useful output also. > ===========> > Without option -f, it asked me to turn off the xend service ... and I > don''t know why.Maybe because you are running xend service, which conflicts with xl? Xend and XL are different toolstacks designed to manage Xen infrastructure, they conflict with each other: http://wiki.xen.org/wiki/XL http://wiki.xen.org/wiki/Choice_of_Toolstacks Stick to "xm", or switch your default toolstack. Google for the exact error message you obtain, to find reference how to do that. This reference seems to be based on xl: http://wiki.xen.org/wiki/Debian_Guest_Installation_Using_Debian_Installer -- Alexandre Kouznetsov
On Sat, 2013-01-05 at 12:10 +0000, Jihed M''selmi wrote:> hi IanYou dropped the list from the CC, please don''t do that. I''ve added it back for you this time.> Here''s the thing: > [root@mypc ~]# xenconsoled --log=guestDid you make sure there was no existing xenconsoled running?> [root@mypc ~]# xl -f create -vc /etc/xen/ubuntu > option `v'' not supported.The -v shuld go before the command, and I would recommend -vvv for maximum verbosity, e.g. "xl -vvv create ..." Why are you using -f? Did you read the message produced when you ran xl without it?> Parsing config from /etc/xen/ubuntu > Daemon running with PID 6525 > libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain > type for domid=5 > Unable to attach console > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console > child [0] exited with error status 1 > > > and log console was generated..So what was in it?> for Dom0 which linux dist do you guys recommend ? I am thinking about > going back to ubuntu, what do you think ?I''m largely agnostic, I would recommend sticking with what you know. Ubuntu is a perfectly reasonable choice. Ian.
Sorry for that, I don''t know how I did it. I am familiar with centos but xen 4.1.2 on ubuntu were easier to start with. Yesterday, I switch to ubuntu and everything went fine (in creating this example). After installation, the VM was not on list (xl list) however in the beginning it was there with state -r-----. Anyway, I''ll update you with more details once, I back to my machine. I am familiar with vmware, what is the best tool like vCenter ?? Thank you for you support you and the rest of the team. Best Regards J On Mon, Jan 7, 2013 at 12:15 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote:> On Sat, 2013-01-05 at 12:10 +0000, Jihed M''selmi wrote: > > hi Ian > > You dropped the list from the CC, please don''t do that. I''ve added it > back for you this time. > > > Here''s the thing: > > [root@mypc ~]# xenconsoled --log=guest > > Did you make sure there was no existing xenconsoled running? > > > [root@mypc ~]# xl -f create -vc /etc/xen/ubuntu > > option `v'' not supported. > > The -v shuld go before the command, and I would recommend -vvv for > maximum verbosity, e.g. "xl -vvv create ..." > > Why are you using -f? Did you read the message produced when you ran xl > without it? > > > Parsing config from /etc/xen/ubuntu > > Daemon running with PID 6525 > > libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain > > type for domid=5 > > Unable to attach console > > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console > > child [0] exited with error status 1 > > > > > > and log console was generated.. > > So what was in it? > > > for Dom0 which linux dist do you guys recommend ? I am thinking about > > going back to ubuntu, what do you think ? > > I''m largely agnostic, I would recommend sticking with what you know. > Ubuntu is a perfectly reasonable choice. > > Ian. > > >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users
hey, I was able to fully create the VM machine and connect to it by console. However, if failed when I tried to connect by vncviewer. Thanks J On Mon, Jan 7, 2013 at 12:25 PM, Jihed M''selmi <jihed.mselmi@gmail.com>wrote:> Sorry for that, I don''t know how I did it. > I am familiar with centos but xen 4.1.2 on ubuntu were easier to start > with. > > Yesterday, I switch to ubuntu and everything went fine (in creating this > example). > > After installation, the VM was not on list (xl list) however in the > beginning it was there with state -r-----. Anyway, I''ll update you with > more details once, I back to my machine. > > I am familiar with vmware, what is the best tool like vCenter ?? > > Thank you for you support you and the rest of the team. > > Best Regards > J > > > On Mon, Jan 7, 2013 at 12:15 PM, Ian Campbell <Ian.Campbell@citrix.com>wrote: > >> On Sat, 2013-01-05 at 12:10 +0000, Jihed M''selmi wrote: >> > hi Ian >> >> You dropped the list from the CC, please don''t do that. I''ve added it >> back for you this time. >> >> > Here''s the thing: >> > [root@mypc ~]# xenconsoled --log=guest >> >> Did you make sure there was no existing xenconsoled running? >> >> > [root@mypc ~]# xl -f create -vc /etc/xen/ubuntu >> > option `v'' not supported. >> >> The -v shuld go before the command, and I would recommend -vvv for >> maximum verbosity, e.g. "xl -vvv create ..." >> >> Why are you using -f? Did you read the message produced when you ran xl >> without it? >> >> > Parsing config from /etc/xen/ubuntu >> > Daemon running with PID 6525 >> > libxl: error: libxl_dom.c:34:libxl__domain_type: unable to get domain >> > type for domid=5 >> > Unable to attach console >> > libxl: error: libxl_exec.c:118:libxl_report_child_exitstatus: console >> > child [0] exited with error status 1 >> > >> > >> > and log console was generated.. >> >> So what was in it? >> >> > for Dom0 which linux dist do you guys recommend ? I am thinking about >> > going back to ubuntu, what do you think ? >> >> I''m largely agnostic, I would recommend sticking with what you know. >> Ubuntu is a perfectly reasonable choice. >> >> Ian. >> >> >> > > > -- > Jihed M’SELMI > http://about.me/jihed.mselmi >-- Jihed M’SELMI http://about.me/jihed.mselmi _______________________________________________ Xen-users mailing list Xen-users@lists.xen.org http://lists.xen.org/xen-users