Hi Andrej, 

thank you for creating a bug report for me 

Engine was installed back in 2016, so I think we started with 4.0 or even 3.6. 
I can't remember exactly. 

With a new install, I made some weeks ago with ovirt 4.2.5, quota_id was setup 
correctly, so this must be caused by an upgrade from an earlier release... 

BR Florian 



Von: "Andrej Krejcir" <akrej...@redhat.com> 
An: "Florian Schmid" <fsch...@ubimet.com> 
CC: "users" <users@ovirt.org> 
Gesendet: Freitag, 4. Januar 2019 15:28:29 
Betreff: Re: [ovirt-users] Re: Unable to increase memory or CPU on hosted 
Engine version 4.2.5.2 

Hi, 

Thanks for finding this bug, I will open a bugzilla ticket. 

Was the hosted engine deployed as 4.2 or was it upgraded from an earlier 
version? 


Best Regards, 
Andrej 

On Fri, 4 Jan 2019 at 09:53, Florian Schmid < [ mailto:fsch...@ubimet.com | 
fsch...@ubimet.com ] > wrote: 



Hi, 

I finally fixed the issue not being able to edit the hosted engine in UI. 

It was the missing "quota_id" in the database for the engine and their disk. 
After adding the "quota_id" in the DB, editing the engine was possible. 

What I did: 
engine=# select vm_name,quota_id from vm_static where vm_guid = 
'd4c6d1b2-42ad-499c-8752-a2db2f82d469'; 
vm_name | quota_id 
--------------+---------- 
HostedEngine | 

engine=# select * from image_storage_domain_map where image_id = 
'21736453-bf46-422d-ba0d-973876e3b19b'; 
image_id | storage_domain_id | quota_id | disk_profile_id 
--------------------------------------+--------------------------------------+----------+--------------------------------------
 
21736453-bf46-422d-ba0d-973876e3b19b | 3f77d779-0f2e-472a-84ca-53bc015995ed | | 
b1730a05-bcdf-4b3e-b7f3-5110841a547b 


UPDATE image_storage_domain_map SET quota_id = 
'58ab004a-0315-00d0-02b8-00000000011d' where image_id = 
'21736453-bf46-422d-ba0d-973876e3b19b'; 

UPDATE vm_static SET quota_id = '58ab004a-0315-00d0-02b8-00000000011d' where 
vm_guid = 'd4c6d1b2-42ad-499c-8752-a2db2f82d469'; 


engine=# select vm_name,quota_id from vm_static where vm_guid = 
'd4c6d1b2-42ad-499c-8752-a2db2f82d469'; 
vm_name | quota_id 
--------------+-------------------------------------- 
HostedEngine | 58ab004a-0315-00d0-02b8-00000000011d 


engine=# select * from image_storage_domain_map where image_id = 
'21736453-bf46-422d-ba0d-973876e3b19b'; 
image_id | storage_domain_id | quota_id | disk_profile_id 
--------------------------------------+--------------------------------------+--------------------------------------+--------------------------------------
 
21736453-bf46-422d-ba0d-973876e3b19b | 3f77d779-0f2e-472a-84ca-53bc015995ed | 
58ab004a-0315-00d0-02b8-00000000011d | b1730a05-bcdf-4b3e-b7f3-5110841a547b 

BR Florian 


PS: 

@Gregor, maybe this helps you also!? 


Von: "Florian Schmid" < [ mailto:fsch...@ubimet.com | fsch...@ubimet.com ] > 
An: "users" < [ mailto:users@ovirt.org | users@ovirt.org ] > 
Gesendet: Mittwoch, 21. November 2018 12:28:43 
Betreff: [ovirt-users] Unable to increase memory or CPU on hosted Engine 
version 4.2.5.2 

Hi, 

I'm using version 4.2.5.2 and every article I found, I read that with oVirt 
4.2, it should be possible to update CPU and memory for hosted Engine in UI. 

Now, when I'm trying to do this, even being on global maintenance, I always get 
the same error: 
Error while executing action: 

HostedEngine: 
There was an attempt to change Hosted Engine VM values that are locked. 

My problem is, that I need to increase the memory, because we had now several 
times in the last 2 or 3 months an out of memory kill of the java process. 

What is the best way to increase memory here? Should I do it over the config 
file? But how is then the OVF updated? 

BR Florian 

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




_______________________________________________
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/U66BPGE62C4U3VSW6DYHCYR4UQ7PNFM5/

Reply via email to