[ovirt-users] Add a disk to a VM
HI, I was stuck with a problem when I wanted to add ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] Fwd: Add a disk to a VM
HI, I was stuck with a problem when I wanted to add a disk to a VM in oVirt 3.5. I forgot to fill the profile field but I haven't got any warnign form the UI. Is it possible to add a red highlight when you forgot the to fill the profile filed ? Regards. James ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] VM migration/creation on host problem ...
In /var/log/libvirt/libvirt.log : [root@ovirt-node2 ~]# tail -f /var/log/libvirt/libvirtd.log 2014-11-14 15:45:03.770+: 13769: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:18.791+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:33.812+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:48.867+: 13768: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:03.889+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:18.911+: 13768: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:21.595+: 13767: error : virNetSocketReadWire:1194 : End of file while reading data: Input/output error 2014-11-14 15:46:33.931+: 13770: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present Does anybody knows what that means ? 2014-11-14 0:49 GMT+01:00 James James jre...@gmail.com: It's look like Selinux problem. I've just set selinux in permissive mode and migration and vm creation work but I am not able to connect to the vm. The network doesn't works. ;( /dev/hpet rdev=0A:E4 acl=rw exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=ANOM_PROMISCUOUS msg=audit(1415921728.561:2869): dev=vnet0 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 type=SYSCALL msg=audit(1415921728.561:2869): arch=c03e syscall=16 success=yes exit=0 a0=1e a1=89a2 a2=7ff7c77ecd30 a3=3a2032373a65736f items=0 ppid=1 pid=21225 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=VIRT_RESOURCE msg=audit(1415921728.561:2870): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 net=00:1A:4A:7C:94:00 path=/dev/net/tun rdev=0A:C8 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit(1415921728.684:2871): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 net=00:1A:4A:7C:94:00 path=/dev/vhost-net rdev=0A:39 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=AVC msg=audit(1415921728.689:2872): avc: denied { connectto } for pid=22575 comm=libvirtd path=/var/run/sanlock/sanlock.sock scontext=system_u:system_r:svirt_t:s0:c110,c335 tcontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tclass=unix_stream_socket type=SYSCALL msg=audit(1415921728.689:2872): arch=c03e syscall=42 success=no exit=-13 a0=3 a1=7ff7c77ec710 a2=6e a3=0 items=0 ppid=1 pid=22575 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1415921728.690:2873): avc: denied { connectto } for pid=22575 comm=libvirtd path=/var/run/sanlock/sanlock.sock scontext=system_u:system_r:svirt_t:s0:c110,c335 tcontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tclass=unix_stream_socket type=SYSCALL msg=audit(1415921728.690:2873): arch=c03e syscall=42 success=no exit=-13 a0=3 a1=7ff7c77ec890 a2=6e a3=0 items=0 ppid=1 pid=22575 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=ANOM_ABEND msg=audit(1415921728.690:2874): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 pid=22575 comm=libvirtd sig=11 type=ANOM_PROMISCUOUS msg=audit(1415921728.719:2875): dev=vnet0 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295 type=VIRT_RESOURCE msg=audit(1415921728.910:2876): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 old-net=? new-net=00:1A:4A:7C:94:00 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit(1415921728.910:2877): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 old-mem=0 new-mem=1048576 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit
Re: [ovirt-users] VM migration/creation on host problem ...
Thanks for your answer. There was 2 problems 1 - selinux problem : https://bugzilla.redhat.com/show_bug.cgi?id=1157185 2 - A Network problem : I had to configure my switch port. The 2 problems are solved. Thanks for your help. 2014-11-14 17:05 GMT+01:00 Francesco Romani from...@redhat.com: - Original Message - From: James James jre...@gmail.com To: Francesco Romani from...@redhat.com Cc: users users@ovirt.org Sent: Friday, 14 November, 2014 4:53:22 PM Subject: Re: [ovirt-users] VM migration/creation on host problem ... In /var/log/libvirt/libvirt.log : [root@ovirt-node2 ~]# tail -f /var/log/libvirt/libvirtd.log 2014-11-14 15:45:03.770+: 13769: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:18.791+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:33.812+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:45:48.867+: 13768: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:03.889+: 13772: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:18.911+: 13768: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present 2014-11-14 15:46:21.595+: 13767: error : virNetSocketReadWire:1194 : End of file while reading data: Input/output error 2014-11-14 15:46:33.931+: 13770: error : virDomainObjGetMetadata:16650 : metadata not found: Requested metadata element is not present Does anybody knows what that means ? That and the selinux issue you reported previously reminded me of one bug: https://bugzilla.redhat.com/show_bug.cgi?id=1157185 further information: https://bugzilla.redhat.com/show_bug.cgi?id=1150243#c17 Can't find more precise information at the moment :( -- Francesco Romani RedHat Engineering Virtualization R D Phone: 8261328 IRC: fromani ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] VM migration/creation on host problem ...
Hello, I've just reinstall a host (ovirt-node2) and now I am unable to create/migrate vm on this host. In attachment, the log from the destination server (ovirt-node2). Any help will be appreciated. James Thread-57::DEBUG::2014-11-13 17:36:26,669::BindingXMLRPC::1067::vds::(wrapper) client [192.168.111.101]::call vmMigrationCreate with ({'guestFQDN': 'puppetdb.example.com', 'acpiEnable': 'true', 'emulatedMachine': 'rhel6.5.0', 'afterMigrationStatus': '', 'spiceSecureChannels': 'smain,sinputs,scursor,splayback,srecord,sdisplay,susbredir,ssmartcard', 'vmId': '0fdea856-9aec-4300-8d88-4cfd330cf4ff', 'memGuaranteedSize': 2048, 'transparentHugePages': 'true', 'displaySecurePort': '5902', 'spiceSslCipherSuite': 'DEFAULT', 'cpuType': 'Westmere', 'smp': '1', 'pauseCode': 'NOERR', 'migrationDest': 'libvirt', 'numaTune': {'nodeset': '1,0', 'mode': 'interleave'}, 'custom': {'device_e10694e6-667b-41ef-aba6-697fd45e7960device_de79bf09-c5e0-4f4e-9b6d-188ee7178793device_4ecc434d-6d65-4771-9638-c78339d6feb9': 'VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=4ecc434d-6d65-4771-9638-c78339d6feb9, device=unix, type=CHANNEL, bootOrder=0, specParams={}, address={port=2, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel1, customProperties={}, snapshotId=null}', 'device_e10694e6-667b-41ef-aba6-697fd45e7960device_de79bf09-c5e0-4f4e-9b6d-188ee7178793device_4ecc434d-6d65-4771-9638-c78339d6feb9device_5d4760e6-a49b-4a24-9daf-84fd119bcbd5': 'VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=5d4760e6-a49b-4a24-9daf-84fd119bcbd5, device=spicevmc, type=CHANNEL, bootOrder=0, specParams={}, address={port=3, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel2, customProperties={}, snapshotId=null}', 'device_e10694e6-667b-41ef-aba6-697fd45e7960': 'VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=e10694e6-667b-41ef-aba6-697fd45e7960, device=ide, type=CONTROLLER, bootOrder=0, specParams={}, address={bus=0x00, domain=0x, type=pci, slot=0x01, function=0x1}, managed=false, plugged=true, readOnly=false, deviceAlias=ide0, customProperties={}, snapshotId=null}', 'device_e10694e6-667b-41ef-aba6-697fd45e7960device_de79bf09-c5e0-4f4e-9b6d-188ee7178793': 'VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=de79bf09-c5e0-4f4e-9b6d-188ee7178793, device=unix, type=CHANNEL, bootOrder=0, specParams={}, address={port=1, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel0, customProperties={}, snapshotId=null}'}, 'vmType': 'kvm', '_srcDomXML': domain type='kvm' id='13'\n namepuppetdb/name\n uuid0fdea856-9aec-4300-8d88-4cfd330cf4ff/uuid\n memory unit='KiB'2097152/memory\n currentMemory unit='KiB'2097152/currentMemory\n vcpu placement='static' current='1'16/vcpu\n cputune\nshares1020/shares\n period1000/period\nquota-1/quota\n /cputune\n numatune\n memory mode='interleave' nodeset='0-1'/\n /numatune\n sysinfo type='smbios'\nsystem\n entry name='manufacturer'oVirt/entry\n entry name='product'oVirt Node/entry\n entry name='version'6.6-1/entry\n entry name='serial'4C4C4544-0035-5310-8038-C7C04F39354A/entry\n entry name='uuid'0fdea856-9aec-4300-8d88-4cfd330cf4ff/entry\n/system\n /sysinfo\n os\ntype arch='x86_64' machine='rhel6.5.0'hvm/type\n boot dev='hd'/\nsmbios mode='sysinfo'/\n /os\n features\n acpi/\n /features\n cpu mode='custom' match='exact'\nmodel fallback='allow'Westmere/model\ntopology sockets='16' cores='1' threads='1'/\n /cpu\n clock offset='variable' adjustment='0' basis='utc'\ntimer name='rtc' tickpolicy='catchup'/\ntimer name='pit' tickpolicy='delay'/\ntimer name='hpet' present='no'/\n /clock\n on_poweroffdestroy/on_poweroff\n on_rebootrestart/on_reboot\n on_crashdestroy/on_crash\n devices\n emulator/usr/libexec/qemu-kvm/emulator\ndisk type='file' device='cdrom'\n driver name='qemu' type='raw'/\n source startupPolicy='optional'/\n target dev='hdc' bus='ide'/\n readonly/\n serial/serial\n alias name='ide0-1-0'/\n address type='drive' controller='0' bus='1' target='0' unit='0'/\n /disk\ndisk type='block' device='disk' snapshot='no'\n driver name='qemu' type='raw' cache='none' error_policy='stop' io='native'/\n source dev='/rhev/data-center/23a2d807-70ab-49ad-a1d2-3f16458c44ea/3dd1756b-97f5-465a-995b-b7dc91046f3b/images/0e710a40-017b-4547-9b47-49524777d0d4/85d91525-5fad-4d19-9aed-b4aa93af0d7f'/\n target dev='vda' bus='virtio'/\n serial0e710a40-017b-4547-9b47-49524777d0d4/serial\n alias name='virtio-disk0'/\n address type='pci' domain='0x' bus='0x00' slot='0x06' function='0x0'/\n/disk\ncontroller type='scsi' index='0' model='virtio-scsi'\n alias name='scsi0'/\n
Re: [ovirt-users] VM migration/creation on host problem ...
It's look like Selinux problem. I've just set selinux in permissive mode and migration and vm creation work but I am not able to connect to the vm. The network doesn't works. ;( /dev/hpet rdev=0A:E4 acl=rw exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=ANOM_PROMISCUOUS msg=audit(1415921728.561:2869): dev=vnet0 prom=256 old_prom=0 auid=4294967295 uid=0 gid=0 ses=4294967295 type=SYSCALL msg=audit(1415921728.561:2869): arch=c03e syscall=16 success=yes exit=0 a0=1e a1=89a2 a2=7ff7c77ecd30 a3=3a2032373a65736f items=0 ppid=1 pid=21225 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=VIRT_RESOURCE msg=audit(1415921728.561:2870): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 net=00:1A:4A:7C:94:00 path=/dev/net/tun rdev=0A:C8 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit(1415921728.684:2871): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=open vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 net=00:1A:4A:7C:94:00 path=/dev/vhost-net rdev=0A:39 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=AVC msg=audit(1415921728.689:2872): avc: denied { connectto } for pid=22575 comm=libvirtd path=/var/run/sanlock/sanlock.sock scontext=system_u:system_r:svirt_t:s0:c110,c335 tcontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tclass=unix_stream_socket type=SYSCALL msg=audit(1415921728.689:2872): arch=c03e syscall=42 success=no exit=-13 a0=3 a1=7ff7c77ec710 a2=6e a3=0 items=0 ppid=1 pid=22575 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=AVC msg=audit(1415921728.690:2873): avc: denied { connectto } for pid=22575 comm=libvirtd path=/var/run/sanlock/sanlock.sock scontext=system_u:system_r:svirt_t:s0:c110,c335 tcontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tclass=unix_stream_socket type=SYSCALL msg=audit(1415921728.690:2873): arch=c03e syscall=42 success=no exit=-13 a0=3 a1=7ff7c77ec890 a2=6e a3=0 items=0 ppid=1 pid=22575 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=libvirtd exe=/usr/sbin/libvirtd subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 key=(null) type=ANOM_ABEND msg=audit(1415921728.690:2874): auid=4294967295 uid=0 gid=0 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 pid=22575 comm=libvirtd sig=11 type=ANOM_PROMISCUOUS msg=audit(1415921728.719:2875): dev=vnet0 prom=0 old_prom=256 auid=4294967295 uid=0 gid=0 ses=4294967295 type=VIRT_RESOURCE msg=audit(1415921728.910:2876): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=net reason=start vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 old-net=? new-net=00:1A:4A:7C:94:00 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit(1415921728.910:2877): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=mem reason=start vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 old-mem=0 new-mem=1048576 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_RESOURCE msg=audit(1415921728.910:2878): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm resrc=vcpu reason=start vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 old-vcpu=0 new-vcpu=1 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=success' type=VIRT_CONTROL msg=audit(1415921728.910:2879): user pid=21206 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:virtd_t:s0-s0:c0.c1023 msg='virt=kvm op=start reason=booted vm=test uuid=2932fd25-7c09-48a8-a5f0-c7165ddb3c82 vm-pid=-1 exe=/usr/sbin/libvirtd hostname=? addr=? terminal=? res=failed' 2014-11-13 19:06 GMT+01:00 James James jre...@gmail.com: Hi Francesco, thanks for your help :) 2014-11-13 17:51 GMT+01:00 Francesco Romani from...@redhat.com: -- *From: *James James jre...@gmail.com *To: *users users@ovirt.org *Sent: *Thursday, November 13, 2014 5:41:21 PM *Subject: *[ovirt-users] VM migration/creation on host problem ... Hello, I've just reinstall a host (ovirt-node2) and now I am unable to create/migrate vm on this host. In attachment, the log from the destination server (ovirt-node2). Any help will be appreciated. James Hi James, can you please add the libvirt logs? depending on the version of oVirt VDSM is either /var/log/libvirt/libvirtd.log
[ovirt-users] Upgrade to 3.5 issues, vm cannot be started
Hi, today I've decided to upgrade my 3.4 Ovirt cluster to 3.5/ The engine migration was OK. Everything was good .. after I want upgraded the node .. I've installed the rpm on the node and follow : http://www.ovirt.org/OVirt_3.5_Release_Notes#Install_.2F_Upgrade_from_Previous_Versions . Now my vms cannot be started. I've got this error message : 2014-11-11 10:49:37,305 WARN [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-13) CanDoAction of action RunVm failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,SCHEDULING_NO_HOSTS 2014-11-11 10:49:37,307 INFO [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-13) Lock freed to object EngineLock [exclusiveLocks= key: 0fdea856-9aec-4300-8d88-4cfd330cf4ff value: VM , sharedLocks= ] There is a full log in attachment .. Any help will be appreciated ... James 2014-11-11 10:55:21,095 INFO [org.ovirt.engine.core.bll.RunVmCommand] (ajp--127.0.0.1-8702-2) [bab78b2] Lock Acquired to object EngineLock [exclusiveLocks= key: 0fdea856-9aec-4300-8d88-4cfd330cf4ff value: VM , sharedLocks= ] 2014-11-11 10:55:21,150 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp--127.0.0.1-8702-2) [bab78b2] START, IsVmDuringInitiatingVDSCommand( vmId = 0fdea856-9aec-4300-8d88-4cfd330cf4ff), log id: 37b8c678 2014-11-11 10:55:21,151 INFO [org.ovirt.engine.core.vdsbroker.IsVmDuringInitiatingVDSCommand] (ajp--127.0.0.1-8702-2) [bab78b2] FINISH, IsVmDuringInitiatingVDSCommand, return: false, log id: 37b8c678 2014-11-11 10:55:21,254 INFO [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] Running command: RunVmCommand internal: false. Entities affected : ID: 0fdea856-9aec-4300-8d88-4cfd330cf4ff Type: VMAction group VM_BASIC_OPERATIONS with role type USER 2014-11-11 10:55:21,352 INFO [org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit] (org.ovirt.thread.pool-8-thread-7) [bab78b2] Started HA reservation scoring method 2014-11-11 10:55:21,404 INFO [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] START, UpdateVmDynamicDataVDSCommand(HostName = ovirt-node2, HostId = 051acfd2-076f-498d-adf9-4c6692f65d50, vmDynamic=org.ovirt.engine.core.common.businessentities.VmDynamic@51e309c6), log id: 5186ff6 2014-11-11 10:55:21,407 INFO [org.ovirt.engine.core.vdsbroker.UpdateVmDynamicDataVDSCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] FINISH, UpdateVmDynamicDataVDSCommand, log id: 5186ff6 2014-11-11 10:55:21,438 INFO [org.ovirt.engine.core.vdsbroker.CreateVmVDSCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] START, CreateVmVDSCommand(HostName = ovirt-node2, HostId = 051acfd2-076f-498d-adf9-4c6692f65d50, vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, vm=VM [puppetdb]), log id: 3685dd2b 2014-11-11 10:55:21,467 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] START, CreateVDSCommand(HostName = ovirt-node2, HostId = 051acfd2-076f-498d-adf9-4c6692f65d50, vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, vm=VM [puppetdb]), log id: 5d3a82e5 2014-11-11 10:55:21,493 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand] (org.ovirt.thread.pool-8-thread-7) [bab78b2] org.ovirt.engine.core.vdsbroker.vdsbroker.CreateVDSCommand kvmEnable=true,keyboardLayout=en-us,nice=0,pitReinjection=false,displayNetwork=ovirtmgmt,copyPasteEnable=true,timeOffset=0,transparentHugePages=true,vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff,acpiEnable=true,custom={device_2837bb81-e830-4014-9cba-b95e76c8785bdevice_87f78a45-040c-4534-a19a-e7ba97f3721fdevice_b97a2abb-a9a7-4137-bc47-04ab5cb7a0b7=VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=b97a2abb-a9a7-4137-bc47-04ab5cb7a0b7, device=spicevmc, type=CHANNEL, bootOrder=0, specParams={}, address={port=3, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel2, customProperties={}, snapshotId=null}, device_2837bb81-e830-4014-9cba-b95e76c8785bdevice_87f78a45-040c-4534-a19a-e7ba97f3721f=VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=87f78a45-040c-4534-a19a-e7ba97f3721f, device=unix, type=CHANNEL, bootOrder=0, specParams={}, address={port=2, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel1, customProperties={}, snapshotId=null}, device_2837bb81-e830-4014-9cba-b95e76c8785b=VmDevice {vmId=0fdea856-9aec-4300-8d88-4cfd330cf4ff, deviceId=2837bb81-e830-4014-9cba-b95e76c8785b, device=unix, type=CHANNEL, bootOrder=0, specParams={}, address={port=1, bus=0, controller=0, type=virtio-serial}, managed=false, plugged=true, readOnly=false, deviceAlias=channel0, customProperties={}, snapshotId=null},
Re: [ovirt-users] Upgrade to 3.5 issues, vm cannot be started
It 's a NUMA problem. It 's like : http://lists.ovirt.org/pipermail/users/2014-September/027787.html http://lists.ovirt.org/pipermail/users/2014-September/027891.html Is it possible to change the default NUMA mode to interleave in GUI ? 2014-11-11 10:58 GMT+01:00 James James jre...@gmail.com: Hi, today I've decided to upgrade my 3.4 Ovirt cluster to 3.5/ The engine migration was OK. Everything was good .. after I want upgraded the node .. I've installed the rpm on the node and follow : http://www.ovirt.org/OVirt_3.5_Release_Notes#Install_.2F_Upgrade_from_Previous_Versions . Now my vms cannot be started. I've got this error message : 2014-11-11 10:49:37,305 WARN [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-13) CanDoAction of action RunVm failed. Reasons:VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,VAR__ACTION__RUN,VAR__TYPE__VM,SCHEDULING_NO_HOSTS 2014-11-11 10:49:37,307 INFO [org.ovirt.engine.core.bll.RunVmCommand] (org.ovirt.thread.pool-8-thread-13) Lock freed to object EngineLock [exclusiveLocks= key: 0fdea856-9aec-4300-8d88-4cfd330cf4ff value: VM , sharedLocks= ] There is a full log in attachment .. Any help will be appreciated ... James ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Re-add a node
the log contains information about the first node1 installation http://pastebin.com/mZSb2wmD 2014-04-11 10:12 GMT+02:00 Dafna Ron d...@redhat.com: please add the host-deploy log from /var/log/ovirt-engine/host-deploy/ On 04/11/2014 12:11 AM, James James wrote: Hi, I don know i the subject is explicit enough but I have a problem and I hope to find some help here. I had two hosts in my cluster (node1 and node2). I had to reinstall node1 due to some networks problem. In the engine, node1 appears now Not reponsive and I can't remove it from the engine ui. Now node1 is back and I want to add it in the cluster but I can't. I've got this error (vdsm.log) : BindingXMLRPC::ERROR::2014-04-11 01:04:42,622::BindingXMLRPC::81::vds::(threaded_start) xml-rpc handler exception Traceback (most recent call last): File /usr/share/vdsm/BindingXMLRPC.py, line 77, in threaded_start self.server.handle_request() File /usr/lib64/python2.6/SocketServer.py, line 278, in handle_request self._handle_request_noblock() File /usr/lib64/python2.6/SocketServer.py, line 288, in _handle_request_noblock request, client_address = self.get_request() File /usr/lib64/python2.6/SocketServer.py, line 456, in get_request return self.socket.accept() File /usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py, line 136, in accept raise SSL.SSLError(%s, client %s % (e, address[0])) SSLError: sslv3 alert certificate unknown, client 192.168.1.100 192.168.1.100 is the engine's address Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dafna Ron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Re-add a node
The engine is the same but the node (node1) has been reinstalled ... 2014-04-11 10:48 GMT+02:00 James James jre...@gmail.com: the log contains information about the first node1 installation http://pastebin.com/mZSb2wmD 2014-04-11 10:12 GMT+02:00 Dafna Ron d...@redhat.com: please add the host-deploy log from /var/log/ovirt-engine/host-deploy/ On 04/11/2014 12:11 AM, James James wrote: Hi, I don know i the subject is explicit enough but I have a problem and I hope to find some help here. I had two hosts in my cluster (node1 and node2). I had to reinstall node1 due to some networks problem. In the engine, node1 appears now Not reponsive and I can't remove it from the engine ui. Now node1 is back and I want to add it in the cluster but I can't. I've got this error (vdsm.log) : BindingXMLRPC::ERROR::2014-04-11 01:04:42,622::BindingXMLRPC::81::vds::(threaded_start) xml-rpc handler exception Traceback (most recent call last): File /usr/share/vdsm/BindingXMLRPC.py, line 77, in threaded_start self.server.handle_request() File /usr/lib64/python2.6/SocketServer.py, line 278, in handle_request self._handle_request_noblock() File /usr/lib64/python2.6/SocketServer.py, line 288, in _handle_request_noblock request, client_address = self.get_request() File /usr/lib64/python2.6/SocketServer.py, line 456, in get_request return self.socket.accept() File /usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py, line 136, in accept raise SSL.SSLError(%s, client %s % (e, address[0])) SSLError: sslv3 alert certificate unknown, client 192.168.1.100 192.168.1.100 is the engine's address Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Dafna Ron ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Re-add a node
Nothing new. node1 can't release SPM ... :( 2014-04-11 14:49 GMT+02:00 Dafna Ron d...@redhat.com: confirm host has been rebooted should release the SPM :) On 04/11/2014 01:23 PM, James James wrote: 2014-04-11 14:08 GMT+02:00 Dafna Ron d...@redhat.com mailto: d...@redhat.com: James, Please answer the user's list as well as to me so that other people can participate as well :) Oups ... I will do that .. did you try to press the confirm host has been rebooted (right click) Yes but same problem. node1 cannot be in maintenance mode. node1 is SPM . I will make node1 release the SPM ressource. On 04/11/2014 12:41 PM, James James wrote: 2014-04-11 13:16 GMT+02:00 Dafna Ron d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com: what is the error message you get when you try to put the host in maintenance? I have this message : Error while executing action: Cannot switch Host to Maintenance mode. Host is Storage Pool Manager and is in Non Responsive state. - If power management is configured, engine will try to fence the host automatically. - Otherwise, either bring the node back up, or release the SPM resource. To do so, verify that the node is really down by right clicking on the host and confirm that the node was shutdown manually. are there any running vm's reported? No there is no VM running on this host Try to press the confirm host has been rebooted button and than see if you can put the host in maintenance. If that fails, select the host, in the general tab you will get the re-install link. I am running ovirt 3.4.0-1. I down't know where is the re-install link but I can't see it. try to re-install, when install fails the host should change status to failed installation. On 04/11/2014 12:09 PM, James James wrote: No, I can't 2014-04-11 12:12 GMT+02:00 Dafna Ron d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com: can you put the host in maintenance? On 04/11/2014 10:43 AM, James James wrote: I can't delete the old node because it is in Non Responsive state. The remove button is stil blank . In the engine.log I've got this log : 2014-04-11 11:40:45,911 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-88) Command GetCapabilitiesVDSCommand(HostName = node1, HostId = 36fb6df3-c2c2-4133-86ac-fe50b99ee2e3, vds=Host[node1]) execution failed. Exception: VDSNetworkException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2014-04-11 11:40:48,943 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-12) Command GetCapabilitiesVDSCommand(HostName = node1, HostId = 36fb6df3-c2c2-4133-86ac-fe50b99ee2e3, vds=Host[node1]) execution failed. Exception: VDSNetworkException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2014-04-11 11:06 GMT+02:00 Alon Bar-Lev alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com: - Original Message - From: James James jre...@gmail.com mailto:jre...@gmail.com mailto:jre...@gmail.com mailto:jre...@gmail.com mailto:jre
Re: [ovirt-users] Re-add a node
What do you think about : *https://raw.github.com/dougsland/misc-rhev/master/engine_force_remove_Host.py https://raw.github.com/dougsland/misc-rhev/master/engine_force_remove_Host.py* 2014-04-11 15:10 GMT+02:00 James James jre...@gmail.com: Nothing new. node1 can't release SPM ... :( 2014-04-11 14:49 GMT+02:00 Dafna Ron d...@redhat.com: confirm host has been rebooted should release the SPM :) On 04/11/2014 01:23 PM, James James wrote: 2014-04-11 14:08 GMT+02:00 Dafna Ron d...@redhat.com mailto: d...@redhat.com: James, Please answer the user's list as well as to me so that other people can participate as well :) Oups ... I will do that .. did you try to press the confirm host has been rebooted (right click) Yes but same problem. node1 cannot be in maintenance mode. node1 is SPM . I will make node1 release the SPM ressource. On 04/11/2014 12:41 PM, James James wrote: 2014-04-11 13:16 GMT+02:00 Dafna Ron d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com: what is the error message you get when you try to put the host in maintenance? I have this message : Error while executing action: Cannot switch Host to Maintenance mode. Host is Storage Pool Manager and is in Non Responsive state. - If power management is configured, engine will try to fence the host automatically. - Otherwise, either bring the node back up, or release the SPM resource. To do so, verify that the node is really down by right clicking on the host and confirm that the node was shutdown manually. are there any running vm's reported? No there is no VM running on this host Try to press the confirm host has been rebooted button and than see if you can put the host in maintenance. If that fails, select the host, in the general tab you will get the re-install link. I am running ovirt 3.4.0-1. I down't know where is the re-install link but I can't see it. try to re-install, when install fails the host should change status to failed installation. On 04/11/2014 12:09 PM, James James wrote: No, I can't 2014-04-11 12:12 GMT+02:00 Dafna Ron d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com mailto:d...@redhat.com: can you put the host in maintenance? On 04/11/2014 10:43 AM, James James wrote: I can't delete the old node because it is in Non Responsive state. The remove button is stil blank . In the engine.log I've got this log : 2014-04-11 11:40:45,911 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-88) Command GetCapabilitiesVDSCommand(HostName = node1, HostId = 36fb6df3-c2c2-4133-86ac-fe50b99ee2e3, vds=Host[node1]) execution failed. Exception: VDSNetworkException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2014-04-11 11:40:48,943 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker. GetCapabilitiesVDSCommand] (DefaultQuartzScheduler_Worker-12) Command GetCapabilitiesVDSCommand(HostName = node1, HostId = 36fb6df3-c2c2-4133-86ac-fe50b99ee2e3, vds=Host[node1]) execution failed. Exception: VDSNetworkException: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target 2014-04-11 11:06 GMT+02:00 Alon Bar-Lev alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com mailto:alo...@redhat.com
[ovirt-users] Re-add a node
Hi, I don know i the subject is explicit enough but I have a problem and I hope to find some help here. I had two hosts in my cluster (node1 and node2). I had to reinstall node1 due to some networks problem. In the engine, node1 appears now Not reponsive and I can't remove it from the engine ui. Now node1 is back and I want to add it in the cluster but I can't. I've got this error (vdsm.log) : BindingXMLRPC::ERROR::2014-04-11 01:04:42,622::BindingXMLRPC::81::vds::(threaded_start) xml-rpc handler exception Traceback (most recent call last): File /usr/share/vdsm/BindingXMLRPC.py, line 77, in threaded_start self.server.handle_request() File /usr/lib64/python2.6/SocketServer.py, line 278, in handle_request self._handle_request_noblock() File /usr/lib64/python2.6/SocketServer.py, line 288, in _handle_request_noblock request, client_address = self.get_request() File /usr/lib64/python2.6/SocketServer.py, line 456, in get_request return self.socket.accept() File /usr/lib64/python2.6/site-packages/vdsm/SecureXMLRPCServer.py, line 136, in accept raise SSL.SSLError(%s, client %s % (e, address[0])) SSLError: sslv3 alert certificate unknown, client 192.168.1.100 192.168.1.100 is the engine's address Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] ovirt.repo for el contains fedora references .....
HI I am using Scientific Linux. oVirt is working now for one year without troubles. My /etc/redhat-release contains : Scientific Linux release 6.5 (Carbon) Thanks 2014-02-21 11:46 GMT+01:00 Sandro Bonazzola sbona...@redhat.com: Il 18/02/2014 23:03, James James ha scritto: Hi, I want to install this rpm http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm on my redhat-like server but the /etc/yum.repos.d/ovirt.repo contains : you're running an unsupported distribution, can you please attach the content of your /etc/system-release file? Can you also tell us if oVirt was working on your system before we unified ovirt-release rpm? [ovirt-stable] name=oVirt Latest Releases baseurl=http://ovirt.org/releases/stable/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.3.3] name=oVirt 3.3.3 Release baseurl= http://resources.ovirt.org/releases/3.3.3/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-updates-testing] name=oVirt 3.3.z Latest Pre Releases (Release Candidate) baseurl= http://ovirt.org/releases/updates-testing/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 [ovirt-beta] name=oVirt 3.3.z Beta Test Releases baseurl=http://ovirt.org/releases/beta/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 Is it normal ? Regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- Sandro Bonazzola Better technology. Faster innovation. Powered by community collaboration. See how it works at redhat.com ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] ovirt.repo for el contains fedora references .....
Hi, I want to install this rpm http://resources.ovirt.org/releases/ovirt-release-el.noarch.rpm on my redhat-like server but the /etc/yum.repos.d/ovirt.repo contains : [ovirt-stable] name=oVirt Latest Releases baseurl=http://ovirt.org/releases/stable/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-3.3.3] name=oVirt 3.3.3 Release baseurl=http://resources.ovirt.org/releases/3.3.3/rpm/Fedora/$releasever/ enabled=1 skip_if_unavailable=1 gpgcheck=0 [ovirt-updates-testing] name=oVirt 3.3.z Latest Pre Releases (Release Candidate) baseurl=http://ovirt.org/releases/updates-testing/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 [ovirt-beta] name=oVirt 3.3.z Beta Test Releases baseurl=http://ovirt.org/releases/beta/rpm/Fedora/$releasever/ enabled=0 skip_if_unavailable=1 gpgcheck=0 Is it normal ? Regards. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt and iSCSI initiator
Hi guys, I've got some problems with my ovirt-engine. Currently I have one iscsi storage volume and I want add a second one. The second has the same configuration as the first. In my engine I can log into the iSCSI but I cannot see the LUN. Ovirt gives me this message : 2013-06-17 15:50:04,013 ERROR [org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery] (ajp--127.0.0.1-8702-9) Query DiscoverSendTargetsQuery failed. Exception message is VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed discovery of iSCSI targets: portal=IscsiPortal(hostname='iscsi-1.example.com', port=3260), err=(5, [], ['iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: connection login retries (reopen_max) 5 exceeded', 'iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure']) 2013-06-17 15:54:03,649 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand] (ajp--127.0.0.1-8702-3) START, DiscoverSendTargetsVDSCommand(HostName = hosts-1.example.com, HostId = 1c8e67de-c355-4b07-a09f-c58d08115e1e, connection={ id: null, connection: iscsi-1.example.com, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };), log id: 3dca76fc Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt and iSCSI initiator
# iscsiadm -m discovery -t sendtargets -p iscsi-1.example.com # iscsiadm -m node -Piqn.2013-05.com.example:target0:3260 --login dmesg gives me : scsi 17:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5 scsi 17:0:0:0: Attached scsi generic sg4 type 12 scsi 17:0:0:1: Direct-Access IET VIRTUAL-DISK 0001 PQ: 0 ANSI: 5 sd 17:0:0:1: Attached scsi generic sg5 type 0 sd 17:0:0:1: [sdc] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB) sd 17:0:0:1: [sdc] Write Protect is off sd 17:0:0:1: [sdc] Mode Sense: 49 00 00 08 sd 17:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdc: unknown partition table sd 17:0:0:1: [sdc] Attached SCSI disk sd 16:0:0:1: [sdb] Synchronizing SCSI cache sd 17:0:0:1: [sdc] Synchronizing SCSI cache connection12:0: detected conn error (1020) connection11:0: detected conn error (1020) SELinux: 2048 avtab hash slots, 278248 rules. SELinux: 2048 avtab hash slots, 278248 rules. 2013/6/17 Dan Yasny dya...@gmail.com how exactly did you run the iscsiadm commands that worked? The error clearly shows iscsiadm discovery failing On Mon, Jun 17, 2013 at 11:10 AM, James James jre...@gmail.com wrote: Thanks for your answer. I did it already : everything is ok with iscsi daemon. It can login and see the LUN. 2013/6/17 Dan Yasny dya...@gmail.com I would manually probe with iscsiadm, looks like it's failing there On Mon, Jun 17, 2013 at 9:50 AM, James James jre...@gmail.com wrote: Hi guys, I've got some problems with my ovirt-engine. Currently I have one iscsi storage volume and I want add a second one. The second has the same configuration as the first. In my engine I can log into the iSCSI but I cannot see the LUN. Ovirt gives me this message : 2013-06-17 15:50:04,013 ERROR [org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery] (ajp--127.0.0.1-8702-9) Query DiscoverSendTargetsQuery failed. Exception message is VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed discovery of iSCSI targets: portal=IscsiPortal(hostname='iscsi-1.example.com', port=3260), err=(5, [], ['iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: connection login retries (reopen_max) 5 exceeded', 'iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure']) 2013-06-17 15:54:03,649 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand] (ajp--127.0.0.1-8702-3) START, DiscoverSendTargetsVDSCommand(HostName = hosts-1.example.com, HostId = 1c8e67de-c355-4b07-a09f-c58d08115e1e, connection={ id: null, connection: iscsi-1.example.com, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };), log id: 3dca76fc Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt and iSCSI initiator
Yes there was an output. This one : 192.68.0.98:3260,1 iqn.2013-05.com.example:target0 2013/6/18 Dan Yasny dya...@gmail.com On Mon, Jun 17, 2013 at 3:51 PM, James James jre...@gmail.com wrote: # iscsiadm -m discovery -t sendtargets -p iscsi-1.example.com Was there no output when you ran this? # iscsiadm -m node -Piqn.2013-05.com.example:target0:3260 --login dmesg gives me : scsi 17:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5 scsi 17:0:0:0: Attached scsi generic sg4 type 12 scsi 17:0:0:1: Direct-Access IET VIRTUAL-DISK 0001 PQ: 0 ANSI: 5 sd 17:0:0:1: Attached scsi generic sg5 type 0 sd 17:0:0:1: [sdc] 52428800 512-byte logical blocks: (26.8 GB/25.0 GiB) sd 17:0:0:1: [sdc] Write Protect is off sd 17:0:0:1: [sdc] Mode Sense: 49 00 00 08 sd 17:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA sdc: unknown partition table sd 17:0:0:1: [sdc] Attached SCSI disk sd 16:0:0:1: [sdb] Synchronizing SCSI cache sd 17:0:0:1: [sdc] Synchronizing SCSI cache connection12:0: detected conn error (1020) connection11:0: detected conn error (1020) SELinux: 2048 avtab hash slots, 278248 rules. SELinux: 2048 avtab hash slots, 278248 rules. 2013/6/17 Dan Yasny dya...@gmail.com how exactly did you run the iscsiadm commands that worked? The error clearly shows iscsiadm discovery failing On Mon, Jun 17, 2013 at 11:10 AM, James James jre...@gmail.com wrote: Thanks for your answer. I did it already : everything is ok with iscsi daemon. It can login and see the LUN. 2013/6/17 Dan Yasny dya...@gmail.com I would manually probe with iscsiadm, looks like it's failing there On Mon, Jun 17, 2013 at 9:50 AM, James James jre...@gmail.comwrote: Hi guys, I've got some problems with my ovirt-engine. Currently I have one iscsi storage volume and I want add a second one. The second has the same configuration as the first. In my engine I can log into the iSCSI but I cannot see the LUN. Ovirt gives me this message : 2013-06-17 15:50:04,013 ERROR [org.ovirt.engine.core.bll.storage.DiscoverSendTargetsQuery] (ajp--127.0.0.1-8702-9) Query DiscoverSendTargetsQuery failed. Exception message is VdcBLLException: org.ovirt.engine.core.vdsbroker.vdsbroker.VDSErrorException: VDSGenericException: VDSErrorException: Failed in vdscommand to DiscoverSendTargetsVDS, error = Failed discovery of iSCSI targets: portal=IscsiPortal(hostname='iscsi-1.example.com', port=3260), err=(5, [], ['iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 failed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: Connection to Discovery Address 192.168.0.98 closed', 'iscsiadm: Login I/O error, failed to receive a PDU', 'iscsiadm: retrying discovery login to 192.168.0.98', 'iscsiadm: connection login retries (reopen_max) 5 exceeded', 'iscsiadm: Could not perform SendTargets discovery: encountered iSCSI login failure']) 2013-06-17 15:54:03,649 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.DiscoverSendTargetsVDSCommand] (ajp--127.0.0.1-8702-3) START, DiscoverSendTargetsVDSCommand(HostName = hosts-1.example.com, HostId = 1c8e67de-c355-4b07-a09f-c58d08115e1e, connection={ id: null, connection: iscsi-1.example.com, iqn: null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null };), log id: 3dca76fc Can somebody help me ? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] oVirt and IPA (LDAP/KERBEROS)
Hello, I want to connect my oVirt server on my IPA server. After executing : engine-manage-domains -action=add -domain=example.com -user=admin -provider=IPA -ldapServers=ldap.example.com -interactive -report I've got this answer : Invalid argument ldapservers Can somebody help me ? Regards ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt and IPA (LDAP/KERBEROS)
ok Thanks for your answer. I don't have a SRV record in my DNS so I have just installed dnsmasq on my ovirt-engine server and add : in /etc/dnsmasq.conf svr-host = _ldap._tcp.example.com,ldapserver.example.com,389 srv-host=_kerberos._tcp.example.com,krb5.example.com,88 in /etc/resolv.conf nameserver MY_OVIRT-ENGINE_IP_ADDRESS on the top of namserver and everything works. Thanks again. 2013/6/14 Ian Forde ianfo...@gmail.com Since you've got IPA server setup, I assume that you've already got your SRV records setup in DNS. So, according to 'engine-manage-domains -h', you don't have to specify the ldapServers argument. Instead, do: engine-manage-domains -action=add -domain=example.com -user=admin -provider=IPA -passwordFile=/tmp/.pwd where /tmp/.pwd holds the password for the duration of this operation. (In other words, put the password in there first, then delete the file when you're done.) That's what worked for me, anyway... -I On Thu, Jun 13, 2013 at 1:42 PM, James James jre...@gmail.com wrote: Hello, I want to connect my oVirt server on my IPA server. After executing : engine-manage-domains -action=add -domain=example.com -user=admin -provider=IPA -ldapServers=ldap.example.com -interactive -report I've got this answer : Invalid argument ldapservers Can somebody help me ? Regards ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users