[ovirt-users] Re: unable to edit vm properties created from pool

2020-12-08 Thread Lucie Leistnerova

Hello,

On 12/4/20 2:46 PM, mhu...@gmail.com wrote:

Hi all,

Is there any way how to edit cpu/memory/boot and stuff like that once the VM 
has been created by the pool? All option when trying to edit VM are greyed out. 
We are unable to edit any option for vm in pool.
No, it is intended behaviour. You cannot edit specific VM in the pool. 
VM pool is a bunch of identical VMs that user can randomly take and run.


When you want to change all the pool VMs, you need to remove the pool, 
update the template and create new pool.




(oVirt Open Virtualization Manager, Software Version:4.4.3.12-1.el8)

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QDFR6DOEKFJBYUR3BXSDOKKTHRFJ2HB4/

Best regards,
--

Lucie Leistnerova
Associate Manager, Quality Engineering, RHV - QE Core & Tools
GChat: lleistne @ Virtualization <https://chat.google.com/room/7lwAJb4>

Red Hat EMEA <https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/K5AOCXIYNI2NPOQM26SK5WDXTV6H6YCM/


[ovirt-users] Re: oVirt 4.4.2.6-1.el8 (SHE). Grafana integration not configured. The link to the Monitoring portal is not displayed on the Manager home page.

2020-10-13 Thread Lucie Leistnerova

Hi Dmitry,

On 10/10/20 8:36 AM, Dmitry Kharlamov wrote:

Good day!

Made a fresh installation of 4.4.2 Self Hosted Engine (not an upgrade from 
4.4.1) however there is no link to the Monitoring portal on the home page.

Service ovirt-engine-dwhd started and work. Grafana-server service not present 
in /etc/systemd and not configured.

Please tell me what needs to be done to make the monitoring portal work?
Grafana was disabled in HE installation, see 
https://bugzilla.redhat.com/show_bug.cgi?id=1866780


To reinstall run on the engine: engine-setup 
--reconfigure-optional-components

PS// In the previous  version installation 4.4.1 SHE the grafana-server worked 
immediately after installation and the link to the monitoring portal was 
available immediately without any additional steps.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YLIJKMO5H7EJHE7RMQTBYSNWCMQ32VI3/

Best regards,
--

Lucie Leistnerova
Associate Manager, Quality Engineering, RHV - QE Core & Tools
GChat: lleistne @ Virtualization <https://chat.google.com/room/7lwAJb4>

Red Hat EMEA <https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SI4VIKPPRBWV234ZPXJ77O6PJX5J7GMN/


[ovirt-users] Re: user role

2020-10-08 Thread Lucie Leistnerova

Hi Kim,

On 10/7/20 12:43 PM, kim.karga...@noroff.no wrote:

Hi all,

For a group of users added to ovirt through AD, which role should one add to an 
ISO for the group to be able to select an ISO when creating VM's in the VM 
portal?

UserRole should be enough, when the user has already VMCreator.


Thanks.

Kim
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RWER23VG3JXYJVTNIHLNJDEEXLB4TINK/


Best regards,

--

Lucie Leistnerova
Associate Manager, Quality Engineering, RHV - QE Core & Tools
GChat: lleistne @ Virtualization <https://chat.google.com/room/7lwAJb4>

Red Hat EMEA <https://www.redhat.com>
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GH3RZYBCDM6JQHPPDY6ZLXZZ47X5A5UM/


[ovirt-users] Re: User Groups

2020-04-29 Thread Lucie Leistnerova

Hi Anton,

On 4/29/20 7:36 AM, Anton Louw wrote:



Hi Everybody,

Is there a way to see My Groups through the Web UI? I have tried 
looking around, but cannot see anything. Can this only be seen via the 
backend in the HE?


All information about users you can see in Administration - Users and 
click on User name.

I'm not aware of other information about the users in UI.


Thanks


*Anton Louw*
*Cloud Engineer: Storage and Virtualization* at *Vox*

*T:* 087 805  | *D:* 087 805 1572
*M:* N/A
*E:* anton.l...@voxtelecom.co.za <mailto:anton.l...@voxtelecom.co.za>
*A:* Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
www.vox.co.za <http://www.vox.co.za>

F <https://www.facebook.com/voxtelecomZA>


T <https://www.twitter.com/voxtelecom>


I <https://www.instagram.com/voxtelecomza/>


L <https://www.linkedin.com/company/voxtelecom>


Y <https://www.youtube.com/user/VoxTelecom>

#VoxBrand <https://www.vox.co.za/fibre/fibre-to-the-home/?prod=HOME>


*Disclaimer*

The contents of this email are confidential to the sender and the 
intended recipient. Unless the contents are clearly and entirely of a 
personal nature, they are subject to copyright in favour of the 
holding company of the Vox group of companies. Any recipient who 
receives this email in error should immediately report the error to 
the sender and permanently delete this email from all storage devices.


This email has been scanned for viruses and malware, and may have been 
automatically archived by *Mimecast Ltd*, an innovator in Software as 
a Service (SaaS) for business. Providing a *safer* and *more useful* 
place for your human generated data. Specializing in; Security, 
archiving and compliance. To find out more Click Here 
<https://www.voxtelecom.co.za/security/mimecast/?prod=Enterprise>.





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/B2275QLUWDTKMYR2SEKIENBRHFOKGFUS/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3SDY72IT6AJJYELNUCDXC5TFI7ET46YN/


[ovirt-users] Re: Multitenant scenario in oVirt

2020-04-17 Thread Lucie Leistnerova

Hi Michal,

On 4/15/20 10:55 AM, Michal Gutowski wrote:

Hi oVirt community,

I'm playing with a multitenant use-case in oVirt 3.4.6... My setup is 
as follows:

- I have two working Data Centers (DC1 and DC2)
- I created two additional users DC1-admin and DC2-admin
- In DC1 permission settings I've added DC1-admin as a user with a 
builtin DataCenterAdmin Role.
- In DC2 permission settings I've added DC2-admin as a user with a 
builtin DataCenterAdmin Role.


Now in terms of permissions all is good: DC1-admin is not able to 
modify anything in DC2 and DC2-admin is not able to modify anything in 
DC1.


However in both the Admin Portal and the VM Portal DC1-admin and 
DC2-admin can still see all other datacenter resources.
My expectation was that if I login to the Admin Portal as e.g. 
DC2-admin I will only see DC2 datacenter in the GUI and nothing else. 
Same with VM Portal. I played with different user settings but I 
couldn't make it work...


DataCenterAdmin is Administrator role and from what I understand these 
roles can see everything. There is no specific user role similar to this 
for whole DC. If you use UserVmManager on DC it should be propagated to 
all VMs in that DC.

Also you can specify your own role in Administration - Configure - Roles.
I think the problem is that whatever user you create it will always 
belong to the build-in "everyone" group and inherit permission to see 
everything in the portal.
Is it possible to achieve a scenario where e.g. DC2-admin will login 
to the Admin Portal and only see resources that belong to DC2 and 
nothing else?


Thanks,
Michal



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KF6PN6WBHPMQ5YKUNI7PU7MSEMIOOXSA/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I56U4I7KFHVJCA3OXSIO4TNFK76SCFEG/


[ovirt-users] Re: assign a specific user to a specific vm

2020-04-17 Thread Lucie Leistnerova

Hi Eric,

On 4/16/20 8:11 PM, eev...@digitaldatatechs.com wrote:

I'm not sure if I'm missing something or not, but I haven't seen how to assign 
a specific user to a specific vm. Is there a way to do that? When users login, 
they see all the machines. I'd like them to see just the one they need to login 
to.
Add role UserRole on the VM to the user and then he is allowed to access 
the VM portal and sees only this VM.
User can start/stop VM. When you need that he also can adit, then add 
role UserVmManager.


Thanks in advance for your help.

Eric
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TRL54XDA6TSTNI5ZAPTJVZ7OE5VSVJ4D/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/G4UQRMNA3F6STTS2WTDL5SVUPNC7333W/


[ovirt-users] Re: How to delete events

2020-03-19 Thread Lucie Leistnerova

Hi,

I know that you can dismiss events in top right menu Messages drawer 
(3dot menu next to event). They then disappear also from Events list in 
left menu.


Or you can use REST API

|DELETE /ovirt-engine/api/events/123|

Best regards,

Lucie


On 3/17/20 9:49 AM, xil...@126.com wrote:

Hello everybody, there are some wrong log events in the controller. How can I 
delete the events information after I have checked it?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2WULJSVZFYOYBIX7CSFKBUP3E7O5OKSH/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L23WUI5SCRW5KABTZHJP2VVFCVO372JR/


[ovirt-users] Re: How to delete events

2020-03-19 Thread Lucie Leistnerova

Hi,

I know that you can dismiss events in top right menu Messages drawer 
(3dot menu next to event). They then disappear also from Events list in 
left menu.


Or you can use REST API

|DELETE /ovirt-engine/api/events/123|

Best regards,
Lucie

On 3/17/20 9:49 AM, xil...@126.com wrote:

Hello everybody, there are some wrong log events in the controller. How can I 
delete the events information after I have checked it?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2WULJSVZFYOYBIX7CSFKBUP3E7O5OKSH/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KE5TOS4H4FJ6ZNHWFHPPFTMJBW6ILVGE/


[ovirt-users] Re: ldaps-config

2020-02-27 Thread Lucie Leistnerova


On 2/27/20 5:04 PM, Budur Nagaraju wrote:
Am using ldaps not starttls,  when i do dig able to resolve the,  not 
sure where exactly doing mistake.


I don't understand. So what dig command of the SRV did you use and what 
it returns?
And why you have in one error _ldaps._tcp.psecure.net 
<http://tcp.psecure.net> and another _ldaps._tcp.abc.net 
<http://tcp.psecure.net>?


Please, also send the settings from /etc/ovirt-engine/aaa/ and engine log.

Using 4.3 version.

Thanks,
Nagaraju

On Thu, Feb 27, 2020, 9:22 PM Lucie Leistnerova <mailto:lleis...@redhat.com>> wrote:


Hi, I've checked again the options in the aaa tool.

On 2/27/20 4:20 PM, Budur Nagaraju wrote:

can some one help me on the issue ? badly stuck on this have not
got any pointer on fix .

An error occurred while attempting to query DNS in order to
retrieve SRV records with name '_ldaps._tcp.abc.net
<http://tcp.psecure.net>': NameNotFoundException(DNS name not
found [response code 3]), ldapSDKVersion=4.0.7,
revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58


It seems your DNS is not configured to resolve ldap servers.
Please disable DNS and use direct fqdn/ip of the server or
configure the DNS SRV record.

From the documentation:
Press *Enter* to accept the default and configure domain name
resolution for your LDAP server name:

|It is highly recommended to use DNS resolution for LDAP server.
If for some reason you intend to use hosts or plain address
disable DNS usage. Use DNS (Yes, No) [Yes]: |||

||

||


Thanks,
Nagaraju


On Thu, Feb 27, 2020 at 8:48 PM Budur Nagaraju mailto:nbud...@gmail.com>> wrote:

Hi Lucie,

Can you please help me on this issue? am using ldaps for the
configuration.

Thanks,
Nagaraju


On Thu, Feb 27, 2020 at 4:00 PM Budur Nagaraju
mailto:nbud...@gmail.com>> wrote:

Hi Lucie,

Have tried the option but when trying to logon from the
browser getting the below error.
Any tweaks can be made ?


An error occurred while attempting to query DNS in order
to retrieve SRV records with name
'_ldaps._tcp.psecure.net <http://tcp.psecure.net>':
NameNotFoundException(DNS name not found [response code
3]), ldapSDKVersion=4.0.7,
revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58

Thanks,
Nagaraju



    On Thu, Feb 27, 2020 at 3:51 PM Lucie Leistnerova
mailto:lleis...@redhat.com>> wrote:

Hi Budur,

or just use the tool for it - Configuring an External
LDAP Provider

https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html

Best regards,

Lucie

On 2/27/20 9:32 AM, Eduardo Mayoral wrote:


Should be as simple as this:


[root@ovirt-hc0 ~]# cat
/etc/ovirt-engine/aaa//activedirectory/.properties
include = 

vars.domain = XX
vars.user = YYY
vars.password = Z

*pool.default.ssl.startTLS = true**
**pool.default.ssl.startTLSProtocol = TLSv1.2*

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password =
${global:vars.password}
pool.default.serverset.type = srvrecord
pool.default.serverset.srvrecord.domain =
${global:vars.domain}



Just remember to trust the certificate authority for
the ldaps certificate in the ovirt engine server.


https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7


On 27/2/20 4:42, Budur Nagaraju wrote:

Hi

Can someone help me in configuring ldaps in oVirt
Engine 4.x ?

Thanks,
Nagaraju


___
Users mailing list --users@ovirt.org  <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org  
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/
-- 
Eduardo Mayoral Jimeno

Systems engineer, platform department. Arsys Internet.
emayo...@arsy

[ovirt-users] Re: ldaps-config

2020-02-27 Thread Lucie Leistnerova

Hi, I've checked again the options in the aaa tool.

On 2/27/20 4:20 PM, Budur Nagaraju wrote:
can some one help me on the issue ? badly stuck on this have not got 
any pointer on fix .


An error occurred while attempting to query DNS in order to retrieve 
SRV records with name '_ldaps._tcp.abc.net <http://tcp.psecure.net>': 
NameNotFoundException(DNS name not found [response code 3]), 
ldapSDKVersion=4.0.7, revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58


It seems your DNS is not configured to resolve ldap servers. Please 
disable DNS and use direct fqdn/ip of the server or configure the DNS 
SRV record.


From the documentation:
Press *Enter* to accept the default and configure domain name resolution 
for your LDAP server name:


|It is highly recommended to use DNS resolution for LDAP server. If for 
some reason you intend to use hosts or plain address disable DNS usage. 
Use DNS (Yes, No) [Yes]: |||


||

||


Thanks,
Nagaraju


On Thu, Feb 27, 2020 at 8:48 PM Budur Nagaraju <mailto:nbud...@gmail.com>> wrote:


Hi Lucie,

Can you please help me on this issue? am using ldaps for the
configuration.

Thanks,
Nagaraju


On Thu, Feb 27, 2020 at 4:00 PM Budur Nagaraju mailto:nbud...@gmail.com>> wrote:

Hi Lucie,

Have tried the option but when trying to logon from the
browser getting the below error.
Any tweaks can be made ?


An error occurred while attempting to query DNS in order to
retrieve SRV records with name '_ldaps._tcp.psecure.net
<http://tcp.psecure.net>': NameNotFoundException(DNS name not
found [response code 3]), ldapSDKVersion=4.0.7,
revision=b28fb50058dfe2864171df2448ad2ad2b4c2ad58

Thanks,
Nagaraju



On Thu, Feb 27, 2020 at 3:51 PM Lucie Leistnerova
mailto:lleis...@redhat.com>> wrote:

Hi Budur,

or just use the tool for it - Configuring an External LDAP
Provider

https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html

Best regards,

Lucie

On 2/27/20 9:32 AM, Eduardo Mayoral wrote:


Should be as simple as this:


[root@ovirt-hc0 ~]# cat
/etc/ovirt-engine/aaa//activedirectory/.properties
include = 

vars.domain = XX
vars.user = YYY
vars.password = Z

*pool.default.ssl.startTLS = true**
**pool.default.ssl.startTLSProtocol = TLSv1.2*

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
pool.default.serverset.type = srvrecord
pool.default.serverset.srvrecord.domain =
${global:vars.domain}



Just remember to trust the certificate authority for the
ldaps certificate in the ovirt engine server.


https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7


On 27/2/20 4:42, Budur Nagaraju wrote:

Hi

Can someone help me in configuring ldaps in oVirt Engine
4.x ?

Thanks,
Nagaraju


___
Users mailing list --users@ovirt.org  <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org  
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/
-- 
Eduardo Mayoral Jimeno

Systems engineer, platform department. Arsys Internet.
emayo...@arsys.es  <mailto:emayo...@arsys.es>  - +34 941 620 105 - 
ext 2153

___
Users mailing list --users@ovirt.org  <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org  
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/ADWCGNS353CUN3CIHFBZDUWAXRHL66JB/


-- 
Lucie Leistnerova

Senior Quality Engineer, QE Cloud, RHVM
    Red Hat EMEA

IRC: lleistne @ #rhev-qe


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.o

[ovirt-users] Re: ldaps-config

2020-02-27 Thread Lucie Leistnerova

Hi Budur,

or just use the tool for it - Configuring an External LDAP Provider
https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html

Best regards,

Lucie

On 2/27/20 9:32 AM, Eduardo Mayoral wrote:


Should be as simple as this:


[root@ovirt-hc0 ~]# cat /etc/ovirt-engine/aaa//activedirectory/.properties
include = 

vars.domain = XX
vars.user = YYY
vars.password = Z

*pool.default.ssl.startTLS = true**
**pool.default.ssl.startTLSProtocol = TLSv1.2*

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
pool.default.serverset.type = srvrecord
pool.default.serverset.srvrecord.domain = ${global:vars.domain}



Just remember to trust the certificate authority for the ldaps 
certificate in the ovirt engine server.


https://stackoverflow.com/questions/37043442/how-to-add-certificate-authority-file-in-centos-7


On 27/2/20 4:42, Budur Nagaraju wrote:

Hi

Can someone help me in configuring ldaps in oVirt Engine 4.x ?

Thanks,
Nagaraju


___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/P6QHPSFZLOZ6EZEVFQPBNII37PNIATU3/

--
Eduardo Mayoral Jimeno
Systems engineer, platform department. Arsys Internet.
emayo...@arsys.es  - +34 941 620 105 - ext 2153

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ADWCGNS353CUN3CIHFBZDUWAXRHL66JB/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QJIIQ5PUC3N4Y77YOMQJS4KJQ4YVPUA5/


[ovirt-users] Re: Error with LDAP

2020-02-18 Thread Lucie Leistnerova

Hi Lucas,

how is your ldap set? Can you please share settings in 
/etc/ovirt-engine/extensions.d

Is the driver properly set? I've found similar issue here
https://users.ovirt.narkive.com/FveKIVCV/ovirt-users-adding-users-through-ldap-fails-on-external-id

Thank you.

Lucie

On 2/18/20 4:14 PM, Lucas Lamy wrote:

Hello everyone.

I have previously configured LDAP connexion though 
ovirt-engine-extension-aaa-ldap-setup.

The only working configuration was IBM Security Directory Server (the IBM 
Security Directory Server RFC-2307 Schema doesn't work), ladps and anonymous 
search user. But the LDAP server I’m testing is OpenLDAP and not IBM.

Indeed with IBM  the search and login are working fine when I test them with 
ovirt-engine-extensions-tool aaa.

But when I try to add a LDAP User in the User Administration Panel I get this Error 
message : "Error while executing action AddUser : Internal Engine Error".

None of the solutions I've found on previous threads seems to works.

Does someone have an idea please ?
Please find the logs attached.
Thank you beforehand.


   Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"external_id" violates not-null constraint Detail: Failing row contains (**user info**). 
Where: SQL statement "INSERT INTO users ( department, domain, email, name, note, surname, 
user_id, username, external_id, namespace ) VALUES ( v_department, v_domain, v_email, v_name, 
v_note, v_surname, v_user_id, v_username, v_external_id, v_namespace )" PL/pgSQL function 
insertuser(character varying,character varying,character varying,character varying,character 
varying,character varying,uuid,character varying,text,character varying) line 3 at SQL state$ at 
org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2433) at 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2178) at 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:306) at 
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:441) at 
org.postgresql.jdbc.PgStatement.execute(PgStatement.java:365) at 
org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:155) at 
org.postgresql.jdbc.PgCallableStatement.executeWithFlags(PgCallableStatement.java:78) at 
org.postgresql.jdbc.PgPreparedStatement.execute(PgPreparedStatement.java:144) at 
org.jboss.jca.adapters.jdbc.CachedPreparedStatement.execute(CachedPreparedStatement.java:303) at 
org.jboss.jca.adapters.jdbc.WrappedPreparedStatement.execute(WrappedPreparedStatement.java:442) at 
org.springframework.jdbc.core.JdbcTemplate.lambda$call$4(JdbcTemplate.java:1105) 
[spring-jdbc.jar:5.0.4.RELEASE] at 
org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:1050) 
[spring-jdbc.jar:5.0.4.RELEASE] ... 162 more  2020-02-15 10:16:53,337+01 ERROR 
[org.ovirt.engine.core.bll.aaa.AddUserCommand] (default task-4) 
[222f7ca7-b669-40e0-b152-2ca898ebde09] Transaction rolled-back for command 
'org.ovirt.engine.core.bll.aaa.$ 2020-02-15 10:16:53,341+01 WARN  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-4) 
[222f7ca7-b669-40e0-b152-2ca898ebde09] EVENT_ID: USER_FAILED_ADD_ADUSER(327), Fail, Failed to add 
User 'user' to the system.
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PLCLWVJUD7KNOTG7HQ7Y4PDWYEJVG5JJ/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4KZBABHA4GVZGTLQSZ5KEILOOGVCKX5P/


[ovirt-users] Re: Cannot put host in maintenance mode

2020-01-28 Thread Lucie Leistnerova

Hi Vinicius,

On 1/27/20 11:34 PM, Vinícius Ferrão wrote:

Hello,

I’m with an issue on one of my oVirt installs and I wasn’t able to solve it. 
When trying to put a node in maintenance it complains about image transfers:

Error while executing action: Cannot switch Host ovirt2 to Maintenance mode. 
Image transfer is in progress for the following (3) disks:

8f4c712e-66bb-4bfc-9afb-78407b8b726c,
eb0ef249-284d-4d77-b1f1-ee8b70718f3d,
73245a4c-8f56-4508-a5c5-2d7697f87654

Please wait for the operations to complete and try again.

I wasn’t able to find this image transfers. There’s nothing on the engine 
showing any transfer.

How can I debug this?


Try the taskcleaner

https://www.ovirt.org/develop/developer-guide/db-issues/helperutilities.html#taskcleaner



Thanks,

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GXOO6C5HHTJUCGNYZK52LZLBIWUQUV6D/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/APK2FN3SPFF66674OJVAA3B2ZB74Q6RN/


[ovirt-users] Re: ovirt_disk Ansible module creating disks of wrong size but why?

2020-01-14 Thread Lucie Leistnerova
It looks to me like a bug. It shouldn't resize the uploaded disk (as it 
is in UI) or it should be mentioned in the documentation.


Can you please create a BZ for it with logs and ansible verbose output 
attached.


Thank you!

On 1/13/20 10:16 AM, m.skrzetu...@gmail.com wrote:

Hallo Jan,

maybe I worded my findings not clearly enough, sorry. oVirt is showing that the 
disk I create is 500GiB (like in your test) but inside the CentOS VM I have 
only a 8GiB disk, which I can see with lsblk and fdisk.

Any workarounds for that? Is CentOS doing something wrong here?

I am using Ansible 2.9.

Kind regards
Skrzetuski
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RD2CQSITNXWLPSEVEGYQPQQFPPTS3UK4/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ACHR56D4SIZJ6PLBDND3SD4DELGEFQVA/


[ovirt-users] Re: ovirt_disk Ansible module creating disks of wrong size but why?

2020-01-12 Thread Lucie Leistnerova

Hi,

On 1/13/20 12:14 AM, m.skrzetu...@gmail.com wrote:

Hello everyone,

I just saw the list of modules at 
https://github.com/ansible/ansible/tree/663f8464ee7ab2cb086857f04393e643407fba0f/lib/ansible/modules/cloud/ovirt.
 Does this mean you (oVirt devs) did not update ovirt Ansible modules since 2 
years?

Anyhow, the following tasks create a VM with a 8GB instead of 500GB disk 
(confirmed with lsblk and fdisk). Why is that and how do I get around it?


The original image is 8G so I think creating disk with uploaded image 
can't resize it in one step.
When I try to upload it in UI it doesn't allow me to change the size, it 
just loads the original size of the image.


It could be mentioned in the documentation how it works with size and 
upload_image_path together.




   - name: download centos image
 get_url:
   url: 
https://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2
   dest: /data/isos/CentOS-7-x86_64-GenericCloud.qcow2

   - name: create disk for vm
 ovirt_disk:
   name: centos
   upload_image_path: /data/isos/CentOS-7-x86_64-GenericCloud.qcow2
   storage_domain: vmdata2
   size: 500GiB
   wait: true
   bootable: true
   format: cow
 when: register_centos_disks.ovirt_disks|length == 0

   - name: create vm
 ovirt_vm:
   name: dumbo
   type: server
   state: "running"
   cluster: dumbo
   high_availability: yes
   disks:
 - name: centos
   graphical_console:
 protocol: vnc
   operating_system: Linux
   nics:
 - name: nic1
   profile_name: ovirtmgmt
   memory: 8GiB
   cpu_sockets: 1
   cpu_cores: 1
   cpu_threads: 2

If I use sparse: false with the ovirt_disk module I am getting following errors.

An exception occurred during task execution. To see the full traceback, use -vvv. The error was: 
Error: Fault reason is "Operation Failed". Fault detail is "[Cannot add Virtual 
Disk. Disk configuration (COW Preallocated) is incompatible with the storage domain type.]". 
HTTP response code is 409.
fatal: [dumbo]: FAILED! => changed=false
   msg: Fault reason is "Operation Failed". Fault detail is "[Cannot add Virtual 
Disk. Disk configuration (COW Preallocated) is incompatible with the storage domain type.]". 
HTTP response code is 409.

The storage domain type is data. So what is wrong with that?

Frustrated regards
Skrzetuski
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QSFF7CEVQAVCHDCDRZ6NUYUGLVMVWL7A/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SOKGFIMYLY2CCB3V3Q74XZGEZBRWMTKW/


[ovirt-users] Re: Postgres stuck on 100% after Engine upgrade from 4.2.8 to 4.3.7

2019-12-16 Thread Lucie Leistnerova

Hi Marko,

On 12/16/19 9:50 AM, Vrgotic, Marko wrote:

Hi Lucie,

My apologies for not replying sooner.
While waiting for a reply, I have decided to execute SHE restore 
exercise in order to get familiar with Restore procedure.

Therefore, I can not provide additional details.
Regardless, thank you for providing me a way to check for deadlocks.

No problem :) But DWH should not create deadlocks that sound suspicious. 
We test upgrade in regression but I'm not sure whether we would catch 
such issues. I'll check.
If I may ask, in case there was a deadlock, is there a common or 
standard way to resolve them, or would that actually require digging 
deeper into DB and process schemas?



Just restarting ovirt-engine-dwhd service should clean the locks.

Kindly awaiting your reply.

Marko Vrgotic
Sent from my iPhone


On 10 Dec 2019, at 08:10, Lucie Leistnerova  wrote:



Hi Marko,

aren't there some deadlocks present?

Try the queries here
https://wiki.postgresql.org/wiki/Lock_Monitoring

Please also check dwh log - 
/var/log/ovirt-engine-dwh/ovirt-engine-dwhd.log


Best regards,
Lucie

On 12/9/19 2:50 PM, Vrgotic, Marko wrote:


Hi oVirt,

Since oVirt upgrade from 4.2.8 to 4.3.7, SHE postgres is running 
100% CPU with 4 processes, related to ovirt_engine_history DB:


PID USER  PR  NI    VIRT    RES    SHR S  %CPU %MEM TIME+ 
COMMAND


2617 postgres  20   0  372668  30876  26352 R 100.0  0.2 63:40.19 
postgres: ovirt_engine_history ovirt_engine_history 127.0.0.1(50226) 
INSERT


3554 postgres  20   0  368680  15120  11716 R 100.0  0.1 56:45.72 
postgres: ovirt_engine_history ovirt_engine_history 127.0.0.1(50448) 
BIND


2623 postgres  20   0  368068  17640  14896 R  99.3  0.1 42:35.36 
postgres: ovirt_engine_history ovirt_engine_history 127.0.0.1(50228) 
BIND


2880 postgres  20   0  368680  20404  17004 R  99.0  0.1 65:13.96 
postgres: ovirt_engine_history ovirt_engine_history 127.0.0.1(50252) 
BIND


Output of select * from pg_stat_activity; is giving me following:

16401 | ovirt_engine_history | 2617 |    16386 | 
ovirt_engine_history |    | 127.0.0.1   
| |   50226 | 2019-12-09 13:37:07.779261+01 | 
2019-12-09 13:37:09.555704+01 | 2019-12-09 13:39:04.915431+01 | 
2019-12-09 13:39:04.915432+01 | | | active


|   260332629 |    260332629 | INSERT INTO 
vm_disks_usage_samples_history (history_datetime,vm_id,disks_usage) 
VALUES ($1,$2,$3)


| client backend

16401 | ovirt_engine_history | 2623 |    16386 | 
ovirt_engine_history |    | 127.0.0.1   
| |   50228 | 2019-12-09 13:37:07.820982+01 | 
2019-12-09 14:00:00.042448+01 | 2019-12-09 14:00:00.997228+01 | 
2019-12-09 14:00:00.997229+01 | | | active


|   260333458 |    260332629 | SELECT

  +| 
client backend


|  |  | |      | 
| | | | | | 
|   | | |


  | |  | history_datetime,

   +|

|  |  | |  | 
| | | |   | 
| |   | | |


| |  |   vm_id,



  +|

|  |  | |  | 
 | | | | | | 
|   | | |


|     |  |   disks_usage

  +|

|  |  | |  | 
| | | | |   
|    | | | |


| |  | FROM vm_disks_usage_samples_history



+|

|  |  | |  | 
   | | | | | | 
|   | | |


|     |  | WHERE history_datetime >= '2019-12-09 
07:00:00.00+0100'


 +|

|  |  | |  | 
| | | | | 
|   |   | 
| |


| |  | AND history_datetime < '2019-12-09 
08:00:00.0

[ovirt-users] Re: Network usage data report 0%

2019-10-31 Thread Lucie Leistnerova


On 10/29/19 11:44 AM, ccesa...@blueit.com.br wrote:

Hi Lucie,

Admin portal it seems show the correct value.. look the screenshot attached.


And are you sure that the network traffic is really so high that it will 
go over 1% of 3G? I'm not expert in this, so please excuse me if this 
question is irrelevant.


When yes, then it looks like a bug. What ovirt version do you have? Is 
something network related in the vdsm log?



https://pasteboard.co/IEcyx9I.png
https://pasteboard.co/IEcztVU.png

Best regards,
Carlos
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SORUY7NAO6L7CDDNTRTOYUJ42YXGRPVQ/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JDYHCHHCHAVFNBGE33XTQAMTHLXCCMO6/


[ovirt-users] Re: Network usage data report 0%

2019-10-29 Thread Lucie Leistnerova

Hi Carlos,

what does admin portal show on the host as network speed? Host detail -> 
Network Interfaces (next to Total Tx)
We've faced this issues when we've used nested virtualization and the 
host showed wrong network speed. The speed then was always lower than 
0.5 % of the max and so it stayed on the 0.


On 10/28/19 7:43 PM, ccesa...@blueit.com.br wrote:

Hello,

In  Administration Portal and VM Portal the all VMs reports 0% network usage. 
Even the Hosted Ovirt Engine.

It is following the screenshost

https://pasteboard.co/IE6gvCg.png
https://pasteboard.co/IE6hyuUV.png

The other metrics are OK, only network that re reporting 0

My env.
https://pasteboard.co/IE6i8AO.png

Regards
Carlos
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NNK6ERGAWDGIOLK63F5GDFJ64JOOPL7M/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WW32KTCL7I6KC3KF3L2RICJQQXHDAW2T/


[ovirt-users] Re: Host "install failed"

2019-10-15 Thread Lucie Leistnerova

Hi Jess,

please send the host deploy log, e.g. 
ovirt-host-deploy-20191014174056-10.8.105.116-54aeb232.log


Thanks.

On 10/15/19 10:34 AM, Jess Zanne Uy wrote:

Hi Sir/Madaam,
I'm trying to search for hours now but still no luck
I can already access the oVirt engine web port via IP address. I'm 
running via Virtualbox machine.
Configured data center, cluster. Then after adding new host. Error 
occur "Install failed".
Tried to check the engine log. It says "EVENT ID: VDS 
INSTALL_FAILED(505), Host ovirt host installation failed. Command 
returned failure code 1 during SSH session"
My IP address and password is exact. And edited the /etc/host 
IP_ADDRESS localhost.localdomain

My hostname is default, BTW
Any help what's wrong with the configuration.
Please see attached logs
ovirtlog.txt 
<https://drive.google.com/file/d/13PK8wgJPwlxFB08Ve6hXxYMcDpiLHkmF/view?usp=drive_web>


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/M26BAA6V7JRIYGAZ5WPL5K77K4GFLZ6C/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MSKBACVFFIDGVN74VUM3X3QDONC632LE/


[ovirt-users] Re: Clean up engine database?

2019-10-15 Thread Lucie Leistnerova


On 10/15/19 5:54 AM, Strahil wrote:

Can someonw clarify whether the DB will grow forever , if we never do a vacuum  
(either with these commands or via the engine-upgrade)?


The postgres database runs autovacuum regularly by default and engine 
defines some vacuum variables in postgresql.conf to be more efficient. 
Autovacuum runs standard vacuum (not FULL) and this can reclaim less space.
When you have smaller environment the grow of dwh database is not to 
significant but with big setup it can be different. So is good to run 
full vacuum in some time to reclaim more space. The thing is that this 
takes a lot of time and tables are locked, so engine/dwh can't work with 
them properly and need to be stopped.



Best Regards,
Strahil NikolovOn Oct 14, 2019 17:03, Lucie Leistnerova  
wrote:


On 10/14/19 3:36 PM, Chris Adams wrote:

Once upon a time, Lucie Leistnerova  said:

Ah, you are right. dwh-vacuum was added in 4.2.

Just for interest, I tried this on my 4.3.6 dev setup, and it just
gives:

[root@engine ~]# dwh-vacuum
/usr/bin/dwh-vacuum: line 47: vacuumdb: command not found

Looks like it needs the SCL enablement that engine-vacuum has.

My mistake, I thought it was fixed already but it was only for
engine-vacuum.
I've created new BZ https://bugzilla.redhat.com/show_bug.cgi?id=1761494

Thanks for catching this!

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5WGD552G3GKGSIIJ5IAXFBUMI7MM4KXP/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GJFBGMEB226LACDMTTY6GGAENVWUXEOY/


[ovirt-users] Re: Clean up engine database?

2019-10-14 Thread Lucie Leistnerova


On 10/14/19 3:36 PM, Chris Adams wrote:

Once upon a time, Lucie Leistnerova  said:

Ah, you are right. dwh-vacuum was added in 4.2.

Just for interest, I tried this on my 4.3.6 dev setup, and it just
gives:

[root@engine ~]# dwh-vacuum
/usr/bin/dwh-vacuum: line 47: vacuumdb: command not found

Looks like it needs the SCL enablement that engine-vacuum has.


My mistake, I thought it was fixed already but it was only for 
engine-vacuum.

I've created new BZ https://bugzilla.redhat.com/show_bug.cgi?id=1761494

Thanks for catching this!

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5WGD552G3GKGSIIJ5IAXFBUMI7MM4KXP/


[ovirt-users] Re: Clean up engine database?

2019-10-14 Thread Lucie Leistnerova


On 10/14/19 3:07 PM, Chris Adams wrote:

Once upon a time, Lucie Leistnerova  said:

you can use engine tools: engine-vacuum and dwh-vacuum.
It can do full vacuum with -f option and also it runs with
engine-setup when you choose it.

engine-vacuum doesn't appear to touch the DWB DB, and I don't have a
dwh-vacuum (on 4.1).

Ah, you are right. dwh-vacuum was added in 4.2.

After reading a RHBZ, the issue was the various
*_samples_* tables, so I did:


systemctl stop ovirt-engine-dwhd.service

. /etc/ovirt-engine-dwh/ovirt-engine-dwhd.conf.d/10-setup-database.conf
PGPASSWORD="$DWH_DB_PASSWORD" psql \
 -h "$DWH_DB_HOST" \
 -p "$DWH_DB_PORT" \
 -U "$DWH_DB_USER" \
 -d "$DWH_DB_DATABASE" \
 <<'EOF'
vacuum full host_interface_samples_history;
vacuum full vm_disk_samples_history;
vacuum full vm_disks_usage_samples_history;
vacuum full vm_interface_samples_history;
vacuum full vm_samples_history;
EOF

systemctl start ovirt-engine-dwhd.service


That reduced my Postgres DB size from 15G to 1.4G.


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HRTNYTZXYCRBNKVOU6DWBVQU6VIL5M7Y/


[ovirt-users] Re: Clean up engine database?

2019-10-14 Thread Lucie Leistnerova

Hi Pavel,

you can use engine tools: engine-vacuum and dwh-vacuum.
It can do full vacuum with -f option and also it runs with engine-setup 
when you choose it.


On 10/11/19 4:36 PM, Pavel Šipoš wrote:

Hi!

We have similar problem and it looks like psql vacuuming isn't working 
properly.
I expect that this problem will be gone when we will upgrade ovirt to 
latest version.
Until then we are performing weekly vacuuming of top N (usualy 4) 
tables by "external size" in ovirt_engine_history database.


A little bit more about vacuuming: 
https://www.postgresql.org/docs/9.1/sql-vacuum.html
External size: 
https://wiki-bsse.ethz.ch/display/ITDOC/Check+size+of+tables+and+objects+in+PostgreSQL+database 
, https://matjaz.it/tutorial-sizes-of-tables-and-databases-in-postgresql/


Example which queries we are running in our case:

To get top 4 tables ordered by "external size":
SELECT relname, pg_size_pretty(pg_total_relation_size(relid)), 
pg_size_pretty(pg_total_relation_size(relid) - 
pg_relation_size(relid)) FROM pg_catalog.pg_statio_user_tables ORDER 
BY pg_total_relation_size(relid) DESC limit 4;


We use names from previous query and perform vacuum table by table:
VACUUM (VERBOSE, FULL) ${TABLE};

To get new size of table after vaccuming:
SELECT pg_size_pretty(pg_total_relation_size(relid) - 
pg_relation_size(relid)) FROM pg_catalog.pg_statio_user_tables WHERE 
relname::text like '${TABLE}';


Note that ${TABLE} is variable with value for example: 
"vm_interface_samples_history"


I suggest to run few queries and check "external size" of your tables.

In our case vacuuming has huge effect on releasing disk space and it 
takes jus few seconds for database.


Oh yes, I almost forgot. As Strahi said, there is some ovirt tool 
(script) for cleaning up psql database but in our case it didn't have 
such huge effect as it didn't perform full vacuum.


Regards,
Pavel

On 11/10/2019 15:50, Strahil Nikolov wrote:
On October 11, 2019 3:43:55 PM GMT+03:00, Chris Adams 
 wrote:

On my oVirt 4.1.9 cluster, the hosted engine filled up its disk last
night (it was deployed from the engine appliance image and had a 20G
root and 5G swap).  I gained a little space by trimming down swap, but
I
need to clean it up.

It looks like the problem is the Postgres database -
/var/lib/pgsql/data
is using 16G.  Is there some cleanup I can do (and then some way to
keep
it from happening again)?

Also, is there a way to extend the hosted engine disk?  It's on iSCSI
storage, and the LUN has free space.
I have noticed during engine upgrade that the tool proposes database 
cleanup, but I have never used it.


Best Regards,
Strahil Nikolov
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YU6Y3M5EL6LO2RMIKTUN5CXFL2I6VKSL/



Best regards.

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HGSIVBAYE3G5LJFFTZ4DQSSX3GD6Q76F/


[ovirt-users] Re: how to put or conditions in filters in web admin gui

2019-10-02 Thread Lucie Leistnerova

Hi Gianluca,

'or' should work, please send what exact search you enter in the box.

Thanks.

On 10/2/19 11:05 AM, Gianluca Cecchi wrote:

Hello,
environment tin 4.3.6.
Suppose I'm in Web Admin GUI in Storage --> Disks and I want to get 
displayed only the disks with "pattern1" together with the disks with 
"string2" ("or" condition), limiting output to these two conditions, 
how can I do it?

I tried some combinations without success

BTW: also the "and" condition seems not to work

Thanks,
Gianluca

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4YBSRN6DZIQUD6RIL3YIUXKMHZVYKEUL/


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QTAYPI4SIOKT4IMZ3UES2KM64Z755Q3M/


[ovirt-users] Re: user role

2019-09-17 Thread Lucie Leistnerova

Hello Kim,

I think for this situation fits the VM portal and user permissions best.

You can use combination of built-in roles or create new one 
(Administration -> Configure -> Roles -> New) with all permissions 
combined. Users than log into VM portal and can see only VMs assigned to 
them or that they've created. See the roles/permissions below.
Roles can be added for the user in global way or you can assign to the 
datacenter or cluster.


On 9/17/19 8:29 AM, kim.karga...@noroff.no wrote:

Hi,

We are an Higher Education Institution and have set up oVirt 4.3 as a Virtual 
Lab Environment, for both on-campus and distance learning students. We have 
integrated AD and can log in with AD credentials for users. However, I am 
struggling to find the right user role for normal student users. Basically, 
they need to be able to do the following:
1. Create a new VM and select from either a template or select an uploaded ISO


Role: VmCreator
New: VM -> Provisioning Operations -> Create
Disk -> Provisioning Operations -> Create


2. Start the VM
3. Restart the VM
4. Shutdown the VM


Role: UserRole
New: VM -> Basic Operations


5. Snapshot the VM


Role: UserVmManager
New: VM -> Provisioning Operations -> Edit snapshots


6. Connect to the VM using either spice or vnc/novnc

Role: UserRole
New: VM -> Administration Operations -> Connect to VM Serial Console

7. Create a disk

Role: VmCreator or DiskCreator
New: Disk -> Provisioning Operations -> Create

8. Connect to the student network (only would be preferable here) as we have 
management networks that we dont want the students be be able to see or select 
(if possible)
Not sure what does it mean connect to student network, but it could 
solve to assign UserRole to the networks they can use.


I have tested using the PowerUserRole, but that does not allow me to select 
VNC/noVNC or spice and does not allow me to install from an ISO, only a 
template. Any suggestions on role that I can give these users?

Thanks.

Kind regards

Kim
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4C2KCNPOR2VTJVHZZSIXTVGC54RKDY3S/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2VO47AP5GNMXXVXAHPPBOYBG4TNS3IAK/


[ovirt-users] Re: Installing new oVirt node fails

2019-08-19 Thread Lucie Leistnerova

Hi, I'm sorry for my late response.

On 8/13/19 12:21 PM, Winfried de Heiden wrote:
I guess installation will fail, most likeley beacause of some 
"strange" characters in the ssh pub-keys

Installation is incomplete and therfor vdsm will start complaining.

In the past, I was able to reproduce oVirt installation(issues) using 
nested kvm. For some reason the old method 
(https://ovirt.org/develop/developer-guide/vdsm/developers.html) does 
notwork anymore. No more nested kvm anymore? I'm prety shure my 
installtion issues are ssh-pubkey related, but I need a virtual 
hypervisor to reproduce...


I'm QE and I never installed vdsm other than from provided rpms. So I 
can't help with that guide.


I can just check the deploy logs from the engine, whether I can get more 
information what was wrong.




Winfried


Op 12-08-19 om 13:19 schreef Lucie Leistnerova:

On 8/12/19 10:34 AM, Winfried de Heiden wrote:

Hi all,

No, the certificate was OK, no UTF characters found. I think I found 
the problem however; the public keys as found in 
/root/.ssh/authorized_keys.


One or two keys did contain a "@" in the description. After removing 
these keys, installation went well. I'll try to reproduce using a 
virtual hypervisor, smells like a bug.


That sounds strange, @ is 0x40. Otopi complains about 0x3c, that 
characters start with À.

Please send the host deploy log.



Winfried

Op 12-08-19 om 07:59 schreef Lucie Leistnerova:


Hi Winfried,

On 8/11/19 7:20 PM, Winfried de Heiden wrote:

Hi all,

Installing/regestering a host to ovirt (ovirt: 4.3.5.5-1.el7 +  
oVirt Node 4.3.5.2)) will fail with, seems lang something using 
yum goes wrong. Installing will fail...



You may hit this issue

https://bugzilla.redhat.com/show_bug.cgi?id=1733438

Check your certificates for utf characters.


019-08-11 18:40:44,408+0200 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND   **%EventStart STAGE misc METHOD 
otopi.plugins.otopi.network.ssh.Plugin._append_key (None)
2019-08-11 18:40:44,409+0200 DEBUG otopi.context context._executeMethod:145 
method exception
Traceback (most recent call last):
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/context.py", line 132, in 
_executeMethod
 method['method']()
   File "/tmp/ovirt-sMdZ7tvESy/otopi-plugins/otopi/network/ssh.py", line 152, 
in _append_key
 constants.CoreEnv.MODIFIED_FILES
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/filetransaction.py", line 151, 
in __init__
 self._content = self._content.encode("utf-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 750: 
ordinal not in range(128)
2019-08-11 18:40:44,409+0200ERROR  otopi.context context._executeMethod:154 
Failed to execute stage 'Misc configuration': 'ascii' codec can't decode byte 
0xc3 in position 750: ordinal not in range(128)
2019-08-11 18:40:44,410+0200 DEBUG otopi.transaction transaction.abort:119 
aborting 'Yum Transaction'
2019-08-11 18:40:44,410+0200 INFO otopi.plugins.otopi.packagers.yumpackager 
yumpackager.info:80 Yum Performing yum transaction rollback
Loaded plugins: fastestmirror, product-id, subscription-manager, versionlock

Afterwards, oVirt Node will complain:

aug 11 19:13:32 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:13:55 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:18 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:41 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3

Anyone?

Winfried

___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A4Q3MTNXQVXIKK36LPJOBGRWMZ3SCXO/

Best regards,

Lucie

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe



--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe



--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EMRVDVWHF24FGHJRQVIEDJNO3K353E5J/


[ovirt-users] Re: Installing new oVirt node fails

2019-08-12 Thread Lucie Leistnerova

On 8/12/19 10:34 AM, Winfried de Heiden wrote:

Hi all,

No, the certificate was OK, no UTF characters found. I think I found 
the problem however; the public keys as found in 
/root/.ssh/authorized_keys.


One or two keys did contain a "@" in the description. After removing 
these keys, installation went well. I'll try to reproduce using a 
virtual hypervisor, smells like a bug.


That sounds strange, @ is 0x40. Otopi complains about 0x3c, that 
characters start with À.

Please send the host deploy log.



Winfried

Op 12-08-19 om 07:59 schreef Lucie Leistnerova:


Hi Winfried,

On 8/11/19 7:20 PM, Winfried de Heiden wrote:

Hi all,

Installing/regestering a host to ovirt (ovirt: 4.3.5.5-1.el7 +  
oVirt Node 4.3.5.2)) will fail with, seems lang something using yum 
goes wrong. Installing will fail...



You may hit this issue

https://bugzilla.redhat.com/show_bug.cgi?id=1733438

Check your certificates for utf characters.


019-08-11 18:40:44,408+0200 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND   **%EventStart STAGE misc METHOD 
otopi.plugins.otopi.network.ssh.Plugin._append_key (None)
2019-08-11 18:40:44,409+0200 DEBUG otopi.context context._executeMethod:145 
method exception
Traceback (most recent call last):
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/context.py", line 132, in 
_executeMethod
 method['method']()
   File "/tmp/ovirt-sMdZ7tvESy/otopi-plugins/otopi/network/ssh.py", line 152, 
in _append_key
 constants.CoreEnv.MODIFIED_FILES
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/filetransaction.py", line 151, 
in __init__
 self._content = self._content.encode("utf-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 750: 
ordinal not in range(128)
2019-08-11 18:40:44,409+0200ERROR  otopi.context context._executeMethod:154 
Failed to execute stage 'Misc configuration': 'ascii' codec can't decode byte 
0xc3 in position 750: ordinal not in range(128)
2019-08-11 18:40:44,410+0200 DEBUG otopi.transaction transaction.abort:119 
aborting 'Yum Transaction'
2019-08-11 18:40:44,410+0200 INFO otopi.plugins.otopi.packagers.yumpackager 
yumpackager.info:80 Yum Performing yum transaction rollback
Loaded plugins: fastestmirror, product-id, subscription-manager, versionlock

Afterwards, oVirt Node will complain:

aug 11 19:13:32 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:13:55 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:18 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:41 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3

Anyone?

Winfried

___
Users mailing list --users@ovirt.org
To unsubscribe send an email tousers-le...@ovirt.org
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A4Q3MTNXQVXIKK36LPJOBGRWMZ3SCXO/

Best regards,

Lucie

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe



--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZQNXCKJOI5DQPMDY6GE2DKOX7XW632IG/


[ovirt-users] Re: Installing new oVirt node fails

2019-08-12 Thread Lucie Leistnerova

Hi Winfried,

On 8/11/19 7:20 PM, Winfried de Heiden wrote:

Hi all,

Installing/regestering a host to ovirt (ovirt: 4.3.5.5-1.el7 + oVirt 
Node 4.3.5.2)) will fail with, seems lang something using yum goes 
wrong. Installing will fail...



You may hit this issue

https://bugzilla.redhat.com/show_bug.cgi?id=1733438

Check your certificates for utf characters.


019-08-11 18:40:44,408+0200 DEBUG otopi.plugins.otopi.dialog.machine 
dialog.__logString:204 DIALOG:SEND   **%EventStart STAGE misc METHOD 
otopi.plugins.otopi.network.ssh.Plugin._append_key (None)
2019-08-11 18:40:44,409+0200 DEBUG otopi.context context._executeMethod:145 
method exception
Traceback (most recent call last):
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/context.py", line 132, in 
_executeMethod
 method['method']()
   File "/tmp/ovirt-sMdZ7tvESy/otopi-plugins/otopi/network/ssh.py", line 152, 
in _append_key
 constants.CoreEnv.MODIFIED_FILES
   File "/tmp/ovirt-sMdZ7tvESy/pythonlib/otopi/filetransaction.py", line 151, 
in __init__
 self._content = self._content.encode("utf-8")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 750: 
ordinal not in range(128)
2019-08-11 18:40:44,409+0200ERROR  otopi.context context._executeMethod:154 
Failed to execute stage 'Misc configuration': 'ascii' codec can't decode byte 
0xc3 in position 750: ordinal not in range(128)
2019-08-11 18:40:44,410+0200 DEBUG otopi.transaction transaction.abort:119 
aborting 'Yum Transaction'
2019-08-11 18:40:44,410+0200 INFO otopi.plugins.otopi.packagers.yumpackager 
yumpackager.info:80 Yum Performing yum transaction rollback
Loaded plugins: fastestmirror, product-id, subscription-manager, versionlock

Afterwards, oVirt Node will complain:

aug 11 19:13:32 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:13:55 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:18 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3
aug 11 19:14:41 bigvirt.blabla.bla vdsm[2342]: ERROR ssl handshake: SSLError, 
address: :::10.19.69.3

Anyone?

Winfried

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2A4Q3MTNXQVXIKK36LPJOBGRWMZ3SCXO/

Best regards,

Lucie

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JZ2FSXWAUSOHVB4CQJLNYY7VRPGAKT37/


[ovirt-users] Re: template permissions not inherited (4.3.4)

2019-07-24 Thread Lucie Leistnerova

Hi Christoph,

On 7/22/19 2:28 PM, Timmi wrote:

Hi oVirt List,

I have just a quick question if I should open a ticket for this or if 
I'm doing something wrong.


I created a new VM template with specific permissions in addition to 
the system wide permissions. If I create a new VM with the template I 
notices that only system permissions are copied to the permission of 
the new VM.


Is this the intended behavior? I was somehow under the impression that 
the permission from the template should have been copied to the newly 
created VM.


Did you check by creating the VM that permissions should be copied?

I've tested ovirt 4.3.5 and I added UserRole and custom role to the 
template for test user. Newly created VM contained both of the roles for 
the user. Is this the case you mean?




Tested with Version 4.3.4.3-1.el7

Best regards
Christoph
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ADS2EUY4K3RA2ZF6OEG2GHW6ZPUIZKLH/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCV6GXBBPRCZMPACA56LKZFYT2RQBPEQ/


[ovirt-users] Re: hosted-engine restore bug?

2019-06-20 Thread Lucie Leistnerova

Please send the log

/var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log

Thank you

On 6/20/19 3:16 PM, ada per wrote:

Thank you!!

That fixed the problem with engine-restore
now i get the following error when performing engine-setup


 INFO  ] Stage: Transaction setup
[ INFO  ] Stopping dwh service
[ INFO  ] Stopping Image I/O Proxy service
[ INFO  ] Stopping websocket-proxy service
[ INFO  ] Stage: Misc configuration (early)
[ INFO  ] Stage: Package installation
[ INFO  ] Stage: Misc configuration
[ INFO  ] Configuring Image I/O Proxy
[ ERROR ] Failed to execute stage 'Misc configuration': 'NoneType' 
object has no attribute 'execute'

[ INFO  ] Yum Performing yum transaction rollback
[ INFO  ] Stage: Clean up
          Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190620161000-8bgr10.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20190620161341-setup.conf'

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup fail

On Thu, Jun 20, 2019 at 3:44 PM Lucie Leistnerova <mailto:lleis...@redhat.com>> wrote:


Hi,

On 6/20/19 2:27 PM, ada per wrote:
> Hello everyone,
>
> im running on ovirt 4.3.5
> For some strange reason the httpd service couldn't start on my
hosted engine so i could not access the Web interface.After
various unsuccessful attempts to fix it, I decided to restore the
hosted engine.
>
> Following the steps:
> 1.engine-cleanup
> 2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
> 3.engine-backup --mode=restore --file=backup_file
--log=log_file_name --provision-db --no-restore-permissions
> 4.engine-setup
>
> On step 3 it keeps coming with error messages "FATAL: Can't
connect to database 'ovirt_engine_history'. Please see
'/usr/bin/engine-backup --help'.

ovirt_engine_history is DWH database. So I think you miss
--provision-dwh-db parameter.

  --provision-db create a PostgreSQL database for
the Engine on restore
  --provision-dwh-db create a PostgreSQL database for
Data Warehouse on restore
 If provisioning databases, this
option will default.
  --provision-all-databases  on restore, create a PostgreSQL
database for all the
    databases that were included
in the
backup

>
> i need to get this hosted-engine up and running so please advice
>
> ___
> Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
> To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/
> oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
> List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/S7AYLQFYRFVDNF7E34FUG6IVCYNATIFE/

Best regards,

-- 
Lucie Leistnerova

Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe


--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WKYTACQY4NGH4AT3LDDRL26SRCEJGCMS/


[ovirt-users] Re: hosted-engine restore bug?

2019-06-20 Thread Lucie Leistnerova

Hi,

On 6/20/19 2:27 PM, ada per wrote:

Hello everyone,

im running on ovirt 4.3.5
For some strange reason the httpd service couldn't start on my hosted engine so 
i could not access the Web interface.After various unsuccessful attempts to fix 
it, I decided to restore the hosted engine.

Following the steps:
1.engine-cleanup
2.db had to delete it manually using  rm -rf /var/lib/pgsql/data
3.engine-backup --mode=restore --file=backup_file --log=log_file_name 
--provision-db --no-restore-permissions
4.engine-setup

On step 3 it keeps coming with error messages "FATAL: Can't connect to database 
'ovirt_engine_history'. Please see '/usr/bin/engine-backup --help'.


ovirt_engine_history is DWH database. So I think you miss 
--provision-dwh-db parameter.


 --provision-db create a PostgreSQL database for 
the Engine on restore
 --provision-dwh-db create a PostgreSQL database for 
Data Warehouse on restore
    If provisioning databases, this 
option will default.
 --provision-all-databases  on restore, create a PostgreSQL 
database for all the
   databases that were included in the 
backup




i need to get this hosted-engine up and running so please advice

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/S7AYLQFYRFVDNF7E34FUG6IVCYNATIFE/


Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FBBCH763MZ5UFN7BUVORDU4BOXORKUGX/


[ovirt-users] Re: option to remove a specific VM greyed out

2019-06-03 Thread Lucie Leistnerova

Hi Jayme,

there is a special option - Delete protection in General tab, that 
prevents from deleting. Is it checked on the VM?


On 6/3/19 4:46 PM, Jayme wrote:
Running latest stable 4.3.  I have one particular VM that is shutdown 
but options for removal are greyed out in the admin gui.  I tried 
starting it and shutting it down again but still the options are 
not-selectable.  However, they are for other VMs.


Any idea what is different about this VM that is preventing removal 
from the GUI?




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/45NZKY6KTVJQX7YTOJIGNERNVNZ2RUEM/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6X7XE3X7WYVE55PKWAAFHYTDHVSOERJF/


[ovirt-users] Re: nested attributes of structs

2019-05-29 Thread Lucie Leistnerova

Hi Nathanaël,

On 5/28/19 5:21 PM, Nathanaël Blanchet wrote:


Hello,

Considering:

https://bugzilla.redhat.com/show_bug.cgi?id=1653743 and 
https://github.com/ansible/ansible/issues/30624


I installed latest 4.3 sdk and ansible 2.8 but I still can't get the 
name of the href link doing this:


- name: disk facts
ovirt_disk_facts:
auth: "{{ ovirt_auth }}"
fetch_nested: true

it still gives:

    "storage_domains": [
    {
    "href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88",

    "id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88"
    }
If I understand, I should get the storage_domain name instead of its 
id, shouldn't I?




The change seems to not work perfectly.

When I run playbook with

    fetch_nested: True
    nested_attributes:
  - name

I get

    "quota": {
    "href": 
"/ovirt-engine/api/datacenters/87bc2e30-f3b1-11e8-aa7d-001a4a013f36/quotas/96f2a2e4-f3b1-11e8-82b6-001a4a013f36",

    "id": "96f2a2e4-f3b1-11e8-82b6-001a4a013f36",
    "name": "Default"
    },
    "disk_profile": {
    "href": 
"/ovirt-engine/api/storagedomains/82ceb4c9-e844-4fc7-b0ff-559052e6301f/diskprofiles/30cc8a74-4b99-4aab-8193-28826bbecbb9",

    "id": "30cc8a74-4b99-4aab-8193-28826bbecbb9",
    "name": "ll-03s1-43-3"
    },

So for direct link
href="/ovirt-engine/api/datacenters/87bc2e30-f3b1-11e8-aa7d-001a4a013f36/quotas/96f2a2e4-f3b1-11e8-82b6-001a4a013f36" 
id="96f2a2e4-f3b1-11e8-82b6-001a4a013f36"/>


it works fine. But storage domains are different, it is a list of links.

    
    href="/ovirt-engine/api/storagedomains/82ceb4c9-e844-4fc7-b0ff-559052e6301f" 
id="82ceb4c9-e844-4fc7-b0ff-559052e6301f"/>

    


I'll check it with developer and update by verifying the BZ.

Thanks for catching that issue.


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L4ZHNR6YWLBQHGFH6WO7FDMQSP7NGTA4/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/KGV6EJTG2ZKRJ2NBRPEPZWDVBYKUCMN7/


[ovirt-users] Re: How to assign 1 VM to one user in ovirt 4.3

2019-05-28 Thread Lucie Leistnerova

Hi Harry,

On 5/28/19 10:01 AM, Harry Conings wrote:

Hi
I can not seem to find how to assign 1 VM to one user. So that the user only 
sees one vm in his VM portal
Can anyone help ?

In Admin portal go to VM detail -> Permissions -> Add
Change profile in Search first box if needed and click Go. List of users 
should appear. If needed change the Role (default is UserRole that can 
only run the VM, not edit or create snapshots)

Select the user and click OK.

Ovirt 4.3
thks
Harry
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CF5AOWRHSTH7HGGG3BUKL72BKJWGMKJP/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EYLRB7KUGFOFLPCV2VRMPMXOQ56RPDKO/


[ovirt-users] Re: Administration Portal "Uncaught Exception" Issue

2019-05-27 Thread Lucie Leistnerova

Hi Zachary,

On 5/27/19 6:43 PM, Zachary Winter wrote:


I am consistently receiving error warnings in the Administration 
Portal the read as follows:


/"Uncaught exception occurred. Please try reloading the page. Details: 
(TypeError) : Cannot read property 'a' of null/


//

/Please have your administrator check the UI logs"/

/
/

My questions are:

1)  Where/What are the UI logs?


/var/log/ovirt-engine/ui.log


2)  Is this a known issue, and how do I fix it?


This error doesn't say anything specific to see what is the problem 
without the logs.

What does it mean constantly? On all pages?




___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LQLZNQHJWJSO4YVGKGOMUYUOQQJQFG3E/

Best regards,

--
Lucie Leistnerova
Senior Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HEHKE4DLMTLMX7ZM5OKFM5KHC2JT44DM/


[ovirt-users] Re: VM pools broken in 4.3

2019-05-21 Thread Lucie Leistnerova
 
  
  function='0x0'/>

    
    
  
  function='0x1'/>

    
    
  
    
    
  
  
  
  
  
  
  
  
  
  function='0x0'/>

    
    
  path='/var/lib/libvirt/qemu/channels/6489cc72-8ca5-4943-901c-bbd405bdac68.ovirt-guest-agent.0'/>

  
  
  
    
    
  path='/var/lib/libvirt/qemu/channels/6489cc72-8ca5-4943-901c-bbd405bdac68.org.qemu.guest_agent.0'/>
  state='connected'/>

  
  
    
    
  
  
  
    
    
  
    
    
  
    
    listen='10.86.19.1' keymap='en-us' passwdValidTo='1970-01-01T00:00:01'>
  network='vdsm-ovirtmgmt'/>

    
    listen='10.86.19.1' passwdValidTo='2019-05-21T07:19:09'>
  network='vdsm-ovirtmgmt'/>

  
  
  
  
  
  
  
  
    
    
  
  function='0x0'/>

    
    
  heads='1' primary='yes'/>

  
  function='0x0'/>

    
    
  
  
  function='0x0'/>

    
    
  /dev/urandom
  
  function='0x0'/>

    
  
  
system_u:system_r:svirt_t:s0:c510,c786
system_u:object_r:svirt_image_t:s0:c510,c786
  
  
    +107:+107
    +107:+107
  

}, log id: 143dc893
2019-05-21 09:17:42,799+02 WARN 
[org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] 
(default task-9) [20af568a-9128-41f6-ac2c-0b636b790655] Validation of 
action 'AttachUserToVmFromPoolAndRun' fail
ed for user u0045...@esat.kuleuven.be-authz. Reasons: 
VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL,ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS
2019-05-21 09:17:42,809+02 ERROR 
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] 
(default task-9) [] Operation Failed: [Cannot allocate and run VM from 
VM-Pool. There are no available VMs in th

e VM-Pool.]


On 5/17/19 2:52 PM, Rik Theys wrote:


Hi,

Things are going from bad to worse it seems.

I've created a new VM to be used as a template and installed it with 
CentOS 7. I've created a template of this VM and created a new pool 
based on this template.


When I try to boot one of the VM's from the pool, it fails and logs 
the following error:


2019-05-17 14:48:01,709+0200 ERROR (vm/f7da02e4) [virt.vm] 
(vmId='f7da02e4-725c-4c6c-bdd4-9f2cae8b10e4') The vm start process 
failed (vm:937)

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 866, 
in _startUnderlyingVm

    self._run()
  File "/usr/lib/python2.7/site-packages/vdsm/virt/vm.py", line 2861, 
in _run

    dom = self._connection.defineXML(self._domain.xml)
  File 
"/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", 
line 131, in wrapper

    ret = f(*args, **kwargs)
  File "/usr/lib/python2.7/site-packages/vdsm/common/function.py", 
line 94, in wrapper

    return func(inst, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3743, in 
defineXML
    if ret is None:raise libvirtError('virDomainDefineXML() failed', 
conn=self)

libvirtError: XML error: requested USB port 3 not present on USB bus 0
2019-05-17 14:48:01,709+0200 INFO  (vm/f7da02e4) [virt.vm] 
(vmId='f7da02e4-725c-4c6c-bdd4-9f2cae8b10e4') Changed state to Down: 
XML error: requested USB port 3 not present on USB bus 0 (code=1) 
(vm:1675)


Strange thing is that this error was not present when I created the 
initial master VM.


I get similar errors when I select Q35 type VM's instead of the default.

Did your test pool have VM's with USB enabled?

Regards,

Rik

On 5/17/19 10:48 AM, Rik Theys wrote:


Hi Lucie,

On 5/16/19 6:27 PM, Lucie Leistnerova wrote:


Hi Rik,

On 5/14/19 2:21 PM, Rik Theys wrote:


Hi,

It seems VM pools are completely broken since our upgrade to 4.3. 
Is anybody else also experiencing this issue?


I've tried to reproduce this issue. And I can use pool VMs as 
expected, no problem. I've tested clean install and also upgrade 
from 4.2.8.7.
Version: ovirt-engine-4.3.3.7-0.1.el7.noarch with 
ovirt-web-ui-1.5.2-1.el7ev.noarch 
That is strange. I will try to create a new pool to verify if I also 
have the problem with the new pool. Currently we are having this 
issue with two different pools. Both pools were created in August or 
September of last year. I believe it was on 4.2 but could still have 
been 4.1.


Only a single instance from a pool can be used. Afterwards the 
pool becomes unusable due to a lock not being released. Once 
ovirt-engine is restarted, another (single) VM from a pool can be 
used.



What users are running the VMs? What are the permissions?


The users are taking VM's from the pools using the user portal. They 
are all member of a group that has the UserRole permission on the pools.


Each VM is running by other user? Were already some VMs running 
before the upgrade?


A user can take at most 1 VM from each pool. So it's possible a user 
has two VM's running (but not from the same pool). It doesn't matter 
which user is taking a VM from the p

[ovirt-users] Re: VM pools broken in 4.3

2019-05-16 Thread Lucie Leistnerova
rt.engine.core.bll.VmPoolHandler] 
(default task-11) [55cc0796-4f53-49cd-8739-3b7e7dd2d95b] Failed to Acquire Lock 
to object 
'EngineLock:{exclusiveLocks='[d8a99676-d520-425e-9974-1b1efe6da8a5=VM]', 
sharedLocks=''}'
2019-05-14 13:49:32,700+02 INFO  
[org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (default 
task-11) [55cc0796-4f53-49cd-8739-3b7e7dd2d95b] Lock Acquired to object 
'EngineLock:{exclusiveLocks='[a5bed59c-d2fe-4fe4-bff7-52efe089ebd6=USER_VM_POOL]',
 sharedLocks=''}'
2019-05-14 13:49:32,700+02 WARN  
[org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (default task-11) 
[55cc0796-4f53-49cd-8739-3b7e7dd2d95b] Validation of action 
'AttachUserToVmFromPoolAndRun' failed for useru0045...@esat.kuleuven.be-authz  
<mailto:u0045...@esat.kuleuven.be-authz>. Reasons: 
VAR__ACTION__ALLOCATE_AND_RUN,VAR__TYPE__VM_FROM_VM_POOL,ACTION_TYPE_FAILED_NO_AVAILABLE_POOL_VMS
2019-05-14 13:49:32,700+02 INFO  
[org.ovirt.engine.core.bll.AttachUserToVmFromPoolAndRunCommand] (default 
task-11) [55cc0796-4f53-49cd-8739-3b7e7dd2d95b] Lock freed to object 
'EngineLock:{exclusiveLocks='[a5bed59c-d2fe-4fe4-bff7-52efe089ebd6=USER_VM_POOL]',
 sharedLocks=''}'
2019-05-14 13:49:32,706+02 ERROR 
[org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default 
task-11) [] Operation Failed: [Cannot allocate and run VM from VM-Pool. There 
are no available VMs in the VM-Pool.]


Regards,
Rik


--
Rik Theys
System Engineer
KU Leuven - Dept. Elektrotechniek (ESAT)
Kasteelpark Arenberg 10 bus 2440  - B-3001 Leuven-Heverlee
+32(0)16/32.11.07

<>

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3IASEV7U7DIDVHAGAR2E2WQVFTCFH7QU/

Thank you
Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2FF32QX5AEKOJUPXOKALKEIT5MFHA4LW/


[ovirt-users] Re: Upgrade from 4.3.2 to 4.3.3 fails on database schema update

2019-04-23 Thread Lucie Leistnerova

Hello,

On 4/20/19 9:10 PM, eshwa...@gmail.com wrote:

Tried to upgrade to 4.3.3, and during engine-setup I get:

2019-04-20 14:24:47,041-0400 Running upgrade sql script 
'/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql'...
2019-04-20 14:24:47,043-0400 dbfunc_psql_die 
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql
* QUERY **
SELECT fn_db_create_constraint('image_transfers',
'fk_image_transfers_command_enitites',
'FOREIGN KEY (command_id) REFERENCES 
command_entities(command_id) ON DELETE CASCADE');
**

2019-04-20 14:24:47,060-0400 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.executeRaw:863 
execute-result: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 
'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', 
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20190420142153-s5heq0.log', 
'-c', 'apply'], rc=1
2019-04-20 14:24:47,060-0400 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:921 
execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 
'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', 
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20190420142153-s5heq0.log', 
'-c', 'apply'] stdout:


2019-04-20 14:24:47,061-0400 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema plugin.execute:926 
execute-output: ['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 
'localhost', '-p', '5432', '-u', 'engine', '-d', 'engine', '-l', 
'/var/log/ovirt-engine/setup/ovirt-engine-setup-20190420142153-s5heq0.log', 
'-c', 'apply'] stderr:
psql:/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql:3: 
ERROR:  insert or update on table "image_transfers" violates foreign key constraint 
"fk_image_transfers_command_enitites"
DETAIL:  Key (command_id)=(7d68555a-71ee-41f5-9f12-0b26b6b9d449) is not present in table 
"command_entities".
CONTEXT:  SQL statement "ALTER TABLE image_transfers ADD CONSTRAINT 
fk_image_transfers_command_enitites FOREIGN KEY (command_id) REFERENCES 
command_entities(command_id) ON DELETE CASCADE"
PL/pgSQL function fn_db_create_constraint(character varying,character 
varying,text) line 9 at EXECUTE
FATAL: Cannot execute sql command: 
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql
There are left some non active image transfers. Remove them in the 
database running upgrade script

04_03_0265_remove_foreign_key_in_image_transfers.sql

$ scl enable rh-postgresql10 bash
$ psql engine

engine=# DELETE FROM image_transfers
WHERE command_id NOT IN
    (SELECT    command_entities.command_id
 FROM  command_entities);

It should be fixed for newer ovirt versions.

2019-04-20 14:24:47,061-0400 ERROR 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema schema._misc:432 
schema.sh: FATAL: Cannot execute sql command: 
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql
2019-04-20 14:24:47,061-0400 DEBUG otopi.context context._executeMethod:145 
method exception
Traceback (most recent call last):
   File "/usr/lib/python2.7/site-packages/otopi/context.py", line 132, in 
_executeMethod
 method['method']()
   File 
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py",
 line 434, in _misc
 raise RuntimeError(_('Engine schema refresh failed'))
RuntimeError: Engine schema refresh failed
2019-04-20 14:24:47,064-0400 ERROR otopi.context context._executeMethod:154 
Failed to execute stage 'Misc configuration': Engine schema refresh failed
2019-04-20 14:24:47,065-0400 DEBUG otopi.transaction transaction.abort:119 
aborting 'Yum Transaction'
2019-04-20 14:24:47,065-0400 INFO otopi.plugins.otopi.packagers.yumpackager 
yumpackager.info:80 Yum Performing yum transaction rollback
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2BA3WQYBT2X3MXFYBCGNISVBOCQR4ENA/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4CWZ7LK3JKGZG3W5BIQMLYKIGLHJNDXS/


[ovirt-users] Re: engine-setup failing on 4.3.2 -> 4.3.3 fails during Engine schema refresh fail

2019-04-17 Thread Lucie Leistnerova

Hi Edward,

On 4/16/19 9:23 PM, Edward Berger wrote:
I was trying to upgrade a hyperconverged oVirt hosted engine and 
failed in the engine-setup command with these error and warnings.


...
[ INFO  ] Creating/refreshing Engine database schema
[ ERROR ] schema.sh: FATAL: Cannot execute sql command: 
--file=/usr/share/ovirt-engine/dbscripts/upgrade/04_03_0830_add_foreign_key_to_image_transfers.sql

The error is

ERROR:  insert or update on table "image_transfers" violates foreign key 
constraint "fk_image_transfers_command_enitites"
DETAIL:  Key (command_id)=(fedc82f7-9bf7-4988-b9d9-23853e04e44e) is not 
present in table "command_entities".


So there is some image transfer left without appropriate command entity.
If you are sure that no such transfer is active. You can remove it from 
the table.



$ scl enable rh-postgresql10 bash
$ psql engine

engine=# delete from image_transfers where 
command_id='fedc82f7-9bf7-4988-b9d9-23853e04e44e';



[ ERROR ] Failed to execute stage 'Misc configuration': Engine schema 
refresh failed

...
[ INFO  ] Yum Verify: 16/16: ovirt-engine-tools.noarch 0:4.3.3.5-1.el7 - e
[WARNING] Rollback of DWH database postponed to Stage "Clean up"
[ INFO  ] Rolling back database schema
...
[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

Attaching engine-setup logfile.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/45EDYLIQE4QUJYZUG6KJJRJAKCJ5OI3P/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2UT7ANKVQKB5NSE3DQAFH6EFDEYDEWVB/


[ovirt-users] Re: assign quota to a user with the api rest services of ovirt

2019-04-08 Thread Lucie Leistnerova

Hello,

On 4/8/19 8:41 PM, racol...@softel.cu wrote:

Hi

I am running version 4.3.2 of ovirt and I am trying to assign a user to a quota 
with the services of api rest of ovirt. I can not find any service or reference 
between the services that help me to make the user assignment to quota.
Consumer of quota is a special permission added to the quota. Add new 
one with:


POST 
/ovirt-engine/api/datacenters/{datacenter:id}/quotas/{quota:id}/permissions


with xml body:


  
    QuotaConsumer
  
  



Please help

Thanks
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YXFX2GNSC3Y7INVINHKBI5KAHIHXY2PG/

Best regards.

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7KWOKILNEFJACBACBFQSUD72NC6XGKST/


[ovirt-users] Re: User permissions needed to clone template disk

2019-03-27 Thread Lucie Leistnerova

Hello,

On 3/26/19 9:11 PM, Wood Peter wrote:

Hi Lucie,

I'm not able to create a VM independent from the template in VM Portal.

I created a template from a VM that is Optimized for Server and has 
1GB HDD Preallocated. The template also shows "Optimized for: Servers".


When users login to "VM Portal" and create VMs from that template all 
VMs are Dependent on the template.


This is very easy and fast to test. Can you please try and see if you 
get different results.
I've tested it in oVirt 4.3 and it worked. Now I checked it also in 
4.2.8 and unfortunately the update was not backported. Sorry for not 
checking it before, I was convinced that it was pushed already in 4.2.


Update oVirt to 4.3 or you can update only ovirt-web-ui package to 1.5 
version.
Use some version from 
https://copr-be.cloud.fedoraproject.org/results/ovirtwebui/ovirt-web-ui-master/

Main functionality should work also with 4.2.8 engine.

Thank you for your time.

-- Peter

On Tue, Mar 26, 2019 at 1:00 AM Lucie Leistnerova <mailto:lleis...@redhat.com>> wrote:


Hi Peter,

On 3/25/19 11:30 PM, Wood Peter wrote:

Hi,

Users have PowerUserRole permissions on the cluster and the
storage objects. Also TemplateCreator role on the Datacenter.

When users create VMs from templates there is no option to clone
the disk and create independent VM disk. The resource allocation
section is not visible at all.


I assume you try to create the VM with cloned disk in VM portal.
And yes, there is no resource section at all.

What permissions should I give users so they can clone the disk
when creating a VM from a template?


It is not defined with permissions. When you set the template
Optimized for: server, then creating new VM in VM portal should
clone the template disks.

Using oVirt 4.2.8.2-1.el7

Thank you,
-- Peter

___
Users mailing list --users@ovirt.org  <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org  
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/CTPCB6SFIUEVUZSNYGIQCOTJBEVIRRTZ/

Best regards,

-- 
Lucie Leistnerova

Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FSWB2ZZ2AJOP7W4J2HD2W4Z34DSDXGPO/


[ovirt-users] Re: User permissions needed to clone template disk

2019-03-26 Thread Lucie Leistnerova

Hi Peter,

On 3/25/19 11:30 PM, Wood Peter wrote:

Hi,

Users have PowerUserRole permissions on the cluster and the storage 
objects. Also TemplateCreator role on the Datacenter.


When users create VMs from templates there is no option to clone the 
disk and create independent VM disk. The resource allocation section 
is not visible at all.


I assume you try to create the VM with cloned disk in VM portal. And 
yes, there is no resource section at all.
What permissions should I give users so they can clone the disk when 
creating a VM from a template?


It is not defined with permissions. When you set the template Optimized 
for: server, then creating new VM in VM portal should clone the template 
disks.

Using oVirt 4.2.8.2-1.el7

Thank you,
-- Peter

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CTPCB6SFIUEVUZSNYGIQCOTJBEVIRRTZ/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JJUH337WPHJK3HXGGH6VGETXFN2NAHKE/


[ovirt-users] Re: How to create a template from VM Portal

2019-03-26 Thread Lucie Leistnerova

Hi Peter,
template can be created only in admin portal. VM portal is primary 
intended for non admin users and templates should be already prepared to 
stay simple.
Maybe in future this functionality can be added, but I'm not aware of 
that it is planned for now.


Best regards,

Lucie

On 3/26/19 2:08 AM, Wood Peter wrote:

Hi,

How do I create a template from a VM in "VM Portal"?

I'm using version 4.2.8.2 and I don't see the option to convert a VM 
to a template anywhere. The documentation refers to the Administration 
Portal interface.


Is it possible to create a template from the "VM Portal" or one must 
login to "Administration Portal"?


Any help would be appreciated.

Thank you,
-- Peter

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JBXDHZN2YCDQON3DARZCAMBYMSZE4RHL/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2VTEP3TOLVZFSBBCPLB7GYKAYPO6NHJ5/


[ovirt-users] Re: Can't connect to storage

2019-03-25 Thread Lucie Leistnerova

Hi Julio,

please send engine and vdsm log.

Thank you.

Lucie

On 3/24/19 3:05 PM, Julio Cesar Bustamante wrote:

Hi everyone

I hace a problem with ovirtmanager 4.2. in the nodes can't connect to 
storage. They show these messages. What can I do yo Solve it?





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6LEJTKNVLE57LMA6XHKODBIP2RGJAHQJ/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZJRKTY6WCF4IB7KCL656U5NUSYUKDGJN/


[ovirt-users] Re: Adding user to internalz with webadmin?

2019-02-25 Thread Lucie Leistnerova

Hi Juhani,


On 2/26/19 6:21 AM, Juhani Rautiainen wrote:

Hi!

How do you add users to internalz with webadmin? I mean there is add a
button in Administration->Users which opens 'Add Users and
Groups'-window . Windows has  'Add'- and 'Add and close'- buttons in
the bottom. Just can't figure out how they work. Pushing either of
those Add-buttons just closes the window.
You can't add user to internal directly from webadmin. Use tool on the 
engine ovirt-aaa-jdbc-tool


# ovirt-aaa-jdbc-tool user add test
# ovirt-aaa-jdbc-tool user password-reset test 
--password-valid-to="2020-01-01 00:00:00Z"


See 
https://www.ovirt.org/documentation/admin-guide/chap-Users_and_Roles.html


Adding user in webadmin works only for already created user to see/set 
permissions for them. In the dialog is Search row, when you press Go and 
internal is selected in the first selectbox, all users will be displayed 
in table below. You check some and then press Add.



-Juhani
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y4GFUACEHEEHYPHCIXDKX3UGRHB5FD23/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PBAOK73H3LPPIEYFSO5JGVWL5VMCQAPI/


[ovirt-users] Re: How to upgrade ovirt node host?

2019-02-17 Thread Lucie Leistnerova

Hello Adam,

On 2/18/19 3:54 AM, adam...@adagene.com.cn wrote:
How, everyone. I have upgraded my engine from 4.2.8 to 4.3.0. but when 
I check upgrade for the node host, there's 
no updates available for upgrade. I checked the repo file in the host, 
two files available:

/etc/yum.repos.d/ovirt-4.2.repo
/etc/yum.repos.d/ovirt-4.2-dependencies.repo
The documentation  seems to be out of date. 
https://www.ovirt.org/documentation/upgrade-guide/chap-Updates_between_Minor_Releases.html

so How could I upgrade my node hosts to ovirt 4.3 ?


Engine doesn't update repositories on hosts. That should be done manually.

It is mentioned in documentation

1. Ensure the correct repositories are enabled. You can check which 
repositories are currently enabled by running yum repolist.


You can do it like this:

# yum install https://resources.ovirt.org/pub/yum-repo/ovirt-release43.rpm




yours Adam

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/T7QXTNJ5XETO6TZHIXG2BT67T7N6GS5U/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JUMZ2TNUXDZA3FJKGNQJKO7LMAGBYMFY/


[ovirt-users] Re: Bug in the web interface?

2019-02-06 Thread Lucie Leistnerova


On 2/6/19 10:22 AM, Nicolas Ecarnot wrote:

Hi Lucie,

Le 06/02/2019 à 10:02, Lucie Leistnerova a écrit :
I'm sorry, my mistake I did not mention to remove the package without 
dependencies.


rpm -e --nodeps ...


I'll write that down.



When looking at the log file above
(https://framadrop.org/r/ywTOD-Q02-#dA6hdYaxfZpgUB68gtJLB9inH5oJajrL4H9LTktDd6o=) 
[...]
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", 


The error is cause by missing ovirt-engine-dbscripts.


OK

Well, I thought I messed up with packages, and I thought a compete 
yum update would help, as I read :

Le 05/02/2019 à 15:19, Greg Sheremeta wrote :



The fix is pushed. Standalone engine upgrades should be fine starting
now. `yum update` any appliance engines or already upgraded 
engines to get the latest ovirt-engine-ui-extensions, which fixes 
the problem.


So I ran a yum update.

This package is part of ovirt-engine versionlock so can't be 
installed/updated separately.
engine-setup should install the missing packages. I tried it by 
myself and it fixed the issue.


   [install] 
ovirt-engine-dbscripts-4.3.0.5-0.0.master.20190205084851.gitaaebfc9.el7.noarch 
will be installed


I see I have this package, though in an older version :
# rpm -qa|grep -i dbscripts
ovirt-engine-dbscripts-4.3.0.4-1.el7.noarch

The version shouldn't be problem. I tested it in u/s ovirt. Now I tried 
with same version.


Try to remove that package and install again. Versionlock seems to 
differ here so I was able to install it separately, if not run engine-setup.


# rpm -e --nodeps ovirt-engine-dbscripts

# yum install ovirt-engine-dbscripts



Not sure what went wrong by you, send please the setup log and the 


>> 
(https://framadrop.org/r/ywTOD-Q02-#dA6hdYaxfZpgUB68gtJLB9inH5oJajrL4H9LTktDd6o=)


ovirt-engine* rpms list. And also result of 'ls 
/usr/share/ovirt-engine/dbscripts'


# LANG=C ls -la /usr/share/ovirt-engine/dbscripts
ls: cannot access /usr/share/ovirt-engine/dbscripts: No such file or 
directory


You seem to hit the point.


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DHLDJ25RAXEDHEZOPBZKY7OLPNF3NV32/


[ovirt-users] Re: Bug in the web interface?

2019-02-06 Thread Lucie Leistnerova

Hi Nicolas,

On 2/6/19 9:07 AM, Nicolas Ecarnot wrote:

Le 05/02/2019 à 10:51, Lucie Leistnerova a écrit :

Hi Hetz,

On 2/5/19 10:25 AM, Hetz Ben Hamo wrote:

Hi,

I upgraded to 4.3 and on the hosted engine web interface, I see the 
"dashboard" button twice, one below the other.


How can I fix it or is it a known bug?

Yes, it is known issue and guys are working on that. Package 
ovirt-engine-dashboard is obsolete and ovirt-engine-ui-extensions is 
the new one. The fix then should remove the obsolete package, now it 
stays.


Remove package ovirt-engine-dashboard and one dashboard button 
disappears.


Hi,

I upgraded to 4.3 and hit the same issue.
I ran "yum remove ovirt-engine-dashboard" and I saw the additional 
button disappear.

I was tired and then mistyped :
"yum remove -y ovirt-engine-dashboard"
At first, I thought it would do nothing as I just removed it.
Instead, it *did* things, as if there was an alias from this package 
name to the "ovirt-engine-ui-extensions" name.

Is it possible?

Well, I ctrl-C'ed it in hurry and saw it uninstalled :
ovirt-engine-extension-aaa-ldap-setup-1.3.8-1.el7.noarch
ovirt-engine-extension-aaa-ldap-1.3.8-1.el7.noarch
ovirt-engine-api-explorer-0.0.2-1.el7.centos.noarch
ovirt-engine-backend-4.3.0.4-1.el7.noarch
ovirt-engine-dbscripts-4.3.0.4-1.el7.noarch

I'm sorry, my mistake I did not mention to remove the package without 
dependencies.


rpm -e --nodeps ...



So I reinstalled these packages.

I witnessed that my GUI wasn't working anymore, so I ran "engine-setup".
I answered the same questions I answered since years so I was pretty 
confident - I run this command at each upgrade, it does work.


Now, troubles are coming.

I choose to backup the database and to perform the vacuum.
After confirming the otopi answers, I see this failure :

[ INFO  ] Configuring WebSocket Proxy
[ INFO  ] Backing up database localhost:engine to 
'/var/lib/ovirt-engine/backups/engine-20190206084916.CbO3sD.dump'.

[ INFO  ] Creating/refreshing Engine database schema
[ ERROR ] Failed to execute stage 'Misc configuration': [Errno 2] 
Aucun fichier ou dossier de ce type

[ INFO  ] Rolling back DWH database schema
[ INFO  ] Clearing DWH database ovirt_engine_history
[ INFO  ] Rolling back database schema
[ INFO  ] Clearing Engine database engine
[ INFO  ] Restoring Engine database engine
[ INFO  ] Restoring file 
'/var/lib/ovirt-engine/backups/engine-20190206084916.CbO3sD.dump' to 
database localhost:engine.
[ ERROR ] Errors while restoring engine database, please check the log 
file for details

[ INFO  ] Stage: Clean up
  Log file is located at 
/var/log/ovirt-engine/setup/ovirt-engine-setup-20190206084840-2ps56v.log
[ INFO  ] Generating answer file 
'/var/lib/ovirt-engine/setup/answers/20190206084929-setup.conf'

[ INFO  ] Stage: Pre-termination
[ INFO  ] Stage: Termination
[ ERROR ] Execution of setup failed

When looking at the log file above
(https://framadrop.org/r/ywTOD-Q02-#dA6hdYaxfZpgUB68gtJLB9inH5oJajrL4H9LTktDd6o=) 


, I see a lot of SQL queries, then :

2019-02-06 08:49:17,955+0100 DEBUG 
otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema 
plugin.executeRaw:813 execute: 
['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', 
'-p', '5432', '-u', 'engine', '-d', 'eng2019-02-06 08:49:17,960+0100 
DEBUG otopi.plugins.ovirt_engine_setup.ovirt_engine.db.schema 
plugin.executeRaw:869 execute-result: 
['/usr/share/ovirt-engine/dbscripts/schema.sh', '-s', 'localhost', 
'-p', '5432', '-u', 'engine', '-dTraceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 856, 
in executeRaw

    preexec_fn=preexec_fn,
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type
2019-02-06 08:49:17,961+0100 DEBUG otopi.context 
context._executeMethod:143 method exception

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/otopi/context.py", line 133, 
in _executeMethod

    method['method']()
  File 
"/usr/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/ovirt-engine/db/schema.py", 
line 427, in _misc

    raiseOnError=False,
  File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 912, 
in execute

    **kwargs
  File "/usr/lib/python2.7/site-packages/otopi/plugin.py", line 856, 
in executeRaw

    preexec_fn=preexec_fn,
  File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] Aucun fichier ou dossier de ce type
2019-02-06 08:49:17,961+0100 ERROR otopi.context 
context._executeMethod:152 Failed to execute stage 'Misc 

[ovirt-users] Re: But in the web interface?

2019-02-05 Thread Lucie Leistnerova

Hi Hetz,

On 2/5/19 10:25 AM, Hetz Ben Hamo wrote:

Hi,

I upgraded to 4.3 and on the hosted engine web interface, I see the 
"dashboard" button twice, one below the other.


How can I fix it or is it a known bug?

Yes, it is known issue and guys are working on that. Package 
ovirt-engine-dashboard is obsolete and ovirt-engine-ui-extensions is the 
new one. The fix then should remove the obsolete package, now it stays.


Remove package ovirt-engine-dashboard and one dashboard button disappears.


Thanks
Hetz

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JZAMX5B2GLLITIDGW24B5GY6UQI7D5QO/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/S6ITQK27UFH2NVXUR5443XW5VM5AQY24/


[ovirt-users] Re: oVirt 4.2.8 CPU Compatibility

2019-01-23 Thread Lucie Leistnerova

Hello Uwe,

On 1/23/19 9:21 AM, Uwe Laverenz wrote:

Hi,

Am Dienstag, den 22.01.2019, 15:46 +0100 schrieb Lucie Leistnerova:


  Yes, it should be supported also in 4.2.8. According to Release
notes for 4.2.7 this warning is related to 4.3 version.

https://www.ovirt.org/release/4.2.7/

BZ 1623259 Mark clusters with deprecated CPU type
In the current release, for compatibility versions 4.2 and 4.3, a
warning in the Cluster screen indicates that the CPU types currently
used are not supported in 4.3. The warning enables the user to change
the cluster CPU type to a supported CPU type.

Does this mean that I would not be able to install OVirt 4.3 on
machines with Opteron 6174 cpu? Or would I just get a warning?

I was thinking of recycling our old DL385 machines for an OVirt/Gluster
testing lab. :)


As I understand it, you won't be able to add such host to cluster with 
compatibility version 4.3.
So after engine upgrade to 4.3, old cluster and hosts will still work. 
Until you will need to update also cluster compatibility version to 4.3



cu,
Uwe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/H5OCE7Y53RZ2WEOCCU77PBV7DZTTHZTR/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZSLZRQGOAGN5TK4NZFQAA5YGINRBW23T/


[ovirt-users] Re: oVirt 4.2.8 CPU Compatibility

2019-01-22 Thread Lucie Leistnerova

Hello Stefano,

On 1/22/19 12:40 PM, Stefano Danzi wrote:


Hello!
I'm running oVirt 4.2.7.5-1.el7 on 3 hosts cluster.
Cluster CPU Type is "AMD Opteron G3".

On default cluster I can see the warning:
"Warning: The CPU type 'AMD Opteron G3' will not be supported in the 
next minor version update'"


Is it still supported in version 4.2.8? I can't see references in 
documentation or changelog.

___
Yes, it should be supported also in 4.2.8. According to Release notes 
for 4.2.7 this warning is related to 4.3 version.


https://www.ovirt.org/release/4.2.7/

BZ 1623259 <https://bugzilla.redhat.com/1623259> *Mark clusters with 
deprecated CPU type
*In the current release, for compatibility versions 4.2 and 4.3, a 
warning in the Cluster screen indicates that the CPU types currently 
used are not supported in 4.3. The warning enables the user to change 
the cluster CPU type to a supported CPU type.


**

Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3P7KOTLL2PE7WWBK5S4BS665KDDOXPQJ/

Best regards,

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/23NEGK7SS4TKOO5SSQGTJFPA36ZZODMJ/


[ovirt-users] Re: User Management

2019-01-21 Thread Lucie Leistnerova

Hi Sakhi,

On 1/22/19 7:52 AM, Sakhi Hadebe wrote:

Hi,

I need some pointers to documentation that will help me to configure 
users to have access and some rights (access to console, starting and 
shutting down own VMs) on their VMs on the VM portal.


I have created a user using the ovirt-aaa-jdbc-tool utility, but I am 
unable to login to the cockpit portal. It gives an error:


*The user shadebe@internal is not **authorized** to perform login*
*
*


This error means that user doesn't have at least UserRole on any object 
(could be VM, cluster, DC, ...).


Roles explanation you can find here

https://www.ovirt.org/documentation/admin-guide/chap-Global_Configuration.html


User details:
*
*
[root@hostedengine ~]# ovirt-aaa-jdbc-tool query --what=user 
--pattern="name=s*"

-- User shadebe(a35e8e14-d32b-4ff9-89e0-fd090a87146a) --
Namespace: *
Name: shadebe
ID: a35e8e14-d32b-4ff9-89e0-fd090a87146a
Display Name:
Email: sa...@sanren.ac.za <mailto:sa...@sanren.ac.za>
First Name: Sakhi
Last Name: Hadebe
Department:
Title:
Description:
Account Disabled: false
Account Locked: false
Account Unlocked At: 1970-01-01 00:00:00Z
Account Valid From: 2019-01-16 09:08:48Z
Account Valid To: 2219-01-16 09:08:48Z
Account Without Password: false
Last successful Login At: 2019-01-16 09:32:52Z
Last unsuccessful Login At: 2019-01-16 09:32:36Z
Password Valid To: 2029-01-16 10:30:00Z

Please help.

*
*
*
*
*
*

--
Regards,
Sakhi Hadebe
Engineer: South African National Research Network (SANReN)Competency 
Area, Meraka, CSIR Tel: +27 12 841 2308  Fax: +27 12 
841 4223  Cell: +27 71 331 9622  
Email: sa...@sanren.ac.za <mailto:shad...@csir.co.za>


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CMVCAGEWP6QDORW7FHAXX4VGJJTNUBGK/

Best regards.

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UPBF5RSWJ6AB4S3C7YZA57NTTS26WKOR/


[ovirt-users] Re: Problems uploading ISO

2019-01-16 Thread Lucie Leistnerova


On 1/16/19 9:38 AM, Sandro Bonazzola wrote:



Il giorno mer 16 gen 2019 alle ore 09:11 Lucie Leistnerova 
mailto:lleis...@redhat.com>> ha scritto:


Hello,

On 1/16/19 7:45 AM, je...@tom.com <mailto:je...@tom.com> wrote:

I using ovirt-iso-uploadercommand to upload iso. but failed andgiving me 
the following error.
[root@ha ~]# engine-iso-uploader --verbose -i iso upload delta1.iso
Please provide the REST API password for the admin@internal oVirt Engine 
user (CTRL+D to abort):
DEBUG: API Vendor(None) API Version(4.2.0)
DEBUG: id=029786a6-4686-44a1-a667-b948df945712 address=storage1 path=/iso
Uploading, please wait...
INFO: Start uploading delta1.iso
ERROR: glfs_init failed: Success
[root@ha ~]# ^C
I've been looking for a possible solution but nothing works yet. Any
guidance on this matter will be appreciate it.


Remove package python2-ovirt-iso-uploader and then install
ovirt-iso-uploader.

$ rpm -e --nodeps python2-ovirt-iso-uploader


Is this ISO uploader 4.3 talking to 4.2 engine?


Yes, I'm able to upload iso also to 4.2 engine.





m19...@tom.com <mailto:m19...@tom.com>

___
Users mailing list --users@ovirt.org  <mailto:users@ovirt.org>
To unsubscribe send an email tousers-le...@ovirt.org  
<mailto:users-le...@ovirt.org>
Privacy Statement:https://www.ovirt.org/site/privacy-policy/
oVirt Code of 
Conduct:https://www.ovirt.org/community/about/community-guidelines/
List 
Archives:https://lists.ovirt.org/archives/list/users@ovirt.org/message/UAZ3BCYOMMDTPG7SPZ53KWOYZV2KYBKE/


    Best regards

    -- 


Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
To unsubscribe send an email to users-le...@ovirt.org
<mailto:users-le...@ovirt.org>
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:

https://lists.ovirt.org/archives/list/users@ovirt.org/message/BGHB5A44UTSNNHAZVNLPQCZVBBC57CHP/



--

SANDRO BONAZZOLA

MANAGER, SOFTWARE ENGINEERING, EMEA R RHV

Red Hat EMEA <https://www.redhat.com/>

sbona...@redhat.com <mailto:sbona...@redhat.com>

<https://red.ht/sig>


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6QPCYCUKDTIJ4R6KP2RD6CTDIMVVNW76/


[ovirt-users] Re: Problems uploading ISO

2019-01-16 Thread Lucie Leistnerova

Hello,

On 1/16/19 7:45 AM, je...@tom.com wrote:

I using ovirt-iso-uploadercommand to upload iso. but failed andgiving me the 
following error.
[root@ha ~]# engine-iso-uploader --verbose -i iso upload delta1.iso
Please provide the REST API password for the admin@internal oVirt Engine user 
(CTRL+D to abort):
DEBUG: API Vendor(None) API Version(4.2.0)
DEBUG: id=029786a6-4686-44a1-a667-b948df945712 address=storage1 path=/iso
Uploading, please wait...
INFO: Start uploading delta1.iso
ERROR: glfs_init failed: Success
[root@ha ~]# ^C
I've been looking for a possible solution but nothing works yet. Any
guidance on this matter will be appreciate it.

Remove package python2-ovirt-iso-uploader and then install 
ovirt-iso-uploader.


$ rpm -e --nodeps python2-ovirt-iso-uploader



m19...@tom.com

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UAZ3BCYOMMDTPG7SPZ53KWOYZV2KYBKE/


Best regards

--

Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BGHB5A44UTSNNHAZVNLPQCZVBBC57CHP/


[ovirt-users] Re: unable to create templates or upload files

2019-01-14 Thread Lucie Leistnerova

Hello,

I tried to reproduce the problem, but did not succeed. What version of 
oVirt do you have? And what are the exact steps?


Please send engine and server logs.

Thank you.

On 1/11/19 4:34 PM, mich...@wanderingmad.com wrote:

ovirt stopped accepting new deployments or uploading ISOs, they just stay as 
locked disks.  I checked ovirt-engine log and see constant errors like below:
ERROR [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-2) [] 
OAuthException access_denied: Cannot authenticate user 'admin@N/A': No valid 
profile found in credentials..

I checked the ovn provider in the admin portal and it's set correctly to 
"admin@internal" for the ovn provider
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/LADAVXRJGUVHLWWMEBEYWODROX3YUPQK/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GWWZTCOGZREJPXVCXSZY2T5C32PHB52U/


[ovirt-users] Re: quota_name field length missmatch in db schema

2019-01-11 Thread Lucie Leistnerova

Hello Pavel,

thank you for bringing that up. I have created new BZ.

https://bugzilla.redhat.com/show_bug.cgi?id=1665425


Lucie

On 1/11/19 10:28 AM, Pavel Šipoš wrote:

Hi!

We have a problem with Quotas whose name has a length grater than 60 
characters.


Such quotas can be created (or renamed) through oVirt-shell but cannot 
be managed through the oVirt Engine interface. E.g. VMs in that quota 
can't be started, created, quota comment can't be added...


It turns out that the problem is with the engine database definition 
of "audit_log" table, that declares "quota_name" column as "character 
varying(60)".

However "quota.quota_name" is defined as "character varying(65)".

I think this is a bug and should be fixed in the future.

Error example:

PL/pgSQL function insertauditlog(integer,timestamp with time 
zone,integer,character varying,integer,text,uuid,character 
varying,uuid,character varying,uuid,character varying,uuid,character 
varying,uuid,character varying,uuid,character varying,uuid,character 
varying,uuid,character varying,character varying,uuid,uuid,character 
varying,text,boolean,uuid,text) line 9 at SQL statement; nested 
exception is org.postgresql.util.PSQLException: ERROR: value too long 
for type character varying(60)



Regards,
Pavel



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4RMXQLXJHXFQ4NUMIBMWHOSCJ4MC6OCF/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZCZO5IFCCD3ZKFTG57W3UJAJYHWWT3WF/


[ovirt-users] Re: [Cannot edit VM. Maximum number of sockets exceeded.]

2019-01-09 Thread Lucie Leistnerova

Hi Matthias,

On 1/9/19 10:13 AM, Matthias Leopold wrote:

Hi,

when a user is managing a "higher number" (couldn't find the exact 
number yet, roughly >10) of VMs in VM Portal and wants to edit a VM he 
gets a "[Cannot edit VM. Maximum number of sockets exceeded.]" error 
message in the browser, which I also see in engine.log. I couldn't 
find the reason for this. I'm using squid as a SPICE Proxy at cluster 
level. oVirt version is 4.2.7, can anybody help me?


What exactly are you editing by the VM? The error sounds that CPUs 
number is higher than engine configuration value allows


# engine-config -g MaxNumOfVmSockets
MaxNumOfVmSockets: 16 version: 3.6
MaxNumOfVmSockets: 16 version: 4.0
MaxNumOfVmSockets: 16 version: 4.1
MaxNumOfVmSockets: 16 version: 4.2


thx
matthias

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HFLWFO53KAZHHDXK6QYROHKM5TZV3T3T/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DHBWVCM3GV5TAFNCR2JZ4SMIU7SQRQDU/


[ovirt-users] Re: Try to add Host to cluster: Command returned failure code 1 during SSH session

2018-12-09 Thread Lucie Leistnerova
) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] SSH error running command 
root@kvm380.durchhalten.intern:'umask 0077; 
MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XX)"; 
trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr 
\"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C 
"${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy 
DIALOG/dialect=str:machine DIALOG/customization=bool:True': 
IOException: Command returned failure code 1 during SSH session 
'root@kvm380.durchhalten.intern'


2018-12-09 14:48:28,389+01 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] Error during host 
kvm380.durchhalten.intern install


2018-12-09 14:48:28,391+01 ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] Host installation failed for 
host 'c06e2a1b-7d94-45f7-aaab-21da6703d6fc', 'kvm380': Command 
returned failure code 1 during SSH session 
'root@kvm380.durchhalten.intern'


2018-12-09 14:48:28,393+01 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] START, 
SetVdsStatusVDSCommand(HostName = kvm380, 
SetVdsStatusVDSCommandParameters:{hostId='c06e2a1b-7d94-45f7-aaab-21da6703d6fc', 
status='InstallFailed', nonOperationalReason='NONE', 
stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 29ddff69


2018-12-09 14:48:28,395+01 INFO 
[org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] FINISH, SetVdsStatusVDSCommand, 
log id: 29ddff69


2018-12-09 14:48:28,414+01 ERROR 
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] EVENT_ID: 
VDS_INSTALL_FAILED(505), Host kvm380 installation failed. Command 
returned failure code 1 during SSH session 
'root@kvm380.durchhalten.intern'.


2018-12-09 14:48:28,418+01 INFO 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-1942) 
[f097f8b0-ee35-4c08-a416-1f0427dd2e9e] Lock freed to object 
'EngineLock:{exclusiveLocks='[c06e2a1b-7d94-45f7-aaab-21da6703d6fc=VDS]', 
sharedLocks=''}'



___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TC2CT2AWKTXYYRBHUSEZELNINHLDSG7D/


Best regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/U5USXLMTHFJOULLHMP7JJDRHA24JYZIT/


[ovirt-users] Re: Change Default Behaviour

2018-11-28 Thread Lucie Leistnerova


On 11/28/18 3:22 PM, Alex McWhirter wrote:

On 2018-11-28 06:56, Lucie Leistnerova wrote:

Hello Alex,

On 11/27/18 8:02 PM, Alex McWhirter wrote:
In the admin interface, if i create a server template and make a VM 
out of it i get a Clone/Independent VM. If i use a dekstop template 
a get a Thin/Dependent


In the VM portal i only get Thin/Dependent.

How can i change this so that it's always Clone/Dependent for 
certain templates?

The default setting should depend on Optimized for: Desktop/Server on
the template. So when it creates Thin/Dependent VM for Server
template, I think that is a bug.

I created an issue. Thank you for bringing that up.

https://github.com/oVirt/ovirt-web-ui/issues/882


Best regards,
Lucie


Ok, yes that would make sense.

Any ideas where i can look to change this manually as a temp work around?


When you use template with disk on a storage that doesn't support 
sparsify, then it will not create thin disk on it. But I'm not sure how 
exactly that works.


What ovirt version you have? I've found some BZ with problem creating 
raw disks from template, that should be fixed in 4.3.

https://bugzilla.redhat.com/show_bug.cgi?id=1471138

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VBTS2BLA4GW3K6SMMO2RFDFCMLSWCNDY/


[ovirt-users] Re: Change Default Behaviour

2018-11-28 Thread Lucie Leistnerova

Hello Alex,

On 11/27/18 8:02 PM, Alex McWhirter wrote:
In the admin interface, if i create a server template and make a VM 
out of it i get a Clone/Independent VM. If i use a dekstop template a 
get a Thin/Dependent


In the VM portal i only get Thin/Dependent.

How can i change this so that it's always Clone/Dependent for certain 
templates?
The default setting should depend on Optimized for: Desktop/Server on 
the template. So when it creates Thin/Dependent VM for Server template, 
I think that is a bug.


I created an issue. Thank you for bringing that up.

https://github.com/oVirt/ovirt-web-ui/issues/882


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/SBJCLN4QPSNUFWB2XKS3TJ44VL4KC75J/


Best regards,
Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/72R5TTZLSHSM53IFLKCT53ZUNVVDFXU3/


[ovirt-users] Re: extract nested attribute from a href link with ansible ovirt_vm_facts

2018-11-27 Thread Lucie Leistnerova

Hello Nathanaël,

On 11/27/18 10:08 AM, Nathanaël Blanchet wrote:

Hello

I'd like to extract all vms which have the lease optionnal attribute 
and  display the name of the storage domain of that lease.


I managed to get that dict:

    "lease": {
    "storage_domain": {
    "href": 
"/ovirt-engine/api/storagedomains/0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88",

    "id": "0dc2941a-bdc2-4ce4-8ad7-43fa9c944f88"
    }

but how can I get the name of the storage instead of its id?

Unfortunately there is no way how to get the name directly in 
ovirt_vm_facts. Parameter fetch_nested works only for  API 
elements. But it is planned to add also this functionality. To be sure, 
I created RFE for it


https://bugzilla.redhat.com/show_bug.cgi?id=1653743


thank you for your help

You can get the storage information with ovirt_storage_domain module 
(ovirt_storage_domain_facts can't search via id)


    - name: Test
  ovirt_storage_domain:
    auth: "{{ ovirt_auth }}"
    id: "b1d7018b-14b1-4766-b390-5a95974ec38b"
  register: mystorage


Hopefully it helps.

Best regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XCWW7QM2OL4DOY7JM2V3RS75A5O4ETAM/


[ovirt-users] Re: ansible ovirt_vm_facts and custom_compatibility_version attributes

2018-11-20 Thread Lucie Leistnerova

Hello Nathanaël,

On 11/19/18 7:42 PM, Nathanaël Blanchet wrote:


I'd like to manipulate with ovirt_vm_fact ansible module some vm  
attributes in the API lik_e _custom_compatibility_version. 
<https://infra.v100.abes.fr/ovirt-engine/apidoc/#/types/vm_base/attributes/custom_compatibility_version>


Some of VM attributes are returned via API only when there are some 
values saved. That are for example all custom items in System section.


Right  from the APi description, it is available from the VmBase 
struct, but I can't find it in the return ovirt_vm_facts value, 
neither with nested attributes.


How should I do ?


Change the value to not null and then run ansible module to see them.


--
Nathanaël Blanchet

Supervision réseau
Pôle Infrastrutures Informatiques
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5   
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanc...@abes.fr  


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I7VRJREC56DJWVCCFN33C5HQKGLRX7SS/


Best regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4LCDGWNPWAKPXAKNUG56QU7N4FQPYDPZ/


[ovirt-users] Re: How to do per-datacenter/cluster permissions?

2018-11-18 Thread Lucie Leistnerova

Hello,

On 11/16/18 10:44 PM, nyha...@sedsystems.ca wrote:

Hello!

I'm evaluating oVirt for our company, and one thing we need to verify is that 
users only have access to virtual machines/clusters that they should have 
access to. I have the users set up from LDAP, and I added the UserRole to them, 
however it seems like they, by default, have access to every VM available. How 
do I go about limiting what VMs they have access to? I'd assume I'd have to 
limit access on a datacenter or cluster level, but I can't seem to find any 
documentation as to how to do this.
Yes, you have to set permissions on specific cluster, vm or pool. Remove 
the global role of the users. Go to item's detail -> Permissions -> Add.
User can log to VM portal when he has UserRole on some item, he doesn't 
need to have the global role.

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3KT2QDPVFQ45PW23UEUGEX6IK4G26FQI/


Regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/W2UDBJTTSJHNKVBDB3YJZ4QVBWA4NOFQ/


[ovirt-users] Re: Engine login fails after previously working.

2018-11-15 Thread Lucie Leistnerova

Hello Jeremy,

please send engine.log and server.log.



On 11/15/18 3:15 AM, Jeremy Tourville wrote:
I recently completed setup for 389 DS and 
ovirt-engine-extension-aaa-ldap-setup. I was able to complete the 
script run without errors and could perform both login and search 
functions without issue.  Initially after setup I was able to login.


After getting all this to work I had rebooted the 389 DS server.  I 
tried to login as the super user I created earlier. I am getting the 
message "Unable to login. Verify your login information or contact the 
system administrator."


 This issue only seemed to happen after the reboot, prior to that it 
had been working.  Any thoughts on troubleshooting?  Thanks in advance.


___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MXGDGXQDC6EFNFNKW2HZWJNHT6KPDU3F/



Thanks,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3CP5SNGCB5D532MITK7BVTONA4I3HFZ5/


[ovirt-users] Re: nested item with ovirt_vm_facts ansible module

2018-11-15 Thread Lucie Leistnerova

Hello Nathanaël,

On 11/14/18 7:58 PM, Nathanaël Blanchet wrote:

I try to get  a list for all vms :

"vm_name : description : id "

A simple loop works:

   - debug:
    msg: "{{ ovirt_vms | map(attribute='snapshots') | list }}"
  register: snapshotid2
  tags: snapshots2
    - debug:
    msg: "{{ ovirt_vms | map(attribute='name') | list }}"
  register: name2
  tags: snapshots2
    - set_fact:
    toto: "{{ name2.msg[item] }} : {{ 
snapshotid2.msg[0][0].description }} : {{ snapshotid2.msg[0][0].id }} "

  with_item:
    - 0
    - 1
  register: all_snapshots2
  tags: snapshots2
    - debug:
    var: all_snapshots2
  tags: snapshots2


Now I want insert a second loop with "with_nested" like so:

  - set_fact:
    toto: "{{ name2.msg[item.1] }} : {{ 
snapshotid2.msg[0].item.0.description }} : {{ 
snapshotid2.msg[0].item.0.id }} "

  with_nested:
    - [ '0', '1']
    - [ '1', '0']

but I always have this error: "The error was: 'list object' has no 
attribute u'0'"


How can I do such a thing?


if I got it right the loop should look like this:

- set_fact:
    toto: "{{ name2.msg[item.1] }} : {{ 
snapshotid2.msg[0][item.0].description }} : {{ 
snapshotid2.msg[0][item.0].id }} "

  with_nested:
    - [ 0, 1 ]
    - [ 1, 0 ]


Best regards,

Lucie

--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/J3WVOEISFBPUCDZ36XJ4BNJKYNBT6B5S/


[ovirt-users] Re: Automated VM rollout

2018-10-31 Thread Lucie Leistnerova

Hi, you can find the information here

/ovirt-engine/api/vms/{vm:id}/diskattachments

    href="/ovirt-engine/api/vms/fe3f36c3-8284-483c-8cdd-fd0690297bf8/diskattachments/165c72fb-39fe-4115-a0ad-05bf10113e11" 
id="165c72fb-39fe-4115-a0ad-05bf10113e11">

    true
    false
    virtio_scsi
    /dev/sdb
    false
    false
false
    href="/ovirt-engine/api/disks/165c72fb-39fe-4115-a0ad-05bf10113e11" 
id="165c72fb-39fe-4115-a0ad-05bf10113e11"/>
    href="/ovirt-engine/api/vms/fe3f36c3-8284-483c-8cdd-fd0690297bf8" 
id="fe3f36c3-8284-483c-8cdd-fd0690297bf8"/>

    


Best regards,

Lucie L.

On 10/31/18 6:37 AM, Markus Schaufler wrote:

I did. And it didn't help me. I tried several requests like
GET 
/ovirt-engine/api/datacenters/{datacenter:id}/storagedomains/{storagedomain:id}/disks/{disk:id}

But there is no virtio-scsi information at all. I suppose the hosted engine 
itself does not need to know that information.

The workflow would be to create the vm with all the disks over the rest-api and 
then to install it using a prepared iso with a kickstart file which holds the 
information about the disk layout, filesystem, etc. In order to prepare the 
kickstart file correctly I need to know which disk is ie. vda, vdb, ...

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YUONEUWBM2UNCRXJCBIYQCQY377PGFWS/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/3KFLEDYYFBRUJL5TOITTMNKNTJMPCBDX/


[ovirt-users] Re: Can't create Templates in the VM Portal

2018-10-30 Thread Lucie Leistnerova
Hi, there is no plan to add support for templates to VM portal for now. 
The portal should stay easy to use with common features for non-admin users.


Best regards,

Lucie L.

On 10/29/18 5:01 PM, Staniforth, Paul wrote:

Unfortunately you can't create templates in the VM portal, I don't know if it 
will be updated in the future to support it. If you don't wan't to give users 
access to the admin portal you can create templates via the SDK as a standard 
user.

Regards,
  Paul S.

From: siove...@gmail.com 
Sent: 29 October 2018 14:32
To: users@ovirt.org
Subject: [ovirt-users] Can't create Templates in the VM Portal

Hi, How I can create Templates in the VM Portal?
I use Ovirt 4.2.6.

Regards
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YO57CSXRLG4Q5DR3T2DXMPPMHXHW4JQ4/
To view the terms under which this email is distributed, please go to:-
http://disclaimer.leedsbeckett.ac.uk/disclaimer/disclaimer.html
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/L3BPCYTS3LGBLNR3IFU262MF7OITXQCL/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/U2R74OK2RDHOY4Q3IYG7QGR2OH3YDR5T/


[ovirt-users] Re: Can't create Templates in the VM Portal

2018-10-29 Thread Lucie Leistnerova
Hello, it is not possible to create templates in VM portal. The 
templates should be prepared in admin portal.


Lucie

On 10/29/18 3:32 PM, siove...@gmail.com wrote:

Hi, How I can create Templates in the VM Portal?
I use Ovirt 4.2.6.

Regards
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YO57CSXRLG4Q5DR3T2DXMPPMHXHW4JQ4/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TJHNWAT333IWTUTUTSWTSR6XR7NSBK7L/


[ovirt-users] Re: Adding local block storage

2018-10-25 Thread Lucie Leistnerova
Yes, that should be correct. There is no direct way to add /dev/sdb to 
oVirt.
Maybe you can also try gluster hyperconverged for managing the local 
storages on hosts.


https://ovirt.org/documentation/gluster-hyperconverged/Gluster_Hyperconverged_Guide/

Lucie

On 10/24/18 1:52 PM, Tryfon Farmakakis wrote:

Yes, I have seen this guide. So my understanding is that you can add local 
storage either through iSCSI, or through a local filesystem (this is the 
storage directory you are referring to). There is no way to add a directly 
attached block device (eg /dev/sdb). Is this correct?
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6EP4NKG22FSJLM65WGN5D6TOJBF4JDU5/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ATKLNZG5ZIHWRH6LSEHM47T3S6HX6DVG/


[ovirt-users] Re: Adding local block storage

2018-10-24 Thread Lucie Leistnerova

Hi, guide for adding local storage is here:

https://www.ovirt.org/documentation/admin-guide/chap-Storage/#preparing-local-storage

I guess that main problem is the directory you want to add as storage:

*Important:* On oVirt Node, the path used for local storage must be 
within the /var directory; create the storage directory in the following 
procedure within |/var|.


Lucie

On 10/24/18 11:50 AM, Tryfon Farmakakis wrote:

Hi, I have a 4.2 ovirt installation with the ovirt engine on one physical host and two other physical hosts already 
successfully added in my "Hosts". I want to use a local block device on one of the hosts for storage and I 
can't find any guide on how to do that. I tried putting the host in maintenance mode and then select "Configure 
local storage" and put "/dev/sdb" where it says "Set the path to your local storage:". Then I 
get the error:
  2018-10-24 05:38:11,166-04 ERROR 
[org.ovirt.engine.core.bll.storage.connection.FileStorageHelper] (default 
task-37) [_WEBADMIN_15309851_Configure_Local_Storage] The connection with 
details '/dev/sdb' failed because of error code '469' and error message is: 
permission settings on the specified path do not allow access to the storage.

What am I doing wrong?
  
___

Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QIE25GTCP64D43H2JTUEC7HB6Y32W2TA/


--
Lucie Leistnerova
Quality Engineer, QE Cloud, RHVM
Red Hat EMEA

IRC: lleistne @ #rhev-qe

___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HZ26KS7O2KAFGBSAVBOJFURV6P6JBCBI/