HostedEngine: Unable to add virtual disk
by 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
1 year, 11 months
Deploy hosted-engine by command line failed
by pengCH
Hi,
ovirt-node-ng-installer-4.5.4-2022120615.el8.iso
ovirt-engine-appliance-4.5-20221206133948.1.el8.x86_64.rpm
After deployed gfs cluster, then install hosted engine by commad line prompt the follwing message:
1 year, 11 months
TypeError: Cannot read properties of undefined (reading 'toString')
by charnet1019@163.com
Env:
oVirt version: ovirt-node-ng-installer-4.5.4-2022120615.el8.iso
oVirt engine appliance: ovirt-engine-appliance-4.5-20221206133948.1.el8.x86_64.rpm
I have three nodes, each node has two disks, one for installing ovirt node and one for installing gfs.
after intalled gfs by web wizard and to install hosted engine by web console, at this time, the installation wizard page does not pop up, and the following error is reported in the browser console:
PackageKit went away from D-Bus
Failed to read file /usr/share/cockpit/ovirt-dashboard/gdeploy-templates/he-common.conf. Check that the file exists and is not empty HostedEngineSetup.js:260
Failed to read certificate HostedEngineSetup.js:230
General system data retrieval started. DefaultValueProvider.js:95
No gdeploy answer files found. HeSetupWizardContainer.js:117
Ansible output file directory created successfully. PlaybookUtil.js:156
Host FQDN: node210.com Validation.js:138
Execution of /usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml with tags get_network_interfaces started PlaybookUtil.js:30
Ansible output file directory created successfully. PlaybookUtil.js:156
Execution of /usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml with tags validate_hostnames started PlaybookUtil.js:30
General system data retrieved successfully. DefaultValueProvider.js:98
Execution of /usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml with tags validate_hostnames completed successfully PlaybookUtil.js:67
Validation of host FQDN, node210.com, succeeded Validation.js:176
Execution of /usr/share/ovirt-hosted-engine-setup/he_ansible/trigger_role.yml with tags get_network_interfaces completed successfully PlaybookUtil.js:67
Network interfaces retrieved successfully
TypeError: Cannot read properties of undefined (reading 'toString') react-dom.production.min.js:188
at Ds.getDisplayValue (ReviewGenerator.js:24:31)
at Ds.<anonymous> (ReviewGenerator.js:45:49)
at Array.forEach (<anonymous>)
at Ds.<anonymous> (ReviewGenerator.js:39:53)
at Array.forEach (<anonymous>)
at Ds.generateReviewSections (ReviewGenerator.js:36:48)
at Ds.getReviewSections (ReviewGenerator.js:77:31)
at Ps.render (AnsiblePhasePreviewContainer.js:138:30)
at Io (react-dom.production.min.js:167:226)
at Lo (react-dom.production.min.js:180:75)
DefaultValueProvider.js:73 Promise.all failed
TypeError: Cannot read properties of undefined (reading 'toString') DefaultValueProvider.js:74
at Ds.getDisplayValue (ReviewGenerator.js:24:31)
at Ds.<anonymous> (ReviewGenerator.js:45:49)
at Array.forEach (<anonymous>)
at Ds.<anonymous> (ReviewGenerator.js:39:53)
at Array.forEach (<anonymous>)
at Ds.generateReviewSections (ReviewGenerator.js:36:48)
at Ds.getReviewSections (ReviewGenerator.js:77:31)
at Ps.render (AnsiblePhasePreviewContainer.js:138:30)
at Io (react-dom.production.min.js:167:226)
at Lo (react-dom.production.min.js:180:75)
Error: dig exited with code 9 HostedEngineSetupUtil.js:1411
1 year, 11 months
Re: ovirt and network outages
by Gianluca Cecchi
On Mon, Mar 20, 2023 at 7:59 PM Fedele Stabile <fedele.stabile(a)fis.unical.it>
wrote:
> Ok i will prepare all to the next outage
>
If the latest outage was not long ago, you could still find some
preliminary and useful information inside /var/log/ovirt-engine/engine.log
of the engine
In general, for all oVirt related log files you can refer to this url:
https://www.ovirt.org/documentation/administration_guide/#chap-Log_Files
some of them are also rotated
Gianluca
1 year, 11 months
How to delete/detach a disk from online VM ?
by morgan cox
Hello.
Is it possible to remove a (unmounted, unused) disk from a VM when online?
I tried via the UI and I get 'Error while executing action: Cannot remove Virtual Disk. At least one of the VMs is not down.'
I know you can with standard KVM/Libvirt/virt-manager - is there any way I can remove a disk from a VM whilst it is online in Ovirt ?
Thanks
1 year, 11 months
I can't enable cinderlib
by fsayd@derecho.uncu.edu.ar
Hello:
I am trying to deploy a 4.5 cluster with 3 hosts that also provides Ceph
storage. I am running the engine in a standalone host (No hosted
engine).
I followed the steps to enable cinderlib
(https://access.redhat.com/solutions/5605141) but the managed domain
option doesn't show in the add storage domain dialog.
I don't know what I am doing wrong
Do I need to add a primary storage domain (iSCSI, NFS, etc) in order to
add a Ceph domain??
* engine: 4.5.4-1.el8
* hosts: Rocky Linux release 8.7
Thanks
engine: 4.5.4-1.el8
hosts: Rocky Linux release 8.7
1 year, 12 months
oVirt 4.5.x User Creation with Keycloak
by simon@justconnect.ie
Can anyone point me in the direction of documentation to create new users and groups to provide specific permissions please?
Thanks
Simon...
1 year, 12 months
HostedEngine restarts from time to time
by ziyi Liu
Version 4.5.3.2-1.el8
There are two red warnings in the /var/log/messages file
kernel
shpchp 0000:01:00.0: Slot initialization failed
kernel
shpchp 0000:01:00.0: pci_hp_register failed with error -16
1 year, 12 months
Gluster Geo-Replication session not visible in oVirt Manager UI
by simon@justconnect.ie
I have previously created Gluster geo-replicated sessions from the command line on 4.4.5. These sessions appear in the 'Geo-Replication' Tab of the Gluster Volume on the Master.
I've just built 2 new oVirt clusters 4.5.3.2 and configured a geo-replicated session. The session doesn't appear in the WebUI but appears to be working when checked from the command line.
Any ideas anyone please?
Regards
Simon
1 year, 12 months
4.5.2 Create Additional Gluster Logical Volumes fails
by simon@justconnect.ie
Hi,
In 4.4 adding additional gluster volumes was a simple ansible task (or via cockpit).
With 4.5.2 I tried to add new volumes but the logic has changed/broken. Here's the error I am getting:
TASK [gluster.infra/roles/backend_setup : Create volume groups] ********************************************************************************************************************************
failed: [bdtovirthcidmz02-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.010442", "end": "2022-11-10 13:11:16.717772", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:11:16.707330", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
failed: [bdtovirthcidmz03-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.010231", "end": "2022-11-10 13:12:35.607565", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:12:35.597334", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
failed: [bdtovirthcidmz01-strg.mydomain.com] (item={'key': 'gluster_vg_sda', 'value': [{'vgname': 'gluster_vg_sda', 'pvname': '/dev/sda'}]}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["vgcreate", "--dataalignment", "2048K", "-s", "2048K", "gluster_vg_sda", "/dev/sda"], "delta": "0:00:00.011282", "end": "2022-11-10 13:13:24.336233", "item": {"key": "gluster_vg_sda", "value": [{"pvname": "/dev/sda", "vgname": "gluster_vg_sda"}]}, "msg": "non-zero return code", "rc": 3, "start": "2022-11-10 13:13:24.324951", "stderr": " Configuration setting \"filter\" invalid. It's not part of any section.\n /dev/gluster_vg_sda: already exists in filesystem\n Run `vgcreate --help' for more information.", "stderr_lines": [" Configuration setting \"filter\" invalid. It's not part of any section.", " /dev/gluster_vg_sda: already exists in filesystem", " Run `vgcreate --help' for more information."], "stdout": "", "stdout_lines": []}
The vg was created as part of the initial ansible build with logical volumes being added when required.
Any assistance would be greatly appreciated.
Kind regards
Simon
1 year, 12 months