okay i use a laptop with:
Intel® Virtualization Technology (VT-x) (http://ark.intel.com/products/53469) Intel® Virtualization Technology (VT-x) allows one hardware platform to function as multiple “virtual” platforms. It offers improved manageability by limiting downtime and maintaining productivity by isolating
computing activities into separate partitions.

i use this laptop as the host i installed:

apt-get install virt-manager kvm libvirt-bin qemu

and built with the virt-manager a virutal machine and on this i installed opennebula and sunstone

on that virtual machine as oneadmin:

oneadmin@kvmserver-vm:~$ grep -oE 'svm|vmx' /proc/cpuinfo
vmx
vmx

------------------------------------------------------------------------

oneadmin@kvmserver-vm:~$ virsh -c qemu:///system capabilities
<capabilities>

  <host>
    <uuid>12862e4e-1848-2d83-c219-94c018f82ce4</uuid>
    <cpu>
      <arch>x86_64</arch>
      <model>qemu32</model>
      <vendor>Intel</vendor>
      <topology sockets='2' cores='1' threads='1'/>
      <feature name='lahf_lm'/>
      <feature name='lm'/>
      <feature name='nx'/>
      <feature name='syscall'/>
      <feature name='hypervisor'/>
      <feature name='popcnt'/>
      <feature name='cx16'/>
      <feature name='vmx'/>
      <feature name='clflush'/>
      <feature name='pse36'/>
      <feature name='mca'/>
      <feature name='mtrr'/>
    </cpu>
    <power_management>
      <suspend_mem/>
      <suspend_disk/>
      <suspend_hybrid/>
    </power_management>
    <migration_features>
      <live/>
      <uri_transports>
        <uri_transport>tcp</uri_transport>
      </uri_transports>
    </migration_features>
    <topology>
      <cells num='1'>
        <cell id='0'>
          <cpus num='2'>
            <cpu id='0'/>
            <cpu id='1'/>
          </cpus>
        </cell>
      </cells>
    </topology>
    <secmodel>
      <model>apparmor</model>
      <doi>0</doi>
    </secmodel>
  </host>

</capabilities>


my log file:

Fri Feb 22 13:25:41 2013 [DiM][I]: New VM state is ACTIVE.
Fri Feb 22 13:25:42 2013 [LCM][I]: New VM state is PROLOG.
Fri Feb 22 13:25:42 2013 [VM][I]: Virtual Machine has no context
Fri Feb 22 13:25:43 2013 [TM][I]: clone: Cloning
../../1/2ebd0d273af8c9946401952c5a3c3d85 in
kvmhost:/var/lib/one//datastores/0/1/disk.0
Fri Feb 22 13:25:43 2013 [TM][I]: ExitCode: 0
Fri Feb 22 13:26:13 2013 [TM][I]: clone: Cloning
../../1/6c35700104934ec0b5cdaef47be00a14 in
kvmhost:/var/lib/one//datastores/0/1/disk.1
Fri Feb 22 13:26:13 2013 [TM][I]: ExitCode: 0
Fri Feb 22 13:26:13 2013 [LCM][I]: New VM state is BOOT
Fri Feb 22 13:26:13 2013 [VMM][I]: Generating deployment file:
/var/lib/one/1/deployment.0
Fri Feb 22 13:26:14 2013 [VMM][I]: ExitCode: 0
Fri Feb 22 13:26:14 2013 [VMM][I]: Successfully execute network
driver operation: pre.
Fri Feb 22 13:26:14 2013 [VMM][I]: Command execution fail: cat <<
EOT | /var/tmp/one/vmm/kvm/deploy
/var/lib/one//datastores/0/1/deployment.0 kvmhost 1 kvmhost
Fri Feb 22 13:26:14 2013 [VMM][I]: error: Failed to create domain
from /var/lib/one//datastores/0/1/deployment.0
Fri Feb 22 13:26:14 2013 [VMM][I]: error: unknown OS type hvm
Fri Feb 22 13:26:14 2013 [VMM][E]: Could not create domain from
/var/lib/one//datastores/0/1/deployment.0
Fri Feb 22 13:26:14 2013 [VMM][I]: ExitCode: 255
Fri Feb 22 13:26:14 2013 [VMM][I]: Failed to execute virtualization
driver operation: deploy.
Fri Feb 22 13:26:14 2013 [VMM][E]: Error deploying virtual machine:
Could not create domain from
/var/lib/one//datastores/0/1/deployment.0
Fri Feb 22 13:26:15 2013 [DiM][I]: New VM state is FAILED

okay it seems to be a miss configuration do you know what i have to change...

i made this following changes:

for ssh:

Configure not to ask before adding hosts to known_hosts file.
Look into ~/.ssh/config, see man ssh_config for a complete reference.
# nano /etc/ssh/ssh_config
StrictHostKeyChecking no


and

Edit file /etc/libvirt/libvirtd.conf as make following changes:
unix_sock_group = "oneadmin" [if you have given a different name for the group like "cloud" , provide that]
change the unix_sock_rw_perms = "0777"
uncomment:
unix_sock_dir = "/var/run/libvirt"


Edit file /etc/libvirt/qemu.conf and make following changes:
vnc_listen = "0.0.0.0"
user = "oneadmin"
group = "cloud"
dynamic_ownership = 1

and i restarted libvirt-bin as root and opennebula and sunstone as oneadmin

i need help very fast please i have time till tomorrow to finish it!

thanks

Johannes


48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre 
de 1964 | http://cujae.edu.cu

Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to