VM Portal on a stand alone server
by gal.villaret@gmail.com
Hi Folks,
I'm rather new to oVirt and loving it.
running 4.4.1.
I would like to be able to run the VM Portal on a stand-alone server for security concerns.
Can anyone point in the right direction for achieving this?
Thanks,
Gal Villaret
3 years, 9 months
ovirt-node-ng-image-update 4.4.1 to 4.4.1.1
by David M. Hornsby
All,
I applied the recent update 4.4.1 -> 4.4.1.1 to a host in a cluster and it failed. After reboot it was hund at the emergency console. I reinstalled 4.4.1 fresh on the host. Prior to adding it back to the cluster I applied the same update with the same result. Is this just a bad update or is the post install script bad.
Thanks,
David.
3 years, 9 months
ovirt
by Nazan CENGİZ
Hi all
We have 3 domain storage on ovirt.
One of them is full.Doesn't let me move or open vm
I restart all the hosts, the situation is the same
what should I do?
Could you please help me
[cid:1dcfee51-130f-4f53-b390-dd4e1b1548e7]
not space left
[cid:09172d82-91d5-48a0-b4c6-503be9217cc6]
Best Regards nazan
[cid:imagef9b16a.PNG@4ccb2d29.40931c5b]<http://www.havelsan.com.tr> [cid:image61b00c.JPG@1d7940f3.4dac82f7]
Nazan CENGİZ
AR-GE MÜHENDİSİ
Mustafa Kemal Mahallesi 2120 Cad. No:39 06510 Çankaya Ankara TÜRKİYE
[cid:image2a1f23.PNG@29171ed8.4ba6b336] +90 312 219 57 87 [cid:image641031.PNG@c924d7e3.48a139b7] +90 312 219 57 97
[cid:imageb7a0b3.JPG@f9ee6f03.4eab9aed]
YASAL UYARI: Bu elektronik posta işbu linki kullanarak ulaşabileceğiniz Koşul ve Şartlar dokümanına tabidir. <https://havelsan.com.tr/sabit-sayfalar/eposta-yasal-uyari>
LEGAL NOTICE: This e-mail is subject to the Terms and Conditions document which can be accessed with this link. <https://havelsan.com.tr/sabit-sayfalar/eposta-yasal-uyari>
Lütfen gerekmedikçe bu sayfa ve eklerini yazdırmayınız / Please consider the environment before printing this email
3 years, 9 months
Re: Failing to restore a backup
by Yedidyah Bar David
On Tue, Jul 14, 2020 at 4:40 PM Anton Louw via Users <users(a)ovirt.org>
wrote:
>
>
> Hi Andrea,
>
>
>
> I have had sleepless nights with the same issue, but eventually figured it
> out. The two commands I used are below:
>
>
>
> 1. Backup the configs
>
> engine-backup --scope=all --mode=backup --file=Full --log=Log_Full
>
>
>
> 1. Restore the configs
>
> engine-backup --mode=restore --file=Full --log=Log_Full --provision-db
> --provision-dwh-db --restore-permissions
>
Andrea asked about hosted-engine, where you do not (by default) run restore
manually yourself.
>
>
> I ran the second command after I built a new HE from scratch. You just
> need to download the backup files from the original and copy them to the
> new HE before you restore.
>
>
>
> Give it a bash and see if it works for you.
>
>
>
> Cheers
>
>
>
> *Anton Louw*
> *Cloud Engineer: Storage and Virtualization* at *Vox*
> ------------------------------
> *T:* 087 805 0000 | *D:* 087 805 1572
> *M:* N/A
> *E:* anton.louw(a)voxtelecom.co.za
> *A:* Rutherford Estate, 1 Scott Street, Waverley, Johannesburg
> www.vox.co.za
>
> [image: F] <https://www.facebook.com/voxtelecomZA>
> [image: T] <https://www.twitter.com/voxtelecom>
> [image: I] <https://www.instagram.com/voxtelecomza/>
> [image: L] <https://www.linkedin.com/company/voxtelecom>
> [image: Y] <https://www.youtube.com/user/VoxTelecom>
>
> [image: #VoxBrand]
> <https://www.vox.co.za/fibre/fibre-to-the-home/?prod=HOME>
> *Disclaimer*
>
> The contents of this email are confidential to the sender and the intended
> recipient. Unless the contents are clearly and entirely of a personal
> nature, they are subject to copyright in favour of the holding company of
> the Vox group of companies. Any recipient who receives this email in error
> should immediately report the error to the sender and permanently delete
> this email from all storage devices.
>
> This email has been scanned for viruses and malware, and may have been
> automatically archived by *Mimecast Ltd*, an innovator in Software as a
> Service (SaaS) for business. Providing a *safer* and *more useful* place
> for your human generated data. Specializing in; Security, archiving and
> compliance. To find out more Click Here
> <https://www.voxtelecom.co.za/security/mimecast/?prod=Enterprise>.
>
>
> *From:* Andrea Chierici <andrea.chierici(a)cnaf.infn.it>
> *Sent:* 14 July 2020 14:54
> *To:* users(a)ovirt.org
> *Subject:* [ovirt-users] Failing to restore a backup
>
>
>
> 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"
> <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
> }
>
I think this is not a critical failure, and is not what failed the restore.
>
>
> 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
>
This is part of 'engine-setup' output, which 'hosted-engine' runs inside
the engine VM. If you can access the engine VM, you can try finding more
information in /var/log/ovirt-engine/setup/* there. Otherwise, the
hosted-engine deploy script might have managed to get a copy to
/var/log/ovirt-hosted-engine-setup/engine-logs*. Please check/share these.
Thanks.
>
> 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.
>
Another option is to do the restore manually. To find relevant information,
search the net for "enginevm_before_engine_setup".
Best regards,
>
> 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
>
> --
>
> _______________________________________________
> 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/Q4GGDSLBACN...
>
--
Didi
3 years, 9 months
mixed hyperconverged?
by Philip Brown
I'm thinking of doing an SSD based hyperconverged setup (for 4.3), but am wondering about certain design issues.
seems like the optimal number is 3 nodes for the glusterfs.
but.. I want 5 host nodes, not 3
and I want the main storage for VMs to be separate iSCSI NAS boxes.
Is it possible to have 3 nodes be the hyperconverged stuff.. but then add in 2 "regular" nodes, that dont store anything and arent part of the cluster?
is it required to be part of the gluster cluster, to also be part of the ovirt cluster, if thats where the hosted-engine lives?
or can I just have the hosted engine be switchable between the 3 nodes, and the other 2 be VM-only hosts?
Any recommendations here?
I dont what 5 way replication going on. Nor do I want to have to pay for large SSDs on all my host nodes.
(Im planning to run them with the ovirt 3.4 node image)
--
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
Re: video virtio (instead of qxl)
by Michal Skrivanek
> On 14 Jul 2020, at 16:44, Michael Lipp <mnl(a)mnl.de> wrote:
>
> Am 14.07.20 um 15:27 schrieb Michal Skrivanek:
>>
>>> This works perfectly with my Fedora 32 and Arch guests and the change is really worth it.
>> Hi,
>> what kind of performance benefits you’ve seen?
>>
>> It’s not currently in near term roadmap, but if anyone wants to contribute patches I don’t see a problem including it as an option for newer guests indeed.
>
> The display (spice) updates much faster and more "smoothly". Most
> notibly when using Arch VMs. With QXL, I have an extreme delay when
> typing. This vanishes completey with virtio-vga.
using which client? remote-viewer? on which platform?
qxl needs drivers, not sure if Arch has that…it should have, but for Windows you definitely need to install them. If they’re not all right it falls back to vga emulation which is then slow indeed
>
> - Michael
>
>> Thanks,
>> michal
>>
>>> _______________________________________________
>>> 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/IZQHW3NZB4B...
>
>
3 years, 9 months
What permission do I need to get API access
by miguel.garcia@toshibagcs.com
We use LDAP authentication to login to ovirt cluster, actually, admin and another user account have to access API with no problem. My account does cannot access to API despite that had SuperUser privileges than those accounts that already access API.
Every time I tried to access API I get next message:
Error during SSO authentication access_denied: Cannot authenticate user 'diagsbuilder(a)ralntdom.rtptgcs.com':
No valid profile found in credentials..
The account does exist and permissions to enter to portal vms
What do need to do to grant access to API?
3 years, 9 months
Re: Problem with backuping ovirt 4.4 with SDK
by Nir Soffer
On Tue, Jul 14, 2020 at 9:33 AM Łukasz Kołaciński <l.kolacinski(a)storware.eu>
wrote:
> Hello,
>
Hi Lukaz,
Lets move the discussion to devel(a)ovirt.org, I think it will be more
productive.
Also, always CC me and Eyal on incremental backup questions for a quicker
response.
> I am trying to do full backup on ovirt 4.4 using sdk.
>
Which version of oVirt? libvirt?
> I used steps from this youtube video:
> https://www.youtube.com/watch?v=E2VWUVcycj4 and I got error after running
> backup_vm.py. I see that sdk has imported disks and created backup entity
> and then I got sdk.NotFoundError exception.
>
This means that starting backup failed. Unfortunately the API does not have
a good way to get
the error that caused the backup to fai.
You should be able to see the error in the event log in the UI, and in
engine log.
> I also tried to do full backup with API and after finalizing backup
> disappeared (I think)
>
So backup from the API was successful?
Backups are expected to disappear, they are temporary objects used to
manage the backup
process. Once the backup process was finished you can do nothing with the
backup object,
and you cannot fetch the same backup data again.
> and I couldn't try incremental.
>
The fact that the backup disappeared should not prevent the next backup.
After you create a backup, you need to poll backup status until the backup
is ready.
while backup.phase != BackupPhase.READY:
time.sleep(1)
backup = backup_service.get()# to_checkpoint_id will be used as
If the backup does not end in ready state, it failed, and you cannot do
anything with
this backup.
When the backup is ready, you can fetch the to_checkpoint_id created for
this backup.
checkpoint_id = backup.to_checkpoint_id
At this point you need to persist the checkpoint id. This will be used to
create the incremental
backup.
[ 0.0 ] Starting full backup for VM '51708c8e-6671-480b-b2d8-199a1af9cbdc'
> Password:
> [ 4.2 ] Waiting until backup 0458bf7f-868c-4859-9fa7-767b3ec62b52 is
> ready
> Traceback (most recent call last):
> File "./backup_vm.py", line 343, in start_backup
> backup = backup_service.get()
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/services.py", line
> 32333, in get
> return self._internal_get(headers, query, wait)
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line
> 211, in _internal_get
> return future.wait() if wait else future
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line 55,
> in wait
> return self._code(response)
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line
> 208, in callback
> self._check_fault(response)
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line
> 130, in _check_fault
> body = self._internal_read_body(response)
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line
> 312, in _internal_read_body
> self._raise_error(response)
> File "/usr/lib64/python3.7/site-packages/ovirtsdk4/service.py", line
> 118, in _raise_error
> raise error
> ovirtsdk4.NotFoundError: HTTP response code is 404.
>
> During handling of the above exception, another exception occurred:
>
> Traceback (most recent call last):
> File "./backup_vm.py", line 476, in <module>
> main()
> File "./backup_vm.py", line 173, in main
> args.command(args)
> File "./backup_vm.py", line 230, in cmd_start
> backup = start_backup(connection, args)
> File "./backup_vm.py", line 345, in start_backup
> raise RuntimeError("Backup {} failed".format(backup.id))
> RuntimeError: Backup 0458bf7f-868c-4859-9fa7-767b3ec62b52 failed
>
This is correct, backup has failed.
Please check the event log to understand the failure.
Eyal, can you show how to get the error from the backup using the SDK, in a
way
that can be used by a program?
e.g. a public error code that can be used to decide on the next step, and
an error
message that can be used for displaying error to users of the backup
application.
This should be added to the backup_vm.py example.
Nir
3 years, 9 months