[ovirt-users] Re: After restoring the failed host and synchronizing the data, it prompts that there are unsynchronized items

2024-06-24 Thread ziyi Liu
Do I need to find three hosts in the engine web ui, turn on maintenance mode 
for each of them, and check Ignore Gluster Quorum and Self-Heal checks?
My operation does not seem to work, and the volume is still being repaired.
___
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/YHPPR27NGTBORVDOYXCFWBUEDFVFJ6AC/


[ovirt-users] After restoring the failed host and synchronizing the data, it prompts that there are unsynchronized items

2024-06-20 Thread ziyi Liu
gluster volume info 
Volume Name: data
Type: Replicate
Number of Bricks: 1 x (2 + 1) = 3
Bricks:
Brick1: node-gfs1:/gluster_bricks/data/data1
Brick2: node-gfs2:/gluster_bricks/data/data1
Brick3: node-gfs3:/gluster_bricks/data/data1 (arbiter)

gluster  volume heal data info 
Number of entries: 39

 /var/log/glusterfs/glustershd.log The log appears
client-rpc-fops_v2.c:785:client4_0_fsync_cbk] 0-data-client-0: remote operation 
failed. [{errno=5}, {error=Input/output error}]
How should I solve these unrepaired entries
___
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/MONTMF7ITACDSFM47V7I4HT46NFQ3PFX/


[ovirt-users] Re: [External] : The table in the database is too large

2024-03-19 Thread ziyi Liu
Is the DB vacuum cleaning thorough?
I tried that a long time ago and it didn't seem to clear much space.
Is the data recorded in DB cyclic or automatically cleared periodically?
Is it necessary to enable global maintenance for DB vacuum?
___
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/HFXCQPNM7HDZMCIEDNJUQXEPCMDUYPTF/


[ovirt-users] The table in the database is too large

2024-03-13 Thread ziyi Liu
numa_node 6.39GB
vds_interface_statistics 3.08GB
vm_statistics 2.64GB
vds_statistics 1.72GB
vm_interface_statistics 1.54GB
audit_log 1.44GB
disk_image_dynamic 1.22GB
vm_dynamic 1GB
These tables basically have more than 200 rows, how should I reduce the data?
I have 111 hosts and 175 virtual machines
___
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/3FHOSWBN2DWH2RD5EGHU3RBVZXCKEA26/


[ovirt-users] Version 4.5. How should I properly replace a failed host?

2023-09-12 Thread ziyi Liu
gluster uses 2+1 arbitration mode
My host is damaged and I need to reinstall the system. The host fqdn still uses 
the old fqdn. What should I do?
I found some historical information. Is it still usable for the new version?
Found gluster-ansible in GitHub
https://github.com/gluster/gluster-ansible/blob/master/playbooks/hc-ansible-deployment/README
See the instructions and configure node_prep_inventory.yml and 
node_replace_inventory.yml to restore.
  Execute ansible-playbook -i node_prep_inventory.yml -i 
node_replace_inventory.yml tasks/replace_node.yml
My data disk /dev/sdb has also been initialized by me. Can this ansible script 
help me create a new partition, create a mount, and complete the recovery of 
the gluster node?
___
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/PNCCK4KJMDMJRYFILXI6ZIB4I2ELMPJ4/


[ovirt-users] Re: How to use Python to manage each node in batches, because I want to send some scripts to nodes in batches

2023-08-21 Thread ziyi Liu
import ovirtsdk4 as sdk
import paramiko
import subprocess

# create connection
connection = sdk.Connection(
 url='https://xxx/ovirt-engine/api',
 username='xxx',
 password='xxx',
 ca_file= 'cacert.pem',
 )
This above is using the api format

# Get all hosts
hosts_service = connection.system_service().hosts_service()
hosts = hosts_service. list()

#By obtaining the fqdn of the host to perform ssh
In the engine web, you can restart the host and stop some operations. I thought 
that the engine and node host may have been encrypted, so I found the 
engine_id_rsa key in /etc/pki/ovirt-engine/
/etc/pki/ovirt-engine/keys/engine_id_rsa Use this secret-free key to ssh to the 
obtained host
___
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/WI5YOMWNWXF7TIIPGUKREISXFOOCNGYY/


[ovirt-users] Re: How to use Python to manage each node in batches, because I want to send some scripts to nodes in batches

2023-08-17 Thread ziyi Liu
I have found a solution to log in to each host without password
___
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/TU3SDAR2RBDYSFHZQFKVWQH3EFWNEVKE/


[ovirt-users] How to use Python to manage each node in batches, because I want to send some scripts to nodes in batches

2023-08-16 Thread ZiYi Liu
By default, find the management in engine-web and use ssh management to
restart and stop the node node. Can I get the host's secret key or other
login information to log in through Python, and then send some commands or
scripts?
___
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/6XRQDQ4233A6PCLMC6NG57EC7FJH7QLB/


[ovirt-users] HostEngine added alternate fqdn cannot be accessed

2023-06-28 Thread ziyi Liu
I modified the parameter of SSO_ALTERNATE_ENGINE_FQDNS to the new fqdn in 
/etc/ovirt-engine/engine.conf.d/11-setup-sso.conf.
After modifying the hosts, I can use the new fqdn to open the web but cannot 
enter the portal management, prompting 500 Internal Server Error
___
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/IMMO2DKGBYXM5UZHI5IIQ6ANEC3IFF4G/


[ovirt-users] label settings

2023-04-13 Thread ziyi Liu
I have many users and each user manages different devices,
I made a label for the corresponding device and distributed the label to the 
corresponding user. The user needs to manually activate the label every time he 
logs in. How to activate the label by default?
___
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/LXAI4GZJDNNVL2YMCEACMATGN3ROLPZI/


[ovirt-users] HostedEngine: Unable to add virtual disk

2023-03-28 Thread ziyi Liu
I want to add a disk to HostedEngine, and the following error occurs when 
adding a disk in the web ui
HostedEngine:
Unable to add virtual disk. The engine is not managing this virtual machine.
Does HostedEngine need to use vdms to add disks?
Is it the following operation
1. Set managed engine maintenance mode to global
2. Close HostedEngine
3. Extend the disk vdsm-client Volume extendSize
4. start vm
5. Use fdisk to partition and expand
___
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/BZII6BR3KM4IYTO2N3VJLWOCYXOXULJM/


[ovirt-users] How to enable the storage pool correctly

2023-03-28 Thread ziyi Liu
The /var/ folder is full, I can't enter the web ui to set it, I can only use 
the command line mode
vdsm-client StorageDomain activate
vdsm-client StorageDomain attach
vdsm-client StoragePool connect
vdsm-client StoragePool connectStorageServer
I have tried these commands and they all prompt message=Unknown pool id, pool 
not connected
___
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/ZQJJW7DXOWS7R5HO73W5L66OALAFRGWJ/


[ovirt-users] HostedEngine restarts from time to time

2023-03-21 Thread ziyi Liu
Version 4.5.3.2-1.el8
There are two red warnings in the /var/log/messages file
kernel
shpchp :01:00.0: Slot initialization failed
kernel
shpchp :01:00.0: pci_hp_register failed with error -16
___
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/BE6QKNBXWFSUOE6AP2UR4UAG57EIZOKK/


[ovirt-users] HostedEngine restarts from time to time

2023-02-22 Thread ziyi Liu
Version 4.5.3.2-1.el8
There are two red warnings in the /var/log/messages file
kernel
shpchp :01:00.0: Slot initialization failed
kernel
shpchp :01:00.0: pci_hp_register failed with error -16
___
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/KTGVOWQ7F2XQF63ZFNMCM56XWM37ZNHY/


[ovirt-users] How to assign user rights more precisely

2023-02-06 Thread ziyi Liu
I have configured ldap and can use ldap users to log in to the web engine
There are many data center clusters and virtual machines in my environment. I 
should have more precise control over users
The general manager can see several data centers he manages and can manage them
There are three employees, A, B, and C, under the general manager. These three 
employees manage these data centers separately, and I want the three employees 
of A, B, and C to not be able to see each other's data centers.
___
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/3HKIVCOZTO4WGI5IX3O6VTJPOG7GZUMP/


[ovirt-users] Re: Expand the disk space of the hosting engine

2023-01-12 Thread ziyi Liu
Thank you very much, I am testing in the test environment now, and I will go to 
the official environment after success
___
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/N7ZMKY7PXVTGN25TLHFZ2HKDHL43J5MK/


[ovirt-users] Re: Expand the disk space of the hosting engine

2023-01-01 Thread ziyi Liu
Thank you very much, I know the operation steps, but there is still one point 
that I don’t quite understand, fdisk -l only shows 50G, the actual disk 
allocation has 100G, how can I display the remaining 50G.
The second question is that if the allocated 100G is also full, how should I 
expand it? I can’t expand it using wei ui
___
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/QRKI2S4WLJ2JD7X63ECYUFSJ7Z765R5W/


[ovirt-users] Expand the disk space of the hosting engine

2022-12-29 Thread ziyi Liu
Now my hosting engine /var directory is full, and the 15G free space is fully 
occupied. When creating the hosting engine, I use 100G, but actually only use 
50G. What can I do to make /var bigger?
disk expansion
___
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/V7UKBE5SJPH3GOZXEWEK4FL3B2PQVHWZ/


[ovirt-users] Re: glusterfs Host is not in 'Peer in Cluster' state"

2022-11-11 Thread ziyi Liu
I already know why peering fails.
GlusterFS needs to use fqdn, through DNS or hosts file to achieve
When I deployed the first few machines, I used the IP without reporting an 
error, and I continued to deploy other machines and reported an error.
___
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/QDQ7NP6U4FBZAOGERCTK4T4XEMX7QU6G/


[ovirt-users] glusterfs Host is not in 'Peer in Cluster' state"

2022-11-08 Thread ziyi Liu
Version: 4.5.1
Configure the HCI mode on the cockpit web interface, and the message "glusterfs 
Host is not in 'Peer in Cluster' state" is displayed.
node1 gluster peer status normally shows three storage nodes
#gluster peer status
Number of Peers: 2
Hostname: 10.10.1.6
Uuid: 7973fa76-092e-4102-be43-d69ce2e1202f
State: Accepted peer request (Connected)
Hostname: 110.10.1.7
Uuid: c65ca1f1-8b0c-4424-80cd-d4606a6bed9e
State: Accepted peer request (Connected)
node2
# gluster peer status
Number of Peers: 1
Hostname: localhost
Uuid: 2fd3c233-6457-4d3e-9646-c1d6ed0c27aa
State: Accepted peer request (Disconnected)
node3
# gluster peer status
Number of Peers: 1
Hostname: localhost
Uuid: 2fd3c233-6457-4d3e-9646-c1d6ed0c27aa
State: Accepted peer request (Disconnected)
TASK [gluster.features/roles/gluster_hci : Create the GlusterFS volumes] ***
failed: [10.10.1.5] (item={'volname': 'tj-data1', 'brick': 
'/gluster_bricks/tj-data1/tj-data1', 'arbiter': 1}) => {"ansible_loop_var ": 
"item", "changed": true, "cmd": "gluster volume create tj-data1 replica 3 
arbiter 1 transport tcp 10.10.1.5:/gluster_bricks/tj-data1/tj-data1 
10.10.1.6:/gluster_bricks/ tj-data1/tj-data1 
10.10.1.7:/gluster_bricks/tj-data1/tj-data1 force\n", "delta": 
"0:00:00.091228", "end": "2022-11-08 22: 37:07.609311", "item": {"arbiter": 1, 
"brick": "/gluster_bricks/tj-data1/tj-data1", "volname": "tj-data1"}, "msg": 
"non -zero return code", "rc": 1, "start": "2022-11-08 22:37:07.518083", 
"stderr": "volume create: tj-data1: failed: Host 10.10.1.6 is not in 'Peer in 
Cluster' state", "stderr_lines": ["volume create: tj-data1: failed: Host 
10.10.1.6 is not in 'Peer in Cluster' state"], "stdout": "", "stdout_lines": []}
failed: [10.10.1.5] (item={'volname': 'tj-vmstore1', 'brick': 
'/gluster_bricks/tj-vmstore1/tj-vmstore1', 'arbiter': 1}) => {"ansible_loop_var 
": "item", "changed": true, "cmd": "gluster volume create tj-vmstore1 replica 3 
arbiter 1 transport tcp 10.10.1.5:/gluster_bricks/tj-vmstore1/tj-vmstore1 
10.10.1.6:/gluster_bricks/ tj-vmstore1/tj-vmstore1 
10.10.1.7:/gluster_bricks/tj-vmstore1/tj-vmstore1 force\n", "delta": 
"0:00:00.092017", "end": "2022-11-08 22: 37:08.076088", "item": {"arbiter": 1, 
"brick": "/gluster_bricks/tj-vmstore1/tj-vmstore1", "volname": "tj-vmstore1"}, 
"msg": "non -zero return code", "rc": 1, "start": "2022-11-08 22:37:07.984071", 
"stderr": "volume create: tj-vmstore1: failed: Host 10.10.1.6 is not in 'Peer 
in Cluster' state", "stderr_lines": ["volume create: tj-vmstore1: failed: Host 
10.10.1.6 is not in 'Peer in Cluster' state"], "stdout": "", "stdout_lines": []}
___
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/2QUVGCTBM2TM5JBD5SVSEBAJZZ2QWOXR/


[ovirt-users] There is no glusterfs management dashboard in the Cockpit background

2022-10-13 Thread ziyi Liu
I have many data centers, the first data center contains the engine, the 
glusterfs management dashboard can be seen in the Cockpit background, but the 
glusterfs management dashboard cannot be seen in the second data center,
Create the second data center step: I create a data center in the engine, then 
set up a glusterfs cluster in the Cockpit background, and finally mount the 
glusterfs volume in the engine.
Is there something wrong with the way I add 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/F6D73YP6RSN3O5MYG3MLQR27ILDBSVTJ/


[ovirt-users] Adding a new cluster is in doubt

2022-08-18 Thread ziyi Liu
ovirt version 4.5.1
I didn't see the tutorial on the ovirt official website, but I found the 
tutorial of Red Hat Hyperconverged Infrastructure for Virtualization. Should I 
follow this tutorial to execute, or through Cockpit, first pass the three 
machines of the second cluster through glusterfs ansible to form a cluster of 
storage Add to the new cluster in the engine web interface
___
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/UCMIEUYJ5M37TRQFSZW5W4OUJD5KKULB/