Re: [Users] Can't add 3rd host/node03
On 10/22/2012 12:26 PM, Neil wrote: On Mon, Oct 22, 2012 at 11:59 AM, Itamar Heim ih...@redhat.com wrote: On 10/22/2012 11:36 AM, Neil wrote: On Mon, Oct 22, 2012 at 9:16 AM, Itamar Heim ih...@redhat.com wrote: On 10/22/2012 09:04 AM, Neil wrote: Thanks for your assistance Itamar, On Sun, Oct 21, 2012 at 8:52 AM, Itamar Heim ih...@redhat.com wrote: this means the installed host could not download the bootstrap file from the engine. try browsing engine from the host for http://node02.blabla.com:80/Components/vds/ (in 3.2 this is improved by having the engine SCP to node, so this dns resolution path won't be needed. So this explains why I'm having the issue then, node02.blabla.com(10.0.2.22) is my old engine, my new engine hostname is backup.blabla.com(10.0.2.23)... any idea how I change this? did you move the db from one engine to another? use ovirt-config to check all values in the config table which point to the old host and update them (or psql for vdc_options table) Thanks Itamar, Yes correct, the db was dumped and re-imported onto the new server. When running engine-config I see that there are two options that still refer to my old engine, I presume both should be changed? engine-config -a | grep -i node VdcBootStrapUrl: http://node02.blabla.com:80/Components/vds/ version: general VirtualMachineDomainName: node02.blabla.com version: general Also I've tried setting my VdcBootStrapUrl, but I'm battling to get the syntax correct, I've tried all sorts of combinations, but none seem to work, not sure if the key should be quoted, or declared completely or if just the key should be specified etc? [root@backup ~]# engine-config -g VdcBootStrapUrl VdcBootStrapUrl: http://node02.blabla.com:80/Components/vds/ version: general [root@backup ~]# engine-config -s key=VdcBootStrapUrl backup.blabla.com --cver=http://node02.blabla.com Error setting key's value. No such entry with version http://node02.blabla.com. cver is the general part (or if cluster version specific, 3.0/3.1). just try: engine-config -s VdcBootStrapUrl=http://node02.blabla.com Okay thanks, that worked and allowed me to set it, and I also set the VirtualMachineDomainName but I'm still receiving the same error(after restarting ovirt-engine). I've tried to browse to the url you gave me on your first reply both from the new host and one of the existing ones and I receive the following... JBoss Web/7.0.13.Final - Error report HTTP Status 404 - /Components/vds/ type Status report message /Components/vds/ description The requested resource (/Components/vds/) is not available. JBoss Web/7.0.13.Final Seems like something still isn't correct after the upgrade/migration to the new machine... any ideas what to try next? Thanks! 1. it's case sensitive. 2. did you try running add host again? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Making bonds in oVirt
- Original Message - Hi All, Hi Joop I'm slowly progressing with our test environment and currently I'm testing my 10Ge nics and switches and hit a snag. I watched the webcast about setting up a non-vm network which included creating a bond using the webinterface. I can't get it to work correctly. I have two problems - my ovirtmgmt network always returns to DHCP in Hosts/Network Interfaces/Setup Host Networks - bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip address doesn't work either. It might be a good idea to try and isolate the two problems: 1. Even without bonding the BOOTPROTO won't stick? Do you see any errors? 2. If you have 3 nics (or more) try to bond the 2 that aren't connected to the management network and just see if that works. The bond is created but no ip address assigned and I end up with errors in dmesg. On ST01 I just dropped the bond and restarted the node so I have a clean dmesg. On ST02 I repeated the bonding but no luck Host is now Non Responding because of missing network so put it into maintenance. In Setup Host Networks I create a bond between p3p1 and p3p2, bond name bond0 and mode 4, edit ovirtmgmt to set it to static instead of DHCP, ip address is correct. Assign my storage network to the bond, edit its properties and set its ip to Static 172.29.0.1 mask 255.255.255.0. The mouse over popups show the correct ip addresses for both storage and ovirtmgmt, check Save and Verify, press OK, no ip address on the bond :-(( ST02 dmesg: [43523.670576] bonding: unable to update mode of bond3 because it has slaves. [43523.734204] bonding: bond3: Setting MII monitoring interval to 150. [43523.736633] 8021q: adding VLAN 0 to HW filter on device bond3 [43534.234245] bond3: no IPv6 routers present Nothing in engine.log but maybe if logging is set higher, but how?? [root@st02 ~]# rpm -aq | grep vdsm vdsm-4.10.0-7.fc17.x86_64 vdsm-cli-4.10.0-7.fc17.noarch vdsm-xmlrpc-4.10.0-7.fc17.noarch vdsm-python-4.10.0-7.fc17.x86_64 vdsm-gluster-4.10.0-7.fc17.noarch vdsm-rest-4.10.0-7.fc17.noarch Nothing on ST01 when I try to create a bond but I do get an error in the mgmt web interface: Error while executing action Setup Networks: Internal oVirt Engine Error and this in engine.log 2012-10-22 22:41:40,175 INFO [org.ovirt.engine.core.bll.SetupNetworksCommand] (ajp--0.0.0.0-8009-8) [27ee141a] Running command: SetupNetworksCommand internal: false. Entities affected : ID: b84be568-f101-11e1-9f16-78e7d1f4ada5 Type: VDS 2012-10-22 22:41:40,177 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (ajp--0.0.0.0-8009-8) [27ee141a] START, SetupNetworksVDSCommand(vdsId = b84be568-f101-11e1-9f16-78e7d1f4ada5), log id: 518d832b 2012-10-22 22:41:40,177 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetupNetworksVDSCommand] (ajp--0.0.0.0-8009-8) [27ee141a] FINISH, SetupNetworksVDSCommand, log id: 518d832b 2012-10-22 22:41:40,185 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--0.0.0.0-8009-8) [27ee141a] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2012-10-22 22:41:40,186 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--0.0.0.0-8009-8) [27ee141a] Command PollVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2012-10-22 22:41:40,687 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--0.0.0.0-8009-8) [27ee141a] java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2012-10-22 22:41:40,688 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (ajp--0.0.0.0-8009-8) [27ee141a] Command SetupNetworksVDS execution failed. Exception: RuntimeException: java.util.concurrent.ExecutionException: java.lang.reflect.InvocationTargetException 2012-10-22 22:41:40,693 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--0.0.0.0-8009-8) [27ee141a] No string for UNASSIGNED type. Use default Log ovirt-engine-3.1.0-2.fc17.noarch ovirt-engine-backend-3.1.0-2.fc17.noarch ovirt-engine-cli-3.1.0.6-1.fc17.noarch ovirt-engine-config-3.1.0-2.fc17.noarch ovirt-engine-dbscripts-3.1.0-2.fc17.noarch ovirt-engine-genericapi-3.1.0-2.fc17.noarch ovirt-engine-notification-service-3.1.0-2.fc17.noarch ovirt-engine-restapi-3.1.0-2.fc17.noarch ovirt-engine-sdk-3.1.0.4-1.fc17.noarch ovirt-engine-setup-3.1.0-2.fc17.noarch ovirt-engine-tools-common-3.1.0-2.fc17.noarch ovirt-engine-userportal-3.1.0-2.fc17.noarch ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch ovirt-guest-agent-1.0.5-1.fc17.x86_64 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch ovirt-node-2.5.5-0.fc17.noarch ovirt-node-iso-2.5.5-0.1.fc17.noarch ovirt-release-fedora-4-2.noarch
[Users] Set mic order on vm
In our setup I need to have eth0 set to a certain MAC address. When I add the three nics to a new vm, nic1 is not eth0. (ovirt starts with nic1 as the first suggested name of the nic) Any ideas? Thanks! -Bret ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Set mic order on vm
- Original Message - In our setup I need to have eth0 set to a certain MAC address. When I add the three nics to a new vm, nic1 is not eth0. (ovirt starts with nic1 as the first suggested name of the nic) Any ideas? It is the guest OS that is responsible for assigning the names of the interfaces. In Linux specifically it's udev that does it, so you might want to try writing a udev rule for that. Perhaps try following this guide (if it's Fedora 15+): https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B Or this guide (if it's RHEL6 or older Fedora): https://alteeve.ca/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12_to_14 Thanks! -Bret ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Set mic order on vm
On 10/23/2012 08:31 AM, Mike Kolesnik wrote: - Original Message - In our setup I need to have eth0 set to a certain MAC address. When I add the three nics to a new vm, nic1 is not eth0. (ovirt starts with nic1 as the first suggested name of the nic) Any ideas? It is the guest OS that is responsible for assigning the names of the interfaces. In Linux specifically it's udev that does it, so you might want to try writing a udev rule for that. Perhaps try following this guide (if it's Fedora 15+): https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B Or this guide (if it's RHEL6 or older Fedora): https://alteeve.ca/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12_to_14 something to consider ovirt-engine to provide the guest via the payload feature, so a cloud-init extension can take care of it out of the box. Thanks! -Bret ___ 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] local storage problems
I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 840, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 307, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File /usr/share/vdsm/storage/securable.py, line 68, in wrapper return f(self, *args, **kwargs) File /usr/share/vdsm/storage/sp.py, line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File /usr/share/vdsm/storage/sp.py, line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File /usr/share/vdsm/storage/safelease.py, line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best regards, ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] local storage problems
Hi, I didn't do any sanlock configuration or touch it in any way. Is this required for local storage? Bellow you can find the info you asked for: Package versions: sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64 Dir permissions: ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0 Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13 /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13 Best regards, On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky ve...@redhat.com wrote: Hi Cristian, Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain. It doesn't happen in my environment, and I'm trying to understand if it's something in your environment or an issue in a specific build. Regards, Vered - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 840, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 307, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File /usr/share/vdsm/storage/securable.py, line 68, in wrapper return f(self, *args, **kwargs) File /usr/share/vdsm/storage/sp.py, line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File /usr/share/vdsm/storage/sp.py, line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File /usr/share/vdsm/storage/safelease.py, line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best 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
Re: [Users] local storage problems
2012/10/23 Cristian Falcas cristi.fal...@gmail.com Hi, I didn't do any sanlock configuration or touch it in any way. Is this required for local storage? Bellow you can find the info you asked for: Package versions: sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64 Dir permissions: ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0 Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13 /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13 Best regards, On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky ve...@redhat.com wrote: Hi Cristian, Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain. It doesn't happen in my environment, and I'm trying to understand if it's something in your environment or an issue in a specific build. Regards, Vered - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 840, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 307, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File /usr/share/vdsm/storage/securable.py, line 68, in wrapper return f(self, *args, **kwargs) File /usr/share/vdsm/storage/sp.py, line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File /usr/share/vdsm/storage/sp.py, line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File /usr/share/vdsm/storage/safelease.py, line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best 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 Is SELinux sanlock flag set to 1 (on)? Alex ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] local storage problems
Hi Christian, any chance you can provide full vdsm log as well as the following output: getenforce ls -lZ /media/ceva2/Ovirt/Storage/ - Original Message - From: Alexandre Santos santosa...@gmail.com To: Cristian Falcas cristi.fal...@gmail.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org Sent: Tuesday, October 23, 2012 11:54:48 AM Subject: Re: [Users] local storage problems 2012/10/23 Cristian Falcas cristi.fal...@gmail.com Hi, I didn't do any sanlock configuration or touch it in any way. Is this required for local storage? Bellow you can find the info you asked for: Package versions: sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64 Dir permissions: ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0 Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13 /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13 Best regards, On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky ve...@redhat.com wrote: Hi Cristian, Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain. It doesn't happen in my environment, and I'm trying to understand if it's something in your environment or an issue in a specific build. Regards, Vered - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 840, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 307, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File /usr/share/vdsm/storage/securable.py, line 68, in wrapper return f(self, *args, **kwargs) File /usr/share/vdsm/storage/sp.py, line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File /usr/share/vdsm/storage/sp.py, line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File /usr/share/vdsm/storage/safelease.py, line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best 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 Is SELinux sanlock flag set to 1 (on)? Alex ___ 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] local storage problems
Selinux was enforcing until now, but I set it to permissive: getenforce Permissive Do you still need the vdsm logs? On Tue, Oct 23, 2012 at 1:19 PM, Haim Ateya hat...@redhat.com wrote: Hi Christian, any chance you can provide full vdsm log as well as the following output: getenforce ls -lZ /media/ceva2/Ovirt/Storage/ - Original Message - From: Alexandre Santos santosa...@gmail.com To: Cristian Falcas cristi.fal...@gmail.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org Sent: Tuesday, October 23, 2012 11:54:48 AM Subject: Re: [Users] local storage problems 2012/10/23 Cristian Falcas cristi.fal...@gmail.com Hi, I didn't do any sanlock configuration or touch it in any way. Is this required for local storage? Bellow you can find the info you asked for: Package versions: sanlock-lib-2.4-2.fc17.x86_64 sanlock-python-2.4-2.fc17.x86_64 sanlock-2.4-2.fc17.x86_64 libvirt-lock-sanlock-0.10.2-1.fc17.x86_64 vdsm-4.10.1-0.52.git1c10d06.fc17.x86_64 Dir permissions: ls -la /media/ceva2/Ovirt/Storage/ total 12 drwxrwxr-x. 3 vdsm kvm 4096 Oct 23 09:37 . drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:00 .. drwxr-xr-x. 4 vdsm kvm 4096 Oct 23 09:37 a6d7a944-4807-474d-89b0-df9e74dd2cd0 Sanlock errors: 2012-10-23 10:31:49+0300 891 [2813]: s20 lockspace a6d7a944-4807-474d-89b0-df9e74dd2cd0:1:/rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids:0 2012-10-23 10:31:49+0300 891 [16423]: open error -13 /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids 2012-10-23 10:31:49+0300 891 [16423]: s20 open_disk /rhev/data-center/mnt/_media_ceva2_Ovirt_Storage/a6d7a944-4807-474d-89b0-df9e74dd2cd0/dom_md/ids error -13 Best regards, On Tue, Oct 23, 2012 at 12:01 PM, Vered Volansky ve...@redhat.com wrote: Hi Cristian, Can you please share your SanLock and VDSM versions and the permissions of the directory you're attempting to use for the storage domain. It doesn't happen in my environment, and I'm trying to understand if it's something in your environment or an issue in a specific build. Regards, Vered - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 9:26:27 AM Subject: [Users] local storage problems I'm trying to play with engine and vdsm on the same machine, but I can't add a local storage. This is the last error from vdsm: 7e6c31db-abc0-4d6c-baff-d78e9c47d7a2::ERROR::2012-10-23 10:22:02,454::task::833::TaskManager.Task::(_setError) Task=`7e6c31db-abc0-4d6c-baff-d78e9c47d7a2`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 840, in _run return fn(*args, **kargs) File /usr/share/vdsm/storage/task.py, line 307, in run return self.cmd(*self.argslist, **self.argsdict) File /usr/share/vdsm/storage/sp.py, line 269, in startSpm self._upgradePool(expectedDomVersion, __securityOverride=True) File /usr/share/vdsm/storage/securable.py, line 68, in wrapper return f(self, *args, **kwargs) File /usr/share/vdsm/storage/sp.py, line 409, in _upgradePool self._convertDomain(self.masterDomain, str(targetDomVersion)) File /usr/share/vdsm/storage/sp.py, line 1027, in _convertDomain domain.getRealDomain(), isMsd, targetFormat) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 252, in convert converter(repoPath, hostId, imageRepo, isMsd) File /usr/share/vdsm/storage/imageRepository/formatConverter.py, line 99, in v3DomainConverter newClusterLock.acquireHostId(hostId, async=False) File /usr/share/vdsm/storage/safelease.py, line 175, in acquireHostId raise se.AcquireHostIdFailure(self._sdUUID, e) AcquireHostIdFailure: Cannot acquire host id: ('a6d7a944-4807-474d-89b0-df9e74dd2cd0', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) If I make the DC a NFS one, I can add nfs paths. Best 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 Is SELinux sanlock flag set to 1 (on)? Alex ___ 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] (no subject)
- Original Message - From: Neil nwilson...@gmail.com To: Haim Ateya hat...@redhat.com Cc: users@ovirt.org Sent: Monday, October 22, 2012 4:33:11 PM Subject: Re: [Users] (no subject) Hi Haim, On Mon, Oct 22, 2012 at 3:46 PM, Haim Ateya hat...@redhat.com wrote: please attach installation logs from node under /tmp/{vdsm-bootstrap*). I've checked all of the other logs and they are all the same, so I've only included the latest one... [root@node03 tmp]# cat vds_installer.100915.log Mon, 22 Oct 2012 12:12:04 DEBUG Start VDS Installation Mon, 22 Oct 2012 12:12:04 DEBUGget_id_line: read line CentOS release 6.3 (Final). Mon, 22 Oct 2012 12:12:04 DEBUGlsb_release: input line CentOS release 6.3 (Final). Mon, 22 Oct 2012 12:12:04 DEBUGlsb_release: return: CentOS. Mon, 22 Oct 2012 12:12:04 DEBUGBSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/ Mon, 22 Oct 2012 12:12:04 DEBUGBSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/ Mon, 22 Oct 2012 12:12:04 DEBUGtrying to fetch vds_bootstrap.py script cmd = '/usr/bin/curl -s -k -w %{http_code} -o /tmp/vds_bootstrap_06a0a4ee-8935-4743-8c25-acc13971047b.py http://backup.blabla.com/vds_bootstrap.py' Mon, 22 Oct 2012 12:12:04 DEBUGBSTRAP component='INSTALLER' status='FAIL' message='vds_bootstrap.py download failed. Pathname could not be resolved (verify computer/domain name).'/ [root@node03 tmp]# also run the following command from your engine machine: psql -U postgres engine -c 'select * from vds_static;' Output is attached as output.txt, shows all three hosts along with the correct ip's, node03 has no power management as of yet. please make sure 'node02.blabla.com' is accessible from host side (first try ping), later try with http request (simply issue wget http://node02.blabla.com:80/Components/vds/vds_bootstrap.py) Both tests worked fine... node02 is one of my hosts, it used to be my old engine but was changed, backup.blabla.com is my new working engine. so, the problem is that in your engine, VdcBootstrapUrl points to your old engine address (node02.blabla.com:80) instead of your new one (backup.blabla.com), this confuses the host as it tries to download the script from the old engine, and fails since they are not there. don't really know how you got to this state, but in order to resolve it, please apply the following query: psql -U postgres engine -c update vdc_options set option_value = 'backup.blabla.com:80/Components/vds/' where option_name = 'VdcBootStrapUrl' [root@node03 ~]# wget http://backup.blabla.com:80/Components/vds/vds_bootstrap.py Connecting to backup.blabla.com|10.0.2.31|:80... connected. HTTP request sent, awaiting response... 200 OK Saving to: âvds_bootstrap.pyâ 2012-10-22 16:08:52 (72.6 MB/s) - âvds_bootstrap.pyâ . Please shout if you need any further info. Thank you! Neil Wilson. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Spice Console User Portal
Hey, when trying to launch a Spice console from webadmin portal, it works as expected, from both Fedora and windows. But when trying to launch console from userportal, the spice client throws this error: [cid:2CE075FF-EC6E-4B74-A849-E59E3B929417@adm.slu.se] Unable to connect to the graphics server This was from a Windows 2008R2 with Internet Explorer and spice plugin. It behaves the exact same way when using Fedora or CentOS with the spice-xpi plugin. Using a CentOS client, I have tailed the spice-xpi.log that shows no difference from a good connection to a bad. Good connection, from webadmin: 2012-10-23 12:34:39,456 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-KD4DJT/spice-xpi 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-KD4DJT/spice-foreign 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:34:42,484 INFO nsPluginInstance::Connect: Initiating connection with controller 2012-10-23 12:34:56,721 ERROR nsPluginInstance::CallOnDisconnected: could not get browser window, when trying to call OnDisconnected (this prints when closing the console window) Bad connection, from userportal: 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-bLJDfq/spice-xpi 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-bLJDfq/spice-foreign 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:35:16,593 INFO nsPluginInstance::Connect: Initiating connection with controller In the engine, I have created a User Role, called VmOwner that have these permissions: System Configure System Manipulate Permissions √ Login Permissions VM √ Basic Operations √ Basic Operations √ Change CD √ Remote Log In √ Provisioning Operations Edit properties Create Delete Edit Network Edit Storage √ Edit Snapshots This is what engine.log says about a connection from userportal: 2012-10-23 12:55:15,344 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--0.0.0.0-8009-2) [20487117] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 7700067a-235b-4f46-ace3-71103718d1f9 Type: VM 2012-10-23 12:55:15,378 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--0.0.0.0-8009-2) [20487117] START, SetVmTicketVDSCommand(vdsId = a4030022-169b-11e2-9e42-00187179e224, vmId=7700067a-235b-4f46-ace3-71103718d1f9, ticket=yJYEWUW386AU, validTime=120,m userName=karli, userId=de526322-d046-4a06-911e-546e7159556e), log id: 33d22a8e 2012-10-23 12:55:15,434 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand] (ajp--0.0.0.0-8009-2) [20487117] FINISH, SetVmTicketVDSCommand, log id: 33d22a8e 2012-10-23 12:55:15,681 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery (SSLEnabled) with null version, using default general for version 2012-10-23 12:55:15,682 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery (CipherSuite) with null version, using default general for version 2012-10-23 12:55:15,682 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery (EnableSpiceRootCertificateValidation) with null version, using default general for version 2012-10-23 12:55:15,695 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery (SpiceToggleFullScreenKeys) with null version, using default general for version 2012-10-23 12:55:15,696 WARN [org.ovirt.engine.core.bll.GetConfigurationValueQuery] (ajp--0.0.0.0-8009-7) calling GetConfigurationValueQuery (SpiceReleaseCursorKeys) with null version, using default general for version And this is a connection from webadmin: 2012-10-23 12:59:16,019 WARN [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--0.0.0.0-8009-17) [71692f83] User 5ec37cea-a682-405a-acdb-ecff4ed05ebd is trying to take the console of virtual machine 7700067a-235b-4f46-ace3-71103718d1f9, but the console is already taken by user de526322-d046-4a06-911e-546e7159556e. 2012-10-23 12:59:16,108 WARN [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--0.0.0.0-8009-17) [71692f83] User 5ec37cea-a682-405a-acdb-ecff4ed05ebd is trying to take the console of virtual machine 7700067a-235b-4f46-ace3-71103718d1f9, but the console is already taken by user de526322-d046-4a06-911e-546e7159556e. 2012-10-23 12:59:16,109 INFO [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--0.0.0.0-8009-17) [71692f83] Running command: SetVmTicketCommand internal: false. Entities affected : ID: 7700067a-235b-4f46-ace3-71103718d1f9 Type: VM, ID: 7700067a-235b-4f46-ace3-71103718d1f9 Type: VM 2012-10-23 12:59:16,146 INFO
Re: [Users] Making bonds in oVirt
Sorry Mike, hit the wrong button and didn't send it to the list Hi All, Hi Joop I'm slowly progressing with our test environment and currently I'm testing my 10Ge nics and switches and hit a snag. I watched the webcast about setting up a non-vm network which included creating a bond using the webinterface. I can't get it to work correctly. I have two problems - my ovirtmgmt network always returns to DHCP in Hosts/Network Interfaces/Setup Host Networks - bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip address doesn't work either. It might be a good idea to try and isolate the two problems: 1. Even without bonding the BOOTPROTO won't stick? Do you see any errors? No, the following is the relevant part of vdsm.log: Thread-1873::DEBUG::2012-10-23 13:07:07,031::task::588::TaskManager.Task::(_updateState) Task=`88b706f8-80ec-49ef-afee-63ecd491ad93`::moving from state init - state preparing Thread-1873::INFO::2012-10-23 13:07:07,031::logUtils::37::dispatcher::(wrapper) Run and protect: repoStats(options=None) Thread-1873::INFO::2012-10-23 13:07:07,031::logUtils::39::dispatcher::(wrapper) Run and protect: repoStats, Return response: {} Thread-1873::DEBUG::2012-10-23 13:07:07,032::task::1172::TaskManager.Task::(prepare) Task=`88b706f8-80ec-49ef-afee-63ecd491ad93`::finished: {} Thread-1873::DEBUG::2012-10-23 13:07:07,032::task::588::TaskManager.Task::(_updateState) Task=`88b706f8-80ec-49ef-afee-63ecd491ad93`::moving from state preparing - state finished Thread-1873::DEBUG::2012-10-23 13:07:07,032::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-1873::DEBUG::2012-10-23 13:07:07,032::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-1873::DEBUG::2012-10-23 13:07:07,033::task::978::TaskManager.Task::(_decref) Task=`88b706f8-80ec-49ef-afee-63ecd491ad93`::ref 0 aborting False Thread-1879::DEBUG::2012-10-23 13:07:17,286::task::588::TaskManager.Task::(_updateState) Task=`21796aac-5c43-4c38-939e-919a20217b7f`::moving from state init - state preparing Thread-1879::INFO::2012-10-23 13:07:17,286::logUtils::37::dispatcher::(wrapper) Run and protect: repoStats(options=None) Thread-1879::INFO::2012-10-23 13:07:17,287::logUtils::39::dispatcher::(wrapper) Run and protect: repoStats, Return response: {} Thread-1879::DEBUG::2012-10-23 13:07:17,287::task::1172::TaskManager.Task::(prepare) Task=`21796aac-5c43-4c38-939e-919a20217b7f`::finished: {} Thread-1879::DEBUG::2012-10-23 13:07:17,287::task::588::TaskManager.Task::(_updateState) Task=`21796aac-5c43-4c38-939e-919a20217b7f`::moving from state preparing - state finished Thread-1879::DEBUG::2012-10-23 13:07:17,287::resourceManager::809::ResourceManager.Owner::(releaseAll) Owner.releaseAll requests {} resources {} Thread-1879::DEBUG::2012-10-23 13:07:17,288::resourceManager::844::ResourceManager.Owner::(cancelAll) Owner.cancelAll requests {} Thread-1879::DEBUG::2012-10-23 13:07:17,288::task::978::TaskManager.Task::(_decref) Task=`21796aac-5c43-4c38-939e-919a20217b7f`::ref 0 aborting False Thread-1884::DEBUG::2012-10-23 13:07:24,350::BindingXMLRPC::859::vds::(wrapper) client [192.168.216.150]::call setupNetworks with ({}, {}, {'connectivityCheck': 'true', 'connectivityTimeout': 6}) {} flowID [435ea2d8] Thread-1885::DEBUG::2012-10-23 13:07:24,351::BindingXMLRPC::859::vds::(wrapper) client [192.168.216.150]::call ping with () {} flowID [435ea2d8] Thread-1885::DEBUG::2012-10-23 13:07:24,352::BindingXMLRPC::865::vds::(wrapper) return ping with {'status': {'message': 'Done', 'code': 0}} MainProcess|Thread-1884::DEBUG::2012-10-23 13:07:24,375::configNetwork::1083::setupNetworks::(setupNetworks) Setting up network according to configuration: networks:{}, bondings:{}, options:{'connectivityCheck': 'true', 'connectivityTimeout': 6} MainProcess|Thread-1884::DEBUG::2012-10-23 13:07:24,375::configNetwork::1087::root::(setupNetworks) Validating configuration MainProcess|Thread-1884::DEBUG::2012-10-23 13:07:24,394::configNetwork::1090::setupNetworks::(setupNetworks) Applying... MainProcess|Thread-1884::DEBUG::2012-10-23 13:07:24,434::configNetwork::1140::setupNetworks::(setupNetworks) Checking connectivity... Thread-1886::DEBUG::2012-10-23 13:07:24,872::BindingXMLRPC::859::vds::(wrapper) client [192.168.216.150]::call ping with () {} flowID [435ea2d8] Thread-1886::DEBUG::2012-10-23 13:07:24,872::BindingXMLRPC::865::vds::(wrapper) return ping with {'status': {'message': 'Done', 'code': 0}} Thread-1887::DEBUG::2012-10-23 13:07:25,391::BindingXMLRPC::859::vds::(wrapper) client [192.168.216.150]::call ping with () {} flowID [435ea2d8] Thread-1887::DEBUG::2012-10-23 13:07:25,392::BindingXMLRPC::865::vds::(wrapper) return ping with {'status': {'message': 'Done', 'code': 0}} Thread-1884::DEBUG::2012-10-23 13:07:25,436::BindingXMLRPC::865::vds::(wrapper) return setupNetworks with {'status': {'message': 'Done', 'code': 0}} Thread-1889::DEBUG::2012-10-23
Re: [Users] Limit swap space on ovirt node install
On Tue, 2012-10-23 at 09:30 +0200, Jorick Astrego wrote: On 10/22/2012 02:26 PM, Mike Burns wrote: On Fri, 2012-10-19 at 14:26 +0200, Jorick Astrego wrote: Hi, Finally I found the problem but I still don't understand it. The problem appears to be that I install using the Supermicro IPMI with local cdrom. Installation goes well but after that I am unable to login remotely and get the error systemd-readahead-collect[500]: Failed to open pack file: Read-only file system. The system appears to hang. When I hook up a screen and keyboard I can login normally and everything works fine, this is very strange and annoying as I now need to install every node in the datacenter. I also tried logging in after startup but when I check the IPMI, I only get a black screen. Now I started using cobbler for using PXE boot with latest nightly release, but I still have to install and configure the node. How can I push the installation automatically so I can install unattended? We apparently don't have the options documented on ovirt.org anywhere, but I'll make sure we do that. In the meantime, you can refer to this document [1] for automated installation options. The options are pretty much identical. Thanks Mike [1] http://goo.gl/vbeXQ Mike, Thanks for the answer, I'm deploying the latest version as we speak. This will save so much time. But it is still strange I cannot use the IPMI, is there any info I can supply for this? Should I enter it in Bugzilla? We don't do anything special with ipmi currently. What type of system and what type of management device is being used? Mike Thanks for all the help, Jorick ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Limit swap space on ovirt node install
On 10/23/2012 01:58 PM, Mike Burns wrote: On Tue, 2012-10-23 at 09:30 +0200, Jorick Astrego wrote: On 10/22/2012 02:26 PM, Mike Burns wrote: On Fri, 2012-10-19 at 14:26 +0200, Jorick Astrego wrote: Hi, Finally I found the problem but I still don't understand it. The problem appears to be that I install using the Supermicro IPMI with local cdrom. Installation goes well but after that I am unable to login remotely and get the error systemd-readahead-collect[500]: Failed to open pack file: Read-only file system. The system appears to hang. When I hook up a screen and keyboard I can login normally and everything works fine, this is very strange and annoying as I now need to install every node in the datacenter. I also tried logging in after startup but when I check the IPMI, I only get a black screen. Now I started using cobbler for using PXE boot with latest nightly release, but I still have to install and configure the node. How can I push the installation automatically so I can install unattended? We apparently don't have the options documented on ovirt.org anywhere, but I'll make sure we do that. In the meantime, you can refer to this document [1] for automated installation options. The options are pretty much identical. Thanks Mike [1] http://goo.gl/vbeXQ Mike, Thanks for the answer, I'm deploying the latest version as we speak. This will save so much time. But it is still strange I cannot use the IPMI, is there any info I can supply for this? Should I enter it in Bugzilla? We don't do anything special with ipmi currently. What type of system and what type of management device is being used? Mike That's what I find so strange, installing works but configuring hangs. I use Supermicro onboard IPMI 2.0 (http://www.supermicro.com/products/nfo/IPMI.cfm). Could it be something to do with USB redirection, I've had problems before with the Virtual CD but that has been fixed in the nightly build. Jorick ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] internet explorer 9
- Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 1:46:01 PM Subject: [Users] internet explorer 9 Hi, Does anybody know why I can't see anything in IE9? This is from a Windows 7 machine. The menus appear, the pages change when I click them, but nothing is displayed (see attached screenshot). Best regards, It looks like IE9 permutation of the WebAdmin hasn't been compiled. Try building with the following: mvn clean install -Pgwt-admin -Dgwt.userAgent=ie9 Daniel ___ 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] internet explorer 9
The installation is from the nightly builds, so I'll just use firefox. Thank you. On Tue, Oct 23, 2012 at 3:18 PM, Daniel Erez de...@redhat.com wrote: - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 1:46:01 PM Subject: [Users] internet explorer 9 Hi, Does anybody know why I can't see anything in IE9? This is from a Windows 7 machine. The menus appear, the pages change when I click them, but nothing is displayed (see attached screenshot). Best regards, It looks like IE9 permutation of the WebAdmin hasn't been compiled. Try building with the following: mvn clean install -Pgwt-admin -Dgwt.userAgent=ie9 Daniel ___ 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] Error creating the first storage domain (NFS)
- Original Message - From: Vered Volansky ve...@redhat.com To: Brian Vetter bjvet...@gmail.com Cc: users@ovirt.org Sent: Tuesday, October 23, 2012 11:38:42 AM Subject: Re: [Users] Error creating the first storage domain (NFS) Hi Brian, We'll need your engine host (full) logs at the very least to look into the problem. Can you try it with nfs3 and tell us if it works? Note, more comments in the email body. Regards, Vered Hi Brian, we also need the sanlock logs (/var/log/sanlock.log). Adding David to the thread as he might be able to help us debugging your problem (sanlock-2.4-2.fc17). -- Federico ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Regarding Python script for RHEVM
- Original Message - From: Romil Gupta romilgupt...@gmail.com To: users@ovirt.org, mbu...@redhat.com Sent: Monday, October 22, 2012 5:39:22 PM Subject: [Users] Regarding Python script for RHEVM Hello , I am having a Rhel6.2 machine over tht i have installed ovirt-sdk using following command : $ git clone http :// gerrit.ovirt.org/ovirt-engine-sdk $ yum install -y rpm-build python-devel python-setuptools $ make rpm $ yum localinstall rpmtop/RPMS/noarch/ovirt-engine-sdk-x.y-z.noarch.rpm thn i have written python script rhevmtest.py : from ovirtsdk.api import API from ovirtsdk.xml import params import time rhevm_uri = https://rhevm301.vmm.hp.com:8443/api rhevm_username = ad...@rhevm301.vmm.hp.com rhevm_password = iso*help rhevmAPI = API(url=rhevm_uri, username=rhevm_username, password=rhevm_password) print Connected to RHEVM Successful instances = rhevmAPI.vms.list() cluster = rhevmAPI.clusters.get(name='Default') template = rhevmAPI.templates.get(name='CentOS') param = params.VM(name= 'test_vm' ,cluster=cluster,template=template,memory=2147483648) vm6 = rhevmAPI.vms.add(param) and its working fine :) Now can give me some guidance to write script for following functions: • pause (Pause a running vm) • Unpause (UnPause a vm) • start (start a vm from shutdown state) • shutdown (shutdown a vm) • stop (Poweroff the vm) . snapshot/ create template (take snapshot of a vm) • live-migration (Migrates a running vm to a new machine) • resize (Resize a vm) • resize-confirm (Confirm a previous vm) • resize-revert Revert a previous resize (and return to the previousVM) Hi Romil Please refer to this wiki http://wiki.ovirt.org/wiki/Testing/PythonApi It has some examples covering your questions. Eli Regards, Romil Gupta ___ 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] Spice Console User Portal
The host subject omission is the root cause: https://bugzilla.redhat.com/show_bug.cgi?id=839548 Karli, what oVirt engine version do you use? Tomáš, did the patch in the bug make it into oVirt 3.1? David Karli Sjöberg píše v Út 23. 10. 2012 v 12:48 +: 23 okt 2012 kl. 14.17 skrev David Jaša: Hi Karli, Karli Sjöberg píše v Út 23. 10. 2012 v 11:09 +: Hey, when trying to launch a Spice console from webadmin portal, it works as expected, from both Fedora and windows. But when trying to launch console from userportal, the spice client throws this error: Unable to connect to the graphics server This was from a Windows 2008R2 with Internet Explorer and spice plugin. It behaves the exact same way when using Fedora or CentOS with the spice-xpi plugin. Using a CentOS client, I have tailed the spice-xpi.log that shows no difference from a good connection to a bad. Good connection, from webadmin: 2012-10-23 12:34:39,456 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-KD4DJT/spice-xpi 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-KD4DJT/spice-foreign 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:34:42,484 INFO nsPluginInstance::Connect: Initiating connection with controller 2012-10-23 12:34:56,721 ERROR nsPluginInstance::CallOnDisconnected: could not get browser window, when trying to call OnDisconnected (this prints when closing the console window) Bad connection, from userportal: 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-bLJDfq/spice-xpi 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-bLJDfq/spice-foreign 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:35:16,593 INFO nsPluginInstance::Connect: Initiating connection with controller These logs don't contain much useful information but they could if you raise log level to DEBUG in /etc/spice/logger.ini. Could you try again with DEBUG? David OK, done. Here´s another batch of logs from spice-xpi.log. Bad connection, from userportal: 2012-10-23 14:28:55,140 DEBUG nsPluginInstance::SetHostIP: 130.238.96.139 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetPort: 5902 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetTitle: Joptest2008: %d - Press SHIFT+F12 to Release Cursor 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetDynamicMenu: 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetFullScreen: 0 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetPassword: Password set 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetNumberOfMonitors: 1 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetUsbListenPort: 0 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetAdminConsole: 1 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSecurePort: 5903 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSSLChannels: original channels: smain,sinputs,scursor,splayback,srecord,sdisplay 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSSLChannels: modified channels: main,inputs,cursor,playback,record,display 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetGuestHostName: Joptest2008 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetCipherSuite: DEFAULT 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetTrustStore: Certificate: Data: Version: 3 (0x2) Serial Number: 15 (0xf) Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, O=SLU, CN=CA-storm.slu.se.80985 Validity Not Before: Sep 26 14:21:06 2012 Not After : Sep 25 12:21:06 2022 GMT Subject: C=US, O=SLU, CN=CA-storm.slu.se.80985 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) Modulus: 00:a2:94:89:18:26:79:49:6b:c6:28:6c:f2:95:e9: a7:71:00:22:c6:79:c2:9e:10:63:ef:34:5c:ab:62: 36:a0:7a:84:d0:79:77:4c:9d:3d:39:8f:97:93:c5: f6:fb:5b:0b:f8:9b:ad:d8:53:2d:a6:b6:03:45:d4: 76:45:f1:af:99:42:74:07:4c:48:7d:28:96:31:9e: 88:cf:90:d9:e7:d9:cf:56:a8:bd:37:a0:8f:f1:26: 89:a9:ab:64:78:a4:02:60:9b:3a:a7:07:db:6e:75: 32:e5:8f:51:7f:50:02:15:d8:c8:7b:68:c1:54:e1: 9f:c2:d2:cf:53:c3:58:b3:15 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: FE:8F:57:F1:A1:AF:45:46:9F:AC:C9:6B:EE:F9:D1:3E:18:78:B9:EA Authority Information Access: CA Issuers - URI:http://storm.slu.se:80/ca.crt
Re: [Users] Making bonds in oVirt
- Original Message - - Original Message - Hi All, Hi Joop I'm slowly progressing with our test environment and currently I'm testing my 10Ge nics and switches and hit a snag. I watched the webcast about setting up a non-vm network which included creating a bond using the webinterface. I can't get it to work correctly. I have two problems - my ovirtmgmt network always returns to DHCP in Hosts/Network Interfaces/Setup Host Networks - bonding p3p1 and p3p2 into bond0 with mode 4 and assigning an ip address doesn't work either. It might be a good idea to try and isolate the two problems: 1. Even without bonding the BOOTPROTO won't stick? Do you see any errors? No, the following is the relevant part of vdsm.log: snip [ifcfg-em1] DEVICE=em1 ONBOOT=yes BOOTPROTO=none HWADDR=d8:d3:85:8f:11:dc BRIDGE=ovirtmgmt NM_CONTROLLED=no [ifcfg-ovirtmgmt] DEVICE=ovirtmgmt TYPE=Bridge ONBOOT=yes IPADDR=192.168.216.151 NETMASK=255.255.255.0 GATEWAY=192.168.216.254 DELAY=0 NM_CONTROLLED=no So seems like the BOOTPROTO data in this case is what you wanted, a static config. And when you do the same over an existing bond then it doesn't save the data? 2. If you have 3 nics (or more) try to bond the 2 that aren't connected to the management network and just see if that works. Already doing that. These are the configs before bonding. [ifcfg-p3p1] DEVICE=p3p1 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:bb:41:21 [ifcfg-p3p2] DEVICE=p3p2 ONBOOT=yes BOOTPROTO=none HWADDR=00:1b:21:bb:41:20 There is currently no ifcfg-bond0 but it will appear when I goto the webinterface and configure a bond between p3p1 and p3p2. Doing that right now .. snip [ifcfg-bond4] DEVICE=bond4 ONBOOT=yes BOOTPROTO=none BONDING_OPTS=mode=4 NM_CONTROLLED=no output from dmesg: [ 3868.457852] bonding: bond4: Adding slave p3p1. [ 3868.479455] 8021q: adding VLAN 0 to HW filter on device p3p1 [ 3868.479842] bonding: bond4: enslaving p3p1 as an active interface with an up link. [ 3868.573557] bonding: bond4: Adding slave p3p2. [ 3868.594368] 8021q: adding VLAN 0 to HW filter on device p3p2 [ 3868.594790] bonding: bond4: enslaving p3p2 as an active interface with an up link. [ 3868.655028] bonding: unable to update mode of bond4 because it has slaves. [ 3868.658528] 8021q: adding VLAN 0 to HW filter on device bond4 [ 3869.994124] ixgbe :20:00.0: p3p1: detected SFP+: 0 [ 3870.055458] ixgbe :20:00.1: p3p2: detected SFP+: 0 [ 3871.955610] ixgbe :20:00.0: p3p1: NIC Link is Up 10 Gbps, Flow Control: RX/TX [ 3872.170130] ixgbe :20:00.1: p3p2: NIC Link is Up 10 Gbps, Flow Control: RX/TX [ 3879.167139] bond4: no IPv6 routers present Notice the error about bonding and slaves that error is also in vdsm.log, atleast I suspect that vdsm.log/ifup is complaining about not able to change the bond mode. Yes this does look problematic, although overall bond was created fine and the config file does have the mode you set.. I ran yum update both on mgmt and storage, current package versions: mgmt: [root@mgmt01 ~]# rpm -aq | grep ovirt | sort ovirt-engine-3.1.0-2.fc17.noarch ovirt-engine-backend-3.1.0-2.fc17.noarch ovirt-engine-cli-3.2.0.5-1.fc17.noarch ovirt-engine-config-3.1.0-2.fc17.noarch ovirt-engine-dbscripts-3.1.0-2.fc17.noarch ovirt-engine-genericapi-3.1.0-2.fc17.noarch ovirt-engine-notification-service-3.1.0-2.fc17.noarch ovirt-engine-restapi-3.1.0-2.fc17.noarch ovirt-engine-sdk-3.2.0.2-1.fc17.noarch ovirt-engine-setup-3.1.0-2.fc17.noarch ovirt-engine-tools-common-3.1.0-2.fc17.noarch ovirt-engine-userportal-3.1.0-2.fc17.noarch ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch ovirt-guest-agent-1.0.5-1.fc17.x86_64 ovirt-image-uploader-3.1.0-0.git9c42c8.fc17.noarch ovirt-iso-uploader-3.1.0-0.git1841d9.fc17.noarch ovirt-log-collector-3.1.0-0.git10d719.fc17.noarch ovirt-node-2.5.5-0.fc17.noarch ovirt-node-iso-2.5.5-0.1.fc17.noarch ovirt-release-fedora-4-2.noarch storage: [root@st01 ~]# rpm -aq | grep vdsm | sort vdsm-4.10.0-10.fc17.x86_64 vdsm-cli-4.10.0-10.fc17.noarch vdsm-gluster-4.10.0-10.fc17.noarch vdsm-python-4.10.0-10.fc17.x86_64 vdsm-rest-4.10.0-10.fc17.noarch vdsm-xmlrpc-4.10.0-10.fc17.noarch Joop ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] AUTO: Messaoud Benantar is out of the office (returning 11/06/2012)
I am out of the office until 11/06/2012. If needed i will reply to your email upon return. For technical matters relating to the AIM Early Programs Cloud, please contact William E Johnson/Austin/IBM@IBMUS or my manager Majad Ahmad/Austin/IBM@IBMUS Note: This is an automated response to your message Re: [Users] Spice Console User Portal sent on 10/23/2012 6:17:56 AM. This is the only notification you will receive while this person is away.___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Spice Console User Portal
On 10/23/2012 03:27 PM, David Jaša wrote: The host subject omission is the root cause: https://bugzilla.redhat.com/show_bug.cgi?id=839548 Karli, what oVirt engine version do you use? Tomáš, did the patch in the bug make it into oVirt 3.1? this is one of the critical patches that blocked ovirt 3.1 and made it as backports pre-release: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.1 so it should be in. David Karli Sjöberg píše v Út 23. 10. 2012 v 12:48 +: 23 okt 2012 kl. 14.17 skrev David Jaša: Hi Karli, Karli Sjöberg píše v Út 23. 10. 2012 v 11:09 +: Hey, when trying to launch a Spice console from webadmin portal, it works as expected, from both Fedora and windows. But when trying to launch console from userportal, the spice client throws this error: Unable to connect to the graphics server This was from a Windows 2008R2 with Internet Explorer and spice plugin. It behaves the exact same way when using Fedora or CentOS with the spice-xpi plugin. Using a CentOS client, I have tailed the spice-xpi.log that shows no difference from a good connection to a bad. Good connection, from webadmin: 2012-10-23 12:34:39,456 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-KD4DJT/spice-xpi 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-KD4DJT/spice-foreign 2012-10-23 12:34:39,457 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:34:42,484 INFO nsPluginInstance::Connect: Initiating connection with controller 2012-10-23 12:34:56,721 ERROR nsPluginInstance::CallOnDisconnected: could not get browser window, when trying to call OnDisconnected (this prints when closing the console window) Bad connection, from userportal: 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_XPI_SOCKET: /tmp/spicec-bLJDfq/spice-xpi 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: SPICE_FOREIGN_MENU_SOCKET: /tmp/spicec-bLJDfq/spice-foreign 2012-10-23 12:35:13,570 INFO nsPluginInstance::Connect: Launching /usr/libexec/spice-xpi-client 2012-10-23 12:35:16,593 INFO nsPluginInstance::Connect: Initiating connection with controller These logs don't contain much useful information but they could if you raise log level to DEBUG in /etc/spice/logger.ini. Could you try again with DEBUG? David OK, done. Here´s another batch of logs from spice-xpi.log. Bad connection, from userportal: 2012-10-23 14:28:55,140 DEBUG nsPluginInstance::SetHostIP: 130.238.96.139 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetPort: 5902 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetTitle: Joptest2008: %d - Press SHIFT+F12 to Release Cursor 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetDynamicMenu: 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetFullScreen: 0 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetPassword: Password set 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetNumberOfMonitors: 1 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetUsbListenPort: 0 2012-10-23 14:28:55,141 DEBUG nsPluginInstance::SetAdminConsole: 1 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSecurePort: 5903 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSSLChannels: original channels: smain,sinputs,scursor,splayback,srecord,sdisplay 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetSSLChannels: modified channels: main,inputs,cursor,playback,record,display 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetGuestHostName: Joptest2008 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetCipherSuite: DEFAULT 2012-10-23 14:28:55,142 DEBUG nsPluginInstance::SetTrustStore: Certificate: Data: Version: 3 (0x2) Serial Number: 15 (0xf) Signature Algorithm: sha1WithRSAEncryption Issuer: C=US, O=SLU, CN=CA-storm.slu.se.80985 Validity Not Before: Sep 26 14:21:06 2012 Not After : Sep 25 12:21:06 2022 GMT Subject: C=US, O=SLU, CN=CA-storm.slu.se.80985 Subject Public Key Info: Public Key Algorithm: rsaEncryption Public-Key: (1024 bit) Modulus: 00:a2:94:89:18:26:79:49:6b:c6:28:6c:f2:95:e9: a7:71:00:22:c6:79:c2:9e:10:63:ef:34:5c:ab:62: 36:a0:7a:84:d0:79:77:4c:9d:3d:39:8f:97:93:c5: f6:fb:5b:0b:f8:9b:ad:d8:53:2d:a6:b6:03:45:d4: 76:45:f1:af:99:42:74:07:4c:48:7d:28:96:31:9e: 88:cf:90:d9:e7:d9:cf:56:a8:bd:37:a0:8f:f1:26: 89:a9:ab:64:78:a4:02:60:9b:3a:a7:07:db:6e:75: 32:e5:8f:51:7f:50:02:15:d8:c8:7b:68:c1:54:e1: 9f:c2:d2:cf:53:c3:58:b3:15 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Subject Key Identifier: FE:8F:57:F1:A1:AF:45:46:9F:AC:C9:6B:EE:F9:D1:3E:18:78:B9:EA Authority Information Access: CA
Re: [Users] Set mic order on vm
1. CentOS 6.3 2. I didn't create from a template, but I will try that. Thanks for the wiki link. I'll take a look at it right now. -Bret On Oct 23, 2012, at 1:56 AM, Livnat Peer lp...@redhat.com wrote: On 23/10/12 08:22, Bret Palsson wrote: In our setup I need to have eth0 set to a certain MAC address. When I add the three nics to a new vm, nic1 is not eth0. (ovirt starts with nic1 as the first suggested name of the nic) Any ideas? 1. What OS you have on the guest? 2. Did you create the VM from template? If the answer to 1 is Fedora/RHEL and the answer to 2 is yes, the following wiki page can help - http://wiki.ovirt.org/wiki/Sealing_Linux_VM Livnat Thanks! -Bret ___ 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 mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] mozilla-xpi for Ubuntu
Andrew Cathrow acathrow@... writes: Ideally this should be included in the core distro. Is there an alternative to mozilla-xpi? Can I use spicy? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] mozilla-xpi for Ubuntu
- Original Message - From: Mario Giammarco mgiamma...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 7:30:14 PM Subject: Re: [Users] mozilla-xpi for Ubuntu Andrew Cathrow acathrow@... writes: Ideally this should be included in the core distro. Is there an alternative to mozilla-xpi? Can I use spicy? If you build from sources you can use the patch attached to[1]. It prompted with the address and password at the admin interface so you can execute spicy manually. If not, you can use the vdsClient utility, list available VMs, then setVmTicket to set your own ticket. Regards, Alon. [1] https://bugzilla.redhat.com/show_bug.cgi?id=843397 ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] move ovirt vms from one node to other
hi, i was wondering how it'd be possible to move a existing VM (ovirt kvm vm) from one Ovirt node to another ?? Is it just a matter of copying the directory to the other node and restarting ovirt ?? i'd imagine that the DB would be out of date - is it scanning the ovirt directories for existing hosts during start and fill in the DB with their details -or- would I have to create new VMs and copy over the existing disks ?? better yet, is there a way to backup the ovirt mgmt host configuration and restore it to a different host? alex ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] move ovirt vms from one node to other
Date: Tue, 23 Oct 2012 22:00:00 +0100 From: alex.t...@gmail.com To: users@ovirt.org Subject: [Users] move ovirt vms from one node to other hi, i was wondering how it'd be possible to move a existing VM (ovirt kvm vm) from one Ovirt node to another ?? Is it just a matter of copying the directory to the other node and restarting ovirt ?? i'd imagine that the DB would be out of date - is it scanning the ovirt directories for existing hosts during start and fill in the DB with their details -or- would I have to create new VMs and copy over the existing disks ?? better yet, is there a way to backup the ovirt mgmt host configuration and restore it to a different host? alex Are you using local storage on your nodes to store the vm disks, or a shared storage? ___ 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-Live-0.7.iso - beta version Oct 23th 2012
=== oVirt-Live-0.7.iso - beta version Oct 23th 2012 === wiki: http://wiki.ovirt.org/wiki/OVirt_Live Download [http://ovirt.org/releases/3.1/tools/oVirt-Live-0.7.iso download oVirt-Live-0.7.iso] change-log -changed wallpapers (thanks Garrett) -oVirt-setup autostart added -oVirt-enigne welcome screen (via firefox) after successful setup -oVirt-setup terminal window stays open after setup (for debug needs) -Disconnected installs - setup works without outside network connection (packages wouldn't be updated by vsdm-bootstrap, yum reinstall vdsm-bootstrap to workaround) -wlan0 support in vdsm enabled (need someone to test it...) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt-Live-0.7.iso - beta version Oct 23th 2012
Cool! -Original Message- From: Moran Goldboim [mgold...@redhat.com] Received: Tuesday, 23 Oct 2012, 23:14 To: users@ovirt.org [users@ovirt.org] Subject: [Users] oVirt-Live-0.7.iso - beta version Oct 23th 2012 === oVirt-Live-0.7.iso - beta version Oct 23th 2012 === wiki: http://wiki.ovirt.org/wiki/OVirt_Live Download [http://ovirt.org/releases/3.1/tools/oVirt-Live-0.7.iso download oVirt-Live-0.7.iso] change-log -changed wallpapers (thanks Garrett) -oVirt-setup autostart added -oVirt-enigne welcome screen (via firefox) after successful setup -oVirt-setup terminal window stays open after setup (for debug needs) -Disconnected installs - setup works without outside network connection (packages wouldn't be updated by vsdm-bootstrap, yum reinstall vdsm-bootstrap to workaround) -wlan0 support in vdsm enabled (need someone to test it...) ___ 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-Live-0.7.iso - beta version Oct 23th 2012
On 10/23/2012 02:14 PM, Moran Goldboim wrote: === oVirt-Live-0.7.iso - beta version Oct 23th 2012 === wiki: http://wiki.ovirt.org/wiki/OVirt_Live Download [http://ovirt.org/releases/3.1/tools/oVirt-Live-0.7.iso download oVirt-Live-0.7.iso] Cool, I'll check it out. Might be worth considering making DeltaISOs between releases: https://fedoraproject.org/wiki/Delta_ISOs 2GB is a big dl, and I imagine there'll be more revs of this. Also, is the kickstart file this is built from available? Thanks, Jason change-log -changed wallpapers (thanks Garrett) -oVirt-setup autostart added -oVirt-enigne welcome screen (via firefox) after successful setup -oVirt-setup terminal window stays open after setup (for debug needs) -Disconnected installs - setup works without outside network connection (packages wouldn't be updated by vsdm-bootstrap, yum reinstall vdsm-bootstrap to workaround) -wlan0 support in vdsm enabled (need someone to test it...) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users -- @jasonbrooks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] move ovirt vms from one node to other
local storage .. sorry, shoud have clarified .. On 10/23/2012 10:10 PM, Nicholas Kesick wrote: Date: Tue, 23 Oct 2012 22:00:00 +0100 From: alex.t...@gmail.com To: users@ovirt.org Subject: [Users] move ovirt vms from one node to other hi, i was wondering how it'd be possible to move a existing VM (ovirt kvm vm) from one Ovirt node to another ?? Is it just a matter of copying the directory to the other node and restarting ovirt ?? i'd imagine that the DB would be out of date - is it scanning the ovirt directories for existing hosts during start and fill in the DB with their details -or- would I have to create new VMs and copy over the existing disks ?? better yet, is there a way to backup the ovirt mgmt host configuration and restore it to a different host? alex Are you using local storage on your nodes to store the vm disks, or a shared storage? ___ 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-Live-0.7.iso - beta version Oct 23th 2012
On 10/24/2012 12:11 AM, Jason Brooks wrote: On 10/23/2012 02:14 PM, Moran Goldboim wrote: === oVirt-Live-0.7.iso - beta version Oct 23th 2012 === wiki: http://wiki.ovirt.org/wiki/OVirt_Live Download [http://ovirt.org/releases/3.1/tools/oVirt-Live-0.7.iso download oVirt-Live-0.7.iso] Cool, I'll check it out. Might be worth considering making DeltaISOs between releases: https://fedoraproject.org/wiki/Delta_ISOs i'll look into it. 2GB is a big dl, and I imagine there'll be more revs of this. more revs -yes, there are 2 big iso files contained in it: -Fedora-17-x86_64-Live-Desktop.iso -645MB - uses for live os on a vm -ovirt-node-iso-2.5.5-0.1.fc17.iso - 173MB - uses for additional installation of a ovirt-node i think that in the future we can make it more modular. Also, is the kickstart file this is built from available? soon to be up on ovirt.org (once v1.0 is out...) Moran. Thanks, Jason change-log -changed wallpapers (thanks Garrett) -oVirt-setup autostart added -oVirt-enigne welcome screen (via firefox) after successful setup -oVirt-setup terminal window stays open after setup (for debug needs) -Disconnected installs - setup works without outside network connection (packages wouldn't be updated by vsdm-bootstrap, yum reinstall vdsm-bootstrap to workaround) -wlan0 support in vdsm enabled (need someone to test it...) ___ 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] Install on USB stick fails
On 10/22/2012 01:25 AM, Alexandre Santos wrote: Hi, I've been using a 8GB USB stick to boot the oVirt Node but with only 8 GB i have no swap and less than 1 GB available for log. I bought a 16 GB but now I can't boot with this one. It gives 2 warnings: dracut Warning: Unable to process initqueue dracut Warning: /dev/mapper/live-rw does not exist Dropping to debug shell. dmesg gives the following info: EXT4-fs (sda2): mounted filessystem without journal. Opts: (null) then those warnings and the boot stops, going to a dracut shell. Any ideas? Alex ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users might be this specific usb dirve. -try to look here: http://forums.fedoraforum.org/showthread.php?t=281692 -you might try the nested virtualization option - described in the wiki[1] [1] http://wiki.ovirt.org/wiki/OVirt_Live Moran. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error creating the first storage domain (NFS)
I reinstalled my system and ran the setup again. This time I configured both my host and the ovirt-engine systems to use nfs3 (it was using nfs4 by default). After getting all of the iptables straightened out (nfs3 apparently ignores the port settings in /etc/sysconfig/nfs and instead looks at /etc/services), I was able to do mounts between the two systems. When I attempt to add the storage domain, I am getting the same error as before (from sanlock.log): 2012-10-23 18:45:16-0500 8418 [979]: s1 lockspace 42c7d146-86e1-403f-97de-1da0dcbf95ec:250:/rhev/data-center/mnt/eos.dcc.mobi:_home_vmstorage/42c7d146-86e1-403f-97de-1da0dcbf95ec/dom_md/ids:0 2012-10-23 18:45:16-0500 8418 [4285]: open error -13 /rhev/data-center/mnt/eos.dcc.mobi:_home_vmstorage/42c7d146-86e1-403f-97de-1da0dcbf95ec/dom_md/ids 2012-10-23 18:45:16-0500 8418 [4285]: s1 open_disk /rhev/data-center/mnt/eos.dcc.mobi:_home_vmstorage/42c7d146-86e1-403f-97de-1da0dcbf95ec/dom_md/ids error -13 It all goes downhill from there. So it doesn't appear to be nfs4 vs nfsv3 related. I can send more logs, but they are pretty much the same as what I sent before. Also, if it wasn't clear from before, I'm running the ovirt-engine on a full fedora 17 system and I am running the host on a minimal fc17 system with the kernel at version 3.3.4-5.fc17 (to avoid the prior nfs hanging issues). Brian On Oct 23, 2012, at 4:38 AM, Vered Volansky wrote: Hi Brian, We'll need your engine host (full) logs at the very least to look into the problem. Can you try it with nfs3 and tell us if it works? Note, more comments in the email body. Regards, Vered - Original Message - From: Brian Vetter bjvet...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 5:06:06 AM Subject: [Users] Error creating the first storage domain (NFS) I have reinstalled my ovirt installation using the nightly builds so that I can try out non-admin REST API access to ovirt. After installing the engine, connecting to my directory system, creating a domain, and adding a host (all successfully), I tried to add my first storage domain (NFS). While creating the storage domain, I get an error at the end along with a couple of events that say: Failed to attach Storage Domains to Data Center DCC. (User: admin@internal) followed by: Failed to attach Storage Domain DCVMStorage to Data Center DCC. (User: admin@internal) I see the following in the engine.log file: 2012-10-22 20:17:57,617 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--127.0.0.1-8009-7) [7d1ffd97] Weird return value: Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 661 mMessage Cannot acquire host id: ('b97019e9-bd43-46d8-afd0-421d6768271b', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) 2012-10-22 20:17:57,619 WARN [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--127.0.0.1-8009-7) [7d1ffd97] Weird return value: Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 661 mMessage Cannot acquire host id: ('b97019e9-bd43-46d8-afd0-421d6768271b', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) 2012-10-22 20:17:57,620 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--127.0.0.1-8009-7) [7d1ffd97] Failed in CreateStoragePoolVDS method 2012-10-22 20:17:57,620 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (ajp--127.0.0.1-8009-7) [7d1ffd97] Error code unexpected and error message VDSGenericException: VDSErrorException: Failed to CreateStoragePoolVDS, error = Cannot acquire host id: ('b97019e9-bd43-46d8-afd0-421d6768271b', SanlockException(19, 'Sanlock lockspace add failure', 'No such device')) On the host where it tried to install from, I see the following in the vdsm.log: Thread-243::INFO::2012-10-22 20:17:56,624::safelease::156::SANLock::(acquireHostId) Acquiring host id for domain b97019e9-bd43-46d8-afd0-421d6768271b (id: 250) Thread-243::ERROR::2012-10-22 20:17:57,628::task::853::TaskManager.Task::(_setError) Task=`1ead54dc-407c-4d0b-96f4-8dc56c74d4cf`::Unexpected error Traceback (most recent call last): File /usr/share/vdsm/storage/task.py, line 861, in _run return fn(*args, **kargs) File /usr/share/vdsm/logUtils.py, line 38, in wrapper res = f(*args, **kwargs) File /usr/share/vdsm/storage/hsm.py, line 790, in createStoragePool return sp.StoragePool(spUUID, self.taskMng).create(poolName, masterDom, domList, masterV ersion, safeLease) File /usr/share/vdsm/storage/sp.py, line 567, in create self._acquireTemporaryClusterLock(msdUUID, safeLease) File /usr/share/vdsm/storage/sp.py, line 508, in _acquireTemporaryClusterLock msd.acquireHostId(self.id) File /usr/share/vdsm/storage/sd.py, line 407, in acquireHostId
Re: [Users] Error creating the first storage domain (NFS)
Hi Brian, I hate progressing by guesses but could you try to disable selinux: # setenforce 0 If that works you could go on, re-enable it and try something more specific: # setenforce 1 # setsebool sanlock_use_nfs on I have the feeling that the vdsm patch setting the sanlock_use_nfs sebool flag didn't made it to fedora 17 yet. -- Federico - Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Tuesday, October 23, 2012 6:10:36 PM Subject: Re: [Users] Error creating the first storage domain (NFS) Ok. Here's four log files: engine.log from my ovirt engine server. vdsm.log from my host sanlock.log from my host messages from my host The errors occur around the 20:17:57 time frame. You might see other errors from either previous attempts or for the time after when I tried to attach the storage domain. It looks like everything starts with an error -13 in sanlock. If the -13 maps to 13/EPERM in errno.h, then it is likely be some kind of permission or other access error. I saw things that were related to the nfs directories not being owned by vdsm:kvm, but that is not the case here. I did see a note online about some issues with sanlock and F17 (which I am running), but those bugs were related to sanlock crashing. Brian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error creating the first storage domain (NFS)
That was the problem. I checked the sanlock_use_nfs boolean and it was off. I set it and then created and attached the storage and it all works. Thanks for the help/pointer. Brian On Oct 23, 2012, at 8:55 PM, Federico Simoncelli wrote: Hi Brian, I hate progressing by guesses but could you try to disable selinux: # setenforce 0 If that works you could go on, re-enable it and try something more specific: # setenforce 1 # setsebool sanlock_use_nfs on I have the feeling that the vdsm patch setting the sanlock_use_nfs sebool flag didn't made it to fedora 17 yet. -- Federico - Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Tuesday, October 23, 2012 6:10:36 PM Subject: Re: [Users] Error creating the first storage domain (NFS) Ok. Here's four log files: engine.log from my ovirt engine server. vdsm.log from my host sanlock.log from my host messages from my host The errors occur around the 20:17:57 time frame. You might see other errors from either previous attempts or for the time after when I tried to attach the storage domain. It looks like everything starts with an error -13 in sanlock. If the -13 maps to 13/EPERM in errno.h, then it is likely be some kind of permission or other access error. I saw things that were related to the nfs directories not being owned by vdsm:kvm, but that is not the case here. I did see a note online about some issues with sanlock and F17 (which I am running), but those bugs were related to sanlock crashing. Brian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] oVirt-Live-0.7.iso - beta version Oct 23th 2012
On 10/24/2012 01:38 AM, Moran Goldboim wrote: On 10/24/2012 12:11 AM, Jason Brooks wrote: On 10/23/2012 02:14 PM, Moran Goldboim wrote: === oVirt-Live-0.7.iso - beta version Oct 23th 2012 === wiki: http://wiki.ovirt.org/wiki/OVirt_Live Download [http://ovirt.org/releases/3.1/tools/oVirt-Live-0.7.iso download oVirt-Live-0.7.iso] Cool, I'll check it out. Might be worth considering making DeltaISOs between releases: https://fedoraproject.org/wiki/Delta_ISOs i'll look into it. 2GB is a big dl, and I imagine there'll be more revs of this. more revs -yes, there are 2 big iso files contained in it: -Fedora-17-x86_64-Live-Desktop.iso -645MB - uses for live os on a vm -ovirt-node-iso-2.5.5-0.1.fc17.iso - 173MB - uses for additional installation of a ovirt-node i think that in the future we can make it more modular. Also, is the kickstart file this is built from available? soon to be up on ovirt.org (once v1.0 is out...) would it make sense as part of ovirt-engine repo, or a separate repo? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error creating the first storage domain (NFS)
- Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Wednesday, October 24, 2012 4:54:11 AM Subject: Re: [Users] Error creating the first storage domain (NFS) That was the problem. I checked the sanlock_use_nfs boolean and it was off. I set it and then created and attached the storage and it all works. Thanks for testing. Do you have a way of verifying a scratch build? http://koji.fedoraproject.org/koji/taskinfo?taskID=4620480 This should fix your problem (on a brand new installation). -- Federico On Oct 23, 2012, at 8:55 PM, Federico Simoncelli wrote: Hi Brian, I hate progressing by guesses but could you try to disable selinux: # setenforce 0 If that works you could go on, re-enable it and try something more specific: # setenforce 1 # setsebool sanlock_use_nfs on I have the feeling that the vdsm patch setting the sanlock_use_nfs sebool flag didn't made it to fedora 17 yet. -- Federico - Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Tuesday, October 23, 2012 6:10:36 PM Subject: Re: [Users] Error creating the first storage domain (NFS) Ok. Here's four log files: engine.log from my ovirt engine server. vdsm.log from my host sanlock.log from my host messages from my host The errors occur around the 20:17:57 time frame. You might see other errors from either previous attempts or for the time after when I tried to attach the storage domain. It looks like everything starts with an error -13 in sanlock. If the -13 maps to 13/EPERM in errno.h, then it is likely be some kind of permission or other access error. I saw things that were related to the nfs directories not being owned by vdsm:kvm, but that is not the case here. I did see a note online about some issues with sanlock and F17 (which I am running), but those bugs were related to sanlock crashing. Brian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] move ovirt vms from one node to other
On 10/24/2012 12:33 AM, Alex Leonhardt wrote: local storage .. sorry, shoud have clarified .. easiest would be to export to an nfs export storage domain and import on the other side from an nfs export storage domain. then there are hacks (until such a feature of importing a single VM/disk from an existing storage domain is available[1]) [1] http://wiki.ovirt.org/wiki/Features/Orphaned_Images and/or http://wiki.ovirt.org/wiki/Features/Domain_Scan On 10/23/2012 10:10 PM, Nicholas Kesick wrote: Date: Tue, 23 Oct 2012 22:00:00 +0100 From: alex.t...@gmail.com To: users@ovirt.org Subject: [Users] move ovirt vms from one node to other hi, i was wondering how it'd be possible to move a existing VM (ovirt kvm vm) from one Ovirt node to another ?? Is it just a matter of copying the directory to the other node and restarting ovirt ?? i'd imagine that the DB would be out of date - is it scanning the ovirt directories for existing hosts during start and fill in the DB with their details -or- would I have to create new VMs and copy over the existing disks ?? better yet, is there a way to backup the ovirt mgmt host configuration and restore it to a different host? alex Are you using local storage on your nodes to store the vm disks, or a shared storage? ___ 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 mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error creating the first storage domain (NFS)
Ugh. Spoke a little too soon. While I got past my problem creating a storage domain, I ran into a new sanlock issue. When trying to run a VM (the first one so I can create a template), I get an error in the admin UI: VM DCC4.0 is down. Exit message: Failed to acquire lock: Permission denied. The sanlock.log file shows the following: 2012-10-23 22:32:02-0500 22023 [981]: s3:r3 resource 8798edc0-dbd2-466d-8be9-1997f63e196f:71252c8f-68a9-495f-b5a6-4e8e035b56ea:/rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease:0 for 2,11,14629 2012-10-23 22:32:02-0500 22023 [981]: open error -13 /rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease 2012-10-23 22:32:02-0500 22023 [981]: r3 acquire_token open error -13 2012-10-23 22:32:02-0500 22023 [981]: r3 cmd_acquire 2,11,14629 acquire_token -13 I looked at the lease file referenced above, and it is there. [root@mech ~]# ls -l /rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease -rw-rw. 1 vdsm kvm 1048576 Oct 23 22:30 /rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease On a lark, I turned off selinux enforcement and tried it again. It worked just fine. So what selinux option do I need to enable to get it to work? The only other sanlock specific settings I saw are: sanlock_use_fusefs -- off sanlock_use_nfs -- on sanlock_use_samba -- off Do I turn these all on or is there some other setting I need to enable? Brian On Oct 23, 2012, at 9:54 PM, Brian Vetter wrote: That was the problem. I checked the sanlock_use_nfs boolean and it was off. I set it and then created and attached the storage and it all works. Thanks for the help/pointer. Brian On Oct 23, 2012, at 8:55 PM, Federico Simoncelli wrote: Hi Brian, I hate progressing by guesses but could you try to disable selinux: # setenforce 0 If that works you could go on, re-enable it and try something more specific: # setenforce 1 # setsebool sanlock_use_nfs on I have the feeling that the vdsm patch setting the sanlock_use_nfs sebool flag didn't made it to fedora 17 yet. -- Federico - Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Tuesday, October 23, 2012 6:10:36 PM Subject: Re: [Users] Error creating the first storage domain (NFS) Ok. Here's four log files: engine.log from my ovirt engine server. vdsm.log from my host sanlock.log from my host messages from my host The errors occur around the 20:17:57 time frame. You might see other errors from either previous attempts or for the time after when I tried to attach the storage domain. It looks like everything starts with an error -13 in sanlock. If the -13 maps to 13/EPERM in errno.h, then it is likely be some kind of permission or other access error. I saw things that were related to the nfs directories not being owned by vdsm:kvm, but that is not the case here. I did see a note online about some issues with sanlock and F17 (which I am running), but those bugs were related to sanlock crashing. Brian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Error creating the first storage domain (NFS)
- Original Message - From: Brian Vetter bjvet...@gmail.com To: Federico Simoncelli fsimo...@redhat.com Cc: Vered Volansky ve...@redhat.com, users@ovirt.org, David Teigland teigl...@redhat.com Sent: Wednesday, October 24, 2012 5:48:21 AM Subject: Re: [Users] Error creating the first storage domain (NFS) Ugh. Spoke a little too soon. While I got past my problem creating a storage domain, I ran into a new sanlock issue. When trying to run a VM (the first one so I can create a template), I get an error in the admin UI: VM DCC4.0 is down. Exit message: Failed to acquire lock: Permission denied. On a lark, I turned off selinux enforcement and tried it again. It worked just fine. So what selinux option do I need to enable to get it to work? The only other sanlock specific settings I saw are: sanlock_use_fusefs -- off sanlock_use_nfs -- on sanlock_use_samba -- off Do I turn these all on or is there some other setting I need to enable? No for nfs you just need sanlock_use_nfs. I'd say that if you could verify the scratch build that I prepared at: http://koji.fedoraproject.org/koji/taskinfo?taskID=4620480 (up until starting a vm), then all the new selinux errors/messages that you see in the audit log (/var/log/audit/audit.log) are issues that should be reported to the selinux-policy package. -- Federico ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] internet explorer 9
On 10/23/2012 02:20 PM, Cristian Falcas wrote: The installation is from the nightly builds, so I'll just use firefox. I don't see a reason nightly builds won't include all permutations (and all languages, while at it[1]?) ofer/mike/moran - thoughts? thanks, Itamar [1] http://gerrit.ovirt.org/#/c/8312/ and http://gerrit.ovirt.org/#/c/8579/ Thank you. On Tue, Oct 23, 2012 at 3:18 PM, Daniel Erez de...@redhat.com wrote: - Original Message - From: Cristian Falcas cristi.fal...@gmail.com To: users@ovirt.org Sent: Tuesday, October 23, 2012 1:46:01 PM Subject: [Users] internet explorer 9 Hi, Does anybody know why I can't see anything in IE9? This is from a Windows 7 machine. The menus appear, the pages change when I click them, but nothing is displayed (see attached screenshot). Best regards, It looks like IE9 permutation of the WebAdmin hasn't been compiled. Try building with the following: mvn clean install -Pgwt-admin -Dgwt.userAgent=ie9 Daniel ___ 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 mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] SELinux policy issue with oVirt/sanlock
I get the following AVC msg when trying to run a VM from the ovirt admin tool: type=AVC msg=audit(1351051834.851:720): avc: denied { read } for pid=979 comm=sanlock name=8798edc0-dbd2-466d-8be9-1997f63e196f dev=dm-4 ino=3145737 scontext=system_u:system_r:sanlock_t:s0-s0:c0.c1023 tcontext=system_u:object_r:mnt_t:s0 tclass=lnk_file The file it is attempting to read I believe (from the sanlock.log file) is the following: # ls -lZ /rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease -rw-rw. vdsm kvm system_u:object_r:nfs_t:s0 /rhev/data-center/a8ea368c-bc08-4e10-81e7-c8439bf7bd35/8798edc0-dbd2-466d-8be9-1997f63e196f/images/b029b5a6-9eb3-4a34-ad03-1ac4386e8c7c/71252c8f-68a9-495f-b5a6-4e8e035b56ea.lease I'm no SELinux policy expert, so I 'm not sure what is exactly wrong. The situation is that the VM image file is stored on an NFS file server (in this case, configured using NFSv3). Both the client and the server are fc17. The error occurs when trying to start the VM. The version of oVirt I am using is a recent nightly build (ovirt-engine - 3.1.0-3.1345126685.git7649eed.fc17). I'd be making a wild guess that the sanlock process doesn't have rights to open some nfs resources but I'm way over the end of my skis. Brian ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users