[one-users] arch type in vmm_ssh_kvm.conf
Shantanu Pavgi
pavgi at uab.edu
Thu Mar 3 14:41:45 PST 2011
Thanks for the quick reply Ruben. I have appended relevant log and config files below.
### Following is a snippet from oned.log after 'one start' command which seems to indicate vmm_ssh_kvm.conf is being used:
{{{
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=hd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/groups/one-images-dir
IM_MAD=ARGUMENTS=kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_nfs/tm_nfs.conf,EXECUTABLE=one_tm,NAME=tm_nfs
VM_DIR=/groups/one-vm-dir
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_MAD=ARGUMENTS=kvm,DEFAULT=vmm_ssh/vmm_ssh_kvm.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_kvm,TYPE=kvm
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
}}}
### VM template file: tiny-centos/tiny-centos.vmdef
{{{
NAME = tinycentos
CPU = 1
MEMORY = 512
ARCH = x86_64
DISK = [
source = "/groups/one-images-dir/tiny-centos/tiny-centos-1.img",
target = "hda",
readonly = "no",
driver = "raw",
bus = "ide" ]
NIC = [ NETWORK = "First LAN" ]
FEATURES=[ acpi="yes" ]
GRAPHICS = [
TYPE="vnc",
keymap="en-US" ]
}}}
### $ONE_LOCATION/etc/vmm_ssh/vmm_ssh_kvm.conf
{{{
# Default configuration attributes for the KVM driver
# (all domains will use these values as defaults)
# Valid atributes are:
# - os [kernel,initrd,boot,root,kernel_cmd,arch]
# - memory
# - cpu
# - vcpu
# - features [acpi, pae]
# - disk [driver ]
#VCPU = 1
#MEMORY = 128
OS = [ boot = "hd", arch = "i686" ]
FEATURES = [ PAE = "no", ACPI = "yes" ]
DISK = [ driver = "raw" ]
}}}
### Deployment descriptor: /srv/cloud/one/var/11/deployment.0
{{{
<domain type='kvm'>
<name>one-11</name>
<memory>524288</memory>
<os>
<type arch='i686'>hvm</type>
<boot dev='hd'/>
</os>
<devices>
<emulator>/usr/bin/kvm</emulator>
<disk type='file' device='disk'>
<source file='/groups/one-vm-dir/11/images/disk.0'/>
<target dev='hda' bus='ide'/>
<driver name='qemu' type='raw'/>
</disk>
<interface type='bridge'>
<source bridge='br0'/>
<mac address='02:00:0a:00:00:04'/>
</interface>
<graphics type='vnc' port='5911' keymap='en-US'/>
</devices>
<features>
<acpi/>
</features>
</domain>
}}}
--
Shantanu.
On Mar 3, 2011, at 3:52 PM, Ruben S. Montero wrote:
> Hi,
>
> I can not reproduce this one. Can you send the template and
> vmm_ssh_kvm.conf file.... Can you check that the host used to deploy
> the VM is actually using the vmm_ssh_kvm driver.
>
> Cheers
>
> Ruben
>
> On Thu, Mar 3, 2011 at 7:02 PM, Shantanu Pavgi <pavgi at uab.edu> wrote:
>>
>> Also, if I run a 'onevm show' command then ARCH type defined in VM template file is shown. However, deployment.0 file (KVM specific xml definition) shows ARCH type in '$ONE_LOCATION/etc/vmm_ssh/vmm_ssh_kvm.conf' file.
>>
>> --
>> Shantanu.
>>
>> On Mar 3, 2011, at 11:56 AM, Shantanu Pavgi wrote:
>>
>>>
>>> I have defined a ARCH type in VM template file, however it is getting overridden by a value in '$ONE_LOCATION/etc/vmm_ssh/vmm_ssh_kvm.conf' file. Am I missing something here?
>>>
>>> System Info: OpenNebula 2.0.1 on CentOS 5.5, Hypervisor: KVM
>>>
>>> --
>>> Thanks,
>>> Shantanu.
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>
>
>
> --
> Dr. Ruben Santiago Montero
> Associate Professor (Profesor Titular), Complutense University of Madrid
>
> URL: http://dsa-research.org/doku.php?id=people:ruben
> Weblog: http://blog.dsa-research.org/?author=7
More information about the Users
mailing list