Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
0
votes
0
answers
33
views
Ovirt. Create domain POSIX Ceph
I am creating a posix domain, but there is an error mounting the directory: 2024-10-11 13:52:20,164+0300 INFO (jsonrpc/4) [storage.storageServer] Creating directory '/rhev/data-center/mnt/192.168.1.88:_' (storageServer:217) 2024-10-11 13:52:20,164+0300 INFO (jsonrpc/4) [storage.fileutils] Creating d...
I am creating a posix domain, but there is an error mounting the directory:
2024-10-11 13:52:20,164+0300 INFO (jsonrpc/4) [storage.storageServer] Creating directory
'/rhev/data-center/mnt/192.168.1.88:_' (storageServer:217)
2024-10-11 13:52:20,164+0300 INFO (jsonrpc/4) [storage.fileutils] Creating directory:
/rhev/data-center/mnt/192.168.1.88:_ mode: None (fileUtils:214)
2024-10-11 13:52:20,164+0300 INFO (jsonrpc/4) [storage.mount] mounting 192.168.1.88:/ at
/rhev/data-center/mnt/192.168.1.88:_ (mount:190)
2024-10-11 13:52:20,166+0300 INFO (jsonrpc/5) [api.host] START getAllVmStats()
from=::1,57074 (api:31)
2024-10-11 13:52:20,167+0300 INFO (jsonrpc/5) [api.host] FINISH getAllVmStats return=
{'status': {'code': 0, 'message': 'Done'}, 'statsList': (suppressed)} from=::1,57074 (api:37)
2024-10-11 13:52:20,293+0300 INFO (jsonrpc/4) [IOProcessClient] (Global) Starting client
(__init__:340)
2024-10-11 13:52:20,304+0300 INFO (ioprocess/24690) [IOProcess] (Global) Starting ioprocess
(__init__:465)
2024-10-11 13:52:20,305+0300 WARN (jsonrpc/4) [storage.oop] Permission denied for directory:
/rhev/data-center/mnt/192.168.1.88:_ with permissions:7 (outOfProcess:177)
2024-10-11 13:52:20,305+0300 INFO (jsonrpc/4) [storage.mount] unmounting /rhev/data-
center/mnt/192.168.1.88:_ (mount:198)
2024-10-11 13:52:20,342+0300 ERROR (jsonrpc/4) [storage.storageServer] Could not connect to
storage server (storageServer:75)
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/fileSD.py", line 64, in
validateDirAccess
getProcPool().fileUtils.validateAccess(dirPath)
File "/usr/lib/python3.6/site-packages/vdsm/storage/outOfProcess.py", line 178, in
validateAccess
raise OSError(errno.EACCES, os.strerror(errno.EACCES))
PermissionError: [Errno 13] Permission denied
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/vdsm/storage/storageServer.py", line 73, in
connect_all
con.connect()
File "/usr/lib/python3.6/site-packages/vdsm/storage/storageServer.py", line 241, in connect
six.reraise(t, v, tb)
File "/usr/lib/python3.6/site-packages/six.py", line 703, in reraise
raise value
File "/usr/lib/python3.6/site-packages/vdsm/storage/storageServer.py", line 234, in connect
self.getMountObj().getRecord().fs_file)
File "/usr/lib/python3.6/site-packages/vdsm/storage/fileSD.py", line 75, in validateDirAccess
raise se.StorageServerAccessPermissionError(dirPath)
vdsm.storage.exception.StorageServerAccessPermissionError: Permission settings on the
specified path do not allow access to the storage. Verify permission settings on the
specified storage path.: 'path = /rhev/data-center/mnt/192.168.1.88:_'
2024-10-11 13:52:20,343+0300 INFO (jsonrpc/4) [storage.storagedomaincache] Invalidating
storage domain cache (sdc:57)
How to fix it?

Guamokolatokint
(123 rep)
Oct 11, 2024, 12:29 PM
1
votes
1
answers
591
views
Is there an immutable KVM host OS?
My homelab environment is primarily git repo->puppet apply->centos7 hardware running kvm or guests. Simple tooling but it works. I'm doing a lot more terraform at work these days and have been thinking about refreshing my homelab with an ansible/terraform pattern but I've been looking at my OS base...
My homelab environment is primarily git repo->puppet apply->centos7 hardware running kvm or guests. Simple tooling but it works.
I'm doing a lot more terraform at work these days and have been thinking about refreshing my homelab with an ansible/terraform pattern but I've been looking at my OS base for the KVM hosts and wondering if there is a better way.
So, the question......
Is anyone aware of a unix OS pattern that's PXE booting, immutable, container friendly and usable as a basic KVM host?
Something like CoreOS/Flatcar but for KVM guests instead of just containers. Ideally with config data from cloud-init and something like vault.
Thanks!
alan laird
(13 rep)
Oct 3, 2022, 04:10 AM
• Last activity: Oct 13, 2022, 12:32 AM
0
votes
2
answers
147
views
Can I run win 10 on oVirt Host as desktop?
I am trying to understand if I can install win 10 VM on oVirt host/node and then use that PC as my win 10 desktop? running the win 10 VM? Thanks.
I am trying to understand if I can install win 10 VM on oVirt host/node and then use that PC as my win 10 desktop? running the win 10 VM?
Thanks.
Rajeev
(256 rep)
Aug 4, 2020, 05:41 PM
• Last activity: Aug 6, 2020, 06:22 PM
1
votes
1
answers
485
views
Collecting the statistics of disk usage using oVirt
I used the REST-API to collect the statistics of a Virtual Disk using oVirt REST API and I got the following response, https://1.1.1.1/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/ Response to this ***API***, { "statistic": [{ "kind": "gauge", "type": "decimal", "unit": "by...
I used the REST-API to collect the statistics of a Virtual Disk using oVirt REST API and I got the following response,
https://1.1.1.1/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/
Response to this ***API***,
{
"statistic": [{
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [{
"datum": 0
}]
},
"disk": {
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996",
"id": "b14da816-37e3-46d7-8617-2e42e52db996"
},
"name": "data.current.read",
"description": "Read data rate",
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/33b9212b-f9cb-3fd0-b364-248fb61e1272",
"id": "33b9212b-f9cb-3fd0-b364-248fb61e1272"
}, {
"kind": "gauge",
"type": "decimal",
"unit": "bytes_per_second",
"values": {
"value": [{
"datum": 0
}]
},
"disk": {
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996",
"id": "b14da816-37e3-46d7-8617-2e42e52db996"
},
"name": "data.current.write",
"description": "Write data rate",
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/2f23addd-4ebd-3d82-a449-c28778bc33eb",
"id": "2f23addd-4ebd-3d82-a449-c28778bc33eb"
}, {
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [{
"datum": 0
}]
},
"disk": {
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996",
"id": "b14da816-37e3-46d7-8617-2e42e52db996"
},
"name": "disk.read.latency",
"description": "Read latency",
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/3a7b3f72-d035-3bb9-b196-e86a4eb34993",
"id": "3a7b3f72-d035-3bb9-b196-e86a4eb34993"
}, {
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [{
"datum": 0
}]
},
"disk": {
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996",
"id": "b14da816-37e3-46d7-8617-2e42e52db996"
},
"name": "disk.write.latency",
"description": "Write latency",
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/b1e75c7b-cea4-37d2-8459-f7d68efc69a3",
"id": "b1e75c7b-cea4-37d2-8459-f7d68efc69a3"
}, {
"kind": "gauge",
"type": "decimal",
"unit": "seconds",
"values": {
"value": [{
"datum": 0
}]
},
"disk": {
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996",
"id": "b14da816-37e3-46d7-8617-2e42e52db996"
},
"name": "disk.flush.latency",
"description": "Flush latency",
"href": "/ovirt-engine/api/disks/b14da816-37e3-46d7-8617-2e42e52db996/statistics/9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0",
"id": "9c17ad7b-9ef1-3e8d-ad0a-ff8bee3925f0"
}]
}
So As per my understanding, It is able to retrieve 5 statistics (***i.e***) Read and Write Bandwidth, Read, Write and Flush Latency.
My question is, Is it possible to get the ***READ / WRITE IOPS*** of virtual disk / VM?
Thanks,
Harry
Coder
(201 rep)
Feb 7, 2018, 04:25 AM
• Last activity: Feb 11, 2020, 09:52 PM
1
votes
0
answers
196
views
I want to assign a specific VM permission to Ovirt users based on the VM tag
I have a group of VMs with certain tag. I would like for users (that all belong to a group) to have the UserVmManager permission for those VMs. From what I've found, Red Hat documentation isn't particularly clear on how to do this. Does anyone know if this is possible, and if so where to read about...
I have a group of VMs with certain tag. I would like for users (that all belong to a group) to have the UserVmManager permission for those VMs.
From what I've found, Red Hat documentation isn't particularly clear on how to do this.
Does anyone know if this is possible, and if so where to read about it?
Rob
(11 rep)
Jun 28, 2019, 06:58 PM
0
votes
1
answers
117
views
python Ovirtsdk api, how to start a vm in paued mode
I am trying to start a vm in paused mode, but running into issues. I'm able to connect to the API and start vms normally, but I cannot seem to get the params part right for staring paused. In this example, vm is the virtual machine object obtained from the api with the vm in question. from ovirtsdk....
I am trying to start a vm in paused mode, but running into issues. I'm able to connect to the API and start vms normally, but I cannot seem to get the params part right for staring paused.
In this example, vm is the virtual machine object obtained from the api with the vm in question.
from ovirtsdk.xml import params
vm.start(params.Action.set_pause())
This gives me a "TypeError: unbound method set_pause() must be called with Action instance as first argument (got nothing instead)"
self.vm.start(params.Action.set_pause(pause=True))
This gets me the same thing.
Jonathan
(21 rep)
Feb 1, 2019, 04:03 PM
• Last activity: Feb 11, 2019, 08:30 PM
0
votes
1
answers
81
views
What are the components of ovirt api for creating the VM
I am using the oVirt API, I am checking into the ovirt documentation, It has the following as payload, myvm Blank mycluster 1) What is the difference between template and cluster? I can understand that template - It is a configuration which we can set and apply for multiple vm's but What is cluster?...
I am using the oVirt API, I am checking into the ovirt documentation,
It has the following as payload,
myvm
Blank
mycluster
1) What is the difference between template and cluster?
I can understand that template - It is a configuration which we can set and apply for multiple vm's but What is cluster?
2) Is it necessary to use the template and cluster in using createVM rest API in ovirt?
3) Can't we create a vm without specifying the template and cluster?
Coder
(201 rep)
Jan 11, 2018, 11:20 AM
• Last activity: Aug 20, 2018, 11:31 PM
0
votes
1
answers
284
views
oVirt Kernel Panic on CD-Rom (ISO) boot
I'm having a _really_ weird issue with oVirt. I download ISOs, and they'll work for about ~3 boots, and then they just start kernel panic'ing out of nowhere. The error is as follows: `Kernel panic - not syncing: No init found. Try passing init= option to kernel.` Removing quiet doesn't add more visi...
I'm having a _really_ weird issue with oVirt. I download ISOs, and they'll work for about ~3 boots, and then they just start kernel panic'ing out of nowhere. The error is as follows:
Kernel panic - not syncing: No init found. Try passing init= option to kernel.
Removing quiet doesn't add more visible debug info.
This has so far happened on around five different downloads of CentOS. I've verified the checksum of the ISO with the one provided on the CentOS website, and it's fine. Everything is hosted in an ISO domain, as an NFS share. Unfortunately, this happens with Glance templates as well, mainly CentOS. Debian Buster worked the first time, after a couple other ISOs failed, but I haven't repeatedly tried it.
I'm running on the latest oVirt version (4.2.2), with the hosted engine, and this only started after updating from 4.2.0.
Thanks in advance!
Eamonn Nugent
(31 rep)
May 3, 2018, 03:48 AM
• Last activity: May 3, 2018, 03:58 AM
0
votes
1
answers
80
views
In RHEV-M/oVirt, how do I find a list of searchable attributes / properties?
I cannot find any documentation pertaining to the list of searchable properties of objects (VMs, Hosts, etc) within oVirt / RHEV-M? There is no documentation on this, either in RHEV or oVirt sites (via Google). Can someone provide a list of such attributes?
I cannot find any documentation pertaining to the list of searchable properties of objects (VMs, Hosts, etc) within oVirt / RHEV-M? There is no documentation on this, either in RHEV or oVirt sites (via Google). Can someone provide a list of such attributes?
Otheus
(6357 rep)
Aug 1, 2017, 09:13 AM
• Last activity: Aug 3, 2017, 06:37 PM
4
votes
1
answers
1769
views
KVM to Ovirt VM migration
I installed ovirt on a machine that was already hosting KVM virtual machines. I am now trying to migrate those VMs over to RHEV format, but I am receiving SASL authentication errors using virt-v2v. I am not being prompted for credentials upon running the command virt-v2v Windows7.xml -o rhev -os hos...
I installed ovirt on a machine that was already hosting KVM virtual machines. I am now trying to migrate those VMs over to RHEV format, but I am receiving SASL authentication errors using virt-v2v.
I am not being prompted for credentials upon running the command
virt-v2v Windows7.xml -o rhev -os host.domain.net:/home/images --network ovirtmgmt Windows7
The error is
virt-v2v: Failed to connect to qemu:///system: libvirt error code: 45, message: authentication failed: Failed to step SASL negotiation: -7 (SASL(-7): invalid parameter supplied: Unexpectedly missing a prompt result)
This has been driving me crazy all night. Does anyone know anything about this?
midnightsteel
(822 rep)
Nov 30, 2013, 04:41 PM
• Last activity: Mar 18, 2017, 07:14 PM
1
votes
2
answers
1573
views
In RHEV-M/oVirt, how do I find the VM associated with a particular MAC-address
I'm trying to use the manager to find a VM associated with a particular MAC-address. I'm using the search-bar in the WUI. The RHEV-M guide and oVirt CLI examples get me only so far. In the search bar, I try `VMS: vnic.network_name = X*` and I get all VMs with an interface in any of the X... networks...
I'm trying to use the manager to find a VM associated with a particular MAC-address. I'm using the search-bar in the WUI. The RHEV-M guide and oVirt CLI examples get me only so far. In the search bar, I try
VMS: vnic.network_name = X*
and I get all VMs with an interface in any of the X... networks. But I want to search on the mac address. Tried the obvious, (mac
, mac-address
, mac_address
) but no go. For comparison, I tried "00*" which definitely should have gotten hits.
Otheus
(6357 rep)
Apr 27, 2015, 09:36 AM
• Last activity: Jul 31, 2015, 03:42 PM
0
votes
1
answers
1352
views
How to get pass a localisation issue when setting up a maven project?
I'm trying to install ovirt on my mint laptop. Installing oVirt on a debian distribution is expirimental and there is little knowledge about troubleshooting on the web. However, I have found the source of my issue, I'm just not sure how to fix it. The output of the failed maven test is as follows: -...
I'm trying to install ovirt on my mint laptop.
Installing oVirt on a debian distribution is expirimental and there is little knowledge about troubleshooting on the web.
However, I have found the source of my issue, I'm just not sure how to fix it.
The output of the failed maven test is as follows:
-------------------------------------------------------------------------------
Test set: org.ovirt.engine.core.branding.BrandingManagerTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.249 sec but was:
at org.junit.Assert.assertEquals(Assert.java:115)
at org.ovirt.engine.core.branding.BrandingManagerTest.testGetMessageDefaultLocale(BrandingManagerTest.java:81)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:35)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:115)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:97)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103)
at com.sun.proxy.$Proxy0.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150)
at org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:91)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69)
notice the 6th row:
The result should be 'Main header' expected: but was:
It seems that the test failed over a string mismatch, probably because my Linux is installed in French. I want to find a way to force the installation to install only in English to avoid this. I have tried addind BUILD-LOCALES="en"
but that did not fix the issue.
Any ideas?
Tom Klino
(862 rep)
Aug 8, 2014, 12:24 PM
• Last activity: Sep 2, 2014, 12:53 PM
2
votes
1
answers
3454
views
Public key problem when installing ovirt on aws
I started an instance on AWS with centos 6.4. I ran the following two commands: $ yum localinstall http://resources.ovirt.org/releases/ovirt-release.noarch.rpm $ yum -y install ovirt-engine I got the following messages: > warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: N...
I started an instance on AWS with centos 6.4. I ran the following two commands:
$ yum localinstall http://resources.ovirt.org/releases/ovirt-release.noarch.rpm
$ yum -y install ovirt-engine
I got the following messages:
> warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID 0608b895: NOKEY
>
> Public key for python-websockify-0.5.1-1.el6.noarch.rpm is not installed
How can I solve this public key problem?
Steve
(23 rep)
Apr 17, 2014, 11:27 PM
• Last activity: Apr 18, 2014, 01:07 AM
Showing page 1 of 13 total questions