[ovirt-users] Re: Gluster Hook differences between fresh and old clusters

2022-01-09 Thread Ritesh Chikatwar
Hello Strahil,

I have a setup with version (4.4.9.3) but I don't see an issue, Maybe after
migrating/upgrading. We are seeing this issue, can you share the content
from this hook (delete-POST-57glusterfind-delete-post).

On Mon, Jan 10, 2022 at 3:55 AM Strahil Nikolov via Users 
wrote:

> Hi All,
>
> recently I have migrated from 4.3.10 to 4.4.9 and it seems something odd
> is happening.
>
> Symptoms:
> - A lot of warnings for Gluster hook discrepancies
> - Trying to refresh the hooks via the sync button fails (engine error:
> https://justpaste.it/827zo )
> - Existing "Default" cluster tracks more hooks than a fresh new cluster
> New cluster hooks: http://i.imgur.com/FEL2Z1D.png
> Migrated cluster: https://i.imgur.com/L8dWYZY.png
>
> What can I do to resolve the issue ? I've tried to resync the hooks, move
> away /var/lib/glusterd/hooks/1/ and reinstall gluster packages, try to
> resolve via the "Resolve Conflicts" in the UI and nothing helped so far.
>
>
> 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/RYSNQTAGXEAX2O677ELEAYRXDAUX52IQ/
>
___
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/4D4UERJWHR3LP5LHYTJYWZMHJTQQFUHN/


[ovirt-users] Re: Help installing oVirt on single machine, without cockpit

2022-01-09 Thread cameronsplaze222
I tried to reply and didn't noticed I wasn't logged in, so it started a new 
thread. Can finally update you all!

So I have the engine installed to the node. For some reason, the node-engine 
looks for certs in a different spot than the CentOS-engine. Soft linking, so 
the cert is in both spots, lets the setup complete:
   ln -s /etc/pki/ovirt-engine/apache-ca.pem /etc/pki/vdsm/certs/cacert.pem
   ln -s /etc/pki/ovirt-engine/certs/apache.cer /etc/pki/vdsm/certs/vdsmcert.pem
   ln -s /etc/pki/ovirt-engine/keys/apache.key.nopass 
/etc/pki/vdsm/keys/vdsmkey.pem

After that, I add the host to the engine through the python sdk / API. I'm 
still having a problem starting a VM. The host's status is "up" externally, but 
not active. I can't find how to activate it through the sdk, the docs have an 
example only through the GUI. If I hit the endpoint it shows:

wget --user=admin@internal --password=fake 
--ca-certificate=/etc/pki/ovirt-engine/apache-ca.pem --output-document - 
"https://localhost.localdomain:443/ovirt-engine/api/hosts/some_random_id/activate;

then I get a "405 Method Not Allowed" back. If I list all the attributes for a 
host in python, none of them look like they can activate it:

```python
host_service = connection.system_service().hosts_service()
print( dir(host_service.list()[0]) )
# Prints a lot of attr's, but none activate related that I see.
```

The internal status of the node is non_operational, and detail says 
"network_unreachable". Is this expected when you first link a engine to a node? 
If so, is there a way to activate a node through the API?

Or is this where the engine and host start to step on each-other, and thus why 
this configuration isn't supported?
___
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/LNNWD5BPQUT3XRQQA52WQNRJX5F2CVJZ/


[ovirt-users] Gluster Hook differences between fresh and old clusters

2022-01-09 Thread Strahil Nikolov via Users
Hi All,

recently I have migrated from 4.3.10 to 4.4.9 and it seems something odd is 
happening.

Symptoms:
- A lot of warnings for Gluster hook discrepancies
- Trying to refresh the hooks via the sync button fails (engine error: 
https://justpaste.it/827zo )
- Existing "Default" cluster tracks more hooks than a fresh new cluster 
New cluster hooks: http://i.imgur.com/FEL2Z1D.png
Migrated cluster: https://i.imgur.com/L8dWYZY.png

What can I do to resolve the issue ? I've tried to resync the hooks, move away 
/var/lib/glusterd/hooks/1/ and reinstall gluster packages, try to resolve via 
the "Resolve Conflicts" in the UI and nothing helped so far.


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/RYSNQTAGXEAX2O677ELEAYRXDAUX52IQ/


[ovirt-users] Re: After upgrade to vdsm-4.40.90.4-1.el8 - Internal JSON-RPC error - how to fix?

2022-01-09 Thread Liran Rotenberg
On Fri, Jan 7, 2022 at 2:52 AM Adam Xu  wrote:

>
> 在 2022/1/6 15:53, Liran Rotenberg 写道:
>
>
>
> On Thu, Jan 6, 2022 at 9:20 AM Adam Xu  wrote:
>
>> I also got the error when I try to import an ova from vmware to my ovirt
>> cluster using a san storage domain.
>>
>> I resovled this by importing this ova to a standalone host which is using
>> its local storage.
>> 在 2021/11/18 17:41, John Mortensen 写道:
>>
>> Hi,
>> After we upgraded to vdsm-4.40.90.4-1.el8 on our two node cluster two things 
>> has happned:
>> 1. First node that was upgraded now continuously logs this error:
>> VDSM  command Get Host Statistics failed: Internal JSON-RPC 
>> error: {'reason': "'str' object has no attribute 'decode'"}
>>
>> Hi,
> Looks like [1], however in that report the import process succeeded
> despite those errors.
> Can you please share the import logs?
>
> when I try to import ova to san storage. there are tons of log like:
>
> 2022-01-06 09:15:55,058+08 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) []
> EVENT_ID: VDS_BROKER_COMMAND_FAILURE(10,802), VDSM ovirt4.adagene.cn
> command Get Host Statistics failed: Internal JSON-RPC error: {'reason':
> "'str' object has no attribute 'decode'"}
> 2022-01-06 09:15:55,059+08 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-8) []
> Unable to GetStats: VDSErrorException: VDSGenericException:
> VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC
> error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603
> 2022-01-06 09:15:58,347+08 INFO
> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-93)
> [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id:
> 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id:
> '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete
> 2022-01-06 09:16:08,358+08 INFO
> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-88)
> [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id:
> 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id:
> '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete
> 2022-01-06 09:16:10,090+08 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) []
> Unexpected return value: Status [code=-32603, message=Internal JSON-RPC
> error: {'reason': "'str' object has no attribute 'decode'"}]
> 2022-01-06 09:16:10,090+08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) []
> Failed in 'Get Host Statistics' method
> 2022-01-06 09:16:10,090+08 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) []
> Unexpected return value: Status [code=-32603, message=Internal JSON-RPC
> error: {'reason': "'str' object has no attribute 'decode'"}]
> 2022-01-06 09:16:10,092+08 ERROR
> [org.ovirt.engine.core.vdsbroker.monitoring.HostMonitoring]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-13) []
> Unable to GetStats: VDSErrorException: VDSGenericException:
> VDSErrorException: Failed to Get Host Statistics, error = Internal JSON-RPC
> error: {'reason': "'str' object has no attribute 'decode'"}, code = -32603
> 2022-01-06 09:16:18,367+08 INFO
> [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool-Thread-30)
> [b8ca5e99-e3e5-4a09-8b66-e225f45fdf77] Command 'ImportVmFromOva' (id:
> 'a1ef50bc-5dba-40af-9ebd-48bb421db495') waiting on child command id:
> '7943bb90-5964-4458-a1b8-d957cff94f09' type:'ConvertOva' to complete
> 2022-01-06 09:16:25,099+08 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool
> -Thread-34) [] Unexpected return value: Status [code=-32603,
> message=Internal JSON-RPC error: {'reason': "'str' object has no attribute
> 'decode'"}]
> 2022-01-06 09:16:25,099+08 ERROR
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool
> -Thread-34) [] Failed in 'Get Host Statistics' method
> 2022-01-06 09:16:25,099+08 WARN
> [org.ovirt.engine.core.vdsbroker.vdsbroker.GetStatsAsyncVDSCommand]
> (EE-ManagedScheduledExecutorService-engineScheduledThreadPool
> -Thread-34) [] Unexpected return value: Status [code=-32603,
> message=Internal JSON-RPC error: {'reason': "'str' object has no attribute
> 'decode'"}]
>
> these 

[ovirt-users] Re: give cloud-init the VM name

2022-01-09 Thread Strahil Nikolov via Users
I guess if you manage to script it (modification of the cloud init script), 
then you can use 'before_vm_start' to trigger your script.
Best Regards,Strahil Nikolov
 
 
  On Tue, Dec 28, 2021 at 16:01, Luca Contessa wrote:   
Hi list,
I have an oVirt node 4.4.9 installation with hyperconverged structure, on which 
i've created a pool of Linux VM (CentOS Stream 8).
I would like set as hostname the name of the VM + a static suffix appended at 
the end of the name (EXAMPLE: .static.suffix ), is there a way to pass 
to cloud-init the name of the VM and do this via cloud-init?
I've tried to look for something in oVirt and cloud-init documentation and 
found nothing.
Thanks a lot to everybody for the help and have a nice day.
___
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/K6S6E3AOVQYAFTHK6MDJ4N6EFWWRFFIF/
  
___
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/RO7Y6GT6AGMFTUMTUSDEAJ7PAEZMGWXU/


[ovirt-users] Re: [External] : Unrecoverable NMI error on HP Gen8 hosts.

2022-01-09 Thread Strahil Nikolov via Users
 
This means that most probably you are hitting a Firmware issue. (Most probably 
doesn't mean 100%).
Steps I would do:
- Check if latest iLO firmware is deployed (recently iLo4 got an update)
- Check that BIOS is up to date
- Check that HDD/Controller Firmware is up to date

Both iLO and HDD updates are not added in the HP SPP, as Gen8 is no longer 
actively supported.

Next, run the HP sum from 2017.04.00 
(https://support.hpe.com/hpesc/public/swd/detail?swItemId=MTX_3f6b4074ed734dc3baf007612d)
 that is the latest for Gen8

Check the IML logs and for further hardware-related topics check the HPE 
community.

Best Regards,
Strahil Nikolov В събота, 8 януари 2022 г., 19:57:52 Гринуич+2, Diggy Mc 
 написа:  
 
 > Hi Diggy,
> 
> I'm not sure if it's an oVirt issue, but it can be a network or firewall 
> issue. 
> Did you test the connection between oVirt hosts and the iLO interfaces?
> Simple tests like ping to ensure one host can reach others iLO interfaces and 
> ipmitool to
> ensure you can connect to the management interfaces?
> 
> Marcos
> 

It is not network or firewall related.  There is no firewall between the oVirt 
hosts/engine and the iLO interfaces.  When I configured oVirt power management, 
the offered test passed.  I'm not running IPMI.  On a side note, the problem 
exists both before and after enabling oVirt's power management feature.
___
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/OZ4ITKNEGD5MITTYMMPONQQ23EFJQFEY/
  ___
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/PBIAY4ND5KFVPKUMZWAWMW4QALOXBCKZ/


[ovirt-users] Re: Instability after update

2022-01-09 Thread Klaas Demter

I think the "official" advice is use ovirt-node.

About what is going wrong:

https://gitlab.com/qemu-project/qemu/-/issues/641

https://bugzilla.redhat.com/show_bug.cgi?id=2006409

I think that was the main issue why it was downgraded to 6.0 in ovirt 
4.4.9.2



Greetings

Klaas


On 1/7/22 12:27, Andrea Chierici wrote:

On 07/01/2022 07:57, Ritesh Chikatwar wrote:

try downgrading in all host and give try

I completed the downgrade and the system seems recovered. Thanks 
Ritesh, you saved my weekend!
What about future upgrades? Any clue on what is going bad on recent 
qemu packages?


Thanks again,

Andrea
--
Andrea Chierici - INFN-CNAF 
Viale Berti Pichat 6/2, 40127 BOLOGNA
Office Tel: +39 051 2095463 
SkypeID ataruz
--

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

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