[OT] Major and minor numbers assigned to /dev/vdx virtio devices
by Gianluca Cecchi
Hello,
isn't there an official major/minor numbering scheme for virtio disks?
Sometimes I see 251 major or 252 or so... what is the udev assignment logic?
Reading here:
https://www.kernel.org/doc/Documentation/admin-guide/devices.txt
240-254 block LOCAL/EXPERIMENTAL USE
Allocated for local/experimental use. For devices not
assigned official numbers, these ranges should be
used in order to avoid conflicting with future assignments.
it seems they are in the range of experimental ones, while for example Xen
/dev/xvdx devices have their own static assignment (202 major)
Thanks,
Gianluca
3 years, 9 months
how to get ovirt 4.3 documentation?
by Philip Brown
I find it odd that the ovirt website allows to see older version RELEASE NOTES...
but doesnt seem to give links to general documentation for older versions.
For example, if you read
https://www.ovirt.org/release/4.3.10/
it says,
"For complete installation, administration, and usage instructions, see the oVirt Documentation."
but that links to the general docs page at https://www.ovirt.org/documentation/
It does NOT link to any ovirt 4.3 docs, which is what I actually need
--
Philip Brown| Sr. Linux System Administrator | Medata, Inc.
5 Peters Canyon Rd Suite 250
Irvine CA 92606
Office 714.918.1310| Fax 714.918.1325
pbrown(a)medata.com| www.medata.com
3 years, 9 months
How does ovirt collect data from foreman gui
by The Gaming Ant
Trying to initiate a build from foreman to ovirt. Data entered in the foreman gui, is not seen as accepted in ovirt . Is there anything to be setup for ovirt to accept the data from foreman..
3 years, 9 months
Failing to restore a backup
by Andrea Chierici
Dear all,
I'm rather new to the list, not to ovirt, that I use since 2014 profitably.
I've a problem with an ovirt instance and I am desperately seeking for help.
I run a 4.3 self hosted engine installation, with 8 hypervisors and an
iscsi storage.
Since the storage is not very reliable, I bought a dell powervault
where to move everything. No problem to move the VMs, the problem came
out with the hosted engine.
I've read many documentation and the procedure I think I must follow
involves backing up the current HE, powering it off, installing a new
host where to create a new HE recovering the backup.
The command I used to generate the backup is:
engine-backup --mode=backup --file=file_name --log=log_file_name
and the command used to restore it on the new HE is:
hosted-engine --deploy --restore-from-file=backup/file_name
The problem comes out during the recovering of the backup.
With versions prior to 4.3.11 and also with 4.4.0 I got the error:
2020-06-25 15:17:34,950+0200 ERROR ansible failed {
"ansible_host": "localhost",
"ansible_playbook":
"/usr/share/ovirt-hosted-engine-setup/ansible/trigger_role.yml",
"ansible_result": {
"_ansible_no_log": false,
"changed": false,
"invocation": {
"module_args": {
"ca_file": null,
"compress": true,
"headers": null,
"hostname": null,
"insecure": null,
"kerberos": false,
"ovirt_auth": {
"ansible_facts": {
"ovirt_auth": {
"ca_file": null,
"compress": true,
"headers": null,
"insecure": true,
"kerberos": false,
"timeout": 0,
"token":
"1f5Zoys35sQmLb2MiEg6bhWm2rDJULFan3eBK0juJJR3S-nXtN_b31jac1sZ0KRz3d1KSDmr8tyf7ExNe_pqJg",
"url":
"https://ovirt-sgsi.cnaf.infn.it/ovirt-engine/api"
}
},
"attempts": 1,
"changed": false,
"failed": false
},
"password": null,
"state": "absent",
"timeout": 0,
"token": null,
"url": null,
"username": null
}
},
"msg": "You must specify either 'url' or 'hostname'."
},
"ansible_task": "Always revoke the SSO token",
"ansible_type": "task",
"status": "FAILED",
"task_duration": 3
}
Recently I tried the 4.3.11 beta and 4.4.1 and the error now is different:
[ INFO ] Upgrading CA\n[ ERROR ] Failed to execute stage 'Misc
configuration': (2, 'No such file or directory')\n[ INFO ] DNF
Performing DNF transaction rollback\n
I simply can't figure out what file is missing.
If, as a test, I try to install the HE without restoring the backup, the
installation goes smoothly to the end, but at that point I can't restore
the backup, as far as I can understand.
Any hint on what I may be missing?
Thanks,
Andrea
--
Andrea Chierici - INFN-CNAF
Viale Berti Pichat 6/2, 40127 BOLOGNA
Office Tel: +39 051 2095463
SkypeID ataruz
--
3 years, 9 months
video virtio (instead of qxl)
by Michael Lipp
Hi,
I've searched to no avail: is it possible to use video virtio (instead of qxl) in a VM managed by oVirt? I have much better performance with video virtio when testing this with "plain" libvirt.
I would have at least expected to find some feature request or something alike when searching. Does anybody know anything about this being on some ToDo list? Or has this really escaped everybody's notice?
- Michael
3 years, 9 months
engine log level
by Arsène Gschwind
Hi,
I'm running oVirt 4.3.9 and i'm wondering if it is possible to increase engine Loglevel. I could not find anything on Google or in the docs.
Thanks for any Hint?
rgds, Arsène
--
Arsène Gschwind <arsene.gschwind(a)unibas.ch<mailto:arsene.gschwind@unibas.ch>>
Universitaet Basel
3 years, 9 months
Admin portal will not load after installing updates
by Michael Watters
After installing updates on our ovirt-engine running CentOS 7.8 the
administration portal will no longer load. The engine.log shows an
error as follows.
2020-07-09 11:26:27,094-04 ERROR
[org.ovirt.engine.core.bll.GetConfigurationValuesQuery] (default task-2)
[d97ed384-f919-412b-94e2-7ec04a56ea9c] Query
'GetConfigurationValuesQuery' failed: null
2020-07-09 11:26:27,095-04 ERROR
[org.ovirt.engine.core.bll.GetConfigurationValuesQuery] (default task-2)
[d97ed384-f919-412b-94e2-7ec04a56ea9c] Exception:
java.lang.NullPointerException
Does anybody know what would cause this or how to fix it?
3 years, 9 months
Failed to upload ISO oVirt 4.4.0 - imageio unable to verify certificate
by Erez Zarum
I have changed the Engine SSL certificate with our own certificates (using FreeIPA), i have followed the procedure described in the documents carefully and it is indeed working well.
I haven now tried to upload an ISO and it fails, using "test connection" says the connection to the imageio service is ok, but when the upload starts it fails.
I can see those errors in the ovirt-imageio daemon log file.
2020-07-10 06:00:48,386 ERROR (Thread-11) [http] Server error
Traceback (most recent call last):
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 699, in __call__
self.dispatch(req, resp)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/http.py", line 744, in dispatch
return method(req, resp, *match.groups())
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/cors.py", line 84, in wrapper
return func(self, req, resp, *args)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/images.py", line 66, in put
backends.get(req, ticket, self.config),
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/backends/__init__.py", line 53, in get
cafile=config.tls.ca_file)
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/backends/http.py", line 48, in open
secure=options.get("secure", True))
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/backends/http.py", line 63, in __init__
options = self._options()
File "/usr/lib64/python3.6/site-packages/ovirt_imageio/_internal/backends/http.py", line 364, in _options
self._con.request("OPTIONS", self.url.path)
File "/usr/lib64/python3.6/http/client.py", line 1254, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1300, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1249, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib64/python3.6/http/client.py", line 1036, in _send_output
self.send(msg)
File "/usr/lib64/python3.6/http/client.py", line 974, in send
self.connect()
File "/usr/lib64/python3.6/http/client.py", line 1422, in connect
server_hostname=server_hostname)
File "/usr/lib64/python3.6/ssl.py", line 365, in wrap_socket
_context=self, _session=session)
File "/usr/lib64/python3.6/ssl.py", line 776, in __init__
self.do_handshake()
File "/usr/lib64/python3.6/ssl.py", line 1036, in do_handshake
self._sslobj.do_handshake()
File "/usr/lib64/python3.6/ssl.py", line 648, in do_handshake
self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:897)
Looking at old posts here, i have also tried:
keytool -importcert -trustcacerts -keystore /etc/pki/ovirt-engine/.truststore -storepass mypass -file /etc/pki/ovirt-engine/apache-ca.pem
And restarted both the ovirt-imageio service and the ovirt-engine service, it didn't help.
3 years, 9 months
Re: Using ovirt imageio
by Nir Soffer
On Tue, Jul 7, 2020 at 5:05 PM Łukasz Kołaciński <l.kolacinski(a)storware.eu>
wrote:
> Dear ovirt community,
>
Hi Łukasz,
Adding devel(a)ovit.org since this topic is more appropriate for the devel
list.
> I am trying to use ovirt imageio api to receive changed blocks (dirty
> bitmap) on ovirt 4.4. Could anyone tell me how to get them step by step? On
> the documentation I saw endpoint "GET /images/ticket-uuid/map". I don't
> know what ticket-uuid is and how to generate it. I also need to know how to
> use this api because I can't reach it via /ovirt-engine/api/
>
> I am asking about this endpoint:
>
> https://www.ovirt.org/documentation/incremental-backup-guide/incremental-...
>
This guide is outdated and should not be used now.
The most up to date information is here:
https://www.ovirt.org/develop/release-management/features/storage/increme...
However the extents API is also outdated in the feature page. We are
working on updating it.
So here is example:
First you must start backup with from_checkpoint_id argument:
backup = backups_service.add(
types.Backup(
disks=disks,
from_checkpoint_id="checkpoint-id",
)
)
>
"checkpoint-id" is the checkpoint created in the last backup.
This starts a backup in in incremental mode. Dirty extents are available
only
in this mode.
Then you start a transfer for download, using the backup id:
transfer = imagetransfer.create_transfer(
connection,
disk,
types.ImageTransferDirection.DOWNLOAD,
backup=types.Backup(id=backup_uuid))
The transfer.transfer_url is the URL to download from, for example:
https://host:54322/images/53787351-3f72-44a1-8a26-1323524fac4a
Connect to host:54322 and send this request:
GET /images/53787351-3f72-44a1-8a26-1323524fac4a/extents?context=dirty
And parse the return json list, containing objects like:
[
{"start": 0, "length": 65536, "dirty": true},
{"start": 65536, "length": 1048576, "dirty": false},
...
]
For example code of using the imageio API, see imageio http backend:
https://github.com/oVirt/ovirt-imageio/blob/d5aa0e1fe659f1bf1247516f83c71...
https://github.com/oVirt/ovirt-imageio/blob/d5aa0e1fe659f1bf1247516f83c71...
We are adding a ImageioClient API that makes it easier to consume without
writing any HTTP code:
https://gerrit.ovirt.org/c/110068
With this you can use:
with ImageioClient(transfer.transfer_url, cafile=args.cafile) as client:
for extent in client.extent("dirty"):
if extent.dirty:
print("##dirty start={} length={}".format(extent.start,
extent.length))
client.write_to(sys.stdout.buffer, extent.start,
extent.length)
print()
This will stream the dirty extents to stdout. Not very useful as is, but
illustrates how
you can consume the data.
Here is an example writing extents to a sparse stream format:
https://gerrit.ovirt.org/c/110069
For complete backup example code see:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/backup...
Note the new imagetransfer helper module:
https://github.com/oVirt/ovirt-engine-sdk/blob/master/sdk/examples/helper...
Nir
e-mail: l.kolacinski(a)storware.eu
> <m.helbert(a)storware.eu>
>
>
>
>
> *[image: STORWARE]* <http://www.storware.eu/>
>
>
>
> *ul. Leszno 8/44 01-192 Warszawa www.storware.eu
> <https://www.storware.eu/>*
>
> *[image: facebook]* <https://www.facebook.com/storware>
>
> *[image: twitter]* <https://twitter.com/storware>
>
> *[image: linkedin]* <https://www.linkedin.com/company/storware>
>
> *[image: Storware_Stopka_09]*
> <https://www.youtube.com/channel/UCKvLitYPyAplBctXibFWrkw>
>
>
>
> *Storware Spółka z o.o. nr wpisu do ewidencji KRS dla M.St. Warszawa
> 000510131* *, NIP 5213672602.** Wiadomość ta jest przeznaczona jedynie
> dla osoby lub podmiotu, który jest jej adresatem i może zawierać poufne
> i/lub uprzywilejowane informacje. Zakazane jest jakiekolwiek przeglądanie,
> przesyłanie, rozpowszechnianie lub inne wykorzystanie tych informacji lub
> podjęcie jakichkolwiek działań odnośnie tych informacji przez osoby lub
> podmioty inne niż zamierzony adresat. Jeżeli Państwo otrzymali przez
> pomyłkę tę informację prosimy o poinformowanie o tym nadawcy i usunięcie
> tej wiadomości z wszelkich komputerów. **This message is intended only
> for the person or entity to which it is addressed and may contain
> confidential and/or privileged material. Any review, retransmission,
> dissemination or other use of, or taking of any action in reliance upon,
> this information by persons or entities other than the intended recipient
> is prohibited. If you have received this message in error, please contact
> the sender and remove the material from all of your computer systems.*
>
> _______________________________________________
> Users mailing list -- users(a)ovirt.org
> To unsubscribe send an email to users-leave(a)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/AIJMMJOR354...
>
3 years, 9 months