[Users] HowTo: Spice ActiveX Plugin/Virt Viewer Console on oVirt 3.1
by Dead Horse
I have seen this question asked many times on this list and the spice-devel
list. Now having figured out how to make it work I will provide the answer
to the rest of the community.
*NOTE* this only applies to Windows/Internet Explorer users. There exists
no other option other than the html5 spice console (still beta/in
development) for windows users ATM. This will also only work with Internet
Explorer.
Basic Steps:
- Install an oVirt server.
- Add at least one node
- Setup storage/iso/export domains
Advanced steps
- Start by downloading: http://elmarco.fedorapeople.org/spice.cab
- Create a directory for it oVirt looks by default in /usr/share/spice
- Rename spice.cab to SpiceX.cab and copy it into /usr/share/spice
- Now edit /usr/share/ovirt-engine/engine.ear/root.war/WEB-INF and add the
following:
<!-- SpiceX.cab -->
<servlet>
<servlet-name>SpiceX.cab</servlet-name>
<servlet-class>org.ovirt.engine.core.FileServlet</servlet-class>
<init-param>
<param-name>type</param-name>
<param-value>application/octet-stream</param-value>
</init-param>
<init-param>
<param-name>file</param-name>
<param-value>/usr/share/spice/SpiceX.cab</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>SpiceX.cab</servlet-name>
<url-pattern>/spice/SpiceX.cab</url-pattern>
</servlet-mapping>
- Next create an html file within
/usr/share/ovirt-engine/engine.ear/root.war
- In the example below an html file called "spice.html"
- Copy/Paste the below into spice.html:
<!DOCTYPE html>
<html>
<head>
<title>SPICE Plugin Installer</title>
<script type="text/javascript">
function installSpice()
{
try {
document.getElementById('SpiceX').innerHTML = '<OBJECT id="SpiceX"
codebase="/spice/SpiceX.cab"
classid="clsid:ACD6D89C-938D-49B4-8E81-DDBD13F4B48A" width="0"
height="0"></OBJECT>';
} catch (ex) {
alert("Epic Fail!: " + ex.Description);
}
}
</script>
</head>
<body>
<p>
<p><b id='SpiceX'>Spice ActiveX Plugin</b> </p>
<button onclick='installSpice()'>Install Spice Plugin</button>
</p>
</body>
</html>
- Save the file
- You will now need to restart the ovirt-engine service EG: systemctl
restart ovirt-engine.service OR service ovirt-engine restart
- The installer page will now be available at http://<url to ovirt
server>/spice.html EX: http://ovirt.azeroth.net/spice.html
- Navigate to that page and click the install button
- IE will prompt you to deploy/install the SpiceX cabinet file
- It may gripe about an unsigned or untrusted source, acknowledge this an
proceed anyways
- If the install succeeds the text "Spice ActiveX Plugin" on the page will
change to blank (it's actually the plugin with null values)
- The console button in the user and webadmin portals will now launch the
new virt-viwer spice based console!
Happy Spice Consoling to your VM's from Windows!
*NOTE*
To uninstall the plugin:
- The below removes the add-on from IE (EG: removes knowledge of
"application/x-spice")
- pop a command terminal and type:
On Windows XP: regsvr32 /u "C:\Documents and Settings\Administrator\Local
Settings\Application Data\virt-viewer\bin\SpiceX.dll"
On Windows 7 regsvr32 /u C:\Documents and Settings\Administrator\Local
Settings\AppData\virt-viewer\bin\SpiceX.dll"
- Next we need to remove the rest of virt-viewer
- Go to add/remove programs and uninstall virt-viewer, this removes the
rest of virt-viewer from the system
11 years, 8 months
[Users] OpenLDAP Simple Authentication in Ovirt Engine
by Thierry Kauffmann
>> Hi,
>>
>> I am currently testing Ovirt 3.1 standalone on Fedora 17.
>>
>> Until now, I could only use the default user admin@internal.
>>
>> Our Directory at the University is OpenLDAP. We use it for authentication
>> WITHOUT Kerberos : Simple authentication.
>>
>> I wonder how to use this backend to authenticate users and manage groups
>> in Ovirt.
>>
>> Has anyone already set this up ?
>> How to configure Ovirt to use Simple Authentication (No Kerberos).
>>
>> Cheers,
>>
>> --
>> Thierry Kauffmann
>> Chef du Service Informatique // Facult? des Sciences // Universit? de
>> Montpellier 2
>>
>> [image: SIF - Service Informatique de la Facult? des Sciences]<http://sif.info-ufr.univ-montp2.fr/> [image:
>> UM2 - Universit? de Montpellier 2] <http://www.univ-montp2.fr/> Service
>> informatique de la Facult? des Sciences (SIF)
>> Universit? de Montpellier 2
>> CC437 // Place Eug?ne Bataillon // 34095 Montpellier Cedex 5
>>
>> T?l : 04 67 14 31 58
>> email : thierry.kauffmann(a)univ-montp2.fr
>> web : http://sif.info-ufr.univ-montp2.fr/
>> http://www.fdsweb.univ-montp2.fr/
>>
>> _______________________________________________
>> Users mailing list
>> Users(a)ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
> Hi,
>
> This is a response from an older thread from Yair Zaslavsky:
>
> " there is no code allowing to add simple-authentication domains to
> Manage-Domains.
> In the past we did have the ability to do that, but there are several
> problematic issues."
>
> Best regards,
Hi,
correct-me if I am wrong but this wiki page
(http://www.ovirt.org/DomainInfrastructure) states clearly :
> 1. Authenticating Active Directory, IPA and RHDS using either simple
> or gssapi authentication
> 2. Querying the directory using the LDAP protocol
> 3. Auto deducing the LDAP provider type
> 4. Easily adding new LDAP provider types
> 5. Easily adding new query types
>
So what ?
--
signature-TK Thierry Kauffmann
Chef du Service Informatique // Faculté des Sciences // Université de
Montpellier 2
SIF - Service Informatique de la Faculté des Sciences
<http://sif.info-ufr.univ-montp2.fr/> UM2 - Université de Montpellier 2
<http://www.univ-montp2.fr/> Service informatique de la Faculté des
Sciences (SIF)
Université de Montpellier 2
CC437 // Place Eugène Bataillon // 34095 Montpellier Cedex 5
Tél : 04 67 14 31 58
email : thierry.kauffmann(a)univ-montp2.fr
<mailto:thierry.kauffmann@univ-montp2.fr>
web : http://sif.info-ufr.univ-montp2.fr/
http://www.fdsweb.univ-montp2.fr/
11 years, 8 months
[Users] vnic : add a custom properties and use it in vdsm_hook
by Benoit ML
Hello Evrybody,
Is there a way to add custom properties for a nic ? and use it in vdsm_hooks ?
The objectife is to redefine some network parameters of a vnic at the
vm boot ... (such per vnic bandwitchs, per vnic vlan, and so on) and
maybe use openvswitch ...
Thank you in advance
--
--
Benoit
11 years, 10 months
[Users] F18 AIO with nightly build I don't find ISO domain
by Gianluca Cecchi
Hello,
during AIO install with
ovirt-engine-setup-3.2.0-1.20121217.git1e01c00.fc18.noarch
I specified ISO domain not accepting default but setting /ISO
Host correctly activated but no ISO domain found.
I can see:
[g.cecchi@f18aio ~]$ cat /etc/exports
/ISO 0.0.0.0/0.0.0.0(rw) #rhev installer
[g.cecchi@f18aio ~]$ sudo exportfs -v
/ISO 0.0.0.0/0.0.0.0(rw,wdelay,root_squash,no_subtree_check)
I cannot add the domain because I get:
Error while executing action New Local Storage Domain: Error in creating a
Storage Domain. The selected storage path is not empty (probably contains
another Storage Domain). Either remove the existing Storage Domain from
this path, or change the Storage path).
I cannot import that domain because if I specify:
Domain Function / Storage Type : ISO/NFS
Use Host : local_host
Export Path : f18aio:/ISO
I get
There is no storage domain under the specified path. Check event log for
more details.
In messages:
Dec 20 12:33:03 f18aio rpc.mountd[1576]: authenticated mount request from
192.168.122.160:871 for /ISO (/ISO)
Dec 20 12:33:05 f18aio kernel: [ 4748.963964] ata1: soft resetting link
Dec 20 12:33:05 f18aio kernel: [ 4749.115677] ata1: EH complete
Dec 20 12:33:06 f18aio kernel: [ 4749.966412] ata2: soft resetting link
Dec 20 12:33:06 f18aio kernel: [ 4750.120449] ata2.00: configured for MWDMA2
Dec 20 12:33:06 f18aio kernel: [ 4750.120952] ata2: EH complete
Dec 20 12:33:08 f18aio kernel: [ 4752.177808] ata1: soft resetting link
Dec 20 12:33:08 f18aio kernel: [ 4752.330692] ata1: EH complete
Dec 20 12:33:09 f18aio kernel: [ 4753.183308] ata2: soft resetting link
Dec 20 12:33:09 f18aio kernel: [ 4753.337768] ata2.00: configured for MWDMA2
Dec 20 12:33:09 f18aio kernel: [ 4753.338555] ata2: EH complete
In engine.log
2012-12-20 12:33:03,939 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
(ajp--127.0.0.1-8702-2) [73e31316] START,
ValidateStorageServerConnectionVDSCommand(HostName = local_host, HostId =
6ae6e471-d46b-48f5-8b0f-6f5cc20b251e, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList =
[{ id: null, connection: f18aio:/ISO, iqn: null, vfsType: null,
mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null
};]), log id: f20d993
2012-12-20 12:33:03,944 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ValidateStorageServerConnectionVDSCommand]
(ajp--127.0.0.1-8702-2) [73e31316] FINISH,
ValidateStorageServerConnectionVDSCommand, return:
{00000000-0000-0000-0000-000000000000=0}, log id: f20d993
2012-12-20 12:33:03,952 INFO
[org.ovirt.engine.core.bll.storage.AddStorageServerConnectionCommand]
(ajp--127.0.0.1-8702-2) [73e31316] Running command:
AddStorageServerConnectionCommand internal: false. Entities affected : ID:
aaa00000-0000-0000-0000-123456789aaa Type: System
2012-12-20 12:33:03,954 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-2) [73e31316] START,
ConnectStorageServerVDSCommand(HostName = local_host, HostId =
6ae6e471-d46b-48f5-8b0f-6f5cc20b251e, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList =
[{ id: 309f07eb-ae33-4892-9415-a21c774a89e2, connection: f18aio:/ISO, iqn:
null, vfsType: null, mountOptions: null, nfsVersion: null, nfsRetrans:
null, nfsTimeo: null };]), log id: 3255e846
2012-12-20 12:33:03,996 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.ConnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-2) [73e31316] FINISH, ConnectStorageServerVDSCommand,
return: {309f07eb-ae33-4892-9415-a21c774a89e2=0}, log id: 3255e846
2012-12-20 12:33:04,021 INFO
[org.ovirt.engine.core.bll.storage.GetExistingStorageDomainListQuery]
(ajp--127.0.0.1-8702-2) START,
GetExistingStorageDomainListQuery(org.ovirt.engine.core.common.queries.GetExistingStorageDomainListParameters@705c0fb1),
log id: 6e3f186a
2012-12-20 12:33:04,024 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainsListVDSCommand]
(ajp--127.0.0.1-8702-2) START, HSMGetStorageDomainsListVDSCommand(HostName
= local_host, HostId = 6ae6e471-d46b-48f5-8b0f-6f5cc20b251e,
storagePoolId=00000000-0000-0000-0000-000000000000, storageType=NFS,
storageDomainType=ISO, path=f18aio:/ISO), log id: 1eb50b8c
2012-12-20 12:33:07,156 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetStorageDomainsListVDSCommand]
(ajp--127.0.0.1-8702-2) FINISH, HSMGetStorageDomainsListVDSCommand, return:
[52f15c20-82ef-4fe6-8609-9d43fa6ce72d], log id: 1eb50b8c
2012-12-20 12:33:07,163 INFO
[org.ovirt.engine.core.bll.storage.GetExistingStorageDomainListQuery]
(ajp--127.0.0.1-8702-2) FINISH, GetExistingStorageDomainListQuery, log id:
6e3f186a
2012-12-20 12:33:07,207 INFO
[org.ovirt.engine.core.bll.storage.RemoveStorageServerConnectionCommand]
(ajp--127.0.0.1-8702-2) [a59e1de] Running command:
RemoveStorageServerConnectionCommand internal: false. Entities affected :
ID: aaa00000-0000-0000-0000-123456789aaa Type: System
2012-12-20 12:33:07,211 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-2) [a59e1de] START,
DisconnectStorageServerVDSCommand(HostName = local_host, HostId =
6ae6e471-d46b-48f5-8b0f-6f5cc20b251e, storagePoolId =
00000000-0000-0000-0000-000000000000, storageType = NFS, connectionList =
[{ id: null, connection: f18aio:/ISO, iqn: null, vfsType: null,
mountOptions: null, nfsVersion: null, nfsRetrans: null, nfsTimeo: null
};]), log id: 68961755
2012-12-20 12:33:10,326 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.DisconnectStorageServerVDSCommand]
(ajp--127.0.0.1-8702-2) [a59e1de] FINISH,
DisconnectStorageServerVDSCommand, return:
{00000000-0000-0000-0000-000000000000=0}, log id: 68961755
2012-12-20 12:33:12,729 INFO [org.ovirt.engine.core.bll.LoginUserCommand]
(ajp--127.0.0.1-8702-2) Checking if user admin@internal is an admin, result
true
2012-12-20 12:33:12,729 INFO [org.ovirt.engine.core.bll.LoginUserCommand]
(ajp--127.0.0.1-8702-2) Running command: LoginUserCommand internal: false.
2012-12-20 12:33:12,739 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--127.0.0.1-8702-2) calling GetConfigurationValueQuery
(ApplicationMode) with null version, using default general for version
2012-12-20 12:33:12,740 WARN
[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
(ajp--127.0.0.1-8702-2) calling GetConfigurationValueQuery (VdcVersion)
with null version, using default general for version
Thanks,
Gianluca
11 years, 11 months
[Users] Ovirt Node rebooting +/- every 10 days
by EricD
I have oVirt 3.1 with two nodes, one of them is running good without
restarting the other keep restarting, the maximum uptime that the server
can get is 10 days before it restart, I think that it might be something
related to the disk.
FYI, the disk are 2 disk of 1TB (RAID-0) to get 2TB.
# /var/log/messages
Dec 21 05:28:44 hypervisor01a ntpd[945]: 0.0.0.0 c61c 0c clock_step
+17997.588918 s
Dec 21 05:28:44 hypervisor01a ntpd[945]: 0.0.0.0 c614 04 freq_mode
Dec 21 05:28:45 hypervisor01a kdump: No crashkernel parameter specified for
running kernel
Dec 21 05:28:45 hypervisor01a kdumpctl[1366]: Starting kdump:
Dec 21 05:28:45 hypervisor01a kdump: failed to start up
Dec 21 05:28:45 hypervisor01a systemd[1]: kdump.service: main process
exited, code=exited, status=1
Dec 21 05:28:45 hypervisor01a systemd[1]: Unit kdump.service entered failed
state.
Dec 21 05:28:45 hypervisor01a systemd[1]: Startup finished in 888ms 157us
(kernel) + 2s 521ms 289us (initrd) + 15s 577ms 672us (userspace) = 18s
987ms 118us.
Dec 21 05:28:45 hypervisor01a ntpd[945]: 0.0.0.0 c618 08 no_sys_peer
Dec 21 05:29:04 hypervisor01a vdsm TaskManager.Task ERROR
Task=`5f51ff52-f9a4-4854-a41d-d5d33c872458`::Unexpected error
Dec 21 05:29:04 hypervisor01a vdsm Storage.Dispatcher.Protect ERROR
{'status': {'message': "Unknown pool id, pool not connected:
('dbb49db6-9a24-4395-a8bd-c9f222eaecab',)", 'code': 309}}
Dec 21 05:29:04 hypervisor01a vdsm TaskManager.Task ERROR
Task=`7b0cf3b0-6d26-4421-a221-29f2ecaaeb1f`::Unexpected error
Dec 21 05:29:04 hypervisor01a vdsm Storage.Dispatcher.Protect ERROR
{'status': {'message': "Unknown pool id, pool not connected:
('dbb49db6-9a24-4395-a8bd-c9f222eaecab',)", 'code': 309}}
Dec 21 05:29:04 hypervisor01a kernel: [ 37.944421] ata1: hard resetting
link
Dec 21 05:29:04 hypervisor01a kernel: [ 38.247979] ata1: SATA link up 3.0
Gbps (SStatus 123 SControl 300)
Dec 21 05:29:04 hypervisor01a kernel: [ 38.248802] ata1.00: configured
for UDMA/133
Dec 21 05:29:04 hypervisor01a kernel: [ 38.248807] ata1: EH complete
Dec 21 05:29:04 hypervisor01a kernel: [ 38.249013] ata2: hard resetting
link
Dec 21 05:29:04 hypervisor01a kernel: [ 38.553112] ata2: SATA link up 3.0
Gbps (SStatus 123 SControl 300)
Dec 21 05:29:04 hypervisor01a kernel: [ 38.553881] ata2.00: configured
for UDMA/133
Dec 21 05:29:04 hypervisor01a kernel: [ 38.553886] ata2: EH complete
Dec 21 05:29:04 hypervisor01a kernel: [ 38.554064] ata3: hard resetting
link
Dec 21 05:29:05 hypervisor01a kernel: [ 38.858275] ata3: SATA link up 3.0
Gbps (SStatus 123 SControl 300)
Dec 21 05:29:05 hypervisor01a kernel: [ 38.861154] ata3.00: configured
for UDMA/133
Dec 21 05:29:05 hypervisor01a kernel: [ 38.861159] ata3: EH complete
Dec 21 05:29:05 hypervisor01a kernel: [ 38.861352] ata4: hard resetting
link
Dec 21 05:29:05 hypervisor01a kernel: [ 39.165397] ata4: SATA link up 3.0
Gbps (SStatus 123 SControl 300)
Dec 21 05:29:05 hypervisor01a kernel: [ 39.168223] ata4.00: configured
for UDMA/133
Dec 21 05:29:05 hypervisor01a kernel: [ 39.168229] ata4: EH complete
Dec 21 05:29:05 hypervisor01a kernel: [ 39.168421] ata5: hard resetting
link
Dec 21 05:29:05 hypervisor01a kernel: [ 39.472459] ata5: SATA link up 1.5
Gbps (SStatus 113 SControl 300)
Dec 21 05:29:05 hypervisor01a kernel: [ 39.480040] ata5.00: configured
for UDMA/100
Dec 21 05:29:05 hypervisor01a kernel: [ 39.485478] ata5: EH complete
Dec 21 05:29:05 hypervisor01a kernel: [ 39.485642] ata6: limiting SATA
link speed to 1.5 Gbps
Dec 21 05:29:05 hypervisor01a kernel: [ 39.485647] ata6: hard resetting
link
Dec 21 05:29:06 hypervisor01a kernel: [ 39.790610] ata6: SATA link down
(SStatus 0 SControl 310)
# RAID-0
mdadm --detail /dev/md127
/dev/md127:
Version : 1.2
Creation Time : Sun Nov 18 14:47:15 2012
Raid Level : raid0
Array Size : 1953524736 (1863.03 GiB 2000.41 GB)
Raid Devices : 2
Total Devices : 2
Persistence : Superblock is persistent
Update Time : Sun Nov 18 14:47:15 2012
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0
Chunk Size : 512K
Name : hypervisor01-a:0 (local to host hypervisor01-a)
UUID : 9eb1324d:57eed46d:c23ae815:0666e238
Events : 0
Number Major Minor RaidDevice State
0 253 2 0 active sync /dev/dm-2
1 253 3 1 active sync /dev/dm-3
11 years, 11 months
[Users] ovirt-shell bug ?
by Alex Leonhardt
Hi,
am trying to use .ovirtshellrc with a set user, pass and url, however, I
keep getting this instead:
error: invalid literal for int() with base 10: ''
and I remain disconnected. Using the same url and creds to connect manually
works - is it a bug or just some setting ?
Alex
11 years, 11 months
[Users] ovirt-shell, action vm vmhost start issue ?
by Alex Leonhardt
Hi,
am trying to start a VM with special kernel and initrd options :
[oVirt shell (connected)]# action vm cent6 start --vm-os-kernel
"/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/vmlinuz"
--vm-os-initRd
"/var/www/html/repo/centos/6/os/x86_64/images/pxeboot/initrd.img"
--vm-os-boot "{ip=x.x.x.x;netmask=x.x.x.x;gateway=x.x.x.x;dns=x.x.x.x}"
However, I keep getting this back :
error: "initRd" is invalid argument segment.
Eventhough, the help says that it's a valid command option :
ATTRIBUTE OPTIONS
The following attribute options are understood. Note: this lists all
available attribute options for action 'start'.
[--vm-os-initRd: string]
[--vm-domain-name: string]
[--vm-placement_policy-host-id|name: string]
[--vm-placement_policy-affinity: string]
[--async: boolean]
[--vm-os-kernel: string]
[--grace_period-expiry: long]
[--vm-display-type: string]
[--vm-stateless: boolean]
[--vm-os-cmdline: string]
[--vm-domain-user-username: string]
[--pause: boolean]
[--vm-os-boot: collection]
{
[boot.dev: string]
}
[--vm-domain-user-password: string]
[--correlation_id: anystring]
Alex
11 years, 11 months
[Users] Bug in ovirt-deploy script
by Joop
I think I found a bug in a module of the ovirt-host-deploy script.
I'm (still) using F17 with the latest nightly being:
rpm -aq | grep ovirt
ovirt-engine-cli-3.2.0.7-1.20121217.git5eddf58.fc17.noarch
ovirt-engine-dbscripts-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-iso-uploader-3.1.0-1.fc17.noarch
ovirt-engine-userportal-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-setup-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-tools-common-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-backend-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-host-deploy-0.0.0-0.0.master.20121219.git817103d.fc17.noarch
ovirt-engine-sdk-3.2.0.5-1.20121217.gitc0ab704.fc17.noarch
ovirt-engine-restapi-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-genericapi-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-config-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-engine-webadmin-portal-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-host-deploy-java-0.0.0-0.0.master.20121219.git817103d.fc17.noarch
ovirt-engine-notification-service-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-release-fedora-5-2.noarch
ovirt-image-uploader-3.1.0-1.fc17.noarch
ovirt-engine-3.2.0-1.20121219.gitcd0d2cc.fc17.noarch
ovirt-log-collector-3.1.0-1.fc17.noarch
I'm using a Cluster with the Gluster bit checked and when adding that host
it errors out with a rather annoying error: package 'v' not found.
Turns out that the last line of
Mgmt01/usr/share/ovirt-host-deploy/plugins/ovirt-host-deploy/gluster/packages.py
is wrong, there is a ',' missing. I changed it to:
def _packages(self):
self.packager.installUpdate(('vdsm-gluster',))
And when I now try to deploy my host in the gluster Cluster it tries to
install vdsm-gluster package and dependancies.
It now fails in /usr/share/vdsm/addNetwork where it complaines about
ConfigNetworkError: (21, 'Both PREFIX and NETMASK supplied')
This host has already been an ovirt installed host.
I could for testing remove all traces of ovirt but I have another host
where I tried that and now it stops its networking when vdsmd starts ;-(
Went ahead and removed PREFIX and reran deploy. The bridge ovirtmgmt is
correctly created BUT there is an error in the log:
INFO:root:Adding network ovirtmgmt with vlan=, bonding=, nics=['em1'],
bondingOptions=None, mtu=None, bridged=True, options={'blockingdhcp':
'true', 'UUID': 'e121a99a-994e-479d-8de1-a56c14315545', 'USERCTL': 'no',
'DNS2': '172.19.1.18', 'DNS1': '172.19.1.12', 'bootproto': 'none',
'onboot': 'yes', 'IPV6INIT': 'no'}
libvir: Network Driver error : Network not found: no network with matching
name 'vdsm-ovirtmgmt'
libvir: Network Driver error : Network not found: no network with matching
name 'vdsm-ovirtmgmt'
libvir: Network Driver error : Requested operation is not valid: cannot
set autostart for transient network
Looking at /etc/libvirt/qemu/networks/* shows indeed there are references
to vdsm-ovirtmgt.
Maybe this is because I'm also using fedora-virt-preview-repo because the
nightlies need a newer libvirt.
Let me know if a slightly lower version of libvirt will fix this.
Joop
11 years, 11 months