Hi,

finally this post helped

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

invisible locked entry is missing time_zone in HostedEngine configuration...

/usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "update vm_static set time_zone='Etc/GMT' where vm_name='HostedEngine'"

after this I can change CPU type in cluster and gluster services checkbox stay checked.

Thanks for support,

Jiri


On 8/4/22 20:38, Strahil Nikolov wrote:
Go to the host running the HostedEngine VM and dump the xml via virsh.
Then power cycle the engine and check if it fixed the issue with the CPU.

Best Regards,
Strahil Nikolov

    On Wed, Aug 3, 2022 at 23:58, Jiří Sléžka
    <jiri.sle...@slu.cz> wrote:
    Dne 8/3/22 v 03:06 Strahil Nikolov napsal(a):
     > I think it's related to Compute -> Clusters -> Cluster Name ->
    Gluster Hooks
     >
     > I think https://access.redhat.com/solutions/6644151
    <https://access.redhat.com/solutions/6644151 >should solve the
     > problem (you can use a developer subscription to access it).

    thanks, I really had 5 hook conflicts

    /usr/share/ovirt-engine/dbscripts/engine-psql.sh -c "select
    id,name,hook_status,content_type,conflict_status from gluster_hooks
    where conflict_status != 0";

                       id                  |        name        |
    hook_status | content_type | conflict_status
    
--------------------------------------+--------------------+-------------+--------------+-----------------
       517462b4-104d-40d1-ac94-3f8baea8e80b | 30samba-start.sh  | ENABLED
       | TEXT        |              4
       d428056d-f6fd-4e56-a48a-ccbdd273b774 | 30samba-set.sh    | ENABLED
       | TEXT        |              4
       a1d8857a-9378-42af-81a8-89a4c75eb52e | 30samba-stop.sh    | ENABLED
       | TEXT        |              4
       af362bbf-d1ea-4d5e-ae07-492c7ce0966f | 29CTDBsetup.sh    | ENABLED
       | TEXT        |              4
       d3bdf3df-13f1-48d8-92d9-03d09989516f | 29CTDB-teardown.sh | ENABLED
       | TEXT        |              4
    (5 rows)

    I removed them and then synced gluster hooks in cluster

    Also diagnostic step

    rpm -qV glusterfs-server

    revealed that on one of hosts are some hooks missing

    [root@ovirt-hci01 <mailto:root@ovirt-hci01> ~]# rpm -qV glusterfs-server
    .M.......  c /var/lib/glusterd/glusterd.info
    missing    /var/lib/glusterd/hooks/1/set/post/S30samba-set.sh
    missing    /var/lib/glusterd/hooks/1/start/post/S29CTDBsetup.sh
    missing    /var/lib/glusterd/hooks/1/start/post/S30samba-start.sh
    missing    /var/lib/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh
    missing    /var/lib/glusterd/hooks/1/stop/pre/S30samba-stop.sh

    I reinstalled glusterfs-server package there

    Well, I do this only to change CPU Type in cluster but now when Gluster
    services are checked and I try to change CPU Type I got

    "Error while executing action: Cannot update cluster because the update
    triggered update of the VMs/Templates and it failed for the following:
    HostedEngine. To fix the issue, please go to each of them, edit, change
    the Custom Compatibility Version (or other fields changed previously in
    the cluster dialog) and press OK. If the save does not pass, fix the
    dialog validation. After successful cluster update, you can revert your
    Custom Compatibility Version change (or other changes). If the problem
    still persists, you may refer to the engine.log file for further
    details."

    Strange thing and probably bug - this action disables Gluster services
    checkbox in cluster!!! Will try to report it...

    Also I have no idea what is wrong with HostedEngine as there is (as I
    can see) no custom settings on it... but I cannot change for example
    memory on it because "There was an attempt to change Hosted Engine VM
    values that are locked."

    2022-08-03 22:32:01,436+02 WARN
    [org.ovirt.engine.core.bll.UpdateVmCommand] (default task-3193)
    [b93958d9-b27d-4f1b-97f0-d78312c2d346] Validation of action 'UpdateVm'
    failed for user admin@internal-authz. <mailto:admin@internal-authz.>
    Reasons:
    VAR__ACTION__UPDATE,VAR__TYPE__VM,VM_CANNOT_UPDATE_HOSTED_ENGINE_FIELD


    Cheers,

    Jiri

     >
     > Best Regards,
     > Strahil Nikolov
     >
     >    On Wed, Aug 3, 2022 at 1:51, Jiří Sléžka
     >    <jiri.sle...@slu.cz <mailto:jiri.sle...@slu.cz>> wrote:
     >    _______________________________________________
     >    Users mailing list -- users@ovirt.org <mailto:users@ovirt.org>
    <mailto:users@ovirt.org <mailto:users@ovirt.org>>
     >    To unsubscribe send an email to users-le...@ovirt.org
    <mailto:users-le...@ovirt.org>
     >    <mailto:users-le...@ovirt.org <mailto:users-le...@ovirt.org>>
     >    Privacy Statement: https://www.ovirt.org/privacy-policy.html
    <https://www.ovirt.org/privacy-policy.html>
     >    <https://www.ovirt.org/privacy-policy.html
    <https://www.ovirt.org/privacy-policy.html>>
     >    oVirt Code of Conduct:
     > https://www.ovirt.org/community/about/community-guidelines/
    <https://www.ovirt.org/community/about/community-guidelines/>
     >    <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/HNGTNEBDBB2GWBYGHSIGNVIUGL4EFWT5/
    
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/HNGTNEBDBB2GWBYGHSIGNVIUGL4EFWT5/>
> <https://lists.ovirt.org/archives/list/users@ovirt.org/message/HNGTNEBDBB2GWBYGHSIGNVIUGL4EFWT5/
    
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/HNGTNEBDBB2GWBYGHSIGNVIUGL4EFWT5/>>
     >

    _______________________________________________
    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/privacy-policy.html
    <https://www.ovirt.org/privacy-policy.html>
    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/MUD4TF6MT33PNGVCQPLHSABJ3VKX64YG/
    
<https://lists.ovirt.org/archives/list/users@ovirt.org/message/MUD4TF6MT33PNGVCQPLHSABJ3VKX64YG/>


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
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/6JIW2I6A7LJAUS2YH2PJ4TL6KJHL7EGC/

Reply via email to