[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-bugs] [Bug 475] New: No warning information when vcpus is set to 0



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=475

           Summary: No warning information when vcpus is set to 0
           Product: Xen
           Version: unstable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Tools
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: ping.y.yu@xxxxxxxxx


Bug detailed description:
--------------------------
In "xm create" script, we set vcpus=0, then create a domU,
there is no warning information when domU boots in console or log.


Reproduce steps:
----------------
(1) boot service OS
(2)xend start
(3)set vcpus=0 in "xm create" script
(4)xm create



Current result:
----------------
There is no warning information for a wrong configure.


Expected result:
----------------
a warning in console or in log to reminder user to config correctly.


Basic root-causing log:
----------------------
===xm create script===

kernel = "/boot/vmlinuz-2.6.12-xenU"
memory = 256
name = "ExampleDomain"
vcpus = 0
disk = [ 'file:/var/vmmtest/control_panel/domu_boot/xenU.1.img,hda1,w' ]
root = "/dev/hda1 ro"
extra = "4"

===== xend log======

[2005-09-20 14:19:03 xend] DEBUG (__init__:988) initDomain: cpu=-1 
mem_kb=262144 ssidref=-1 dom=6
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) init_domain> Created domain=6 
name=ExampleDomain memory=256
[2005-09-20 14:19:03 xend] INFO (__init__:988) EVENT> xend.domain.create 
['ExampleDomain', 6]
[2005-09-20 14:19:03 xend] INFO (__init__:988) buildDomain os=linux dom=6 
vcpus=1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) dom            = 6
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) image          = /boot/vmlinuz-
2.6.12-xenU
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) store_evtchn   = 1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) console_evtchn = 2
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) cmdline        =  
root=/dev/hda1 ro 4
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) ramdisk        =
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) flags          = 0
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) vcpus          = 1
[2005-09-20 14:19:03 xend] DEBUG (__init__:988) exception looking up device 
number for hda1: [Errno 2] No such file or 
directory: '/dev/hda1'
[2005-09-20 14:19:04 xend] INFO (__init__:988) EVENT> xend.domain.unpause 
['ExampleDomain', 6]

-- 
Configure bugmail: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
Xen-bugs mailing list
Xen-bugs@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-bugs


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.