Just for info: ovirt-guest-agent on Debian 8 Jessie is buggy.
by Arman Khalatyan
The current debian has an bug the python script does not have exec
flag so daemon shows as running but it does nothing. to fix it simply:
chmod +x /usr/share/ovirt-guest-agent/ovirt-guest-agent.py
systemctl restart ovirt-guest-agent
***********************************************************
Dr. Arman Khalatyan eScience -SuperComputing
Leibniz-Institut für Astrophysik Potsdam (AIP)
An der Sternwarte 16, 14482 Potsdam, Germany
***********************************************************
9 years, 6 months
Re: [ovirt-users] DWH remove
by Yedidyah Bar David
----- Original Message -----
> From: "Michael Wagenknecht" <wagenknecht(a)fuh-e.de>
> To: "Yedidyah Bar David" <didi(a)redhat.com>
> Sent: Tuesday, June 16, 2015 8:58:47 AM
> Subject: Re: [ovirt-users] DWH remove
>
> Hi Didi,
> thank you very much for the quick response.
> A small report from my side: After doing your instructions I get some
> error messages from engine-backup.
> I have to remove the folders /var/lib/ovirt-engine-reports,
> /var/lib/ovirt-engine-dwh, /etc/ovirt-engine-reports and
> /etc/ovirt-engine-dwh manually. Then engine-backup works again.
> Otherwise nothing has struck me.
Thanks for the report!
I'll update the wiki page about migration.
Best,
>
> Best Regards,
> Michael
>
>
> Am 14.06.2015 um 07:40 schrieb Yedidyah Bar David:
> > ----- Original Message -----
> >> From: "Michael Wagenknecht" <wagenknecht(a)fuh-e.de>
> >> To: "Users" <users(a)ovirt.org>
> >> Sent: Friday, June 12, 2015 2:15:23 PM
> >> Subject: [ovirt-users] DWH remove
> >>
> >> Hi all,
> >> how can I safely remove the DWH extension in ovirt 3.5.1?
> >
> > This depends on how "safely" you want this...
> >
> > Just stopping the services and removing the packages should be enough.
> >
> > I didn't verify what happens if you e.g. later try to run 'engine-cleanup'
> > (How will it react when trying to remove them?) or re-install (will they
> > behave as if already setup?) etc.
> >
> > You can/might then also remove the databases from postgres, e.g.
> >
> > # su - postgres
> > psql
> > drop database ovirt_engine_history;
> > drop database ovirt_engine_reports;
> >
> >> Is there a howto?
> >
> > Not for this per-se, but [1] shows how to migrate them to another machine.
> >
> > We also have open bugs [2][3] to do this more cleanly, but they'll require
> > some more work, and it currently does not seem they'll make it to 3.6.
> >
> > [1] http://www.ovirt.org/Features/Migration_of_local_DWH_Reports_to_remote
> > [2] https://bugzilla.redhat.com/show_bug.cgi?id=1060529
> > [3] https://bugzilla.redhat.com/show_bug.cgi?id=1169695
> >
> > Best,
> >
>
--
Didi
9 years, 6 months
Import Storage Domain 3.5 Error
by Tang Jackson
--_000_HK2PR03MB08200834250ECB842629B7DC9CBD0HK2PR03MB0820apcp_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,
I have a SAN appliance with a large amount of data including VMs/Templates/=
Disks mounted via NFS. When I tried to attach the storage domain to a fres=
h ovirt cluster the following occurs
2015-06-10 18:35:58,739 INFO [org.ovirt.engine.core.bll.ImportVmFromConfig=
urationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] Lock Acquired to object =
EngineLock [exclusiveLocks=3D key: AI_Database value: VM_NAME
, sharedLocks=3D key: 765ab10e-2283-465a-919a-fce70d877220 value: REMOTE_VM
]
2015-06-10 18:35:58,741 WARN [org.ovirt.engine.core.bll.ImportVmFromConfig=
urationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] CanDoAction of action Im=
portVmFromConfiguration failed for user admin@internal. Reasons: VAR__ACTIO=
N__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_STORAGE_DOMAIN_NOT_EXIST
2015-06-10 18:35:58,743 INFO [org.ovirt.engine.core.bll.ImportVmFromConfig=
urationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] Lock freed to object Eng=
ineLock [exclusiveLocks=3D key: AI_Database value: VM_NAME
, sharedLocks=3D key: 765ab10e-2283-465a-919a-fce70d877220 value: REMOTE_VM
]
The error appears on the GUI as Storage Domain does not exist.
All templates are OK.
Some VMs could be imported but most of them produce the error message above=
.
The procedure followed was http://www.ovirt.org/Features/ImportStorageDomai=
n.
--_000_HK2PR03MB08200834250ECB842629B7DC9CBD0HK2PR03MB0820apcp_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
@font-face
{font-family:"MS Gothic";
panose-1:2 11 6 9 7 2 5 8 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0mm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Arial","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Arial","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Arial","sans-serif";}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:99.25pt 30.0mm 30.0mm 30.0mm;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026">
<v:textbox inset=3D"5.85pt,.7pt,5.85pt,.7pt" />
</o:shapedefaults></xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"JA" link=3D"blue" vlink=3D"purple" style=3D"text-justify-trim=
:punctuation">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">Hell=
o,<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">I ha=
ve a SAN appliance with a large amount of data including VMs/Templates/Disk=
s mounted via NFS. When I tried to attach the storage domain to a fre=
sh ovirt cluster the following occurs<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">2015=
-06-10 18:35:58,739 INFO [org.ovirt.engine.core.bll.ImportVmFromConfi=
gurationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] Lock Acquired to object=
EngineLock [exclusiveLocks=3D key: AI_Database
value: VM_NAME<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">, sh=
aredLocks=3D key: 765ab10e-2283-465a-919a-fce70d877220 value: REMOTE_VM<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">]<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">2015=
-06-10 18:35:58,741 WARN [org.ovirt.engine.core.bll.ImportVmFromConfi=
gurationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] CanDoAction of action I=
mportVmFromConfiguration failed for user admin@internal.
Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_STORAGE_DOMA=
IN_NOT_EXIST<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">2015=
-06-10 18:35:58,743 INFO [org.ovirt.engine.core.bll.ImportVmFromConfi=
gurationCommand] (ajp--127.0.0.1-8702-4) [1d68187c] Lock freed to object En=
gineLock [exclusiveLocks=3D key: AI_Database
value: VM_NAME<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">, sh=
aredLocks=3D key: 765ab10e-2283-465a-919a-fce70d877220 value: REMOTE_VM<o:p=
></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">]<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">The =
error appears on the GUI as Storage Domain does not exist.<o:p></o:p></span=
></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">All =
templates are OK.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">Some=
VMs could be imported but most of them produce the error message above.<o:=
p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt">The =
procedure followed was
<a href=3D"http://www.ovirt.org/Features/ImportStorageDomain">http://www.ov=
irt.org/Features/ImportStorageDomain</a>.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
<p class=3D"MsoNormal"><span lang=3D"EN-US" style=3D"font-size:10.0pt"><o:p=
> </o:p></span></p>
</div>
</body>
</html>
--_000_HK2PR03MB08200834250ECB842629B7DC9CBD0HK2PR03MB0820apcp_--
9 years, 6 months
[ANN] oVirt 3.5.3 Second Release Candidate is now available for testing
by Sandro Bonazzola
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The oVirt team is pleased to announce that the 3.5.3 Second Release Candidate is now
available for testing as of May 28th 2015.
The release candidate is available now for Fedora 20,
Red Hat Enterprise Linux 6.6, CentOS 6.6 (or similar) and
Red Hat Enterprise Linux 7.1, CentOS 7.1 (or similar).
This release of oVirt includes numerous bug fixes and one CVE fix for the VENOM Vulnerability.
See the release notes [1] for a list of the new features and bugs fixed.
Please refer to release notes [1] for Installation / Upgrade instructions.
A new oVirt Live ISO is already available as well[2].
Please note that mirrors[3] may need usually one day before being synchronized.
Please refer to the release notes for known issues in this release.
[1] http://www.ovirt.org/OVirt_3.5.3_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.5-pre/iso/
[3] http://www.ovirt.org/Repository_mirrors#Current_mirrors
- --
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVZrrzAAoJEHw3u57E4QAOnX4QAMFi+d4Vq5jnZ0e+LaD1vB9R
GmT+k21q6vybjIvovPh7q6StCtPS0sg15BoH5JTmTfl5IWL01qMsFvw/G32PIjZI
u3mm2Z3evbxPg9qsqJPyJm/jAlRHv/L6ntLJaJBDPDSO6Y0iqiHTVUQG16easW3L
ZnUC2IM5TpHuU3PcgVp8zY9gqFqQWnnsA8deJXBvif9J8RdSf7DnkFha9/Ei3v0E
1btkzt0XVS3Cate8pEaTT8zSoE/tOBBS/D65HsnnZdD13RAxYkolzuPvT+7BlmUO
QMhyIE7msWex048HrcDVTEDLrkYF2SpAmYix3sA2O9+AIujenpICHJ8JyxAc+BmJ
scsvv99iDLU3wkpMwKiIABj7nE8gIiUbyZBNaxsxQJ0jurLZGHGIhQGLAJ2q/rd7
MTkcDXOBOZHEadqs87mSEzHt1pQCmZ40KSJCvyWbqa7vFv6kyOgOs3PldoizsOyV
Z1DlDmfMM8hs/6LOP/Mr/4p/l3JgS3gbOy34L2q9J/B+BX/XU7H2bOk6GTEMVPOn
av7m2kDs8DlQJzSqZAURZNt6XTnGGw05THOBWD8NmHuvlVZsSF1mxKb0BC+LpRcs
QmLGAtT12Y2Wnq1xwzcRav9+wiIeEYTVJCbyohMLyqTHqPgRstpeF3JulpqILo5I
rHhGapreYDlzy06Ki7X7
=pUqF
-----END PGP SIGNATURE-----
9 years, 6 months
Re: [ovirt-users] Adding users through LDAP fails on "external_id"
by Zach La Celle
I have tried the following combinations of certificates added to the
keystore:
* PositiveSSL CA bundle (SHA-1 and SHA256) -- This is the source of our
SSL certificates
* All CA certificates from the LDAP machine
* All CA certificates from the LDAP machine plus the machine's own
certificate
* The machine's own certificate only
None fix the issue. As I understand it, adding just the CA bundle from
PositiveSSL should work. Or, adding the CA bundles offered by Ubuntu
should also work.
Previously (when using port 636 and TLS/SSL), to fix
SSLPeerUnverifiedException, I added all of the CA certificates from the
LDAP machine, plus its own certificate (this last part fixed it).
In the mean time, to try and fix the original issue of "external_id", is
there any way to disable certificate verification for STARTTLS?
On 06/15/2015 03:57 PM, Alon Bar-Lev wrote:
> You should add *ONLY* the ca certificate top level to the keystore.
>
> ----- Original Message -----
>> From: "Zach La Celle" <lacelle(a)roboticresearch.com>
>> To: "Alon Bar-Lev" <alonbl(a)redhat.com>
>> Sent: Monday, June 15, 2015 10:54:02 PM
>> Subject: Re: [ovirt-users] Adding users through LDAP fails on "external_id"
>>
>> OK, started using the STARTTLS protocol. Tested working using
>> ldapsearch, but now ovirt-engine's engine.log complains:
>>
>> java.io.IOException: Unable to verify an attempt to to establish a
>> secure connection to 'directory.roboticresearch.com:389' becau\
>> se an unexpected error was encountered during validation processing:
>> javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
>>
>> Not sure what is wrong. We fixed this before by adding the
>> ca-certificates from the LDAP server as well as the LDAP server
>> certificate into the .jks keystore.
>>
>> On 06/15/2015 03:21 PM, Alon Bar-Lev wrote:
>>> ----- Original Message -----
>>>> From: "Zach La Celle" <lacelle(a)roboticresearch.com>
>>>> To: "Alon Bar-Lev" <alonbl(a)redhat.com>
>>>> Sent: Monday, June 15, 2015 10:14:34 PM
>>>> Subject: Re: [ovirt-users] Adding users through LDAP fails on
>>>> "external_id"
>>>>
>>>> My mistake. We're using OpenLDAP 2.4.28-1.1ubuntu4.4 on Ubuntu 12.04.
>>>>
>>>> The full configuration files are as follows (I removed commented-out
>>>> lines for brevity). Communications with the LDAP server seem to work
>>>> correctly now.
>>>>
>>>> __profile1.properties__
>>>>
>>>> #
>>>>
>>>> # Select
>>>> one
>>>>
>>>> #
>>>>
>>>> include = <openldap.properties>
>>> reading bellow, you may want to try rfc2307-openldap as your schema seems
>>> to be rfc2307 compatible.
>>>
>>> <snip>
>>>
>>>> pool.default.serverset.type = single
>>>> pool.default.serverset.single.server = ${global:vars.server}
>>>> pool.default.serverset.single.port = 636
>>> why do you modify port? please use startTLS on default port.
>>>
>>>> #pool.default.auth.simple.bindDN = ${global:vars.user}
>>>> #pool.default.auth.simple.password = ${global:vars.password}
>>> why did you comment this, do you allow anonymous access?
>>>
>>>> # Create keystore, import certificate chain and uncomment
>>>> # if using ssl/tls.
>>>> #pool.default.ssl.startTLS = true
>>> please uncomment this^
>>>
>>>> pool.default.ssl.truststore.file =
>>>> ${local:_basedir}/${global:vars.server}.jks
>>>> pool.default.ssl.truststore.password = sdfnliwneponalsdinosaivnewal
>>>>
>>>> # TLS settings and authentication
>>>> pool.default.ssl.enable = true
>>> please do not use ssl unless startTLS is not supported, and it is in
>>> openldap.
>>>
>>>> pool.default.ssl.startTLS = false
>>> please set this to true.
>>>
>>>> pool.default.ssl.host-name-verify.enable = true
>>>> pool.default.ssl.host-name-verify.wildcards = false
>>>> pool.default.ssl.insecure = false
>>>> pool.default.ssl.protocol = TLSv1
>>>> #pool.default.ssl.startTLSProtocol = TLSv1
>>> these are the default, you do not need to add these.
>>>
>>>> pool.default.auth.type = none
>>> why have you set this explicitly?
>>>
>>>> # Mapping
>>>> attrmap.map-principal-record.attr.PrincipalRecord_DISPLAY_NAME.map = cn
>>>> attrmap.map-principal-record.attr.PrincipalRecord_EMAIL.map = Email
>>>> attrmap.map-group-record.attr.GroupRecord_DISPLAY_NAME.map = cn
>>> please remove mapping, it should work without.
>>>
>>>> # Variables
>>>> sequence.openldap-init-vars.030.var-set.value = entryUUID, uid, cn,
>>>> givenName, sn, Email
>>>> sequence.openldap-init-vars.040.var-set.value =
>>>> (objectClass=posixAccount)(uid=*)
>>>> sequence.openldap-init-vars.050.var-set.value = entryUUID, cn
>>>> sequence.openldap-init-vars.060.var-set.value = (objectClass=posixGroup)
>>>> sequence.openldap-init-vars.070.var-set.value = memberUid
>>> why have you added these? maybe you have rfc2307 compatible schema?
>>>
>>>> On 06/15/2015 03:07 PM, Alon Bar-Lev wrote:
>>>>> This probably state that you do not use the correct driver.
>>>>>
>>>>> You did not mention what LDAP server do you use, and you pasted only
>>>>> partial profile.
>>>>>
>>>>> ----- Original Message -----
>>>>>> From: "Zach La Celle" <lacelle(a)roboticresearch.com>
>>>>>> To: users(a)ovirt.org
>>>>>> Sent: Monday, June 15, 2015 10:04:47 PM
>>>>>> Subject: [ovirt-users] Adding users through LDAP fails on "external_id"
>>>>>>
>>>>>> Hello,
>>>>>>
>>>>>> We have a small oVirt cluster set up, and are trying to get it
>>>>>> integrated with our LDAP server.
>>>>>>
>>>>>> I've changed some configuration values in order to try and make it
>>>>>> function, and it seems to communicate correctly with the LDAP server.
>>>>>> However, when trying to add the user, I get the following error upon SQL
>>>>>> entry add:
>>>>>>
>>>>>> 2015-06-15 14:44:49,439 ERROR
>>>>>> [org.ovirt.engine.core.bll.aaa.AddUserCommand] (ajp--127.0.0.1-8702-6)
>>>>>> [3b15cbfe] Command org.ovirt.engine.core.bll.aaa.AddUserCommand throw
>>>>>> exception: org.springframework.da\
>>>>>> o.DataIntegrityViolationException: CallableStatementCallback; SQL [{call
>>>>>> insertuser(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: null
>>>>>> value in column "external_id" violates not-null constraint
>>>>>> Where: SQL statement "INSERT INTO users(department, domain, email,
>>>>>> groups, name, note, role, active, surname, user_id, username, group_ids,
>>>>>> external_id,namespace) VALUES( $1 , $2 , $3 , $4 , $5 , $\
>>>>>> 6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 )"
>>>>>> PL/pgSQL function "insertuser" line 2 at SQL statement; nested exception
>>>>>> is org.postgresql.util.PSQLException: ERROR: null value in column
>>>>>> "external_id" violates not-null constraint
>>>>>> Where: SQL statement "INSERT INTO users(department, domain, email,
>>>>>> groups, name, note, role, active, surname, user_id, username, group_ids,
>>>>>> external_id,namespace) VALUES( $1 , $2 , $3 , $4 , $5 , $\
>>>>>> 6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 )"
>>>>>>
>>>>>> I can't figure out what maps from the LDAP user to "external_id" for the
>>>>>> SQL table entry.
>>>>>>
>>>>>> Here are the changes I made to profile1.properties:
>>>>>>
>>>>>> #Mapping changes
>>>>>> attrmap.map-principal-record.attr.PrincipalRecord_DISPLAY_NAME.map = cn
>>>>>> attrmap.map-principal-record.attr.PrincipalRecord_EMAIL.map = Email
>>>>>> attrmap.map-group-record.attr.GroupRecord_DISPLAY_NAME.map = cn
>>>>>>
>>>>>> #LDAP value changes
>>>>>> sequence.openldap-init-vars.030.var-set.value = entryUUID, uid, cn,
>>>>>> givenName, sn, Email
>>>>>> sequence.openldap-init-vars.040.var-set.value =
>>>>>> (objectClass=posixAccount)(uid=*)
>>>>>> sequence.openldap-init-vars.050.var-set.value = entryUUID, cn
>>>>>> sequence.openldap-init-vars.060.var-set.value = (objectClass=posixGroup)
>>>>>> sequence.openldap-init-vars.070.var-set.value = memberUid
>>>>>>
>>>>>> Any help is appreciated!
>>>>>> _______________________________________________
>>>>>> Users mailing list
>>>>>> Users(a)ovirt.org
>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>
>>
9 years, 6 months
Adding users through LDAP fails on "external_id"
by Zach La Celle
Hello,
We have a small oVirt cluster set up, and are trying to get it
integrated with our LDAP server.
I've changed some configuration values in order to try and make it
function, and it seems to communicate correctly with the LDAP server.
However, when trying to add the user, I get the following error upon SQL
entry add:
2015-06-15 14:44:49,439 ERROR
[org.ovirt.engine.core.bll.aaa.AddUserCommand] (ajp--127.0.0.1-8702-6)
[3b15cbfe] Command org.ovirt.engine.core.bll.aaa.AddUserCommand throw
exception: org.springframework.da\
o.DataIntegrityViolationException: CallableStatementCallback; SQL [{call
insertuser(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: null
value in column "external_id" violates not-null constraint
Where: SQL statement "INSERT INTO users(department, domain, email,
groups, name, note, role, active, surname, user_id, username, group_ids,
external_id,namespace) VALUES( $1 , $2 , $3 , $4 , $5 , $\
6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 )"
PL/pgSQL function "insertuser" line 2 at SQL statement; nested exception
is org.postgresql.util.PSQLException: ERROR: null value in column
"external_id" violates not-null constraint
Where: SQL statement "INSERT INTO users(department, domain, email,
groups, name, note, role, active, surname, user_id, username, group_ids,
external_id,namespace) VALUES( $1 , $2 , $3 , $4 , $5 , $\
6 , $7 , $8 , $9 , $10 , $11 , $12 , $13 , $14 )"
I can't figure out what maps from the LDAP user to "external_id" for the
SQL table entry.
Here are the changes I made to profile1.properties:
#Mapping changes
attrmap.map-principal-record.attr.PrincipalRecord_DISPLAY_NAME.map = cn
attrmap.map-principal-record.attr.PrincipalRecord_EMAIL.map = Email
attrmap.map-group-record.attr.GroupRecord_DISPLAY_NAME.map = cn
#LDAP value changes
sequence.openldap-init-vars.030.var-set.value = entryUUID, uid, cn,
givenName, sn, Email
sequence.openldap-init-vars.040.var-set.value =
(objectClass=posixAccount)(uid=*)
sequence.openldap-init-vars.050.var-set.value = entryUUID, cn
sequence.openldap-init-vars.060.var-set.value = (objectClass=posixGroup)
sequence.openldap-init-vars.070.var-set.value = memberUid
Any help is appreciated!
9 years, 6 months
changelogs for upgrades in ovirt yum repo
by Tiemen Ruiten
Hello,
Is there a changelog available for upgrades in the ovirt repositories?
There are some upgrades available for qemu and vdsm and I have no idea
whether they're urgent, security related or both.
--
Tiemen Ruiten
Systems Engineer
R&D Media
9 years, 6 months
[ANN] oVirt 3.5.3 Final Release is now available
by Sandro Bonazzola
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
The oVirt team is pleased to announce that the oVirt 3.5.3 Final Release is now available as of June 15th 2015.
oVirt is an open source alternative to VMware vSphere, and provides an excellent KVM management interface for multi-node virtualization.
oVirt is available now for Fedora 20,
Red Hat Enterprise Linux 6.6, CentOS Linux 6.6 (or similar) and
Red Hat Enterprise Linux 7.1, CentOS Linux 7.1 (or similar).
This release of oVirt includes numerous bug fixes and two CVE fixes.
See the release notes [1] for a list of the new features and bugs fixed.
Please refer to release notes [1] for Installation / Upgrade instructions.
A new oVirt Live ISO is already available[2] and oVirt Node ISO will be soon available as well[3].
Please note that mirrors[4] may need usually one day before being synchronized.
Please refer to the release notes for known issues in this release.
[1] http://www.ovirt.org/OVirt_3.5.3_Release_Notes
[2] http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-live/el6-3.5.3/ovirt-l...
[3] http://resources.ovirt.org/pub/ovirt-3.5/iso/ovirt-node/
[4] http://www.ovirt.org/Repository_mirrors#Current_mirrors
- --
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJVfoI3AAoJEHw3u57E4QAOZtcP/167LZUjWapo8ujNgW9JilAW
Cmz9mWoQWzUopaFFhLkpPJV9+ngCIqiny4bgdeStNQCJ3VsbWS6gz1mFgm9M7ZGl
1y6Q5dbUrt+xRtdec+w8BbTb/UEdFPUeQ2Gxa+Z/YCJ4+ovsAX2Sgv2ZVNe6S6zR
WBVy79X1oKwJDsTbXjSotl2FxWbHW/+S3+3qI5YLVkwHDhwn6uoHdaNC0xo47fUj
Kw9G0VjLhQH3UHtna0QX/rw39elLf9/eVsiIiimSo8YbnQ7aqvkZw3tcOVYs/hGe
s+fW+xDnU5IcD90K6JToZYfHc8xsN7KAyfAbJecgS3HVDef1jyjcfxG08cTlG73C
Q+XqAZQXlAPHbjMQe8EYHYRAZcpk0EGVOaR+BXmL4x4p9sGCppTavq6W/9FlxkmK
tLVz5hFC+H6pjU00T/gCQC1+N8aZSfy8kO5nbbLWdFW9/ixvkIB4SCEVDkbB0keb
KphiOJZuxX5U1ZdwK0HvYcA6Z6bevCp9+wZEyi6UdNu/SjJx785USiFjBi/rmXVY
h/W0u0bqkjqu6Fc/IlDA8irNhxjwDiNp7qLWba72mlqKif0UKeqBgXmFk9A34BWi
bJmToIpnWyrZ5vjYyvHY+fwcnvu7EFFQb/OOnuFspoXc8aOkm6GcGZP+pgm9biN2
aPdWpfSKRDeX6nOg5LZN
=5bEX
-----END PGP SIGNATURE-----
9 years, 6 months
DWH remove
by Michael Wagenknecht
Hi all,
how can I safely remove the DWH extension in ovirt 3.5.1?
Is there a howto?
Best Regards,
Michael
9 years, 6 months