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 <fschmid(a)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" <fschmid(a)ubimet.com>
*An: *"users" <users(a)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 -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/NNEAUQEQJAQ...
_______________________________________________
Users mailing list -- users(a)ovirt.org
To unsubscribe send an email to users-leave(a)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/QLURVTZX6JI...