[ovirt-users] how to start fedora coreos

2021-06-02 Thread matthias . waldrey
Hello,

i try to use fedora coreos 34 from glance-repo.

i import template, choose as  type redhat coreos and start with only user + key 
ingnition.

errormessage: Failed to run VM fcos34  (User: admin@internal-authz).

with other templates (centos8) i have no problems.

is there anything more todo before starting vm?
___
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/JVWYEN7C7GQLSDRNRDT36RNRFDDRXXND/


[ovirt-users] Re: Creating Snapshots failed

2021-06-02 Thread Jonathan Baecker

Am 02.06.21 um 22:46 schrieb Strahil Nikolov:

You can try to use the unlock_entity.sh

# cd /usr/share/ovirt-engine/setup/dbutils
# source /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
# export PGPASSWORD=$ENGINE_DB_PASSWORD
# ./unlock_entity.sh -h

# ./unlock_entity.sh -u engine -t disk -q

Source: https://access.redhat.com/solutions/396753

Ok, ./unlock_entity.sh -t all worked. Thanks again!



Best Regards,
Strahil Nikolov


В сряда, 2 юни 2021 г., 22:57:36 ч. Гринуич+3, Jonathan Baecker 
 написа:






Am 02.06.21 um 19:08 schrieb Strahil Nikolov:


   

Most probably it does.



Can you try to restart the engine via :

systemctl restart ovirt-engine

Thank you for the hint!


I did, and now I can create a snapshot. But the old locked snapshot disks I 
still can not delete.

Jonathan




   







Best Regards,

Strahil Nikolov



   
   
On Tue, Jun 1, 2021 at 17:27, jb


 wrote:


   ___
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/OLSGTQBD7XEHENSKYVSQ3RIVOURD4PVX/









___
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/NMUPDBJG2T7SND4CN7MY4YRM4FU5Z6SQ/


[ovirt-users] Re: Creating Snapshots failed

2021-06-02 Thread Jonathan Baecker

Am 02.06.21 um 22:46 schrieb Strahil Nikolov:

You can try to use the unlock_entity.sh

# cd /usr/share/ovirt-engine/setup/dbutils
# source /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
# export PGPASSWORD=$ENGINE_DB_PASSWORD
# ./unlock_entity.sh -h

# ./unlock_entity.sh -u engine -t disk -q

Source: https://access.redhat.com/solutions/396753


Sadly this not helped.

This:

# ./unlock_entity.sh -t all -q

shows also no Locked results.




Best Regards,
Strahil Nikolov


В сряда, 2 юни 2021 г., 22:57:36 ч. Гринуич+3, Jonathan Baecker 
 написа:






Am 02.06.21 um 19:08 schrieb Strahil Nikolov:


   

Most probably it does.



Can you try to restart the engine via :

systemctl restart ovirt-engine

Thank you for the hint!


I did, and now I can create a snapshot. But the old locked snapshot disks I 
still can not delete.

Jonathan




   







Best Regards,

Strahil Nikolov



   
   
On Tue, Jun 1, 2021 at 17:27, jb


 wrote:


   ___
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/OLSGTQBD7XEHENSKYVSQ3RIVOURD4PVX/









___
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/UAMDVSNNHJRD5X233FXIM55NA3GCJFBF/


[ovirt-users] Re: Creating Snapshots failed

2021-06-02 Thread Strahil Nikolov via Users
You can try to use the unlock_entity.sh

# cd /usr/share/ovirt-engine/setup/dbutils
# source /etc/ovirt-engine/engine.conf.d/10-setup-database.conf
# export PGPASSWORD=$ENGINE_DB_PASSWORD
# ./unlock_entity.sh -h

# ./unlock_entity.sh -u engine -t disk -q

Source: https://access.redhat.com/solutions/396753


Best Regards,
Strahil Nikolov


В сряда, 2 юни 2021 г., 22:57:36 ч. Гринуич+3, Jonathan Baecker 
 написа: 






Am 02.06.21 um 19:08 schrieb Strahil Nikolov:


>  
Most probably it does. 



Can you try to restart the engine via :

systemctl restart ovirt-engine

Thank you for the hint!


I did, and now I can create a snapshot. But the old locked snapshot disks I 
still can not delete.

Jonathan




>  
> 
> 
> 
> 
> 
> 
> Best Regards,
> 
> Strahil Nikolov
> 
> 
> 
>>  
>>  
>> On Tue, Jun 1, 2021 at 17:27, jb
>> 
>>  wrote:
>> 
>> 
>>  ___
>> 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/OLSGTQBD7XEHENSKYVSQ3RIVOURD4PVX/
>> 
>> 
> 
> 



___
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/IXM6IPGPGPQ2YGM5NX3NVWGPTX25DZTJ/


[ovirt-users] Re: Creating Snapshots failed

2021-06-02 Thread Jonathan Baecker

Am 02.06.21 um 19:08 schrieb Strahil Nikolov:

Most probably it does.

Can you try to restart the engine via :
systemctl restart ovirt-engine


Thank you for the hint!

I did, and now I can create a snapshot. But the old locked snapshot 
disks I still can not delete.


Jonathan





Best Regards,
Strahil Nikolov

On Tue, Jun 1, 2021 at 17:27, jb
 wrote:
___
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/OLSGTQBD7XEHENSKYVSQ3RIVOURD4PVX/





___
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/3SPN5J2M26CALO26ILHSUN7SKOE3JUXM/


[ovirt-users] Re: deployment fails - debug: var=server_cpu_dict

2021-06-02 Thread Strahil Nikolov via Users
As per 
https://github.com/oVirt/ovirt-ansible-collection/commit/b506a125efc1901e7f15fbfcfe53b2c7352316b8
 it was removed from the code.
Can you remove all 'debug' tasks and try again ?
Best Regards,Strahil Nikolov
 
 
  On Wed, Jun 2, 2021 at 20:12, lejeczek via Users wrote:   Hi 
guys,

my:
-> $ ovirt-hosted-engine-setup

fails every time with:
...
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Convert 
CPU model name]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task 
includes an option with an undefined variable. The error 
was: 'dict object' has no attribute ''\n\nThe error appears 
to be in 
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml':
 
line 69, column 15, but may\nbe elsewhere in the file 
depending on the exact syntax problem.\n\nThe offending line 
appears to be:\n\n  - debug: 
var=server_cpu_dict\n  ^ here\n\nThere appears 
to be both 'k=v' shorthand syntax and YAML in this task. 
Only one syntax may be used.\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook
...

An expert would care to comment?
many thanks, L
___
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/XMSADE37OH7L3YSTWWD6AOQML6Y3E3WA/
  
___
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/WFZ7COJRDV5VG4FRDXBFEZVQSJRXFUID/


[ovirt-users] deployment fails - debug: var=server_cpu_dict

2021-06-02 Thread lejeczek via Users

Hi guys,

my:
-> $ ovirt-hosted-engine-setup

fails every time with:
...
[ INFO  ] TASK [ovirt.ovirt.hosted_engine_setup : Convert 
CPU model name]
[ ERROR ] fatal: [localhost]: FAILED! => {"msg": "The task 
includes an option with an undefined variable. The error 
was: 'dict object' has no attribute ''\n\nThe error appears 
to be in 
'/usr/share/ansible/collections/ansible_collections/ovirt/ovirt/roles/hosted_engine_setup/tasks/create_target_vm/01_create_target_hosted_engine_vm.yml': 
line 69, column 15, but may\nbe elsewhere in the file 
depending on the exact syntax problem.\n\nThe offending line 
appears to be:\n\n  - debug: 
var=server_cpu_dict\n  ^ here\n\nThere appears 
to be both 'k=v' shorthand syntax and YAML in this task. 
Only one syntax may be used.\n"}
[ ERROR ] Failed to execute stage 'Closing up': Failed 
executing ansible-playbook

...

An expert would care to comment?
many thanks, L
___
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/XMSADE37OH7L3YSTWWD6AOQML6Y3E3WA/


[ovirt-users] Re: Creating Snapshots failed

2021-06-02 Thread Strahil Nikolov via Users
Most probably it does.
Can you try to restart the engine via :systemctl restart ovirt-engine

Best Regards,Strahil Nikolov
 
  On Tue, Jun 1, 2021 at 17:27, jb wrote:   
___
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/OLSGTQBD7XEHENSKYVSQ3RIVOURD4PVX/
  
___
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/WLTR5OAF3EHRWRPT6NRZXS26JT5GBVP3/


[ovirt-users] Re: Hosted-engine fail and host reboot

2021-06-02 Thread Strahil Nikolov via Users
In https://github.com/gluster/gluster-ansible-infra there is an example with 
:vars:     # Firewall setup     gluster_infra_fw_ports:           - 
5900-6923/tcp
Maybe that's causing the problem ?

Best Regards,Strahil Nikolov___
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/BOEHHMVR3OBA6GSVU2K3YUIDKGCQQDX3/


[ovirt-users] Ovirt node 4.4.5 failure to upgrade to 4.4.6

2021-06-02 Thread Guillaume Pavese
Maybe my problem is in part linked to an issue seen by Jayme earlier, but
then the resolution that worked for him did not succeed for me :

I first upgraded my Self Hosted Engine from 4.4.5 to 4.4.6 and then
upgraded it to Centos-Stream and rebooted

Then I tried to upgrade the cluster (3 ovirt-nodes on 4.4.5) but it failed
at the first host.
They are all ovir-node hosts, originally first installed in 4.4.5

In Host Event Logs I saw :

...
Update of host ps-inf-prd-kvm-fr-510.hostics.fr.
Upgrade packages
Update of host ps-inf-prd-kvm-fr-510.hostics.fr.
Check if image was updated.
Update of host ps-inf-prd-kvm-fr-510.hostics.fr.
Check if image was updated.
Update of host ps-inf-prd-kvm-fr-510.hostics.fr.
Check if image-updated file exists.
Failed to upgrade Host ps-inf-prd-kvm-fr-510.hostics.fr (User:
g...@hostics.fr).



ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch was installed according to
yum,
I tried reinstalling it but got errors: "Error in POSTIN scriptlet" :

Downloading Packages:
[SKIPPED] ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch.rpm: Already
downloaded
...
  Running scriptlet: ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch

  Reinstalling : ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch

  Running scriptlet: ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch

warning: %post(ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch) scriptlet
failed, exit status 1

Error in POSTIN scriptlet in rpm package ovirt-node-ng-image-update
---
Reinstalled:
  ovirt-node-ng-image-update-4.4.6.3-1.el8.noarch



nodectl still showed it was on 4.4.5 :

[root@ps-inf-prd-kvm-fr-510 ~]# nodectl info
bootloader:
  default: ovirt-node-ng-4.4.5.1-0.20210323.0 (4.18.0-240.15.1.el8_3.x86_64)
 ...
  current_layer: ovirt-node-ng-4.4.5.1-0.20210323.0+1



I tried to upgrade the Host again from oVirt and this time there was no
error, and the host rebooted.
However, it did not pass active after rebooting and nodectl still shows
that it's 4.4.5 installed. Similar symptoms as OP

So I removed ovirt-node-ng-image-update, then reinstalled it and got no
error this time.
nodectl info seemed to show that it was installed :


[root@ps-inf-prd-kvm-fr-510 yum.repos.d]# nodectl info
bootloader:
  default: ovirt-node-ng-4.4.6.3-0.20210518.0 (4.18.0-301.1.el8.x86_64)
...
  current_layer: ovirt-node-ng-4.4.5.1-0.20210323.0+1


However, after reboot the Host was still shown as "unresponsive"
After Marking it as "Manually rebooted", passing it in maintenance mode and
trying to activate it, the Host was automatically fenced. And still
unresponsive after this new reboot.

I passed it in maintenance mode again, And tried to reinstall it with
"Deploy Hosted Engine" selected
However if failed : "Task Stop services failed to execute."

In
/var/log/ovirt-engine/host-deploy/ovirt-host-deploy-ansible-20210602082519-ps-inf-prd-kvm-fr-510.hostics.fr-0565d681-9406-4fa7-a444-7ee34804579c.log
:

"msg" : "Unable to stop service vdsmd.service: Job for vdsmd.service
canceled.\n", "failed" : true,

"msg" : "Unable to stop service supervdsmd.service: Job for
supervdsmd.service canceled.\n", failed" : true,

"stderr" : "Error:  ServiceOperationError: _systemctlStop failed\nb'Job for
vdsmd.service canceled.\\n' ",

"stderr_lines" : [ "Error:  ServiceOperationError: _systemctlStop failed",
"b'Job for vdsmd.service canceled.\\n' " ],


If I try on the Host I get :

[root@ps-inf-prd-kvm-fr-510 ~]# systemctl stop vdsmd
Job for vdsmd.service canceled.

[root@ps-inf-prd-kvm-fr-510 ~]# systemctl status vdsmd
● vdsmd.service - Virtual Desktop Server Manager
   Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
preset: disabled)
   Active: deactivating (stop-sigterm) since Wed 2021-06-02 08:49:21 CEST;
7s ago
  Process: 54037 ExecStartPre=/usr/libexec/vdsm/vdsmd_init_common.sh
--pre-start (code=exited, status=0/SUCCESS)
...

Jun 02 08:47:34 ps-inf-prd-kvm-fr-510.hostics.fr vdsm[54100]: WARN Failed
to retrieve Hosted Engine HA info, is Hosted Engine setup finished?
...
Jun 02 08:48:31 ps-inf-prd-kvm-fr-510.hostics.fr vdsm[54100]: WARN Worker
blocked: 
  File:
"/usr/lib64/python3.6/threading.py", line 884, in _bootstrap

self._bootstrap_inner()



Retrying to manually stop vdsmd a second time then seems to work...
I tried rebooting again, restarting the install always fail at the the same
spot

What should I try to get this host back up?



Guillaume Pavese
Ingénieur Système et Réseau
Interactiv-Group

-- 


Ce message et toutes les pièces jointes (ci-après le “message”) sont 
établis à l’intention exclusive de ses destinataires et sont confidentiels. 
Si vous recevez ce message par erreur, merci de le détruire et d’en avertir 
immédiatement l’expéditeur. Toute utilisation de ce message non conforme a 
sa destination, toute diffusion ou toute publication, totale ou partielle, 
est interdite, sauf autorisation expresse. L’internet ne permettant pas 
d’assurer l’intégrité de ce message . 

[ovirt-users] Re: Cannot add new host to Ovirt

2021-06-02 Thread Yedidyah Bar David
On Tue, Jun 1, 2021 at 8:09 PM  wrote:
>
> In case it is useful to anyone.
> I found the problem.
> The permissions on the ovirt hosted-engine for the /etc/pki/ovirt-engine were
> root.root
> I changed them to ovirt.ovirt and I was able to add the host without issue.
>
> I have no idea why root ended up being the owner of that folder.

Thanks for the report!

Is there any chance it was due to an oVirt bug? And not something else - a human
mistake, some other software, etc.?

If so, perhaps you can still try finding out a bit more information about this,
by checking the directory's timestamp (in case you still kept it
somewhere before
fixing) and trying to find what was running during this. If you do
find anything,
please report. Thanks!

>
> There was no hint anywhere in the logs that I could see indicating that there 
> was a problem with these permissions.

I didn't try to reproduce, so only guess:

One might consider this a bug in ansible - as in: ansible was told to
use some private key, it failed to read it, but the log does not
indicate this. You might want to report it (I think as an issue on
their github repo).

>
> All is good now.

:-)

Best regards,
-- 
Didi
___
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/DY6NMB6OQL4YG3A7CKKA4XO2T6Q5HM4D/