[ovirt-users] Unable to upload image to disk - due to a network error

2024-02-08 Thread Alan Aguinaga
Hi. Is there a way to send an ISO to self hosted server? 

Because I 've been searching for help and a lot of people complaining about it. 

1 - What is the way to send ISOs to oVirt? Are there a command line tool to 
send ISOs to my server? 
"The ISO Uploader tool has been deprecated. Red Hat recommends uploading ISO 
images to the data domain with the Administration Portal or with the REST API. 
See Section 11.8.1, “Uploading Images to a Data Storage Domain” for details."
https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-the_iso_uploader_tool

2 - ISO sending from portal worked for a smaller image. It could be done for OL 
7.9 with 4 GB. But I am trying to upload OL 8.9 ISO with 13.5 GB and it is not 
finishing. It is not resuming. It started to upload. I have a configured 
certificate installed and ok tested connection. 

I got this error: "Unable to upload image to disk 
a72b0da4-1bbb-453c-b846-701eef9761f6 due to a network error. Ensure 
ovirt-engine's CA certificate is registered as a trusted CA in the browser. The 
certificate can be fetched from" 
It started but not finished: "Sent 1732 of 12812 MB" 

This message is related to network not to certificate because it is installed 
otherwise it cannot even started to upload. 

Are there a user-friendly way to upload a ISO to a server using any command 
line tool? Latter versions I can send a ISO to a storage pool and it appears in 
server. Now I read it is impossible. Does it impossible by now? 

My is  4.4.10.7-1.0.25.el8. I am using NFS share and self hosted engine. 




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


[ovirt-users] Affinity Labels in 4.4

2023-11-02 Thread Alan G
Can anyone explain how affinity labels work in 4.4?



I created a label containing a host and a VM. I had assumed that would require 
the VM to run on that host, but the VM continues to run on any host in the 
cluster.



I then checked the 4.4 documentation and it says that I need the filters module 
section of scheduling policy to contain Label, but there's doesn't appear to be 
a filter called Label.



Am I missing something?___
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/JRVAVNICQWWDQDFOAZCS7LIYLY5MCULY/


[ovirt-users] Re: VM disks Block device

2023-06-08 Thread Alan G
What exactly are you trying to achieve? LVM is just an implementation detail of 
oVirt so you shouldn't be interacting with on it on a normal basis.



If you want to share block devices between VMs then you can create a shareable 
disk.





 On Wed, 07 Jun 2023 13:25:41 +0100   wrote ---



LVM is used underneath the storage domain for disk management in kvm cluster on 
ovirt. VG which is the storage domain is visbile and active in all hosts in the 
same datacenter on ovirt. But, LV under this vg (that is the virtual disks of 
vms) is not active and the corresponding block devices of these LVs is not 
available on all hosts in cluster. 
I find only the running VMs LVs are active on the corresponding host. Is this a 
feature? 
 
Is it possible to get a corresponding block device and LV on all hosts in 
cluster?
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/6XXEWZA7QCGESIV6XHWJ5SIID6N2LZSW/___
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/64S2ZJQJVFGKXNHS4DHD65ROVS2WC5UQ/


[ovirt-users] Re: NIC Ordering

2023-05-25 Thread Alan G
My guess is that Foreman is deterministic, but the MAC addresses are allocated 
by oVirt and I don't know what rules are used there. For a long time it was 
fine and it worked as desired, but since we deleted a few VMs we have 
fragmentation in the MAC pool and now sometimes the "second" NIC gets allocated 
a lower MAC than the "first" NIC.



I probably need to capture the requests from Foreman to oVirt but not sure how 
to do that with it being HTTPS.



Your idea of using custom MTU size is interesting. thanks.







 On Thu, 25 May 2023 11:23:31 +0100 Volenbovskyi, Konstantin 
 wrote ---



Hi,

the situation is significantly different in case you say that Foreman is not 
deterministic in supplying NICs via API.

So all this determinism in ‘first interface gets lowest MAC/lowest PCI’ is not 
helpful because you essential don’t know which interface becomes the first one.

In fact, I am not sure if your OS uses ‘lowest PCI’ or ‘lowest MAC’ for 
ordering, I think that ‘lowest PCI’ is much more widespread.

 

A few ideas:

    -I think that slightly more elegant: maybe the idea is to 
create VM with first NIC, then add second NIC and then start your VM?

-I am not sure what is your OS, but udev rules is a powerful mechanism to 
control NIC assignment.

In case you say that behaviour of Foreman can’t be addressed – you might change 
MTU by 1 byte for certain network (1499) then use this attribute to find that
 NIC

ATTR{mtu} or modify creation of VM to create one vNIC with link state=down and 
then use ATTR{operstate}

 

BR,

Konstantin

 

Von: Alan G <mailto:alan+ov...@griff.me.uk>
 Datum: Mittwoch, 24. Mai 2023 um 15:46
 An: "Volenbovskyi, Konstantin" <mailto:konstantin.volenbovs...@haufe.com>
 Cc: Guillaume Pavese <mailto:guillaume.pav...@interactiv-group.com>, users 
<mailto:users@ovirt.org>
 Betreff: [ovirt-users] Re: NIC Ordering

 


Perhaps it's more of a Foreman/API limitation.


 


In Foreman I provision two interfaces, that in the Foreman UI at least, have an 
ordering. Sometimes when they are provisioned in oVirt the "second" interface 
has a lower MAC
 than the "first" interface and so the ordering in Foreman is different to the 
ordering in oVIrt.


 


This breaks a bunch of stuff that relies on the networks being on specific 
interface (eth0, eth1).


 


 


 


 On Wed, 24 May 2023 14:09:33 +0100 Volenbovskyi, Konstantin 
<mailto:konstantin.volenbovs...@haufe.com> wrote ---


 


Hi,

Do I understand it correctly that:

    -your OS uses PCI addresses to order NICSs?

    -PCI addresses of NICs are in fact non-consistent between VMs?

So you boot VM1 (with NICs vNIC1 and vNIC2) and VM2 (vNIC3 and vNIC4) with same 
order in eg. API (->GUI) and you sometimes see different PCI addresses (vNIC2 
has higher
 PCI address than vNIC1; however vNIC3 has higher PCI address than vNIC4)? I am 
surprised about that…

 

BR,

Konstantin

 

Von: Alan G <mailto:alan+ov...@griff.me.uk>
 Datum: Mittwoch, 24. Mai 2023 um 10:50
 An: Guillaume Pavese <mailto:guillaume.pav...@interactiv-group.com>
 Cc: users <mailto:users@ovirt.org>
 Betreff: [ovirt-users] Re: NIC Ordering

 


I don't create the VMs directly in the UI but use the API with Foreman. If I 
change the MACs on the NICs I have to go back and update Foreman as well.


 


My workaround today is unplug the NIC I want to be second, briefly power-up the 
VM so the "first" NIC gets assigned a PCI address, shutdown and re-plug the
 "second" NIC. On power-up the "second" NIC will be assigned a later PCI 
address and so achieve the ordering I want.


 


It's just fiddly and can only be done on first boot. I was hoping for a more 
elegant solution that works when you have large numbers of VMs to provision.


 


 


 


 On Wed, 24 May 2023 08:09:21 +0100 Guillaume Pavese 
<mailto:guillaume.pav...@interactiv-group.com> wrote ---


 


I think it depends on the mac addresses.


If you see that the MAC addresses are not sequential, delete the NICs and 
recreate them in the order you want them to be


it world for us


 


 


Guillaume Pavese
 Ingénieur Système et Réseau

Interactiv-Group





 



 


On Wed, May 24, 2023 at 1:46 AM
 Alan G <mailto:alan%2bov...@griff.me.uk> wrote:


 



 


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 . 
Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de 
ce mess

[ovirt-users] Re: NIC Ordering

2023-05-24 Thread Alan G
Perhaps it's more of a Foreman/API limitation.



In Foreman I provision two interfaces, that in the Foreman UI at least, have an 
ordering. Sometimes when they are provisioned in oVirt the "second" interface 
has a lower MAC than the "first" interface and so the ordering in Foreman is 
different to the ordering in oVIrt.



This breaks a bunch of stuff that relies on the networks being on specific 
interface (eth0, eth1).







 On Wed, 24 May 2023 14:09:33 +0100 Volenbovskyi, Konstantin 
 wrote ---




Hi,

Do I understand it correctly that:

    -your OS uses PCI addresses to order NICSs?

    -PCI addresses of NICs are in fact non-consistent between VMs?

So you boot VM1 (with NICs vNIC1 and vNIC2) and VM2 (vNIC3 and vNIC4) with same 
order in eg. API (->GUI) and you sometimes see different PCI addresses (vNIC2 
has higher PCI address than
 vNIC1; however vNIC3 has higher PCI address than vNIC4)? I am surprised about 
that…

 

BR,

Konstantin

 

Von: Alan G <mailto:alan+ov...@griff.me.uk>
 Datum: Mittwoch, 24. Mai 2023 um 10:50
 An: Guillaume Pavese <mailto:guillaume.pav...@interactiv-group.com>
 Cc: users <mailto:users@ovirt.org>
 Betreff: [ovirt-users] Re: NIC Ordering

 


I don't create the VMs directly in the UI but use the API with Foreman. If I 
change the MACs on the NICs I have to go back and update Foreman as well.


 


My workaround today is unplug the NIC I want to be second, briefly power-up the 
VM so the "first" NIC gets assigned a PCI address, shutdown and re-plug the 
"second" NIC. On
 power-up the "second" NIC will be assigned a later PCI address and so achieve 
the ordering I want.


 


It's just fiddly and can only be done on first boot. I was hoping for a more 
elegant solution that works when you have large numbers of VMs to provision.


 


 


 


 On Wed, 24 May 2023 08:09:21 +0100 Guillaume Pavese 
<mailto:guillaume.pav...@interactiv-group.com> wrote ---


 


I think it depends on the mac addresses.


If you see that the MAC addresses are not sequential, delete the NICs and 
recreate them in the order you want them to be


it world for us


 


 


Guillaume Pavese
 Ingénieur Système et Réseau

Interactiv-Group





 



 


On Wed, May 24, 2023 at 1:46 AM
 Alan G <mailto:alan%2bov...@griff.me.uk> wrote:


 



 


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 . 
Interactiv-group (et ses filiales) décline(nt) toute responsabilité au titre de 
ce message, dans l’hypothèse ou il aurait été modifié. 
https://interactiv-group.com/disclaimer.html


 


Is there any way to enforce NIC ordering so the vNICs match the ordering in the 
Engine UI?


 


I found this but not clear if it was ever implemented?


 


https://www.ovirt.org/develop/release-management/features/network/predictable-vnic-order.html


 



 



___


Users mailing list -- mailto:users@ovirt.org


To unsubscribe send an email to mailto: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/I3CSHZWQBSIGPKZKJBGVQUIJEGLHZNF3/





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


[ovirt-users] Re: NIC Ordering

2023-05-24 Thread Alan G
I don't create the VMs directly in the UI but use the API with Foreman. If I 
change the MACs on the NICs I have to go back and update Foreman as well.



My workaround today is unplug the NIC I want to be second, briefly power-up the 
VM so the "first" NIC gets assigned a PCI address, shutdown and re-plug the 
"second" NIC. On power-up the "second" NIC will be assigned a later PCI address 
and so achieve the ordering I want.



It's just fiddly and can only be done on first boot. I was hoping for a more 
elegant solution that works when you have large numbers of VMs to provision.







 On Wed, 24 May 2023 08:09:21 +0100 Guillaume Pavese 
 wrote ---



I think it depends on the mac addresses.

If you see that the MAC addresses are not sequential, delete the NICs and 
recreate them in the order you want them to be

it world for us





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









On Wed, May 24, 2023 at 1:46 AM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:






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 . Interactiv-group (et ses filiales) décline(nt) 
toute responsabilité au titre de ce message, dans l’hypothèse ou il aurait été 
modifié. https://interactiv-group.com/disclaimer.html




Is there any way to enforce NIC ordering so the vNICs match the ordering in the 
Engine UI?



I found this but not clear if it was ever implemented?



https://www.ovirt.org/develop/release-management/features/network/predictable-vnic-order.html







___

 Users mailing list -- mailto:users@ovirt.org

 To unsubscribe send an email to mailto: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/I3CSHZWQBSIGPKZKJBGVQUIJEGLHZNF3/___
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/IZ7WZWDSDE6OCBECQNXJO3S2PAVK6GDS/


[ovirt-users] NIC Ordering

2023-05-23 Thread Alan G
Is there any way to enforce NIC ordering so the vNICs match the ordering in the 
Engine UI?



I found this but not clear if it was ever implemented?



https://www.ovirt.org/develop/release-management/features/network/predictable-vnic-order.html___
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/I3CSHZWQBSIGPKZKJBGVQUIJEGLHZNF3/


[ovirt-users] Re: Ovirt 4.5.0 Support (End of Life Date)

2023-05-23 Thread Alan G
I believe Oracle offer their spin of oVirt called Oracle Linux Virtualization 
Manager. 



https://www.oracle.com/uk/a/ocom/docs/oracle-linux-virtualization-manager-ds-final.pdf







 On Fri, 21 Apr 2023 10:14:39 +0100 masood.ahmed--- via Users 
 wrote ---



Hi, 
I am working on a project and we would like to utilise (oVirt 4.5.) as the 
platform for our enterprise infrastructure. 
We have arrived at this juncture because of a range of considerations related 
to hardware and software availability and compatibility. 
 
My question is if there is on-going vendor \ professional support for oVirt 
moving forward, as one of my colleagues spoke with Red Hat, who stated they are 
going to end their support for the product. 
 
we will not gain security accreditation for our project unless we have 
professional support available, community support only is not sufficient, 
 
Any ideas of firms available for a support contract for oVirt 4.5.0? 
 
thanks
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/J5SCZEZCKKAYSF7RNLN2EKXPEMIMS4HF/___
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/WOS2M6XQA2WZILKU5AX5CO4JQDTSWLSR/


[ovirt-users] Create VM with Python SDK

2023-02-24 Thread Alan G
Hi,

Trying to create a VM while attaching an existing disk. I can create the VM 
then attach the disk with an additional call, but I thought it should be 
possible to do it in one hit?


My code is

vm = vms_service.add(

    types.Vm(

    name='alma8.7',

    description='AlmaLinux 8.7 CIS Packer image',

    cluster=types.Cluster(

    name='Default',

    ),

    type=types.VmType('server'),

    template=types.Template(

    name='Blank',

    ),

    disk_attachments=[types.DiskAttachment(

    disk=types.Disk(id = "0532e728-a1fb-4ff8-a4f3-0702fc876fce"),

    bootable=True,

    active=True,

    interface=types.DiskInterface.VIRTIO,

    )]

    ),

)





This request returns no error but the disk isn't actually attached to the 
created 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/ULFW36VXPHV4VOTPS7GPODPLK4F75M7I/


[ovirt-users] Re: OVA Export from Snapshot?

2022-05-09 Thread Alan G
Ah, I didn't appreciate that.



My main concern with running the OVA export was getting a consistent image. The 
machine I am exporting has a large disk which will take some time to export and 
I didn't want to have to shut the machine down for the duration of export 
operation.



I see now, when I trigger an export that a snapshot is created. Thanks.









 On Sun, 08 May 2022 13:00:26 +0100 Arik Hadas  wrote 




On Fri, May 6, 2022 at 3:00 PM Alan G <mailto:alan+ov...@griff.me.uk> wrote: 
> 
> Hi, 
> 
> Is there a way to export an OVA from a snapshot? Or only from the "Active VM" 
> image? 
 
The fact you're asking specifically about the image makes me wonder 
what's the reason for asking that 
If you look for a way to create an OVA directly from an existing 
snapshot then no, it's not possible. You'd need to provision a 
VM/template from the snapshot and export it to an OVA. 
If you don't want the export operation to operate on the active 
volume(s) of the VM then unless the VM is configured with MBS (managed 
block storage) disk, the system creates a snapshot first and exports 
the volumes that are associate with the snapshot to the OVA (so it 
doesn't use the active volumes) 
 
> 
> Thanks, 
> 
> Alan 
> 
> ___ 
> Users mailing list -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto: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/QIJM6R3GS2HQYIM2VYPTIBVPJXC2D5GN/
>  
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/HL626RQUSPO5OXPXRH2D6WNLUCEA6UNC/___
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/RQ5OZJEZPWFY2F2Z7TD724OUGY3IP3WW/


[ovirt-users] OVA Export from Snapshot?

2022-05-06 Thread Alan G
Hi,



Is there a way to export an OVA from a snapshot? Or only from the "Active VM" 
image?



Thanks,



Alan___
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/QIJM6R3GS2HQYIM2VYPTIBVPJXC2D5GN/


[ovirt-users] Re: what are the steps to swap/upgrade/reboot my main storage domain with minimum downtime

2022-02-09 Thread Alan G
Depends what you mean by "sync" and "swap".



If you can keep the same NFS endpoint, but swap-in your upgraded storage under 
the hood then I think you can do as you propose. Stop all VMs, put the storage 
domain in maintenance, make you changes and bring the domain out of maintenance.



However, if you're moving to a different NFS server, or even different path on 
the same server then I think the answer is no. In this scenario you'd need to 
create a new domain and move each vdisk across.







 On Wed, 09 Feb 2022 06:07:44 + Pascal D  wrote 




I need to upgrade my main domain storage (NFS) which hosts 100s of VMs and 
templates including the hosted engine. Can I put the data center in global 
maintenance, do a quick sync and swap of the domain storage and bring it back 
up without missing a beat?
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/LM4CUDWXJKR2RH5ITCAQG4O56J3YXA2N/___
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/72E3A4J4DK6AOI5GQT6BS6V53V4EPNO5/


[ovirt-users] Re: what are the steps to swap/upgrade/reboot my main storage domain with minimum downtime

2022-02-09 Thread Alan G
Sorry, I missed the fact that you also have HE in the same domain.



I think the previous statement still stands. But you'd be advised to stop the 
ovirt-ha-agent and ovirt-ha-broker on all hosts as well.







 On Wed, 09 Feb 2022 06:07:44 + Pascal D  wrote 




I need to upgrade my main domain storage (NFS) which hosts 100s of VMs and 
templates including the hosted engine. Can I put the data center in global 
maintenance, do a quick sync and swap of the domain storage and bring it back 
up without missing a beat?
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/LM4CUDWXJKR2RH5ITCAQG4O56J3YXA2N/___
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/CMDO4MHVIIJQXYVLFVLOWGTBR4KNDWHX/


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-05-12 Thread alan
Fixed. Thanks for the help! This is specific to our CSP, but some thoughts that 
might help:
- Utilities like tcpdump were helpful in analysis. It ultimately ended up being 
network issues (rather than SSL or something in the oVirt setup).
- In my environment, the host had two NICs, and the FQDN of the host resolves 
to the IP address on the first NIC. However, it needed to use the network that 
the second NIC was connected to. So adding the host by this IP address instead 
of the FQDN worked (or modifying the hosts file to resolve the FQDN instead of 
using DNS).
___
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/CTSQCV4YEPC32A45XEMG65O4YOCJR6P5/


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-05-03 Thread Alan Daniels
Some new information: I found that the VDSM traffic (anything not SSH) was
being blocked by the default network security rules (not on the host).
After fixing this, I am still unable to add a host though.

If I try
vdsm-client -a  Host getCapabilities
I get this error:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:618)

Rather than the previous error of just timing out. So maybe there is still
an issue with the certs.

When I add the host, it now fails with:
VDSM GPU2-2 command HostSetupNetworksVDS failed: Message timeout which can
be caused by communication issues
and I can't SSH into the host anymore.

If I restart the host, it becomes NonOperational because ovirtmgmt is
missing.

Thanks!
- Alan

On Mon, May 3, 2021 at 9:20 AM Alan Daniels  wrote:

> I'll research this. Could you give me some more details on what to do?
>
> Can I use vdsm-client -a  to test this as well?
>
> On Mon, May 3, 2021 at 2:26 AM Ales Musil  wrote:
>
>> I can see some ssl handshake: SSLError.
>>
>> I would recommend reinstalling certificates from the engine.
>>
>> Regards,
>> Ales
>>
>> On Sun, May 2, 2021 at 2:50 PM Alan Daniels  wrote:
>>
>>> Logs can be found here:
>>> https://www.dropbox.com/s/vdvkj7kp0d4d73v/vdsmlogs.tar.gz?dl=0
>>>
>>> Couldn't attach them directly due to size limits.
>>>
>>> Thanks!
>>> - Alan
>>>
>>> On Fri, Apr 30, 2021 at 3:06 AM Ales Musil  wrote:
>>>
>>>>
>>>>
>>>> On Wed, Apr 28, 2021 at 3:09 PM  wrote:
>>>>
>>>>> oVirt version: 4.3
>>>>> - ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
>>>>> vdsm version: 4.30.46-1.0.3.el7
>>>>>
>>>>> I can connect to the host manually. If I supply invalid SSH args when
>>>>> adding the host, it fails immediately rather than running for a while and
>>>>> failing later.
>>>>>
>>>>
>>>> Can you please share vdsm.log and supervdsm.log from the host?
>>>>
>>>> Thanks,
>>>> Ales
>>>>
>>>>
>>>>
>>>>> ___
>>>>> 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/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> Ales Musil
>>>>
>>>> Software Engineer - RHV Network
>>>>
>>>> Red Hat EMEA <https://www.redhat.com>
>>>>
>>>> amu...@redhat.comIM: amusil
>>>> <https://red.ht/sig>
>>>>
>>>
>>
>> --
>>
>> Ales Musil
>>
>> Software Engineer - RHV Network
>>
>> Red Hat EMEA <https://www.redhat.com>
>>
>> amu...@redhat.comIM: amusil
>> <https://red.ht/sig>
>>
>
___
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/KTCZI3ZVRKPKC3NT6JEO4KNBJ2LLKZFU/


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-05-03 Thread Alan Daniels
I'll research this. Could you give me some more details on what to do?

Can I use vdsm-client -a  to test this as well?

On Mon, May 3, 2021 at 2:26 AM Ales Musil  wrote:

> I can see some ssl handshake: SSLError.
>
> I would recommend reinstalling certificates from the engine.
>
> Regards,
> Ales
>
> On Sun, May 2, 2021 at 2:50 PM Alan Daniels  wrote:
>
>> Logs can be found here:
>> https://www.dropbox.com/s/vdvkj7kp0d4d73v/vdsmlogs.tar.gz?dl=0
>>
>> Couldn't attach them directly due to size limits.
>>
>> Thanks!
>> - Alan
>>
>> On Fri, Apr 30, 2021 at 3:06 AM Ales Musil  wrote:
>>
>>>
>>>
>>> On Wed, Apr 28, 2021 at 3:09 PM  wrote:
>>>
>>>> oVirt version: 4.3
>>>> - ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
>>>> vdsm version: 4.30.46-1.0.3.el7
>>>>
>>>> I can connect to the host manually. If I supply invalid SSH args when
>>>> adding the host, it fails immediately rather than running for a while and
>>>> failing later.
>>>>
>>>
>>> Can you please share vdsm.log and supervdsm.log from the host?
>>>
>>> Thanks,
>>> Ales
>>>
>>>
>>>
>>>> ___
>>>> 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/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/
>>>>
>>>
>>>
>>> --
>>>
>>> Ales Musil
>>>
>>> Software Engineer - RHV Network
>>>
>>> Red Hat EMEA <https://www.redhat.com>
>>>
>>> amu...@redhat.comIM: amusil
>>> <https://red.ht/sig>
>>>
>>
>
> --
>
> Ales Musil
>
> Software Engineer - RHV Network
>
> Red Hat EMEA <https://www.redhat.com>
>
> amu...@redhat.comIM: amusil
> <https://red.ht/sig>
>
___
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/EBDQRWH6NHYNRKUIWQYGGGPYMGBY73VV/


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-05-02 Thread Alan Daniels
Logs can be found here:
https://www.dropbox.com/s/vdvkj7kp0d4d73v/vdsmlogs.tar.gz?dl=0

Couldn't attach them directly due to size limits.

Thanks!
- Alan

On Fri, Apr 30, 2021 at 3:06 AM Ales Musil  wrote:

>
>
> On Wed, Apr 28, 2021 at 3:09 PM  wrote:
>
>> oVirt version: 4.3
>> - ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
>> vdsm version: 4.30.46-1.0.3.el7
>>
>> I can connect to the host manually. If I supply invalid SSH args when
>> adding the host, it fails immediately rather than running for a while and
>> failing later.
>>
>
> Can you please share vdsm.log and supervdsm.log from the host?
>
> Thanks,
> Ales
>
>
>
>> ___
>> 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/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/
>>
>
>
> --
>
> Ales Musil
>
> Software Engineer - RHV Network
>
> Red Hat EMEA <https://www.redhat.com>
>
> amu...@redhat.comIM: amusil
> <https://red.ht/sig>
>
___
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/JVK6PC33ROVEZEN2EJNQI37VVODWYXYV/


[ovirt-users] Re: [OLVM] Host non responsive after installation

2021-04-28 Thread alan
oVirt version: 4.3
- ovirt-engine-appliance.x86_64 4.3-20200603.1.0.2.el7
vdsm version: 4.30.46-1.0.3.el7

I can connect to the host manually. If I supply invalid SSH args when adding 
the host, it fails immediately rather than running for a while and failing 
later.
___
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/3IZYCB37KK2VXTIZHEHJQ6WQOWAEZHAC/


[ovirt-users] [OLVM] Host non responsive after installation

2021-04-27 Thread alan
I am using Oracle Linux Virtualization Manager, following this guide: 
https://docs.oracle.com/en/virtualization/oracle-linux-virtualization-manager/getstart/manager-install.html

After adding a host to the engine, the host becomes non responsive due to 
network errors:
engine.log
2021-04-27 14:53:02,255Z ERROR 
[org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand] 
(EE-ManagedThreadFactory-engine-Thread-32356) [38586e0e] Host installation 
failed for host 'c97604b3-5774-4260-92fd-633257aa7498', 'GPU2-2': Network error 
during communication with the host

Help resolving this would be much appreciated!
___
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/FI3PF5DIPC37H442XM3FKTNDI4PRUJW4/


[ovirt-users] Re: supervdsm failing during network_caps

2021-03-24 Thread Alan G
Looking back in the logs, in fact the first error we get is Out of memory. So 
it seems we're hitting https://bugzilla.redhat.com/show_bug.cgi?id=1623851



It's not clear from the ticket. Is there an explicit fix for this is 4.4, or 
the problem just kind of went away?







 On Wed, 24 Mar 2021 11:18:57 + Alan G  wrote 




Hi,



I sent this a while back and never got a response. We've since upgrade to 4.3 
and the issue persists.



2021-03-24 10:53:48,934+ ERROR (periodic/2) [virt.periodic.Operation] 
 operation failed 
(periodic:188)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 186, in 
__call__

    self._func()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/sampling.py", line 481, in 
__call__

    stats = hostapi.get_stats(self._cif, self._samples.stats())

  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 50, in 
get_stats

    decStats = stats.produce(first_sample, last_sample)

  File "/usr/lib/python2.7/site-packages/vdsm/host/stats.py", line 72, in 
produce

    stats.update(get_interfaces_stats())

  File "/usr/lib/python2.7/site-packages/vdsm/host/stats.py", line 154, in 
get_interfaces_stats

    return net_api.network_stats()

  File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 63, in 
network_stats

    return netstats.report()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netstats.py", line 32, in 
report

    stats = link_stats.report()

  File "/usr/lib/python2.7/site-packages/vdsm/network/link/stats.py", line 34, 
in report

    for iface_properties in iface.list():

  File "/usr/lib/python2.7/site-packages/vdsm/network/link/iface.py", line 257, 
in list

    for properties in itertools.chain(link.iter_links(), dpdk_links):

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/link.py", line 
47, in iter_links

    with _nl_link_cache(sock) as cache:

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/__init__.py", 
line 108, in _cache_manager

    cache = cache_allocator(sock)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/link.py", line 
157, in _rtnl_link_alloc_cache

    return libnl.rtnl_link_alloc_cache(socket, AF_UNSPEC)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/libnl.py", line 
578, in rtnl_link_alloc_cache

    raise IOError(-err, nl_geterror(err))

IOError: [Errno 16] Message sequence number mismatch



This occurs on both nodes in the cluster. A restart of vdsm/supervdsm will sort 
it for a while, but within 24 hours it occurs again. We run a number of 
clusters and it only occurs on one so must be some specific corner case we're 
triggering.



I can find almost no information on this. The best I could find was this 
https://linuxlizard.com/2020/10/18/message-sequence-number-mismatch-in-libnl/ 
which details a sequence number issue. I'm guessing I'm experiencing the same 
issue in that the nl sequence numbers are getting out of sync and 
closing/re-opening the nl socket (aka restart vdsm) is the only way to resolve.



I've completely hit a brick wall with it. We've had to disable fencing on both 
nodes as sometimes they get erroneously fenced when vdsm stops function 
correctly. At this point I'm thinking about replaced the severs with different 
models in-case it's something in the NIC drivers...



Alan





 On Mon, 06 Jan 2020 10:54:52 + Alan G <mailto:alan+ov...@griff.me.uk> 
wrote 



Hi,



I have issues with one host where supervdsm is failing in network_caps.



I see the following trace in the log.



MainProcess|jsonrpc/1::ERROR::2020-01-06 
03:01:05,558::supervdsm_server::100::SuperVdsm.ServerCallback::(wrapper) Error 
in network_caps

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm_server.py", line 98, in 
wrapper

    res = func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 56, in 
network_caps

    return netswitch.configurator.netcaps(compatibility=30600)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
317, in netcaps

    net_caps = netinfo(compatibility=compatibility)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
325, in netinfo

    _netinfo = netinfo_get(vdsmnets, compatibility)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
150, in get

    return _stringify_mtus(_get(vdsmnets))

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
59, in _get

    ipaddrs = getIpAddrs()

  File "/usr/lib/python2.7/site-packages/vdsm/network/n

[ovirt-users] Re: supervdsm failing during network_caps

2021-03-24 Thread Alan G
Hi,



I sent this a while back and never got a response. We've since upgrade to 4.3 
and the issue persists.



2021-03-24 10:53:48,934+ ERROR (periodic/2) [virt.periodic.Operation] 
 operation failed 
(periodic:188)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/virt/periodic.py", line 186, in 
__call__

    self._func()

  File "/usr/lib/python2.7/site-packages/vdsm/virt/sampling.py", line 481, in 
__call__

    stats = hostapi.get_stats(self._cif, self._samples.stats())

  File "/usr/lib/python2.7/site-packages/vdsm/host/api.py", line 50, in 
get_stats

    decStats = stats.produce(first_sample, last_sample)

  File "/usr/lib/python2.7/site-packages/vdsm/host/stats.py", line 72, in 
produce

    stats.update(get_interfaces_stats())

  File "/usr/lib/python2.7/site-packages/vdsm/host/stats.py", line 154, in 
get_interfaces_stats

    return net_api.network_stats()

  File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 63, in 
network_stats

    return netstats.report()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netstats.py", line 32, in 
report

    stats = link_stats.report()

  File "/usr/lib/python2.7/site-packages/vdsm/network/link/stats.py", line 34, 
in report

    for iface_properties in iface.list():

  File "/usr/lib/python2.7/site-packages/vdsm/network/link/iface.py", line 257, 
in list

    for properties in itertools.chain(link.iter_links(), dpdk_links):

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/link.py", line 
47, in iter_links

    with _nl_link_cache(sock) as cache:

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/__init__.py", 
line 108, in _cache_manager

    cache = cache_allocator(sock)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/link.py", line 
157, in _rtnl_link_alloc_cache

    return libnl.rtnl_link_alloc_cache(socket, AF_UNSPEC)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/libnl.py", line 
578, in rtnl_link_alloc_cache

    raise IOError(-err, nl_geterror(err))

IOError: [Errno 16] Message sequence number mismatch


This occurs on both nodes in the cluster. A restart of vdsm/supervdsm will sort 
it for a while, but within 24 hours it occurs again. We run a number of 
clusters and it only occurs on one so must be some specific corner case we're 
triggering.

I can find almost no information on this. The best I could find was this 
https://linuxlizard.com/2020/10/18/message-sequence-number-mismatch-in-libnl/ 
which details a sequence number issue. I'm guessing I'm experiencing the same 
issue in that the nl sequence numbers are getting out of sync and 
closing/re-opening the nl socket (aka restart vdsm) is the only way to resolve.

I've completely hit a brick wall with it. We've had to disable fencing on both 
nodes as sometimes they get erroneously fenced when vdsm stops function 
correctly. At this point I'm thinking about replaced the severs with different 
models in-case it's something in the NIC drivers...

Alan



 On Mon, 06 Jan 2020 10:54:52 + Alan G <mailto:alan+ov...@griff.me.uk> 
wrote 


Hi,



I have issues with one host where supervdsm is failing in network_caps.



I see the following trace in the log.



MainProcess|jsonrpc/1::ERROR::2020-01-06 
03:01:05,558::supervdsm_server::100::SuperVdsm.ServerCallback::(wrapper) Error 
in network_caps

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm_server.py", line 98, in 
wrapper

    res = func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 56, in 
network_caps

    return netswitch.configurator.netcaps(compatibility=30600)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
317, in netcaps

    net_caps = netinfo(compatibility=compatibility)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
325, in netinfo

    _netinfo = netinfo_get(vdsmnets, compatibility)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
150, in get

    return _stringify_mtus(_get(vdsmnets))

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
59, in _get

    ipaddrs = getIpAddrs()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/addresses.py", 
line 72, in getIpAddrs

    for addr in nl_addr.iter_addrs():

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/addr.py", line 
33, in iter_addrs

    with _nl_addr_cache(sock) as addr_cache:

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return sel

[ovirt-users] Custom firewalld zones?

2020-12-02 Thread Alan G
Hi,



Is there any support for custom zones in firewalld? The only reference I can 
find is this from years ago



https://lists.ovirt.org/pipermail/users/2015-May/032791.html



We're trying to put ovirtmgmt into a zone other than the default zone, but vdsm 
keeps reverting the config whenever it rewrites ifcfg-ovirtmgmt, with the 
result that the host becomes unreachable.



Alan___
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/K72K65WYEQDXHZQEGP2526DCIPOED655/


[ovirt-users] Re: affinity/pool/fencing ?

2020-07-28 Thread Alan G
You might find affinity labels are a better fit in this use case. It would 
allow you to add/remove/move hosts in the future much more quickly than hard 
coding affinity. But that still leaves the bulk configuration tasks.

The only way to do this quickly is with the REST API or one of the SDKs that 
leverage it.

You'd create the affinity labels in the web UI then assign the VMs using the 
API.


 On Tue, 28 Jul 2020 12:43:43 +0100 Nardus Geldenhuys 
 wrote 


Hi Paul

Thanks for the response, easy way to add 100 VM's in your second step ?



Regards



Nar



On Tue, 28 Jul 2020 at 13:17, Staniforth, Paul 
 wrote:

Hello Nar,

   you can achieve this with 2 affinity rules, a positive and 
negative one.



In the cluster create the first affinity group VM affinity rule disabled HOST 
affinity rule positive  set enforcing mode. Then add the VMs and 2 Hosts to 
force them to run on these hosts.



In the cluster create the second affinity group VM affinity rule disabled  HOST 
affinity rule negative set enforcing mode. Then add the rest of the VMs and the 
2 Hosts to force them not to run on these hosts.



https://www.ovirt.org/documentation/vmm-guide/chap-Administrative_Tasks.html





Regards,



 Paul S.








From: Nardus Geldenhuys 
 Sent: 28 July 2020 11:22
 To: mailto:users@ovirt.org 
 Subject: [ovirt-users] affinity/pool/fencing ?  


Caution External Mail: Do not click any links or open any attachments unless 
you trust the sender and know that the content is safe.

Hi oVirt land 

Hope you are well. Don't even know what to call this. But let me describe what 
I want to achieve.



We have a cluster with say 100 vm's. But we want two use two hosts in the 
cluster two run only certain VM's. I think you can do that with affinity rules. 
But how can I restrict those two hosts to only run the VM's, meaning that no 
other VM's will run on
 them.



I don't want to go and edit the 100 other VM's to not run on 2 hosts. Is there 
an easy way for doing this?



Oracle VM uses pools, I dont know what vmware uses.



Any advice will help.



Regards



Nar




To view the terms under which this email is distributed, please go to:-
 http://leedsbeckett.ac.uk/disclaimer/email/ 




___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/4V4DW7HI375CW4G75NJW3TIMNAZCP4NR/___
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/ZQD2CKQRZONDZL5EV7DD2LS2LD3CDQF3/


[ovirt-users] Re: change lun for hosted_engine use?

2020-07-27 Thread Alan G
The "long-winded" way is the only way I know of doing it.



https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/chap-backups_and_migration
 



Providing you plan in advance I don't think it's really that onerous. And it 
means you have a stable system going forward...





 On Mon, 27 Jul 2020 16:07:13 +0100 Philip  Brown  wrote 





I currently have a self-hosted engine, running in a dedicated ISCSI storage 
domain. 
I'd like to change the backend hardware for the storage. 
 
i think there's some longwinded and complicated method of shutting down the 
engine, backup, creating a NEW one, restore, and whoknowswhat. 
 
I was wondering though, if maybe there's a way to just add an iscsi lun to the 
storage domain, and tell ovirt, "Hey, move the stuff over to that other lun" 
? 
 
Ive added the new lun already :) havent found a reference to move the files' 
residence though. 
 
If it helps, my end goal is to remove that lun completely. 
 
 
-- 
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 
mailto:pbr...@medata.com| www.medata.com
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/522VCAWNK7SSLEAEAKRKK42YRO4GKA2T/___
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/EZUKDYU7QDRH52B3PF2K63RIWSGV6MLS/


[ovirt-users] Re: Is there a way to access VM data that is stored using iscsi block storage outside of the ovirt platform ?

2020-07-10 Thread Alan G
You can definitely build a bare metal Engine and do a DB restore onto it. I've 
done this before when I had problems. Obviously you will need a sane backup 
from your hosted engine.



I'm surprised the NFS build didn't work though. You probably need to remove the 
stale iSCSI hosted_storage domain and then I think it will automagically 
discover the new NFS one and then everything should start working.



 On Fri, 10 Jul 2020 14:14:04 +0100 Kevin Doyle 
 wrote 


We have had problems trying to get our broken hosted engine to work. The 
datastore for all the VM's was stored in an iscsi storage that was deactivated 
before the platform went down, I am now looking for a way to access this data 
and start the VM's outside of a running hosted-engine 
Can I build an new ovirt standalone engine on a new bare metal remote server 
and connect to the hosts and start up the domain ? 
I would be interested in your thoughts. 
The problem with rebuilding the hosted-engine is that it cannot reuse the lun 
dedicated for the hosted-engine. I have tried to rebuild using NFS but it 
complains about not seeing the master domain 
 
thanks 
Kevin
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/KLWD7MUYZ4CLDK3QE6KHXGUBHVFGZUNP/___
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/FVQF7SRVEEBKH3NPPD2ODIBI2WREPWV6/


[ovirt-users] Re: Q: Fixing SELinux Permissions on oVirt node

2020-05-31 Thread Alan
When running from the terminal you are unconfined, hence it runs without error.



Probably your only option is to create custom policy to allow this. Although I 
would question why the log file you are reading is cron_log_t and not var_log_t.



 On Fri, 29 May 2020 09:25:41 +0100 Andrei Verovski  
wrote 


Hi ! 
 
I’m struggling with SELinux blocking SNMP script from reading log file (oVirt 
node manually installed on CentOS 7). 
Log file is readable by all (chmod ugo+r). 
 
Scripts working fine when executed from terminal. 
 
I did not dig deep into CentOS internals, I’m mostly use Debian and SuSE. As 
far as I know, SELinux can’t be turned off on oVirt node. 
 
Thanks in advance for any suggestion(s). 
 
 
** 
 
option in snmpd.conf 
 
extend .1.3.6.1.4.1.2021.7890.5 checkraid /opt/4anvcheckraid_hp.sh 
 
 
** 
script 4anvcheckraid_hp.sh 
 
#!/bin/bash 
 
LOGFILE='/var/log/anvraidcheck.log' 
 
if [ ! -f $LOGFILE ]; then 
 exit 0 
fi 
 
# Variant 1 with sed 
sed '/^[ \t]*$/d' $LOGFILE | while read line; do 
 echo "$line" 
 exit 1 
done 
 
# Variant 2 without sed 
while read line 
do 
 if [[ "$line" =~ [^[:space:]] ]]; then 
 echo "$line" 
 exit 1 
 fi 
done < $LOGFILE 
 
 
** 
 
SELinux audit log: 
 
type=AVC msg=audit(1590673970.198:469304): avc:  denied  { read } for  
pid=12142 comm="sed" name="anvraidcheck.log" dev="dm-8" ino=138 
scontext=system_u:system_r:snmpd_t:s0 tcontext=system_u:object_r:cron_log_t:s0 
tclass=file permissive=0 
 
type=AVC msg=audit(1590673970.197:469303): avc:  denied  { read } for  
pid=12141 comm="4anvcheckraid_h" name="anvraidcheck.log" dev="dm-8" ino=138 
scontext=system_u:system_r:snmpd_t:s0 tcontext=system_u:object_r:cron_log_t:s0 
tclass=file permissive=0 
 
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/MYWS2S57UP5GISJ7APXVJO6NVCVEFM22/___
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/56F7E3LMR7I3RIH44TFUWHF33ZK5H3T2/


[ovirt-users] Re: NUMA Pinning bug with Hugepages?

2020-04-15 Thread Alan G
Will this be fixed in 4.3 or only 4.4?



Thanks,



Alan



 On Wed, 15 Apr 2020 12:37:38 +0100 Lucia Jelinkova  
wrote 


Hi, 





I think you've hit similar issue as reported here:



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



You're right, the hugepages are considered as allocated memory and it is a bug. 
I am working on a fix right now. 



Regards, 



Lucia



On Wed, Apr 15, 2020 at 1:21 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:





Hi,



I seem to have found an issue when trying to setup a high performance VM 
utilising hugepages and NUMA pinning.



The VM is configured for 32GB RAM and uses hugepages of size 1G.



The host has two NUMA nodes each having 64GB RAM (for 128GB total system RAM).



No other VMs are running or otherwise pinned to the host.



The VM is pinned to node 0. And the required hugepages are allocated with



echo 32 > 
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages



I then attempt to start the VM and get a pop-up error saying "cannot 
accommodate memory of VM's pinned virtual NUMA nodes within host's physical 
NUMA nodes".



However, if I remove the hugepages from node 0 



echo 0 > 
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages



Start the VM and then immediately re-create the hugepqages then everything 
works as expected.



It seems to me that oVirt is considering the hugepages as allocated memory even 
if they are not in use.



Is this correct?



Thanks,



Alan




___
 Users mailing list -- mailto:users@ovirt.org
 To unsubscribe send an email to mailto: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/32QKZ2EQ5OKTMPJD4M6W7QK2FKFDFK2E/___
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/PLIOIMOAOBVWJEW3LMT326HWBQRMHEFI/


[ovirt-users] NUMA Pinning bug with Hugepages?

2020-04-15 Thread Alan G
Hi,



I seem to have found an issue when trying to setup a high performance VM 
utilising hugepages and NUMA pinning.



The VM is configured for 32GB RAM and uses hugepages of size 1G.



The host has two NUMA nodes each having 64GB RAM (for 128GB total system RAM).



No other VMs are running or otherwise pinned to the host.



The VM is pinned to node 0. And the required hugepages are allocated with



echo 32 > 
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages



I then attempt to start the VM and get a pop-up error saying "cannot 
accommodate memory of VM's pinned virtual NUMA nodes within host's physical 
NUMA nodes".



However, if I remove the hugepages from node 0 



echo 0 > 
/sys/devices/system/node/node0/hugepages/hugepages-1048576kB/nr_hugepages



Start the VM and then immediately re-create the hugepqages then everything 
works as expected.



It seems to me that oVirt is considering the hugepages as allocated memory even 
if they are not in use.



Is this correct?



Thanks,



Alan___
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/32QKZ2EQ5OKTMPJD4M6W7QK2FKFDFK2E/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-16 Thread Alan G
Maybe there is some subtlety here that I am missing?



Taking one of my hosts as an example (running 4.2 - not sure if the code has 
changed in 4.3?)



$ head -5 /proc/meminfo 

MemTotal:   263695240 kB

MemFree:    80087284 kB

MemAvailable:   137272368 kB

Buffers:   79620 kB

Cached:  7758272 kB



While in the oVIrt GUI it reports



257514 MB total

172534 MB used

84980 MB free



And from the Host page it reports memory utilisation as 67%, which roughly 
equates to used / total.



(total - available) / total would give a value more like 50%.





 On Mon, 16 Mar 2020 14:39:16 + Michal Skrivanek 
 wrote 







On 13 Mar 2020, at 18:55, Alan G <mailto:alan+ov...@griff.me.uk> wrote:



I've observed that oVirt considers cache/buffer memory as "used”.







Where do you see that?




So a host can report, for example, 10% memory utilisation when hosting 0 VMs. A 
reboot of the host will of course free all that memory and the host will again 
report something close to 0%.



This caused me a shock a few weeks ago when I thought my cluster was running 
out of memory.



Given that the kernel will give back the buffer memory as required, is it not 
perhaps a bit misleading to count it as "used"?







it is not counted as used, 
https://github.com/oVirt/vdsm/blob/95d734bace00b87a17d333ac1871a489b1812160/lib/vdsm/host/api.py#L131


 





 On Fri, 13 Mar 2020 17:47:34 + Michal Skrivanek 
<mailto:michal.skriva...@redhat.com> wrote 



> On 10 Mar 2020, at 15:46, Noua TOUKOUROU <mailto:noua.toukou...@uni.lu> 
> wrote: 
> 
>  
> Hi, 
> 
> My ovirt engine is showing wrong host's memory usage. Even when this one has 
> no VM. 
> How to fix it ? 
 
What’s wrong with it? 
 
> 
> Thanks 
> ___ 
> Users mailing list -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto: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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
>  
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/















___

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/PMVQLLRAWYBOC3DOFVFZGNQJROQPAS54/___
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/KMGW4C4GUWCFS3R52ZWMMSQXOZ4NWWV5/


[ovirt-users] Re: Client separation on bridge level

2020-03-16 Thread Alan G
Look at Network Filters in the vNIC profile for the network. I haven't tested 
it but there is one called clean-traffic-gateway, which I believe allows only 
communication between a VM and the designated gateway.



 On Mon, 16 Mar 2020 10:11:57 + Hendrik Peyerl  
wrote 


We do have certain VLANs that all the VMs need as of now, we will be able to do 
this at some point but I need a solution until then. 
 
 
 
> On 16. Mar 2020, at 11:08, Staniforth, Paul 
>  wrote: 
> 
> Can't you put then on separate VLANs? 
> 
> 
> Regards, 
>Paul S. 
> From: Hendrik Peyerl  
> Sent: 16 March 2020 09:24 
> To: mailto:users@ovirt.org  
> Subject: [ovirt-users] Client separation on bridge level 
> 
> Caution External Mail: Do not click any links or open any attachments unless 
> you trust the sender and know that the content is safe. 
> 
> Hello everyone, 
> 
> is there a way to seperate the traffic between VMs on the same bridge on one 
> oVirt-node with built-in tools from ovirt? We have VMs using the same bridge 
> which should never be able to talk to each other. 
> 
> We are currently using ebtables for that, but its not working very good 
> anymore now that we upgraded to 4.3 with firewalld. 
> 
> Any suggestions would be greatly appreciated. 
> 
> Best regards, 
> Hendrik 
> ___ 
> Users mailing list -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto:users-le...@ovirt.org 
> Privacy Statement: 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fprivacy-policy.htmldata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cd93d2591b762400ae11808d7c98c46a2%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637199476647874123sdata=gRXkeXI%2BGPrJVCS6zNBE%2Fe4Z7Ec%2FO0qxdRyRpAckPx4%3Dreserved=0
>  
> oVirt Code of Conduct: 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ovirt.org%2Fcommunity%2Fabout%2Fcommunity-guidelines%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cd93d2591b762400ae11808d7c98c46a2%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637199476647884122sdata=20dOQRRZzxqTVx%2FmUOlYLEbBD7dW2B6n%2FIRRXILlQzw%3Dreserved=0
>  
> List Archives: 
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.ovirt.org%2Farchives%2Flist%2Fusers%40ovirt.org%2Fmessage%2FZ54FEL45UJ5ONB67EDFCYAN7N64AMUPE%2Fdata=02%7C01%7Cp.staniforth%40leedsbeckett.ac.uk%7Cd93d2591b762400ae11808d7c98c46a2%7Cd79a81124fbe417aa112cd0fb490d85c%7C0%7C1%7C637199476647884122sdata=Jqf15c%2BMegSWxe7jp%2BQfVnJQgOZEQYxUPp4TGYqzUtY%3Dreserved=0
>  
> To view the terms under which this email is distributed, please go to:- 
> http://leedsbeckett.ac.uk/disclaimer/email/ 
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/4AZJIDGF5VR3RR7JSNUUAAKRN57J33UE/___
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/HK6SS3F4VOGYKWMDO2BOOFLS34FPTNNH/


[ovirt-users] Re: Ovirt engine showing wrong host's memory usage

2020-03-13 Thread Alan G
I've observed that oVirt considers cache/buffer memory as "used". So a host can 
report, for example, 10% memory utilisation when hosting 0 VMs. A reboot of the 
host will of course free all that memory and the host will again report 
something close to 0%.



This caused me a shock a few weeks ago when I thought my cluster was running 
out of memory.



Given that the kernel will give back the buffer memory as required, is it not 
perhaps a bit misleading to count it as "used"?




 On Fri, 13 Mar 2020 17:47:34 + Michal Skrivanek 
 wrote 



> On 10 Mar 2020, at 15:46, Noua TOUKOUROU  
> wrote: 
> 
>  
> Hi, 
> 
> My ovirt engine is showing wrong host's memory usage. Even when this one has 
> no VM. 
> How to fix it ? 
 
What’s wrong with it? 
 
> 
> Thanks 
> ___ 
> Users mailing list -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto: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/XBHQUIDKZDNIKPNWGWIL67EVJA2QYXKG/
>  
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto: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/FNYIXMSBRHV2A3U55UG2P2WAQ5P5CFXO/___
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/57X772YJMKLDVZLFL4EVY56JTFDZADDN/


[ovirt-users] Issues encountered performing HE install on 4.3

2020-03-10 Thread Alan G
Hi,



I hit a few issues while performing a recent HE install of 4.3. While I managed 
to find solutions/workarounds to all the problems I thought I might share them 
here

* As defined in the Ansible defaults the temp dir for building the local HE VM 
is /var/tmp. I was 80M short of the required space and there did not appear to 
be a (supported) way to specify a different location. I ended up having to do a 
bind mount of /var/tmp to get me through the install. Would be nice to be able 
to specify a custom location.



* Permissive umask required. Our CIS CentOS 7 build requires that default umask 
is 027. This breaks the installer as it creates the VM image under /var/tmp as 
root and cannot then access it as qemu user. As the temp files are cleaned up 
on failure it took me a while to track this one down. My solution was to 
temporarily set the umask to 022 for the session while running the installer. 
It would be nice if the installer either handled this by doing a chmod/chown as 
required, or at least doing a umask pre-check and failing with a meaningful 
error.



* SSH root login required on host. Again for CIS we have "PermitRoologin no" 
configured in sshd. This means the add host task fails on the Engine, but 
instead of a hard failure we get a timeout on the installer. Which left me 
chasing some imagined routing/bridging/DNS issue. Eventually I realised I could 
get to the engine logs and found the issue but took several hours. Would be 
nice if the installer could either support a sudo option or at least perform a 
root login pre-check and fail with a meaningful error.



Thanks,



Alan___
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/5ECATI22T5YGQ2HFS23OWHO5X6QX67TN/


[ovirt-users] Re: oVirt behavior with thin provision/deduplicated block storage

2020-02-24 Thread Alan G
Thanks for the clarification on this. I've realised my mistake now - I need to 
configure the storage array to report the LUNs as larger than they physically 
are (to account for the expected de-dup ratio).  I was expecting oVirt to 
magaically know about this, which when thinking it through is not really 
technically possible.



 On Mon, 24 Feb 2020 13:34:49 + Nir Soffer  wrote 



On Mon, Feb 24, 2020 at 3:03 PM Gorka Eguileor <mailto:gegui...@redhat.com> 
wrote: 
> 
> On 22/02, Nir Soffer wrote: 
> > On Sat, Feb 22, 2020, 13:02 Alan G <mailto:alan+ov...@griff.me.uk> wrote: 
> > > 
> > > I'm not really concerned about the reporting aspect, I can look in the 
> > > storage vendor UI to see that. My concern is: will oVirt stop 
> > > provisioning storage in the domain because it *thinks* the domain is 
> > > full. De-dup is currently running at about 2.5:1 so I'm concerned that 
> > > oVirt will think the domain is full way before it actually is. 
> > > 
> > > Not clear if this is handled natively in oVirt or by the underlying lvs? 
> > 
> > Because oVirt does not know about deduplication or actual allocation 
> > on the storage side, 
> > it will let you allocate up the size of the LUNs that you added to the 
> > storage domain, minus 
> > the size oVirt uses for its own metadata. 
> > 
> > oVirt uses about 5G for its own metadata on the first LUN in a storage 
> > domain. The rest of 
> > the space can be used by user disks. Disks are LVM logical volumes 
> > created in the VG created 
> > from the LUN. 
> > 
> > If you create a storage domain with 4T LUN, you will be able to 
> > allocate about 4091G on this 
> > storage domain. If you use preallocated disks, oVirt will stop when 
> > you allocated all the space 
> > in the VG. Actually it will stop earlier based on the minimal amount 
> > of free space configured for 
> > the storage domain when creating the storage domain. 
> > 
> > If you use thin disks, oVirt will allocate only 1G per disk (by 
> > default), so you can allocate 
> > more storage than you actually have, but when VMs will write to the 
> > disk, oVirt will extend 
> > the disks. Once you use all the available space in this VG, you will 
> > not be able to allocate 
> > more without extending the storage domain with new LUN, or resizing 
> > the  LUN on storage. 
> > 
> > If you use Managed Block Storage (cinderlib) every disk is a LUN with 
> > the exact size you 
> > ask when you create the disk. The actual allocation of this LUN 
> > depends on your storage. 
> > 
> > Nir 
> > 
> 
> Hi, 
> 
> I don't know anything about the oVirt's implementation, so I'm just 
> going to provide some information from cinderlib's point of view. 
> 
> Cinderlib was developed as a dumb library to abstract access to storage 
> backends, so all the "smart" functionality is pushed to the user of the 
> library, in this case oVirt. 
> 
> In practice this means that cinderlib will NOT limit the number of LUNs 
> or over-provisioning done in the backend. 
> 
> Cinderlib doesn't care if we are over-provisioning because we have dedup 
> and decompression or because we are using thin volumes where we don't 
> consume all the allocated space, it doesn't even care if we cannot do 
> over-provisioning because we are using thick volumes.  If it gets a 
> request to create a volume, it will try to do so. 
> 
> From oVirt's perspective this is dangerous if not controlled, because we 
> could end up consuming all free space in the backend and then running 
> VMs will crash (I think) when they could no longer write to disks. 
> 
> oVirt can query the stats of the backend [1] to see how much free space 
> is available (free_capacity_gb) at any given time in order to provide 
> over-provisioning limits to its users.  I don't know if oVirt is already 
> doing that or something similar. 
> 
> If is important to know that stats gathering is an expensive operation 
> for most drivers, and that's why we can request cached stats (cache is 
> lost as the process exits) to help users not overuse it.  It probably 
> shouldn't be gathered more than once a minute. 
> 
> I hope this helps.  I'll be happy to answer any cinderlib questions. :-) 
 
Thanks Gorka, good to know we already have API to get backend 
allocation info. Hopefully we will use this in future version. 
 
Nir 
 
> 
> Cheers, 
> Gorka. 
> 
> [1]: https://docs.openstack.org/cinderlib/latest/topics/backends.html#stats 
> 
> > >  On Fri, 21 Feb 2020 21:35:06 + Nir Soffer 
> > > <

[ovirt-users] Re: oVirt behavior with thin provision/deduplicated block storage

2020-02-22 Thread Alan G
I'm not really concerned about the reporting aspect, I can look in the storage 
vendor UI to see that. My concern is: will oVirt stop provisioning storage in 
the domain because it *thinks* the domain is full. De-dup is currently running 
at about 2.5:1 so I'm concerned that oVirt will think the domain is full way 
before it actually is.



Not clear if this is handled natively in oVirt or by the underlying lvs?


 On Fri, 21 Feb 2020 21:35:06 + Nir Soffer  wrote 





On Fri, Feb 21, 2020, 17:14 Alan G <mailto:alan%2bov...@griff.me.uk> wrote:

Hi,



I have an oVirt cluster with a storage domain hosted on a FC storage array that 
utilises block de-duplication technology. oVirt reports the capacity of the 
domain as though the de-duplication factor was 1:1, which of course is not the 
case. So what I would like to understand is the likely behavior of oVirt when 
the used space approaches the reported capacity. Particularly around the 
critical action space blocker.








oVirt does not know about the underlying block storage thin provisioning 
implemention so it cannot help with this.



You will have to use the underlying storage separately to learn about the 
actual allocation.



This is unlikely to change for legacy storage, but for Managed Block Storage 
(conderlib) we may have a way to access such info.



Gorka, do we have any support in cinderlib for getting info about storage 
alllocation and deduplication?



Nir


___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BKCQYELRW5XP5BVDPSJJ76YZD3N37LVF/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Z627L5LITUZV3XWRHVS775GIJSZ7KVV2/


[ovirt-users] oVirt behavior with thin provision/deduplicated block storage

2020-02-21 Thread Alan G
Hi,



I have an oVirt cluster with a storage domain hosted on a FC storage array that 
utilises block de-duplication technology. oVirt reports the capacity of the 
domain as though the de-duplication factor was 1:1, which of course is not the 
case. So what I would like to understand is the likely behavior of oVirt when 
the used space approaches the reported capacity. Particularly around the 
critical action space blocker.



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/AZNH2TA7QCGMUGNSBFR4HZC7HWYE67PQ/


[ovirt-users] supervdsm failing during network_caps

2020-01-06 Thread Alan G
Hi,



I have issues with one host where supervdsm is failing in network_caps.



I see the following trace in the log.



MainProcess|jsonrpc/1::ERROR::2020-01-06 
03:01:05,558::supervdsm_server::100::SuperVdsm.ServerCallback::(wrapper) Error 
in network_caps

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/supervdsm_server.py", line 98, in 
wrapper

    res = func(*args, **kwargs)

  File "/usr/lib/python2.7/site-packages/vdsm/network/api.py", line 56, in 
network_caps

    return netswitch.configurator.netcaps(compatibility=30600)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
317, in netcaps

    net_caps = netinfo(compatibility=compatibility)

  File 
"/usr/lib/python2.7/site-packages/vdsm/network/netswitch/configurator.py", line 
325, in netinfo

    _netinfo = netinfo_get(vdsmnets, compatibility)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
150, in get

    return _stringify_mtus(_get(vdsmnets))

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/cache.py", line 
59, in _get

    ipaddrs = getIpAddrs()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netinfo/addresses.py", 
line 72, in getIpAddrs

    for addr in nl_addr.iter_addrs():

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/addr.py", line 
33, in iter_addrs

    with _nl_addr_cache(sock) as addr_cache:

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/__init__.py", 
line 92, in _cache_manager

    cache = cache_allocator(sock)

  File "/usr/lib/python2.7/site-packages/vdsm/network/netlink/libnl.py", line 
469, in rtnl_addr_alloc_cache

    raise IOError(-err, nl_geterror(err))

IOError: [Errno 16] Message sequence number mismatch



A restart of supervdsm will resolve the issue for a period, maybe 24 hours, 
then it will occur again. So I'm thinking it's  resource exhaustion or a leak 
of some kind?



Running 4.2.8.2 with VDSM at 4.20.46.



I've had a look through the bugzilla and can't find an exact match, closest was 
this one https://bugzilla.redhat.com/show_bug.cgi?id=1666123 which seems to be 
a RHV only fix.



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/4YGTPGGNZJ3JT4Z6ZPIQOPPD73WRG72E/


[ovirt-users] Re: Moving HostedEngine

2019-12-01 Thread Alan
The installation will fail if you attempt to install HE into an existing 
storage domain (or worse, it will corrupt the domain).



As per the docs you will need a dedicated domain of at least 74GB for 
hosted_storage.



https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/preparing_storage_for_rhv_she_cli_deploy





 On Wed, 27 Nov 2019 23:05:14 + Joseph Goldman  
wrote 


So I can't host OTHER VM's on this gluster volume? If its already a
running GLuser for other VMs i can't now re-reploy HE in that
gluster volume?
 
 On 2019-11-28 3:27 AM, Alan G wrote:

I've had to do this a couple of times and always ended up
  with a working system in the end.



As a fall back option (although I've never had to use it) I
  have a backup engine VM running completely outside of oVIrt
  (ESXi host in my case). Then if the hosted_engine deploy fails
  for any reason you can restore onto the backup vm as a temp
  solution while you work through the hosted engine deploy
  issues.



A few things that come to mind: -



* You will need a dedicated gluster volume for
  hosted_storage and it needs to be replica+arbiter.



* Make sure you put the cluster in global maint mode before
  performing the engine backup, I recall having issues with the
  restore when I didn't do that.

* Migrate all other VMs off the host running Engine before
  doing the backup. This will be the host you will restore onto.





 On Wed, 27 Nov 2019 09:46:23 + Joseph Goldman 
mailto:jos...@goldman.id.au wrote




Hi List, 
 
  In one of my installs, I set up the first storage domain
  (and where 
 the HostedEngine is) on a bigger NFS NAS - since then I
  have created a 
 Gluster volume that spans the 3 hosts and I'm putting a
  few VM's in 
 there for higher reliability (as SAN is single point of
  failure) namely 
 I'd like to put HostedEngine in there so it stays up no
  matter what and 
 can help report if issues occur (network issue to NAS, NAS
  dies etc etc) 
 
  Looking through other posts and documentation, there's no
  real way to 
 move the HostedEngine storage, is this correct? The
  solution I've seen 
 is to backup the hosted engine DB, blow it away, and
  re-deploy it from 
 the .backup file configuring it to the new storage domain
  in the deploy 
 script - is this the only process? How likely is this to
  fail? Is it 
 likely that all VM's and settings will be picked straight
  back up and 
 continue to operate like normal? I dont have a test setup
  to play around 
 with atm so just trying to gauge confidence in such a
  solution. 
 
 Thanks, 
 Joe
 ___
 Users mailing list -- mailto:users@ovirt.org
 To unsubscribe send an email to mailto:users-le...@ovirt.org
 Privacy Statement: https://www.ovirt.org/site/privacy-policy/
 oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
 List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZTO6Q3UTEDJCDAMNFX47UR6WSM255TJ3/








___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JDV66LBB6WUIB3HBPVM3RUOCOO5HEB75/





___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DZG7UPYTUSVEIUAF244VDMXU7CZ3N2EE/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/VIENPE5YKFPA5FETQAYW6VA4EKG7HWQU/


[ovirt-users] Re: Moving HostedEngine

2019-11-27 Thread Alan G
I've had to do this a couple of times and always ended up with a working system 
in the end.



As a fall back option (although I've never had to use it) I have a backup 
engine VM running completely outside of oVIrt (ESXi host in my case). Then if 
the hosted_engine deploy fails for any reason you can restore onto the backup 
vm as a temp solution while you work through the hosted engine deploy issues.



A few things that come to mind: -



* You will need a dedicated gluster volume for hosted_storage and it needs to 
be replica+arbiter.

* Make sure you put the cluster in global maint mode before performing the 
engine backup, I recall having issues with the restore when I didn't do that.

* Migrate all other VMs off the host running Engine before doing the backup. 
This will be the host you will restore onto.





 On Wed, 27 Nov 2019 09:46:23 + Joseph Goldman  
wrote 



Hi List, 
 
  In one of my installs, I set up the first storage domain (and where 
the HostedEngine is) on a bigger NFS NAS - since then I have created a 
Gluster volume that spans the 3 hosts and I'm putting a few VM's in 
there for higher reliability (as SAN is single point of failure) namely 
I'd like to put HostedEngine in there so it stays up no matter what and 
can help report if issues occur (network issue to NAS, NAS dies etc etc) 
 
  Looking through other posts and documentation, there's no real way to 
move the HostedEngine storage, is this correct? The solution I've seen 
is to backup the hosted engine DB, blow it away, and re-deploy it from 
the .backup file configuring it to the new storage domain in the deploy 
script - is this the only process? How likely is this to fail? Is it 
likely that all VM's and settings will be picked straight back up and 
continue to operate like normal? I dont have a test setup to play around 
with atm so just trying to gauge confidence in such a solution. 
 
Thanks, 
Joe
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZTO6Q3UTEDJCDAMNFX47UR6WSM255TJ3/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JDV66LBB6WUIB3HBPVM3RUOCOO5HEB75/


[ovirt-users] Re: SHE with multipath on multiple iSCSI targets

2019-11-12 Thread Alan G
I have the same issue and haven't been able to find a solution. It seems that 
the initial LUN is hard coded into /etc/ovirt-hosted-engine/hosted-engine.conf 
and there's no way to add additional paths to it.





 On Mon, 11 Nov 2019 17:42:17 + Francesco Castellano 
 wrote 



Hi Pavel,



thanks. This happens to be a prefect way to add a storage domain with all the 
available paths; but unfortunately, I wanted to add the missing paths for the 
hosted storage data domain, the data domain hosting the self-hosted engine vm; 
and I'm not sure how to "change" the configs for hosted-storage domain without 
the GUI provided by the engine itself.



Kind regards,

Francesco




On Mon, Nov 11, 2019 at 6:10 PM Pavel Bar  wrote:

Good day Francesco,

If I understand you correctly you can try the following via GUI:



1) Go to "Storage" menu.

2) Go to "Domain" menu.

3) Press "New Domain" button. The "New Domain" window will open.

4) Choose "iSCSI" from the "Storage Type" dropdown list.

5) At the "Discover Targets" section:

    5a) For each path:

        5a1) Enter path at the "Address"  field.

        5a2) Press "Discover" button.

    5b) Press "Login All" button.



Hope it helps.



Pavel




On Mon, Nov 11, 2019 at 11:48 AM Francesco Castellano 
 wrote:

Dear ones,



I beg your pardon for coming back on the same issue: let me rephrase more 
succinctly.



A view from the REST API about our data domain is:


$ curl -k -s -u 'admin@internal:supersecret' -H 'Accept: application/json' 
'https://engine.example.com/ovirt-engine/api/storagedomains' | jq '[ 
.["storage_domain"?]|.[0:2]|.[]| {name:.name,storage: .storage | {type:.type, 
lun: [ .volume_group.logical_units.logical_unit[] | {portal: .portal, target: 
.target } ]} } ]'
[
  {
    "name": "hosted_storage",
    "storage": {
      "type": "iscsi",
      "lun": [
        {
          "portal": "http://10.201.204.10:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235a43"
        }
      ]
    }
  },
  {
    "name": "ovirt-data",
    "storage": {
      "type": "iscsi",
      "lun": [
        {
          "portal": "http://10.201.205.20:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d3100423524b"
        },
        {
          "portal": "http://10.201.205.20:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d3100423524a"
        },
        {
          "portal": "http://10.201.205.10:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235a4b"
        },
        {
          "portal": "http://10.201.205.10:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235a4a"
        },
        {
          "portal": "http://10.201.204.20:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235246"
        },
        {
          "portal": "http://10.201.204.20:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235245"
        },
        {
          "portal": "http://10.201.204.10:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235a46"
        },
        {
          "portal": "http://10.201.204.10:3260,0;,
          "target": "iqn.2002-03.com.compellent:5000d31004235a45"
        }
      ]
    }
  }
]


 Is there a way to add to the "hosted_storage" all the available path on 
different iSCSI portals and different iSCSI targets, as I did for the 
"ovirt-data" storage domain?



Thank you very much for your suggestions.



Best regards,

Francesco Castellano




On Wed, Nov 6, 2019 at 2:53 PM Francesco Castellano 
 wrote:

Dear sirs,



we're trying to install an SHE oVirt 4.3.6 using an iSCSI SAN that provides us 
multiple targets (8) over 4 different portals. Following 5.1 of "RHV 
installation using Cockpit" we set up iscsi and multipath ahead with a 90GB LUN 
to be used for the engine VM. Unfortunately, even if the node OS sees correctly 
the LUN, e.g.:



# multipath -ll
36000d31004235a18 dm-34 COMPELNT,Compellent Vol  
size=90G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 16:0:0:3 sdu  65:64  active ready running
  |- 24:0:0:3 sdt  65:48  active ready running
  |- 17:0:0:3 sds  65:32  active ready running
  |- 25:0:0:3 sdv  65:80  active ready running
  |- 15:0:0:3 sdx  65:112 active ready running
  |- 29:0:0:3 sdw  65:96  active ready running
  |- 28:0:0:3 sdy  65:128 active ready running
  |- 20:0:0:3 sdz  65:144 active ready running
  `- 21:0:0:3 sdaa 65:160 active ready running


# lsscsi -ist | grep 36000d31004235a18
[15:0:0:3]   disk    iqn.2002-03.com.compellent:5000d31004235a43,t,0x0  
/dev/sdx   36000d31004235a18  96.6GB
[16:0:0:3]   disk    iqn.2002-03.com.compellent:5000d31004235a43,t,0x0  
/dev/sdu   36000d31004235a18  96.6GB
[17:0:0:3]   disk    iqn.2002-03.com.compellent:5000d31004235a44,t,0x0  

[ovirt-users] Re: ovirt hosted-engine on iSCSI offering one target

2019-10-29 Thread Alan
I had this situation a while back. As I recall ovirt has no way to selectivity 
un-mount devices exposed via an iSCSI target.

So the problem you could hit is that if you tried to put your data domain into 
maintenance it would nuke any other domains that are accessed through that 
target (e.g. your hosted-engine domain).

For me the situation was even worse as I was doing boot-from-SAN as well. So I 
would loose the boot disk.

On my NetApp I ended up creating three targets: BFS, hosted-engine & data. 




 On Mon, 28 Oct 2019 11:27:53 + wodel youchi 
 wrote 


Hi,



We have an oVirt Platforme using the 4.1 version.



when the platforme was installed, it was made of :

- Two HP Proliant DL380 G9 as hypervisors

- One HP MSA1040 for iSCSI

- One Synology for NFS

- Two switches, one for network/vm traffic, the second for storage traffic.



The problem : the hosted-engine domain was created using iSCSI on the HP MSA. 
The problem is that this disk array does not give the possibility to create 
different targets, it presents just one target.



At that time we create both the hosted-engine and the first data domain using 
the same target, and we didn't pay attention to the information saying "if you 
are using iSCSI storage, do not use the same iSCSI target for the shared 
storage domain and data storage domain".



Question : 

- what problems can be generated by this (mis-)configuration?

- Is this a must to do (correct) configuration.





Regards.


___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/MSGB3DK6L4OE6I7OMALQW4VLEILAT26Q/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/EYAAUQBGW5CSCNQ4EUG7IH4BHVQSMVZI/


[ovirt-users] Cleaning up after failed task

2019-06-21 Thread Alan G
Hi,



Yesterday I had an AddDisk operation fail. The task is no longer running on the 
SPM but it's stuck in the engine DB and the failed disk is now locked. I've 
tried to clean it out using taskcleaner.sh, but either I'm using it incorrectly 
or it doesn't handle my specific scenario.



There were no running tasks (-T returned empty set). There were two commands 
(-o) which I then removed (-r) but the Engine UI is still reporting the tasks. 
Possibly because step table still reports non finished steps.



engine=# select step_id,start_time,end_time,status from step order by 
start_time; 

   step_id    | start_time |  
end_time  |  status 

--+++--

5c60afc8-102f-49a5-84aa-a299c21e23dd | 2019-06-20 15:23:04.689+00 | 2019-06-20 
15:23:04.953+00 | FINISHED

562211a7-9d12-4e1c-9b3f-16edd751904f | 2019-06-20 15:23:04.985+00 | 2019-06-20 
15:23:56.105+00 | FINISHED

5f49dde9-50d9-46a2-bfb4-7cb243a14515 | 2019-06-20 15:23:05.648+00 | 2019-06-20 
15:23:17.35+00  | FAILED

5095bc73-e1a2-4ea5-9c20-37ee0ecc7ac0 | 2019-06-20 15:23:20.767+00 | 
   | STARTED

a960ee64-8ef4-45de-b06c-5ddba4d71178 | 2019-06-20 15:23:23.201+00 | 
   | STARTED

238ef349-d3dc-4923-8cc0-aa26b2d136d0 | 2019-06-20 15:23:27.67+00  | 
   | STARTED

7f4ffe9a-6da5-485c-9732-9fc4cf93633b | 2019-06-20 15:23:35.806+00 | 
   | STARTED

ecaaa983-057e-45bd-8f6e-20675fa14999 | 2019-06-20 15:23:45.93+00  | 
   | STARTED

67f8247b-2b99-4fec-afa4-9f7a77fa71ea | 2019-06-20 15:23:56.105+00 | 
   | STARTED

e8853408-d57c-4151-884a-691e70b0aff0 | 2019-06-21 12:01:09.636+00 | 2019-06-21 
12:01:09.756+00 | FINISHED

4f03e90e-1c37-4bb7-9226-4c9ecc6425ea | 2019-06-21 12:01:09.762+00 | 2019-06-21 
12:02:20.985+00 | FINISHED

(11 rows)



I don't want to manually delete those rows but don't know how else to resolve.



ovirt-engine-4.2.8.2


Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/S5AD6D7E6G7BLOMXKAW3PIQ2KP3J4QHY/


[ovirt-users] Re: Cluster Un-stable since power outage

2019-05-16 Thread Alan G
So, after a week of bashing my head against a wall we finally tracked it down. 

One of the developers was using the hosts for extra processing power and in the 
process he periodically turned up an sshfs mount, when this appeared in 
/etc/mnttab it broke vdsm and caused the error below. So was unrelated to the 
power outage.

This is in 4.2 - if I re-create in 4.3 I'll file a bug, I think the parser 
really should be a but more robust than this.


 On Tue, 07 May 2019 15:47:45 +0100 Darrell Budic 
<mailto:bu...@onholyground.com> wrote 


Was your hyper converged and is this storage gluster based?

Your error is DNS related, if a bit odd. Have you checked the resolv.conf 
configs and confirmed the servers listed there are reachable and responsive? 
When your hosts are active, are they able to mount all the storage domains they 
need? You should also make sure each HA node can reliably ping your gateway IP, 
failures there will cause nodes to bounce.



A starting place rather a solution, but the first places to look. Good luck!



  -Darrell





On May 7, 2019, at 5:14 AM, Alan G <mailto:alan+ov...@griff.me.uk> wrote:


Hi,



We have a dev cluster running 4.2. It had to be powered down as the building 
was going to loose power. Since we've brought it back up it has been massively 
un-stable (Hosts constantly switching state, VMs migrating all the time).



I now have one host running (with HE) and all others in maintenance mode. When 
I try activate another host i see storage errors in vdsm.log



2019-05-07 09:41:00,114+ ERROR (monitor/a98c0b4) [storage.Monitor] Error 
checking domain a98c0b42-47b9-4632-8b54-0ff3bd80d4c2 (monitor:424)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line 416, in 
_checkDomainStatus

    masterStats = self.domain.validateMaster()

  File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 941, in 
validateMaster

    if not self.validateMasterMount():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/blockSD.py", line 1377, 
in validateMasterMount

    return mount.isMounted(self.getMasterDir())

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 161, in 
isMounted

    getMountFromTarget(target)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 173, in 
getMountFromTarget

    for rec in _iterMountRecords():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 143, in 
_iterMountRecords

    for rec in _iterKnownMounts():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 139, in 
_iterKnownMounts

    yield _parseFstabLine(line)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 81, in 
_parseFstabLine

    fs_spec = fileUtils.normalize_path(_unescape_spaces(fs_spec))

  File "/usr/lib/python2.7/site-packages/vdsm/storage/fileUtils.py", line 94, 
in normalize_path

    host, tail = address.hosttail_split(path)

  File "/usr/lib/python2.7/site-packages/vdsm/common/network/address.py", line 
43, in hosttail_split

    raise HosttailError('%s is not a valid hosttail address:' % hosttail)

HosttailError: :/ is not a valid hosttail address:



Not sure if it's related but since the restart the hosted_storage domain has 
been elected the master domain.



I'm a bit stuck at the moment. My only idea is to remove HE and switch to a 
standalone Engine VM running outside the cluster.



Thanks,



Alan




___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UDINZK5BQQHXYENSVV3OYFMVLG2YXBNT/






___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/I6YJQFP43R5NTQN3HG2VWBJW2WFFBGNB/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/QQSEPVUUAQCY3X4X2B2T3AKDFAR7KJ2F/


[ovirt-users] Replace Engine Self-Signed Certificate

2019-05-15 Thread Alan Griffiths
Hi,

I'm trying to replace the self-signed certificate in the engine.

I updated the four files listed here

http://www.ovirt.org/develop/release-management/features/infra/pki/

But on restarting Apache and logging in I get the following error,
"sun.security.validator.ValidatorException: PKIX path building failed:
sun.security.provider.certpath.SunCertPathBuilderException: unable to find
valid certification path to requested target"

What am I missing?

Thanks,

Alan

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NQNPRPNHJVH47C6GFINFJLGZSS5636V3/


[ovirt-users] oVirt 3.6.4 / PXE guest boot issues

2019-05-15 Thread Alan Griffiths
A explanation/work-around for this issue raised back in April.

It seems that if, in UCS, you configure a vNIC with a single native VLAN it
will still add an 802.1q header with tag 0 - possibly to do with QoS. And
this extra header prevents iPXE from parsing the DHCP response.

The solution for me was to present all VLANs on a single trunked vNIC to
the blade and configure VLAN tagging as per normal. The result is the tags
are stripped off the packets before being passed to the VM and DHCP now
works.

The same issue applies to VM-FEX as packets coming off the VF will have the
802.1q header. The only solution I can see here is to configure a bridged
interface for initial build of the VM and then switch to VM-FEX afterwards.

I found a discussion on the iPXE mailing list about addressing the vlan 0
issue, but I could see no agreed solution.

http://lists.ipxe.org/pipermail/ipxe-devel/2016-April/004901.html

Alan

--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se



--
IMPORTANT!
This message has been scanned for viruses and phishing links.
However, it is your responsibility to evaluate the links and attachments you 
choose to click.
If you are uncertain, we always try to help.
Greetings helpd...@actnet.se


___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/HCN6MC4DSKN33RABI7LY2PLEQQGPZJDC/


[ovirt-users] Re: Can't run nested virtualization

2019-05-14 Thread Alan
Do you have the vdsm hook installed - vdsm-hook-nestedvt ?





 On Tue, 14 May 2019 08:00:46 +0100   wrote 


Please, any ideas about this? 
 
Thanks. 
 
El 2019-05-10 09:18, mailto:nico...@devels.es escribió: 
> Hi, 
> 
> We're running oVirt version 4.3.3, and trying to configure one of the 
> hosts to support Nested Virtualization, but when installing the nested 
> host it claims it doesn't support hardware virtualization. 
> 
> On the physical host, we've enabled nested virtualization: 
> 
> # cat /sys/module/kvm_intel/parameters/nested 
> Y 
> 
> Content of /etc/modprobe.d/kvm.conf: 
> 
> options kvm_intel nested=1 
> options kvm_intel enable_shadow_vmcs=1 
> options kvm_intel enable_apicv=1 
> options kvm_intel ept=1 
> 
> I created a VM to run on that host, which will be the nested host. I 
> try to deploy it but the engine will show it failed because: 
> 
> 2019-05-10 09:11:32,006+01 ERROR 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
> (VdsDeploy) [6381e662] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), 
> An error has occurred during installation of Host host1: Failed to 
> execute stage 'Setup validation': Hardware does not support 
> virtualization. 
> 
> Am I missing something here? 
> 
> Thanks. 
> ___ 
> Users mailing list -- mailto:users@ovirt.org 
> To unsubscribe send an email to mailto:users-le...@ovirt.org 
> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ 
> oVirt Code of Conduct: 
> https://www.ovirt.org/community/about/community-guidelines/ 
> List Archives: 
> https://lists.ovirt.org/archives/list/users@ovirt.org/message/P7ZJB2NVO5DYARQTEHLMA4WR3T3P6N4N/
___
Users mailing list -- mailto:users@ovirt.org
To unsubscribe send an email to mailto:users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7LALMJF4SQQXLFZUXV2I53YRGX7J7FR6/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/ZBPOO34FDRNCFOTXQMSC577FTIY2FJI5/


[ovirt-users] Hosted Engine Restore Issues

2019-05-10 Thread Alan G
Hi,



Trying to re-deploy Hosted Engine into a new storage domain. "hosted-engine 
--deploy  --noansible" has completed and the engine is up, but I cannot remove 
the existing hosted_storage domain to allow the new one to be imported.



I cannot remove the domain until the old HostedEngine VM is removed, but I 
cannot remove that as it has Delete Protection enabled. Any attempt to remove 
delete protection errors with "There was an attempt to change Hosted Engine VM 
values that are locked". How is this process supposed to work?



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/V3FEPMBWGIR42NHPLEH6QEMFB5QCWIU3/


[ovirt-users] Cluster Un-stable since power outage

2019-05-07 Thread Alan G
Hi,



We have a dev cluster running 4.2. It had to be powered down as the building 
was going to loose power. Since we've brought it back up it has been massively 
un-stable (Hosts constantly switching state, VMs migrating all the time).



I now have one host running (with HE) and all others in maintenance mode. When 
I try activate another host i see storage errors in vdsm.log



2019-05-07 09:41:00,114+ ERROR (monitor/a98c0b4) [storage.Monitor] Error 
checking domain a98c0b42-47b9-4632-8b54-0ff3bd80d4c2 (monitor:424)

Traceback (most recent call last):

  File "/usr/lib/python2.7/site-packages/vdsm/storage/monitor.py", line 416, in 
_checkDomainStatus

    masterStats = self.domain.validateMaster()

  File "/usr/lib/python2.7/site-packages/vdsm/storage/sd.py", line 941, in 
validateMaster

    if not self.validateMasterMount():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/blockSD.py", line 1377, 
in validateMasterMount

    return mount.isMounted(self.getMasterDir())

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 161, in 
isMounted

    getMountFromTarget(target)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 173, in 
getMountFromTarget

    for rec in _iterMountRecords():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 143, in 
_iterMountRecords

    for rec in _iterKnownMounts():

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 139, in 
_iterKnownMounts

    yield _parseFstabLine(line)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/mount.py", line 81, in 
_parseFstabLine

    fs_spec = fileUtils.normalize_path(_unescape_spaces(fs_spec))

  File "/usr/lib/python2.7/site-packages/vdsm/storage/fileUtils.py", line 94, 
in normalize_path

    host, tail = address.hosttail_split(path)

  File "/usr/lib/python2.7/site-packages/vdsm/common/network/address.py", line 
43, in hosttail_split

    raise HosttailError('%s is not a valid hosttail address:' % hosttail)

HosttailError: :/ is not a valid hosttail address:



Not sure if it's related but since the restart the hosted_storage domain has 
been elected the master domain.



I'm a bit stuck at the moment. My only idea is to remove HE and switch to a 
standalone Engine VM running outside the cluster.



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/UDINZK5BQQHXYENSVV3OYFMVLG2YXBNT/


[ovirt-users] Cannot get IPMI fencing to work on CIMC

2019-04-09 Thread Alan G
Hi,



I have some Cisco C-220M4 servers with CIMC (not connected to UCS fabric).



I can get the fencing to work on the command line like this



fence_ipmilan -a XXX -l YYY -p ZZZ --hexadecimal-kg=ABC -o status -P



But when I try to configure & test in the Engine UI I get, "Test failed: 
Internal JSON-RPC error".



Obviously the wrong parameters are being passed to the script, but I cannot 
find a log anywhere which will show me the parameters being used. Anyone else 
got IPMI working on CIMC?



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/DWZTBLXIAMR5MRF5HDCQ5ACWG2QMT67E/


[ovirt-users] Re: Cancel storage migration task?

2019-03-18 Thread Alan G
I let it run to completion in the end. We're upgrading to 4.2 in a few weeks, 
so I won't burn time testing it on 4.1.






 On Mon, 18 Mar 2019 17:28:09 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 



To be honest I am not sure if this version is safe for this kind of thing, we 
had a serious bug around this[1]

and it was fixed in 4.2, I am not sure it applies to your case as well, as 
there are multiple factors in play, so best test it first on some other disk



[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1574346





On Mon, Mar 18, 2019 at 2:51 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:







It's cold migration on 4.1.9.



So I just kill this process?



vdsm 12356 26726 21 12:01 ?    00:10:24 /usr/bin/qemu-img convert -p -t 
none -T none -f raw 
/rhev/data-center/mnt/blockSD/f8ab4c37-634b-4c01-a816-40d8eb5d0d3e/images/6f340d21-6690-4c51-8129-7d6345e80956/6e8545c4-73ff-4b45-a19e-4e902822959d
 -O raw 
/rhev/data-center/mnt/blockSD/3b308f7f-f5bd-4b1e-9fea-6f91959e2dce/images/6f340d21-6690-4c51-8129-7d6345e80956/6e8545c4-73ff-4b45-a19e-4e902822959d









 On Mon, 18 Mar 2019 12:36:13 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 



is this live or cold migration? 

which version?



currently the best way (and probably the only one we have) is to kill the 
qemu-img convert process (if you are doing cold migration), unless there is a 
bug in your version, it should rollback properly




On Mon, Mar 18, 2019 at 2:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/67XEN6AZGHRG576TOCUSA2V5HVJQ655Q/




Hi,



I accidentally triggered a storage migration for a large vdisk that will take 
some hours to complete. Is there a way to cleanly cancel the task, such that 
the vdisk will remain on the original domain?



Thanks,



Alan





___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/R22NPYDFN5PMNW3NCXCXIOPFWWBSMDA4/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/PB7BBLYFT3AJ2GD25L5RD2DHNE72IQKE/


[ovirt-users] Re: Cancel storage migration task?

2019-03-18 Thread Alan G
It's cold migration on 4.1.9.


So I just kill this process?



vdsm 12356 26726 21 12:01 ?    00:10:24 /usr/bin/qemu-img convert -p -t 
none -T none -f raw 
/rhev/data-center/mnt/blockSD/f8ab4c37-634b-4c01-a816-40d8eb5d0d3e/images/6f340d21-6690-4c51-8129-7d6345e80956/6e8545c4-73ff-4b45-a19e-4e902822959d
 -O raw 
/rhev/data-center/mnt/blockSD/3b308f7f-f5bd-4b1e-9fea-6f91959e2dce/images/6f340d21-6690-4c51-8129-7d6345e80956/6e8545c4-73ff-4b45-a19e-4e902822959d









 On Mon, 18 Mar 2019 12:36:13 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 



is this live or cold migration? 

which version?



currently the best way (and probably the only one we have) is to kill the 
qemu-img convert process (if you are doing cold migration), unless there is a 
bug in your version, it should rollback properly




On Mon, Mar 18, 2019 at 2:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/67XEN6AZGHRG576TOCUSA2V5HVJQ655Q/




Hi,



I accidentally triggered a storage migration for a large vdisk that will take 
some hours to complete. Is there a way to cleanly cancel the task, such that 
the vdisk will remain on the original domain?



Thanks,



Alan





___

 Users mailing list -- mailto:users@ovirt.org

 To unsubscribe send an email to mailto:users-le...@ovirt.org

 Privacy Statement: https://www.ovirt.org/site/privacy-policy/

 oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

 List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/R22NPYDFN5PMNW3NCXCXIOPFWWBSMDA4/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/NX64GJXAYZD3VJAUCLPWGKOQI2BYLEWJ/


[ovirt-users] Cancel storage migration task?

2019-03-18 Thread Alan G
Hi,



I accidentally triggered a storage migration for a large vdisk that will take 
some hours to complete. Is there a way to cleanly cancel the task, such that 
the vdisk will remain on the original domain?



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/R22NPYDFN5PMNW3NCXCXIOPFWWBSMDA4/


[ovirt-users] LUN ID Change on Storage Domain

2019-03-08 Thread Alan G
Hi,

I made an error when provisioning a new FC storage domain and gave it LUN ID 0 
by mistake. I now need to move it to another ID.

Can I do this: -

1. Shutdown all VMs on the domain.
2. Put the domain in maintenance.
3. Change the LUN ID.
4. Force SCSI rescan on every host.
5. Bring the domain out of maintenance.


Will oVIrt still recognise the domain on a different LUN ID?



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/5SOZR6UX4NZVLBY46Y3J34TVP2T65QKA/


[ovirt-users] Re: Cannot start VM: Bad volume specification

2019-03-04 Thread Alan G
HI,

Sorry for delay in reply, been away the last few days.

I believe this is the relevant section from the dump.




   image:    f7dea7bd-046c-4923-b5a5-d0c1201607fc



 - ac540314-989d-42c2-9e7e-3907eedbe27f

   status: OK, voltype: INTERNAL, format: COW, legality: LEGAL, 
type: SPARSE



 - 5f5b436d-6c48-4b9f-a68c-f67d666741ab

   status: ILLEGAL, voltype: LEAF, format: COW, legality: ILLEGAL, 
type: SPARSE





Alan





 On Wed, 27 Feb 2019 17:43:35 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 



Can you provide the output of vdsm-tool dump-volume-chains ? 




On Wed, Feb 27, 2019 at 11:45 AM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BQ7WCL7U6MYOTXWJYMNC5Q2OZ6OYUF64/




Still cannot remove snapshot.



2019-02-27 08:56:58,781+ ERROR (tasks/6) [storage.TaskManager.Task] 
(Task='72570267-d86a-4a14-a8bb-fc925a717753') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1884, in prepareMerge

    merge.prepare(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 181, in prepare

    with subchain.prepare():

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/usr/share/vdsm/storage/merge.py", line 160, in prepare

    vol.prepare(rw=rw, justme=True)

  File "/usr/share/vdsm/storage/volume.py", line 562, in prepare

    raise se.prepareIllegalVolumeError(self.volUUID)

prepareIllegalVolumeError: Cannot prepare illegal volume: 
('5f5b436d-6c48-4b9f-a68c-f67d666741ab',)





 On Tue, 26 Feb 2019 18:28:02 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




Can you remove the snapshot now?



On Tue, Feb 26, 2019 at 7:06 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FFRIVWZACG2E6WJ224A6DLBR6G6RPUN4/




That cleaned up the qcow image and qemu-img now reports it's ok, but I still 
cannot start the VM, get "Cannot prepare illegal volume".



Is there some metadata somewhere that needs to be cleaned/reset?





 On Tue, 26 Feb 2019 16:25:22 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




it's because the VM is down, you can manually activate using

$ lvchange -a y vgname/lvname



remember to deactivate after






On Tue, Feb 26, 2019 at 6:15 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:







I tried that initially but I'm not sure how to access the image on block 
storage? The lv is marked as NOT available in lvdisplay.



--- Logical volume --- 

  LV Path    
/dev/70205101-c6b1-4034-a9a2-e559897273bc/74d27dd2-3887-4833-9ce3-5925dbd551cc

  LV Name    74d27dd2-3887-4833-9ce3-5925dbd551cc

  VG Name    70205101-c6b1-4034-a9a2-e559897273bc

  LV UUID    svAB48-Rgnd-0V2A-2O07-Z2Ic-4zfO-XyJiFo

  LV Write Access    read/write

  LV Creation host, time http://nyc-ovirt-01.redacted.com, 2018-05-15 12:02:41 
+

  LV Status  NOT available

  LV Size    14.00 GiB

  Current LE 112

  Segments   9

  Allocation inherit

  Read ahead sectors auto





 On Tue, 26 Feb 2019 15:57:47 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




I haven't found anything other the leaks issue, you can try to run

MAILDRAFTCONTENTnbsp;qemu-img check -r leaks  

(make sure to have it backed up)




On Tue, Feb 26, 2019 at 5:40 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 

[ovirt-users] Re: Cannot start VM: Bad volume specification

2019-02-27 Thread Alan
Is it as simple as doing: lvchange ---activate     




 On Tue, 26 Feb 2019 16:15:32 + Alan G  wrote 





I tried that initially but I'm not sure how to access the image on block 
storage? The lv is marked as NOT available in lvdisplay.



--- Logical volume --- 

  LV Path    
/dev/70205101-c6b1-4034-a9a2-e559897273bc/74d27dd2-3887-4833-9ce3-5925dbd551cc

  LV Name    74d27dd2-3887-4833-9ce3-5925dbd551cc

  VG Name    70205101-c6b1-4034-a9a2-e559897273bc

  LV UUID    svAB48-Rgnd-0V2A-2O07-Z2Ic-4zfO-XyJiFo

  LV Write Access    read/write

  LV Creation host, time nyc-ovirt-01.redacted.com, 2018-05-15 12:02:41 +

  LV Status  NOT available

  LV Size    14.00 GiB

  Current LE 112

  Segments   9

  Allocation inherit

  Read ahead sectors auto





 On Tue, 26 Feb 2019 15:57:47 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 











I haven't found anything other the leaks issue, you can try to run

$ qemu-img check -r leaks  

(make sure to have it backed up)




On Tue, Feb 26, 2019 at 5:40 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCTVJ4K7QNA653MA7YZZSYNU5OG2SNQE/




Logs are attached. The first error from snapshot deletion is at 2019-02-26 
13:27:11,877Z in the engine log.





 On Tue, 26 Feb 2019 15:11:39 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




Can you provide full vdsm & engine logs?



On Tue, Feb 26, 2019 at 5:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKTHCAZENAB2WLPJGDLGDDUWKPCOJCFV/




Hi,





I performed the following: -



1. Shutdown VM.

2. Take a snapshot

3. Create a clone from snapshot.

4. Start the clone. Clone starts fine.

5. Attempt to delete snapshot from original VM, fails.

6. Attempt to start original VM, fails with "Bad volume specification".



This was logged in VDSM during the snapshot deletion attempt.



2019-02-26 13:27:10,907+ ERROR (tasks/3) [storage.TaskManager.Task] 
(Task='67577e64-f29d-4c47-a38f-e54b905cae03') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1892, in finalizeMerge

    merge.finalize(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 271, in finalize

    optimal_size = subchain.base_vol.optimal_size()

  File "/usr/share/vdsm/storage/blockVolume.py", line 440, in optimal_size

    check = qemuimg.check(self.getVolumePath(), qemuimg.FORMAT.QCOW2)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 157, in check

    out = _run_cmd(cmd)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 426, in _run_cmd

    raise QImgError(cmd, rc, out, err)

QImgError: cmd=['/usr/bin/qemu-img', 'check', '--output', 'json', '-f', 
'qcow2', 
'/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-04

6c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f'], ecode=3, 
stdout={

    "image-end-offset": 52210892800,

    "total-clusters": 1638400,

    "check-errors": 0,

    "leaks": 323,

    "leaks-fixed": 0,

    "allocated-clusters": 795890,

    "filename": 
"/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-046c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f",

    "format": "qcow2",

    "fragmented-clusters": 692941

}

, stderr=Leaked cluster 81919 refcount=1 reference=0

Leaked cluster 81920 refcount=1 reference=0

Leaked cluster 81921 refcount=1 reference=0

etc..



Is there any way to fix these leaked clusters? 



Running oVirt 4.1.9 with FC block st

[ovirt-users] Re: Cannot start VM: Bad volume specification

2019-02-27 Thread Alan G
Still cannot remove snapshot.



2019-02-27 08:56:58,781+ ERROR (tasks/6) [storage.TaskManager.Task] 
(Task='72570267-d86a-4a14-a8bb-fc925a717753') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1884, in prepareMerge

    merge.prepare(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 181, in prepare

    with subchain.prepare():

  File "/usr/lib64/python2.7/contextlib.py", line 17, in __enter__

    return self.gen.next()

  File "/usr/share/vdsm/storage/merge.py", line 160, in prepare

    vol.prepare(rw=rw, justme=True)

  File "/usr/share/vdsm/storage/volume.py", line 562, in prepare

    raise se.prepareIllegalVolumeError(self.volUUID)

prepareIllegalVolumeError: Cannot prepare illegal volume: 
('5f5b436d-6c48-4b9f-a68c-f67d666741ab',)





 On Tue, 26 Feb 2019 18:28:02 + Benny Zlotnik  
wrote ----




Can you remove the snapshot now?



On Tue, Feb 26, 2019 at 7:06 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/FFRIVWZACG2E6WJ224A6DLBR6G6RPUN4/




That cleaned up the qcow image and qemu-img now reports it's ok, but I still 
cannot start the VM, get "Cannot prepare illegal volume".



Is there some metadata somewhere that needs to be cleaned/reset?





 On Tue, 26 Feb 2019 16:25:22 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




it's because the VM is down, you can manually activate using

$ lvchange -a y vgname/lvname



remember to deactivate after






On Tue, Feb 26, 2019 at 6:15 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:







I tried that initially but I'm not sure how to access the image on block 
storage? The lv is marked as NOT available in lvdisplay.



--- Logical volume --- 

  LV Path    
/dev/70205101-c6b1-4034-a9a2-e559897273bc/74d27dd2-3887-4833-9ce3-5925dbd551cc

  LV Name    74d27dd2-3887-4833-9ce3-5925dbd551cc

  VG Name    70205101-c6b1-4034-a9a2-e559897273bc

  LV UUID    svAB48-Rgnd-0V2A-2O07-Z2Ic-4zfO-XyJiFo

  LV Write Access    read/write

  LV Creation host, time http://nyc-ovirt-01.redacted.com, 2018-05-15 12:02:41 
+

  LV Status  NOT available

  LV Size    14.00 GiB

  Current LE 112

  Segments   9

  Allocation inherit

  Read ahead sectors auto





 On Tue, 26 Feb 2019 15:57:47 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




I haven't found anything other the leaks issue, you can try to run

$ qemu-img check -r leaks  

(make sure to have it backed up)




On Tue, Feb 26, 2019 at 5:40 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCTVJ4K7QNA653MA7YZZSYNU5OG2SNQE/




Logs are attached. The first error from snapshot deletion is at 2019-02-26 
13:27:11,877Z in the engine log.





 On Tue, 26 Feb 2019 15:11:39 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




Can you provide full vdsm & engine logs?



On Tue, Feb 26, 2019 at 5:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKTHCAZENAB2WLPJGDLGDDUWKPCOJCFV/




Hi,





I performed the following: -



1. Shutdown VM.

2. Take a snapshot

3. Create a clone from snapshot.

4. Start the clone. Clone starts fine.

5. Attempt to delete snapshot from original VM, fails.

6. Attempt to start original VM, fails with &qu

[ovirt-users] Re: Cannot start VM: Bad volume specification

2019-02-26 Thread Alan G
That cleaned up the qcow image and qemu-img now reports it's ok, but I still 
cannot start the VM, get "Cannot prepare illegal volume".



Is there some metadata somewhere that needs to be cleaned/reset?




 On Tue, 26 Feb 2019 16:25:22 + Benny Zlotnik  
wrote 




it's because the VM is down, you can manually activate using

$ lvchange -a y vgname/lvname



remember to deactivate after






On Tue, Feb 26, 2019 at 6:15 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:







I tried that initially but I'm not sure how to access the image on block 
storage? The lv is marked as NOT available in lvdisplay.



--- Logical volume --- 

  LV Path    
/dev/70205101-c6b1-4034-a9a2-e559897273bc/74d27dd2-3887-4833-9ce3-5925dbd551cc

  LV Name    74d27dd2-3887-4833-9ce3-5925dbd551cc

  VG Name    70205101-c6b1-4034-a9a2-e559897273bc

  LV UUID    svAB48-Rgnd-0V2A-2O07-Z2Ic-4zfO-XyJiFo

  LV Write Access    read/write

  LV Creation host, time http://nyc-ovirt-01.redacted.com, 2018-05-15 12:02:41 
+

  LV Status  NOT available

  LV Size    14.00 GiB

  Current LE 112

  Segments   9

  Allocation inherit

  Read ahead sectors auto





 On Tue, 26 Feb 2019 15:57:47 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




I haven't found anything other the leaks issue, you can try to run

$ qemu-img check -r leaks  

(make sure to have it backed up)




On Tue, Feb 26, 2019 at 5:40 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCTVJ4K7QNA653MA7YZZSYNU5OG2SNQE/




Logs are attached. The first error from snapshot deletion is at 2019-02-26 
13:27:11,877Z in the engine log.





 On Tue, 26 Feb 2019 15:11:39 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




Can you provide full vdsm & engine logs?



On Tue, Feb 26, 2019 at 5:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKTHCAZENAB2WLPJGDLGDDUWKPCOJCFV/




Hi,





I performed the following: -



1. Shutdown VM.

2. Take a snapshot

3. Create a clone from snapshot.

4. Start the clone. Clone starts fine.

5. Attempt to delete snapshot from original VM, fails.

6. Attempt to start original VM, fails with "Bad volume specification".



This was logged in VDSM during the snapshot deletion attempt.



2019-02-26 13:27:10,907+ ERROR (tasks/3) [storage.TaskManager.Task] 
(Task='67577e64-f29d-4c47-a38f-e54b905cae03') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1892, in finalizeMerge

    merge.finalize(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 271, in finalize

    optimal_size = subchain.base_vol.optimal_size()

  File "/usr/share/vdsm/storage/blockVolume.py", line 440, in optimal_size

    check = qemuimg.check(self.getVolumePath(), qemuimg.FORMAT.QCOW2)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 157, in check

    out = _run_cmd(cmd)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 426, in _run_cmd

    raise QImgError(cmd, rc, out, err)

QImgError: cmd=['/usr/bin/qemu-img', 'check', '--output', 'json', '-f', 
'qcow2', 
'/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-04

6c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f'], ecode=3, 
stdout={

    "image-end-offset": 52210892800,

    "total-clusters": 1638400,

    "check-errors": 0,

    "leaks": 323,

    "leaks-fixed": 0,

    "allocated-clusters": 795890,

    "filename": 
"/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-046c-4

[ovirt-users] Re: Cannot start VM: Bad volume specification

2019-02-26 Thread Alan G
I tried that initially but I'm not sure how to access the image on block 
storage? The lv is marked as NOT available in lvdisplay.



--- Logical volume --- 

  LV Path    
/dev/70205101-c6b1-4034-a9a2-e559897273bc/74d27dd2-3887-4833-9ce3-5925dbd551cc

  LV Name    74d27dd2-3887-4833-9ce3-5925dbd551cc

  VG Name    70205101-c6b1-4034-a9a2-e559897273bc

  LV UUID    svAB48-Rgnd-0V2A-2O07-Z2Ic-4zfO-XyJiFo

  LV Write Access    read/write

  LV Creation host, time nyc-ovirt-01.redacted.com, 2018-05-15 12:02:41 +

  LV Status  NOT available

  LV Size    14.00 GiB

  Current LE 112

  Segments   9

  Allocation inherit

  Read ahead sectors auto





 On Tue, 26 Feb 2019 15:57:47 + Benny Zlotnik  
wrote 




I haven't found anything other the leaks issue, you can try to run

$ qemu-img check -r leaks  

(make sure to have it backed up)




On Tue, Feb 26, 2019 at 5:40 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/JCTVJ4K7QNA653MA7YZZSYNU5OG2SNQE/




Logs are attached. The first error from snapshot deletion is at 2019-02-26 
13:27:11,877Z in the engine log.





 On Tue, 26 Feb 2019 15:11:39 + Benny Zlotnik 
<mailto:bzlot...@redhat.com> wrote 




Can you provide full vdsm & engine logs?



On Tue, Feb 26, 2019 at 5:10 PM Alan G <mailto:alan%2bov...@griff.me.uk> wrote:




___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mailto:users-le...@ovirt.org

Privacy Statement: https://www.ovirt.org/site/privacy-policy/

oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/

List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/XKTHCAZENAB2WLPJGDLGDDUWKPCOJCFV/




Hi,





I performed the following: -



1. Shutdown VM.

2. Take a snapshot

3. Create a clone from snapshot.

4. Start the clone. Clone starts fine.

5. Attempt to delete snapshot from original VM, fails.

6. Attempt to start original VM, fails with "Bad volume specification".



This was logged in VDSM during the snapshot deletion attempt.



2019-02-26 13:27:10,907+ ERROR (tasks/3) [storage.TaskManager.Task] 
(Task='67577e64-f29d-4c47-a38f-e54b905cae03') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1892, in finalizeMerge

    merge.finalize(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 271, in finalize

    optimal_size = subchain.base_vol.optimal_size()

  File "/usr/share/vdsm/storage/blockVolume.py", line 440, in optimal_size

    check = qemuimg.check(self.getVolumePath(), qemuimg.FORMAT.QCOW2)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 157, in check

    out = _run_cmd(cmd)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 426, in _run_cmd

    raise QImgError(cmd, rc, out, err)

QImgError: cmd=['/usr/bin/qemu-img', 'check', '--output', 'json', '-f', 
'qcow2', 
'/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-04

6c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f'], ecode=3, 
stdout={

    "image-end-offset": 52210892800,

    "total-clusters": 1638400,

    "check-errors": 0,

    "leaks": 323,

    "leaks-fixed": 0,

    "allocated-clusters": 795890,

    "filename": 
"/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-046c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f",

    "format": "qcow2",

    "fragmented-clusters": 692941

}

, stderr=Leaked cluster 81919 refcount=1 reference=0

Leaked cluster 81920 refcount=1 reference=0

Leaked cluster 81921 refcount=1 reference=0

etc..



Is there any way to fix these leaked clusters? 



Running oVirt 4.1.9 with FC block storage.



Thanks,



Alan





___

Users mailing list -- mailto:users@ovirt.org

To unsubscribe send an email to mail

[ovirt-users] Cannot start VM: Bad volume specification

2019-02-26 Thread Alan G
Hi,





I performed the following: -



1. Shutdown VM.

2. Take a snapshot

3. Create a clone from snapshot.

4. Start the clone. Clone starts fine.

5. Attempt to delete snapshot from original VM, fails.

6. Attempt to start original VM, fails with "Bad volume specification".



This was logged in VDSM during the snapshot deletion attempt.



2019-02-26 13:27:10,907+ ERROR (tasks/3) [storage.TaskManager.Task] 
(Task='67577e64-f29d-4c47-a38f-e54b905cae03') Unexpected error (task:872) 

Traceback (most recent call last):

  File "/usr/share/vdsm/storage/task.py", line 879, in _run

    return fn(*args, **kargs)

  File "/usr/share/vdsm/storage/task.py", line 333, in run

    return self.cmd(*self.argslist, **self.argsdict)

  File "/usr/lib/python2.7/site-packages/vdsm/storage/securable.py", line 79, 
in wrapper

    return method(self, *args, **kwargs)

  File "/usr/share/vdsm/storage/sp.py", line 1892, in finalizeMerge

    merge.finalize(subchainInfo)

  File "/usr/share/vdsm/storage/merge.py", line 271, in finalize

    optimal_size = subchain.base_vol.optimal_size()

  File "/usr/share/vdsm/storage/blockVolume.py", line 440, in optimal_size

    check = qemuimg.check(self.getVolumePath(), qemuimg.FORMAT.QCOW2)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 157, in check

    out = _run_cmd(cmd)

  File "/usr/lib/python2.7/site-packages/vdsm/qemuimg.py", line 426, in _run_cmd

    raise QImgError(cmd, rc, out, err)

QImgError: cmd=['/usr/bin/qemu-img', 'check', '--output', 'json', '-f', 
'qcow2', 
'/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-04

6c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f'], ecode=3, 
stdout={

    "image-end-offset": 52210892800,

    "total-clusters": 1638400,

    "check-errors": 0,

    "leaks": 323,

    "leaks-fixed": 0,

    "allocated-clusters": 795890,

    "filename": 
"/rhev/data-center/mnt/blockSD/024109d5-ea84-47ed-87e5-1c8681fdd177/images/f7dea7bd-046c-4923-b5a5-d0c1201607fc/ac540314-989d-42c2-9e7e-3907eedbe27f",

    "format": "qcow2",

    "fragmented-clusters": 692941

}

, stderr=Leaked cluster 81919 refcount=1 reference=0

Leaked cluster 81920 refcount=1 reference=0

Leaked cluster 81921 refcount=1 reference=0

etc..



Is there any way to fix these leaked clusters? 



Running oVirt 4.1.9 with FC block storage.



Thanks,



Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/RHYFOHEYPK33FEKKLNHJPJBY2KXYKE56/


[ovirt-users] help with non-standard LDAP authentication

2019-01-01 Thread alan . edwards
I am using an LDAP configuration that either does not expose or contain a 
nsUniqueId value for Groups.  Many of the standard schema fieldnames have been 
changed to contain a company prefix.  I managed to update the profiles enough 
to have the user authentication work properly & search for the LDAP groups now. 
 But I am unable to add the LDAP group due to the following error: 

Caused by: org.postgresql.util.PSQLException: ERROR: null value in column 
"external_id" violates not-null constraint
  Detail: Failing row contains (dad4b561-6aaa-4e7c-9887-997ba8142d3f, ADMGROUP, 
REALM-authz, null, null, o=BASE)

I've checked the profiles to see if I could possibly remap the nsUniqueID value 
for Groups (thinking of using either the gid or dn value), but I do not see how 
I can have a different value for groups from users.  I have seen a similar 
thread from 3 years ago, but it appeared to have been a different cause.

Any advice or suggestions?  The main goal I am attempting to achieve is to use 
an existing LDAP user group to control who has access to the system such that 
we do not have to add users manually.  

Thanks,
Alan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/BZJLVXXKZF6DDJGOHVUVFQWA6AP6HIAO/


[ovirt-users] Re: iSCSI Boot from SAN

2018-11-03 Thread Alan G
.7d9d3bb2dece11e8a98a00a098d7cd76:vs.6",  
   "portal": "1032",     "port": "3260",     
"initiatorname": "default"     },     {     
"connection": "172.31.6.10",     "iqn": 
"iqn.1992-08.com.netapp:sn.7d9d3bb2dece11e8a98a00a098d7cd76:vs.6",  
   "portal": "1033",     "port": "3260",     
"initiatorname": "default"     }     ],     "pvsize": 
"1099243192320",     "discard_max_bytes": 0,     "pathstatus": [    
 {     "capacity": "1099529453568",     "physdev": 
"sdd",     "type": "iSCSI",     "state": "active",  
   "lun": "0"     },     {     "capacity": 
"1099529453568",     "physdev": "sdf",     "type": 
"iSCSI",     "state": "active",     "lun": "0"  
   }     ],     "devtype": "iSCSI",     "physicalblocksize": 
"4096",     "pvUUID": "cWucdo-DYZc-IlLU-VuED-6FAa-iLdx-dq3RWU",     
"serial": "SNETAPP_LUN_C-Mode_80F0f+Ma-sgd",     "logicalblocksize": "512", 
    "productID": "LUN C-Mode"     },     {     "status": "used",    
 "vendorID": "NETAPP",     "GUID": "3600a098038304631373f4d2f70305a6e", 
    "capacity": "536952700928",     "fwrev": "9300",     
"discard_zeroes_data": 0,     "vgUUID": "",     "pathlist": [   
  {     "connection": "172.31.6.9",     "iqn": 
"iqn.1992-08.com.netapp:sn.7d9d3bb2dece11e8a98a00a098d7cd76:vs.6",  
   "portal": "1032",     "port": "3260",     
"initiatorname": "default"     },     {     
"connection": "172.31.6.10",     "iqn": 
"iqn.1992-08.com.netapp:sn.7d9d3bb2dece11e8a98a00a098d7cd76:vs.6",  
   "portal": "1033",     "port": "3260",     
"initiatorname": "default"     }     ],     "pvsize": "",   
  "discard_max_bytes": 0,     "pathstatus": [     {     
"capacity": "536952700928",     "physdev": "sde",     
"type": "iSCSI",     "state": "active",     "lun": "1"  
   },     {     "capacity": "536952700928", 
    "physdev": "sdg",     "type": "iSCSI",     
"state": "active",     "lun": "1"     }     ],     
"devtype": "iSCSI",     "physicalblocksize": "4096",     "pvUUID": "",  
   "serial": "SNETAPP_LUN_C-Mode_80F17_M_p0Zn",     "logicalblocksize": 
"512",     "productID": "LUN C-Mode"     } ]  On Sat, 03 Nov 2018 
00:01:02 + Nir Soffer  wrote  On Fri, 2 Nov 2018, 
20:31 Alan G https://gerrit.ovirt.org/c/93301/ And add multipath 
configuration for the boot lun with "no_path_retry queue" to avoid readonly 
file system if you loose all paths to storage. Nir 
___ Users mailing list -- 
users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy 
Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Y46ASEUKSH3O3GUL4SWRXZDNIMWNGBQU/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/GUOQAAXEG52P5JMR22AXUJV7DC5GBTUE/


[ovirt-users] iSCSI Boot from SAN

2018-11-02 Thread Alan G
Hi, I'm setting up a lab with oVirt 4.2. All hosts are disk-less and boot from 
a NetApp using iSCSI. All storage domains are also iSCSI, to the same NetApp as 
BFS. Whenever I put a host into maintenance vdsm seems to try to un-mount all 
iSCSI partitions including the OS partition, causing the host fail. Is this a 
supported configuration? Thanks, Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6PXLSMOMZ7QKJZ65XKDBSLIHNPG57VWS/


[ovirt-users] Re: Question on HA failure scenario

2018-10-25 Thread Alan G
Great, thanks for clarification.  On Thu, 25 Oct 2018 13:07:58 +0100 Simone 
Tiraboschi  wrote  On Thu, Oct 25, 2018 at 1:31 PM 
Alan G  wrote: Hi, I have 4.1 cluster with FC block 
storage and hosted engine. Last night a host went unreachable due to a 
driver/firmware issue with the NIC card. The Engine spotted this, the host was 
fenced and everything behaved as expected. However, it got me thinking - if the 
affected host had been the one running the Engine, what would have happened? 
I'm assuming the Engine would have failed liveness check on the other hosted 
engine hosts and they would attempt to start the Engine. But as the "failed" 
host still had access to the storage (I believe the HBA was still working) then 
they would not be able to get a lock on the storage. In which case I'm in a 
catch-22, the Engine cannot fence the failed host because its network is 
isolated, but the Engine cannot be restarted else where until the failed host 
is fenced. At this point it requires human intervention to fence the failed 
host. Is my understanding correct on this? If so is there any way to mitigate 
this risk? ovirt-ha-agent implements a specific test for this kind of failures 
continuously trying to ping a specific IPv4 address (usually the network 
gateway) to check network connectivity on each involved host. On failed pings 
each host penalises itself by a certain amount of points; the HA score of each 
host is written into the hosted-engine metadata volume on the shared storage so 
each host can also see the score of other hosts and in your case this would 
work since all the hosts can still access the storage via FC. Once the 
difference between the score of the host running the engine VM and the best 
candidate host is large enough a migrate to best host (or shutdown and restart 
there if not possible as in your case) action will be triggered. If you want, 
you can easily try to reproduce this scenario.   Thanks, Alan 
___ Users mailing list -- 
users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy 
Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6AGWQYGYLXJ4RBO2UWVZLZTJTRAB7S26/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/67PRPVU2JMIKKA2DGVOPR5EV4BG2GO54/


[ovirt-users] Question on HA failure scenario

2018-10-25 Thread Alan G
Hi, I have 4.1 cluster with FC block storage and hosted engine. Last night a 
host went unreachable due to a driver/firmware issue with the NIC card. The 
Engine spotted this, the host was fenced and everything behaved as expected. 
However, it got me thinking - if the affected host had been the one running the 
Engine, what would have happened? I'm assuming the Engine would have failed 
liveness check on the other hosted engine hosts and they would attempt to start 
the Engine. But as the "failed" host still had access to the storage (I believe 
the HBA was still working) then they would not be able to get a lock on the 
storage. In which case I'm in a catch-22, the Engine cannot fence the failed 
host because its network is isolated, but the Engine cannot be restarted else 
where until the failed host is fenced. At this point it requires human 
intervention to fence the failed host. Is my understanding correct on this? If 
so is there any way to mitigate this risk? Thanks, Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/6AGWQYGYLXJ4RBO2UWVZLZTJTRAB7S26/


[ovirt-users] Re: VM create with network interface via the API

2018-09-21 Thread Alan Bunch
"You can add the vNIC after VM is created, but before the VM is booted the 
first time."

Sometime you just need someone to point out the obvious.

For some reason it just never occurred to me to add the nic BEFORE the first 
start. This is my first time using api to control vms and I am still very low 
on the learning curve.

Thank you so much for pointing me in the correct direction.

Alan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/Q3DBV5WURJWHJ72IEUCV2LWRBJHNH36F/


[ovirt-users] VM create with network interface via the API

2018-09-20 Thread Alan Bunch
Hello all and thank you in advance for your help.

I have been able to work out how to add vm via a call to the vms API.   I am 
passing in a template via the api call and that is working.  I do not have a 
network installed in the template. My use case for that was to hit “New vm”, 
fill in the hostname and network and let cloud-init set the hostname.  That way 
I can create a new vm with just a few clicks.  

What I can’t seem to figure out is how to define the network interface in the 
add vm api call.   It looks like I should have to add the network interface in 
a second call after creation.If I add the interface in the  
 section for cloud-init I seems to have a chicken and egg 
problem.  When I add the   section and the data for the ip 
address, netmask, default gateway, I get;


[Cannot add VM. Static IPv4 address is missing in cloud-init 
configuration.]
Operation Failed


That would seem to indicate to me that I need and interface before I can 
configure it.  That makes sense.  But how do I get an interface before I create 
the vm ?

What might I be missing?

The desired result is create a vm and set the hostname and ip info via the api 
so that I get a fully formed vm connected to the network.  That gets me to the 
point of being able to download build scripts to install and start puppet.

Alan
___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/YQRSABCJ7Y3L44XRFLUFDTFPK6OGBKPH/


[ovirt-users] Re: Problems import vm/uploading disk

2018-07-01 Thread Alan
So, I finally managed to do this using the old import-to-ovirt.pl script. 
https://rwmj.wordpress.com/2015/09/18/importing-kvm-guests-to-ovirt-or-rhev/ 
 On Wed, 27 Jun 2018 10:47:01 +0100 Alan G  wrote 
 Hi, I'm trying to import a KVM VM into Ovirt. First I tried the GUI VM 
import functionality and this failed with the error below. However other VMs 
from the same source host were imported fine. read-32893::ERROR::2018-06-27 
09:43:48,703::v2v::679::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f' failed Traceback (most recent call 
last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 674, in _run 
    self._import()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
691, in _import     with self._command.execute() as self._proc:   File 
"/usr/lib64/python2.7/contextlib.py", line 17, in __enter__     return 
self.gen.next()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
597, in execute     yield self._start_helper()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 374, in _start_helper     
env=self._environment())   File 
"/usr/lib/python2.7/site-packages/vdsm/commands.py", line 71, in execCmd     
deathSignal=deathSignal)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in __init__   
  **kw)   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__     
errread, errwrite)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 83, in 
_execute_child_v276     _to_close=to_close   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 118, in 
_execute_child_v275     restore_sigpipe OSError: [Errno 0] Error 
Thread-32893::ERROR::2018-06-27 09:43:48,704::v2v::686::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f', error trying to abort: 
AttributeError("'NoneType' object has no attribute 'returncode'",) Traceback 
(most recent call last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", 
line 683, in _run     self._abort()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 743, in _abort     if 
self._proc.returncode is None: AttributeError: 'NoneType' object has no 
attribute 'returncode' Second I tried using the disk upload feature in the GUI, 
but this created the target disk then fails to upload the content - I've 
ensured that the relevant CAs are loaded into the browser. Third I successfully 
imported the VM into an ovirt 4.2 instance in the lab, but can find no way of 
then importing it into ovirt 4.0 as the storage domain format seems not to be 
backwards compatible. Finally I used the upload_disk.py example script from 
python SDK. This creates the disk and starts to upload the content but always 
fails at 2% with "socket.error: [Errno 32] Broken pipe" Any ideas on how I can 
get this qcow2 image loaded into ovirt 4.0? Thanks, Alan 
___ Users mailing list -- 
users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy 
Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A7RVNCGYKBHC7NV6HUJ2WAJ2WDJORTIU/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/C22OMN3WTT2GEV7I3NCDXWFW6EBHZDEI/


[ovirt-users] Re: Problems import vm/uploading disk

2018-06-28 Thread Alan G
I managed to import it in the end using the old import-to-ovirt.pl script. We 
are in the process of upgrading production but it will take a while.  On 
Thu, 28 Jun 2018 08:14:10 +0100 Daniel Erez  wrote  On 
Wed, Jun 27, 2018 at 1:04 PM Alan G  wrote: Hi, I'm 
trying to import a KVM VM into Ovirt. First I tried the GUI VM import 
functionality and this failed with the error below. However other VMs from the 
same source host were imported fine. read-32893::ERROR::2018-06-27 
09:43:48,703::v2v::679::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f' failed Traceback (most recent call 
last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 674, in _run 
    self._import()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
691, in _import     with self._command.execute() as self._proc:   File 
"/usr/lib64/python2.7/contextlib.py", line 17, in __enter__     return 
self.gen.next()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
597, in execute     yield self._start_helper()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 374, in _start_helper     
env=self._environment())   File 
"/usr/lib/python2.7/site-packages/vdsm/commands.py", line 71, in execCmd     
deathSignal=deathSignal)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in __init__   
  **kw)   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__     
errread, errwrite)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 83, in 
_execute_child_v276     _to_close=to_close   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 118, in 
_execute_child_v275     restore_sigpipe OSError: [Errno 0] Error 
Thread-32893::ERROR::2018-06-27 09:43:48,704::v2v::686::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f', error trying to abort: 
AttributeError("'NoneType' object has no attribute 'returncode'",) Traceback 
(most recent call last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", 
line 683, in _run     self._abort()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 743, in _abort     if 
self._proc.returncode is None: AttributeError: 'NoneType' object has no 
attribute 'returncode' Second I tried using the disk upload feature in the GUI, 
but this created the target disk then fails to upload the content - I've 
ensured that the relevant CAs are loaded into the browser. Third I successfully 
imported the VM into an ovirt 4.2 instance in the lab, but can find no way of 
then importing it into ovirt 4.0 as the storage domain format seems not to be 
backwards compatible. Finally I used the upload_disk.py example script from 
python SDK. This creates the disk and starts to upload the content but always 
fails at 2% with "socket.error: [Errno 32] Broken pipe" Did it fail in oVirt 
4.0 or 4.2? Can you please attach engine, vdsm, proxy and daemon logs?   Any 
ideas on how I can get this qcow2 image loaded into ovirt 4.0? Thanks, Alan 
___ Users mailing list -- 
users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy 
Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A7RVNCGYKBHC7NV6HUJ2WAJ2WDJORTIU/
 ___ Users mailing list -- 
users@ovirt.org To unsubscribe send an email to users-le...@ovirt.org Privacy 
Statement: https://www.ovirt.org/site/privacy-policy/ oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/ List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/WMDPVRM5DHVOCUA4DD4PQHX6FDMR5BT7/___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/TIJ7SAJD65SZNPOHETODGXUGAPLOJINX/


[ovirt-users] Problems import vm/uploading disk

2018-06-27 Thread Alan G
Hi, I'm trying to import a KVM VM into Ovirt. First I tried the GUI VM import 
functionality and this failed with the error below. However other VMs from the 
same source host were imported fine. read-32893::ERROR::2018-06-27 
09:43:48,703::v2v::679::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f' failed Traceback (most recent call 
last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 674, in _run 
    self._import()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
691, in _import     with self._command.execute() as self._proc:   File 
"/usr/lib64/python2.7/contextlib.py", line 17, in __enter__     return 
self.gen.next()   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 
597, in execute     yield self._start_helper()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 374, in _start_helper     
env=self._environment())   File 
"/usr/lib/python2.7/site-packages/vdsm/commands.py", line 71, in execCmd     
deathSignal=deathSignal)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 63, in __init__   
  **kw)   File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__     
errread, errwrite)   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 83, in 
_execute_child_v276     _to_close=to_close   File 
"/usr/lib64/python2.7/site-packages/cpopen/__init__.py", line 118, in 
_execute_child_v275     restore_sigpipe OSError: [Errno 0] Error 
Thread-32893::ERROR::2018-06-27 09:43:48,704::v2v::686::root::(_run) Job 
u'1a5fe287-d2dd-429c-87b5-6f240b59c17f', error trying to abort: 
AttributeError("'NoneType' object has no attribute 'returncode'",) Traceback 
(most recent call last):   File "/usr/lib/python2.7/site-packages/vdsm/v2v.py", 
line 683, in _run     self._abort()   File 
"/usr/lib/python2.7/site-packages/vdsm/v2v.py", line 743, in _abort     if 
self._proc.returncode is None: AttributeError: 'NoneType' object has no 
attribute 'returncode' Second I tried using the disk upload feature in the GUI, 
but this created the target disk then fails to upload the content - I've 
ensured that the relevant CAs are loaded into the browser. Third I successfully 
imported the VM into an ovirt 4.2 instance in the lab, but can find no way of 
then importing it into ovirt 4.0 as the storage domain format seems not to be 
backwards compatible. Finally I used the upload_disk.py example script from 
python SDK. This creates the disk and starts to upload the content but always 
fails at 2% with "socket.error: [Errno 32] Broken pipe" Any ideas on how I can 
get this qcow2 image loaded into ovirt 4.0? Thanks, Alan___
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/A7RVNCGYKBHC7NV6HUJ2WAJ2WDJORTIU/


[ovirt-users] nfs 4.2 support

2018-04-03 Thread Alan Griffiths
Hi,

I noticed that when mounting nfs domains in ovirt 4.1 using
auto-negotiate it settles on v4.1.

Is this due to lack of live storage migration as referenced in this bug

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

Are there other known issues with 4.2 support?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Engine AAA LDAP startTLS Protocol Issue

2018-02-08 Thread Alan Griffiths
That works. Thanks.

On 8 February 2018 at 12:56, Ondra Machacek <omach...@redhat.com> wrote:
> On 02/08/2018 11:04 AM, Alan Griffiths wrote:
>>
>> Hi,
>>
>> Trying to configure Engine to authenticate against OpenLDAP and I seem
>> to be hitting a protocol bug.
>>
>> Attempts to test the login during the setup fail with
>>
>> 2018-02-07 12:27:37,872Z WARNING Exception: The connection reader was
>> unable to successfully complete TLS negotiation:
>> SSLException(message='Received fatal alert: protocol_version',
>> trace='getSSLException(Alerts.java:208) /
>> getSSLException(Alerts.java:154) / recvAlert(SSLSocketImpl.java:2033)
>> / readRecord(SSLSocketImpl.java:1135) /
>> performInitialHandshake(SSLSocketImpl.java:1385) /
>> startHandshake(SSLSocketImpl.java:1413) /
>> startHandshake(SSLSocketImpl.java:1397) /
>> run(LDAPConnectionReader.java:301)', revision=0)
>>
>> Running a packet trace I see that it's trying to negotiate with TLS
>> 1.0, but my LDAP server only support TLS 1.2.
>
>
> I've sent a fix:
>
>  https://gerrit.ovirt.org/87327
>
> To workaround it just please add to you profile properties file:
>
>  pool.default.ssl.startTLSProtocol = TLSv1.2
>
>>
>> This looks like a regression as it works fine in 4.0.
>>
>> I see the issue in both 4.1 and 4.2
>>
>> 4.1.9.1
>> 4.2.0.2
>>
>> Should I submit a bug?
>>
>> Thanks,
>>
>> Alan
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Engine AAA LDAP startTLS Protocol Issue

2018-02-08 Thread Alan Griffiths
Hi,

Trying to configure Engine to authenticate against OpenLDAP and I seem
to be hitting a protocol bug.

Attempts to test the login during the setup fail with

2018-02-07 12:27:37,872Z WARNING Exception: The connection reader was
unable to successfully complete TLS negotiation:
SSLException(message='Received fatal alert: protocol_version',
trace='getSSLException(Alerts.java:208) /
getSSLException(Alerts.java:154) / recvAlert(SSLSocketImpl.java:2033)
/ readRecord(SSLSocketImpl.java:1135) /
performInitialHandshake(SSLSocketImpl.java:1385) /
startHandshake(SSLSocketImpl.java:1413) /
startHandshake(SSLSocketImpl.java:1397) /
run(LDAPConnectionReader.java:301)', revision=0)

Running a packet trace I see that it's trying to negotiate with TLS
1.0, but my LDAP server only support TLS 1.2.

This looks like a regression as it works fine in 4.0.

I see the issue in both 4.1 and 4.2

4.1.9.1
4.2.0.2

Should I submit a bug?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Why was HE Install made OVA only?

2017-11-21 Thread Alan Griffiths
I was building my own image, using Foreman, Puppet and PXE. There's a
specific partitioning schema I'm required to use in my environment and
building my own image from Kickstart is by far the easiest way to
achieve this.

I can appreciate that in most scenarios the OVA install is the
best/easiest option, but it would have been nice to keep PXE and ISO
options.

On 20 November 2017 at 17:24, Simone Tiraboschi <stira...@redhat.com> wrote:
>
> On Mon, Nov 20, 2017 at 4:39 PM, Alan Griffiths <apgriffith...@gmail.com>
> wrote:
>>
>> Hi,
>>
>> What was the reasoning behind making Hosted Engine install OVA only?
>> The PXEBoot feature always worked really well for me, and now I have a
>> number of extra steps to achieve the same end result.
>>
>
> Do you mean that you were customizing the image shipped via PXE?
> Deploying from the OVA is pretty convenient, if you want just to forget
> about it, you have to install also ovirt-engine-appliance rpm when you
> install ovirt-hosted-engine-setup one.
> I don't see other additional steps.
>
>
>>
>> Thanks,
>>
>> Alan
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Why was HE Install made OVA only?

2017-11-20 Thread Alan Griffiths
Hi,

What was the reasoning behind making Hosted Engine install OVA only?
The PXEBoot feature always worked really well for me, and now I have a
number of extra steps to achieve the same end result.

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] hosted exchange failed to install

2017-11-14 Thread Alan Griffiths
Looks like you need to clean out your storage domain left over from
the previous install attempt. What are you using, gluster, NFS?

On 14 November 2017 at 14:35, Rudi Ahlers  wrote:
> Hi,
>
> Can someone please help?
>
> I installed hosted exchange but specified the wrong interface, and thus
> couldn't access it. So I removed it (yum install) and reinstalled it, and
> re-ran the deploy but got the following error:
>
>  Please confirm installation settings (Yes, No)[Yes]:
> [ INFO  ] Stage: Transaction setup
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Stage: Package installation
> [ INFO  ] Stage: Misc configuration
> [ INFO  ] Configuring libvirt
> [ INFO  ] Configuring VDSM
> [WARNING] VDSM configuration file not found: creating a new configuration
> file
> [ INFO  ] Starting vdsmd
> [ INFO  ] Creating Storage Domain
> [ ERROR ] Failed to execute stage 'Misc configuration': Storage domain is
> not empty - requires cleaning: (u'srv1:/engine',)
> [ INFO  ] Yum Performing yum transaction rollback
> [ INFO  ] Stage: Clean up
> [ INFO  ] Generating answer file
> '/var/lib/ovirt-hosted-engine-setup/answers/answers-20171114162130.conf'
> [ INFO  ] Stage: Pre-termination
> [ INFO  ] Stage: Termination
> [ ERROR ] Hosted Engine deployment failed: this system is not reliable,
> please check the issue,fix and redeploy
>   Log file is located at
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20171114161520-km3qok.log
>
>
>
> I am honestly not sure why it would think "this system is not reliable". How
> do I check what is actually wrong?
>
> The log file shows the same error:
>
>
> tail -f
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20171114161520-km3qok.log
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:134 condition
> False
> 2017-11-14 16:21:30 INFO otopi.context context.runSequence:687 Stage:
> Termination
> 2017-11-14 16:21:30 DEBUG otopi.context context.runSequence:691 STAGE
> terminate
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.gr_he_common.core.misc.Plugin._terminate
> 2017-11-14 16:21:30 ERROR otopi.plugins.gr_he_common.core.misc
> misc._terminate:178 Hosted Engine deployment failed: this system is not
> reliable, please check the issue,fix and redeploy
> 2017-11-14 16:21:30 DEBUG otopi.plugins.otopi.dialog.human
> dialog.__logString:204 DIALOG:SEND Log file is located at
> /var/log/ovirt-hosted-engine-setup/ovirt-hosted-engine-setup-20171114161520-km3qok.log
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.dialog.human.Plugin._terminate
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.dialog.machine.Plugin._terminate
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:134 condition
> False
> 2017-11-14 16:21:30 DEBUG otopi.context context._executeMethod:128 Stage
> terminate METHOD otopi.plugins.otopi.core.log.Plugin._terminate
>
>
> --
> Kind Regards
> Rudi Ahlers
> Website: http://www.rudiahlers.co.za
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] ovirtmgmt network

2017-11-08 Thread Alan Griffiths
I think you would need an IP address on IF2, otherwise the HE cannot
communicate with the host.

If you have an entry in /etc/hosts that resolves the FQDN of the host
to the IP on IF2 then I think the setup script should create the
ovirtmgmt bridge there.

On 8 November 2017 at 12:33, Arsène Gschwind  wrote:
> Any hint or answer to my question?
>
> I've searched around but couldn't find any answer...
>
>
> On 10/31/2017 10:36 AM, Arsène Gschwind wrote:
>
> Hi,
>
> I have a question about ovirtmgmt network.
>
> When deploying Hosted-Engine it creates ovirtmgmt bridge on top of main nic
> of the host. This means the HE will be connected to the same network as the
> main Host connection. Is it possible to separate those subnet, let say I
> would have something like
>
> Host:
>
> IP: 10.0.a.b (VLAN a untagged) The host has an IP address on that interface
> GW: 10.0.a.gw
>
> Then i would have a tagged VLAN on top of that interface :
>
> IF2 : 10.0.c.x (VLAN c tagged) The host has no IP address on that interface
> GW: 10.0.c.gw
>
> Would it be possible to have the HE connected on IF2, if Yes how do we
> deploy such a setup?
>
> Thanks for any hint.
> Rgds,
> Arsène
>
> --
>
> Arsène Gschwind
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
>
>
> --
>
> Arsène Gschwind
> Fa. Sapify AG im Auftrag der Universität Basel
> IT Services
> Klingelbergstr. 70 |  CH-4056 Basel  |  Switzerland
> Tel. +41 79 449 25 63  |  http://its.unibas.ch
> ITS-ServiceDesk: support-...@unibas.ch | +41 61 267 14 11
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VM remote noVNC console

2017-10-06 Thread Alan Griffiths
I have this working through an SSH tunnel, although it adds some extra steps.

1. Figure out which port your VM console is bound to (5900 + offset).
2. SSH to the hypervisor tunneling a local port to that remote console port.
3. Click on the console link in the Engine and locally save the vv file.
4. Edit the vv file; change host to localhost and port to whichever
port you configured for the local side of the tunnel.
5. Save and run the vv file with your SPICE client.

You have two minutes to connect from downloading the vv file before
the password expires.

On 5 October 2017 at 22:58, Alex K  wrote:
> Any idea how this can be addressed?
>
>
> On Sep 19, 2017 23:07, "Alex K"  wrote:
>
> Hi all,
>
> I am trying to get the VM console of a VM through SSH socks proxy.
> This is a scenario I will frequently face, as the ovirt cluster will be
> available only though a remote SSH tunnel.
>
> I am trying several console options without success.
>
> With SPICE or VNC I get issue with virt-viewer saying "Unable to connect to
> libvirt with URI [none]'
>
> With noVNC I get a separate tab on browser where it is stuck showing
> "loading".
>
> Has anyone success with this kind of remote console access?
>
> Thanx,
> Alex
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.0 and EL 7.4

2017-10-04 Thread Alan Griffiths
That didn't seem to make any difference.

I can make it work by disabling authentication

auth_unix_rw="none"  in /etc/libvirt/libvirtd.conf

On 4 October 2017 at 15:05, VONDRA Alain <avon...@unicef.fr> wrote:
> Hi,
> Did you modify your /etc/sasl2/libvirt.conf, because the update has modify 
> the way to authenticate from md5 to gssapi.
>
> If not just change this line :
> mech_list: gssapi
> to
> mech_list: digest-md5
>
> And restart services
>
> As mentioned in the libvirt.conf file :
>
> # NB, previously DIGEST-MD5 was set as the default mechanism for
> # libvirt. Per RFC 6331 this is vulnerable to many serious security
> # flaws and should no longer be used. Thus GSSAPI is now the default.
> #
> # To use GSSAPI requires that a libvirtd service principal is
> # added to the Kerberos server for each host running libvirtd.
> # This principal needs to be exported to the keytab file listed below
>
> Alain
>
>
>
> Alain VONDRA
>
> Chargé d'Exploitation et de Sécurité des Systèmes d'Information
> Direction Administrative et Financière
> +33 1 44 39 77 76
>
> UNICEF France
> 3 rue Duguay Trouin  75006
> PARIS
> www.unicef.fr
> -Message d'origine-
> De : users-boun...@ovirt.org [mailto:users-boun...@ovirt.org] De la part de 
> Alan Griffiths
> Envoyé : mercredi 4 octobre 2017 15:50
> À : Ovirt Users <users@ovirt.org>
> Objet : [ovirt-users] Ovirt 4.0 and EL 7.4
>
> Hi,
>
> Is 4.0 supported/known to work on CentOS 7.4?
>
> I've just tried to upgrade one of the hosts in my lab from 7.3 to 7.4 and now 
> vdsm-network fails to start with
>
> vdsm-tool: libvirt: XML-RPC error : authentication failed: authentication 
> failed
>
> To even get this far I had to exclude gluster packages as 7.4 introduces 3.8 
> but ovirt 4.0 repo is still on 3.7.
>
> So, more generally. If I'm on ovirt 4.0, gluster 3.7 and EL 7.3. What is the 
> best ordering for getting to ovirt 4.1 and EL 7.4?
>
> Thanks,
>
> Alan
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt 4.0 and EL 7.4

2017-10-04 Thread Alan Griffiths
Hi,

Is 4.0 supported/known to work on CentOS 7.4?

I've just tried to upgrade one of the hosts in my lab from 7.3 to 7.4
and now vdsm-network fails to start with

vdsm-tool: libvirt: XML-RPC error : authentication failed: authentication failed

To even get this far I had to exclude gluster packages as 7.4
introduces 3.8 but ovirt 4.0 repo is still on 3.7.

So, more generally. If I'm on ovirt 4.0, gluster 3.7 and EL 7.3. What
is the best ordering for getting to ovirt 4.1 and EL 7.4?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Engine Backup/Restore Question

2017-09-15 Thread Alan Griffiths
Hi,

Currently testing my recovery plan for HE failure.

I run a hosted engine, but in the event of some failure of the engine VM i
want to be able to quickly restore the engine to a standalone host running
independent of Ovirt (in this case a VM running on ESXi).

On a dry run I restore the backup onto the ESXi VM and run engine-setup. At
this point it fails with an error that I am not in Global Maintenance mode.

If I put the cluster into maintenance mode before performing the backup
then it works correctly. So is it necessary to do this on every backup? I
can find nothing in the documentation detailing this as a requirement?

Alternatively it seems I can manually update the ha_global_maintenance
column in the vds_statistics table before running engine-setup, but not
sure of the implications of doing this.

ovirt-4.0.6.3

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt 4.1 testing backup and restore Self-hosted Engine

2017-08-25 Thread Alan Griffiths
As I recall (a few weeks ago now) it was after restore, once the host had
been registered in the Manager. However, I was testing on 4.0, so maybe the
behaviour is slightly different in 4.1.

Can you see anything in the Engine or vdsm logs as to why it won't remove
the storage? Perhaps try removing the stale HostedEngine VM ?

On 25 August 2017 at 09:14, wodel youchi <wodel.you...@gmail.com> wrote:

> Hi and thanks,
>
> But when to remove the hosted_engine storage ? During the restore
> procedure or after ? Because after I couldn't do it, the manager refused to
> put that storage in maintenance mode.
>
> Regards
>
> Le 25 août 2017 08:49, "Alan Griffiths" <apgriffith...@gmail.com> a
> écrit :
>
>> As I recall from my testing. If you remove the old hosted_storage domain
>> then the new one should get automatically imported.
>>
>> On 24 August 2017 at 23:03, wodel youchi <wodel.you...@gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I am testing the backup and restore procedure of the Self-hosted Engine,
>>> and I have a problem.
>>>
>>> This haw I did the test.
>>>
>>> I have two hypervisors hosted-engine. I am used iSCSI disk for the VM
>>> engine.
>>>
>>> I followed the procedure described in the Self-hosted Engine document to
>>> execute the backup, I put the first host in maintenance mode, the I create
>>> the backup and save it elsewhere.
>>>
>>> Then I've create a new iscsi disk, I reinstalled the first host with the
>>> save IP/hostname, then I followed the restore procedure to get the Manager
>>> up and running again.
>>> - hosted-engine --deploy
>>> - do not execute engine-setup, restore backup first
>>> - execute engine-setup
>>> - remove the host from the manager
>>> - synchronize the restored manger with the host
>>> - finalize deployment.
>>>
>>> all went well till this point, but I have a problem with the VM-engine,
>>> it is shown as down in the admin portal. the ovirt-ha-agent cannot retrieve
>>> the VM config from the shared storage.
>>>
>>> I think the problem, is that the hosted-engine storage domain is still
>>> pointing to the old disk of the old manager and not the new one. I don't
>>> know where is this information is stored, in the DB or in the Manager's
>>> config files, but when I click Manager hosted-engine domain, I can see the
>>> old LUN grayed and the new one (which is used by the restored Manager) is
>>> not grayed.
>>>
>>> How can I fix this?
>>>
>>> Regards.
>>>
>>>
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>>  Garanti
>>> sans virus. www.avast.com
>>> <https://www.avast.com/sig-email?utm_medium=email_source=link_campaign=sig-email_content=webmail>
>>> <#m_9177001278217562974_m_7731007781891096843_m_3883279741882476845_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>>
>>> ___
>>> Users mailing list
>>> Users@ovirt.org
>>> http://lists.ovirt.org/mailman/listinfo/users
>>>
>>>
>>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Inter Cluster Traffic

2017-08-23 Thread Alan Griffiths
I am planning to live migrate VMs. From my testing this works fine
providing cross cluster hosts can talk to each other and they share a
common migration network.

On 23 August 2017 at 13:54, Gianluca Cecchi <gianluca.cec...@gmail.com>
wrote:

> On Tue, Aug 22, 2017 at 5:23 PM, Alan Griffiths <apgriffith...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I'm in the process of building a second ovirt cluster within the default
>> DC. This new cluster will use the same storage domains as the original
>> cluster, and I will slowly migrate VMs from the old cluster to the new.
>>
>> Given that the old and new cluster hosts have a firewall between them I
>> need to ensure that all relevant ports are open, with particular attention
>> to the correct operation of SPM.
>>
>> Is it sufficient to open TCP ports 16514 and 54321 to achieve this?
>>
>> Thanks,
>>
>> Alan
>>
>>
> One note:
>
> when you say:
> I will slowly migrate VMs from the old cluster to the new.
>
> what do you mean exactly with "migrate"?
> If you mean Live Migraton as described here:
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterp
> rise_Virtualization/3.5/html/Administration_Guide/sect-
> Migrating_Virtual_Machines_Between_Hosts.html
>
> please note that you can live migrate a VM only within the same cluster,
> not across.
>
> You can edit a VM of a datacenter and change the cluster where it have to
> start, but you have to first shutdown the VM to do so.
> Probably you already considered this and the related potential downtime
> for your services.
>
> Gianluca
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Inter Cluster Traffic

2017-08-23 Thread Alan Griffiths
Just found this in the RHV docs. I think sections 2.8 to 2.12 cover
everything you could wish to know about SPM process. It made it clear for
me anyway. Once SPM is elected then all communication is via the storage
domain, no TCP/IP comms required.

https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.0/html/technical_reference/role_the_storage_pool_manager



On 22 August 2017 at 16:58, Alan Griffiths <apgriffith...@gmail.com> wrote:

> It's my understanding that when you activate a host part of the process is
> to verify that it can connect to all active storage domains. If it cannot
> connect to any domain then it will refuse to go to the "up" state. In my
> case the storage domains are FC so completely outside the TCP/IP stack.
>
> On 22 August 2017 at 16:42, FERNANDO FREDIANI <fernando.fredi...@upx.com>
> wrote:
>
>> How do you make the new cluster to use the same storage domain as the
>> original one ? Storage Domains in oVirt are a bit confusing and less
>> flexible and I am not sure it allows it, does it ?
>>
>> On 22/08/2017 12:23, Alan Griffiths wrote:
>>
>> Hi,
>>
>> I'm in the process of building a second ovirt cluster within the default
>> DC. This new cluster will use the same storage domains as the original
>> cluster, and I will slowly migrate VMs from the old cluster to the new.
>>
>> Given that the old and new cluster hosts have a firewall between them I
>> need to ensure that all relevant ports are open, with particular attention
>> to the correct operation of SPM.
>>
>> Is it sufficient to open TCP ports 16514 and 54321 to achieve this?
>>
>> Thanks,
>>
>> Alan
>>
>>
>> ___
>> Users mailing 
>> listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>>
>>
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Inter Cluster Traffic

2017-08-22 Thread Alan Griffiths
It's my understanding that when you activate a host part of the process is
to verify that it can connect to all active storage domains. If it cannot
connect to any domain then it will refuse to go to the "up" state. In my
case the storage domains are FC so completely outside the TCP/IP stack.

On 22 August 2017 at 16:42, FERNANDO FREDIANI <fernando.fredi...@upx.com>
wrote:

> How do you make the new cluster to use the same storage domain as the
> original one ? Storage Domains in oVirt are a bit confusing and less
> flexible and I am not sure it allows it, does it ?
>
> On 22/08/2017 12:23, Alan Griffiths wrote:
>
> Hi,
>
> I'm in the process of building a second ovirt cluster within the default
> DC. This new cluster will use the same storage domains as the original
> cluster, and I will slowly migrate VMs from the old cluster to the new.
>
> Given that the old and new cluster hosts have a firewall between them I
> need to ensure that all relevant ports are open, with particular attention
> to the correct operation of SPM.
>
> Is it sufficient to open TCP ports 16514 and 54321 to achieve this?
>
> Thanks,
>
> Alan
>
>
> ___
> Users mailing listUsers@ovirt.orghttp://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Inter Cluster Traffic

2017-08-22 Thread Alan Griffiths
Hi,

I'm in the process of building a second ovirt cluster within the default
DC. This new cluster will use the same storage domains as the original
cluster, and I will slowly migrate VMs from the old cluster to the new.

Given that the old and new cluster hosts have a firewall between them I
need to ensure that all relevant ports are open, with particular attention
to the correct operation of SPM.

Is it sufficient to open TCP ports 16514 and 54321 to achieve this?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after Network Outage

2017-07-19 Thread Alan Griffiths
What happens if you run "/usr/bin/vdsm-tool restore-nets" manually?

On 19 July 2017 at 16:22, Anthony.Fillmore <anthony.fillm...@target.com>
wrote:

> All services active and running except the vdsm-network.service which last
> entry is “activating”:
>
>
>
> [root@t0894bmh1001 vdsm.conf.d]# systemctl status -l vdsm-network.service
> -l
>
> ● vdsm-network.service - Virtual Desktop Server Manager network restoration
>
>Loaded: loaded (/usr/lib/systemd/system/vdsm-network.service; enabled;
> vendor preset: enabled)
>
>Active: activating (start) since Tue 2017-07-18 10:42:57 CDT; 23h ago
>
>   Process: 8216 ExecStartPre=/usr/bin/vdsm-tool --vvverbose --append
> --logfile=/var/log/vdsm/upgrade.log upgrade-unified-persistence
> (code=exited, status=0/SUCCESS)
>
> Main PID: 8231 (vdsm-tool)
>
>CGroup: /system.slice/vdsm-network.service
>
>├─8231 /usr/bin/python /usr/bin/vdsm-tool restore-nets
>
>└─8240 /usr/bin/python /usr/share/vdsm/vdsm-restore-net-config
>
> *From:* Alan Griffiths [mailto:apgriffith...@gmail.com]
> *Sent:* Wednesday, July 19, 2017 10:13 AM
>
> *To:* Anthony.Fillmore <anthony.fillm...@target.com>
> *Cc:* Pavel Gashev <p...@acronis.com>; users@ovirt.org; Brandon.Markgraf <
> brandon.markg...@target.com>; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after
> Network Outage
>
>
>
> Looking at vdsmd.service on one of my 4.0 hosts.
>
>
>
> Requires=multipathd.service libvirtd.service time-sync.target \
>
>  iscsid.service rpcbind.service supervdsmd.service sanlock.service
> \
>
>  vdsm-network.service
>
>
>
> Are all these services present and running?
>
>
>
>
>
> On 19 July 2017 at 16:05, Anthony.Fillmore <anthony.fillm...@target.com>
> wrote:
>
> Are the vdsm.conf or mom.conf file in /etc/vdsm of note in this
> situation?
>
>
>
> *From:* Anthony.Fillmore
> *Sent:* Wednesday, July 19, 2017 9:57 AM
> *To:* 'Alan Griffiths' <apgriffith...@gmail.com>
> *Cc:* Pavel Gashev <p...@acronis.com>; users@ovirt.org; Brandon.Markgraf <
> brandon.markg...@target.com>; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* RE: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after
> Network Outage
>
>
>
> [boxname ~]# systemctl | grep -i dead
>
> mom-vdsm.service
>
>start MOM instance
> configured for VDSM purposes
>
> vdsmd.service
>
> start Virtual Desktop
> Server Manager
>
>
>
>
>
> [ boxname ~]# systemctl | grep -i exited
>
> blk-availability.service
>
>Availability
> of block devices
>
> iptables.service
>
> IPv4 firewall with
> iptables
>
> kdump.service
>
>  Crash
> recovery kernel arming
>
> kmod-static-nodes.service
>
>  Create list
> of required static device nodes for the current kernel
>
> lvm2-monitor.service
>
>  Monitoring
> of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
>
> lvm2-pvscan@253:3.service
>
>  LVM2 PV scan
> on device 253:3
>
> lvm2-pvscan@253:4.service
>
>  LVM2 PV scan
> on device 253:4
>
> lvm2-pvscan@8:3.service
>
>  LVM2 PV scan
> on device 8:3
>
> network.service
>
>  LSB:
> Bring up/down networking
>
> openvswitch-nonetwork.service
>
>   Open vSwitch
> Internal Unit
>
> openvswitch.service
>
> Open vSwitch
>
> rhel-dmesg.service
>
>  Dump dmesg
> to /var/log/dmesg
>
> rhel-import-state.service
>
>  Import
> network configuration from initramfs
>
> rhel-readonly.service
>
>Configure
> read-only root support

Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after Network Outage

2017-07-19 Thread Alan Griffiths
Looking at vdsmd.service on one of my 4.0 hosts.

Requires=multipathd.service libvirtd.service time-sync.target \
 iscsid.service rpcbind.service supervdsmd.service sanlock.service \
 vdsm-network.service

Are all these services present and running?


On 19 July 2017 at 16:05, Anthony.Fillmore <anthony.fillm...@target.com>
wrote:

> Are the vdsm.conf or mom.conf file in /etc/vdsm of note in this
> situation?
>
>
>
> *From:* Anthony.Fillmore
> *Sent:* Wednesday, July 19, 2017 9:57 AM
> *To:* 'Alan Griffiths' <apgriffith...@gmail.com>
> *Cc:* Pavel Gashev <p...@acronis.com>; users@ovirt.org; Brandon.Markgraf <
> brandon.markg...@target.com>; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* RE: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after
> Network Outage
>
>
>
> [boxname ~]# systemctl | grep -i dead
>
> mom-vdsm.service
>
>start MOM instance
> configured for VDSM purposes
>
> vdsmd.service
>
> start Virtual Desktop
> Server Manager
>
>
>
>
>
> [ boxname ~]# systemctl | grep -i exited
>
> blk-availability.service
>
>Availability
> of block devices
>
> iptables.service
>
> IPv4 firewall with
> iptables
>
> kdump.service
>
>  Crash
> recovery kernel arming
>
> kmod-static-nodes.service
>
>  Create list
> of required static device nodes for the current kernel
>
> lvm2-monitor.service
>
>  Monitoring
> of LVM2 mirrors, snapshots etc. using dmeventd or progress polling
>
> lvm2-pvscan@253:3.service
>
>  LVM2 PV scan
> on device 253:3
>
> lvm2-pvscan@253:4.service
>
>  LVM2 PV scan
> on device 253:4
>
> lvm2-pvscan@8:3.service
>
>  LVM2 PV scan
> on device 8:3
>
> network.service
>
>  LSB:
> Bring up/down networking
>
> openvswitch-nonetwork.service
>
>   Open vSwitch
> Internal Unit
>
> openvswitch.service
>
> Open vSwitch
>
> rhel-dmesg.service
>
>  Dump dmesg
> to /var/log/dmesg
>
> rhel-import-state.service
>
>  Import
> network configuration from initramfs
>
> rhel-readonly.service
>
>Configure
> read-only root support
>
> systemd-journal-flush.service
>
>Flush Journal to
> Persistent Storage
>
> systemd-modules-load.service
>
> 
> Load
> Kernel Modules
>
> systemd-random-seed.service
>
>  Load/Save
> Random Seed
>
> systemd-readahead-collect.service
>
>  Collect
> Read-Ahead Data
>
> systemd-readahead-replay.service
>
>   Replay
> Read-Ahead Data
>
> systemd-remount-fs.service
>
>  Remount Root
> and Kernel File Systems
>
> systemd-sysctl.service
>
>  Apply Kernel
> Variables
>
> systemd-tmpfiles-setup-dev.service
>
> Create
> Static Device Nodes in /dev
>
> systemd-tmpfiles-setup.service
>
>
> Create Volatile Files and Directories
>
> systemd-udev-trigger.service
>
>  udev
> Coldplug all Devices
>
> systemd-update-utmp.service
>
>  Update UTMP
> about System Boot/Shutdown
>
> systemd-user-sessions.service
>
>  Permit
> User Sessions
>
> systemd-v

Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after Network Outage

2017-07-19 Thread Alan Griffiths
Are there other failed services?

systemctl --state=failed

On 19 July 2017 at 15:40, Anthony.Fillmore <anthony.fillm...@target.com>
wrote:

> Hey Alan,
>
>
>
> Rpcbind is running on my box, looks like no issue there.  Any other ideas
> on what could be keeping vdsmd dead?  I even uninstalled all Ovirt related
> components from the host and went for a reinstall of the host through Ovirt
> (just short of actually fully removing the host from ovirt and re-adding,
> which I want to avoid) and the reinstall ends up timing out when it
> attempts to start VDSM (checking logs can see the service is dead when it
> gets here).
>
>
>
> Thanks,
>
> Tony
>
>
>
> *From:* Alan Griffiths [mailto:apgriffith...@gmail.com]
> *Sent:* Wednesday, July 19, 2017 4:14 AM
> *To:* Anthony.Fillmore <anthony.fillm...@target.com>
> *Cc:* Pavel Gashev <p...@acronis.com>; users@ovirt.org; Brandon.Markgraf <
> brandon.markg...@target.com>; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after
> Network Outage
>
>
>
> Is rpcbind running? This is a dependency for vdsmd.
>
>
>
> I've seen issues where rpcbind will not start on boot if IPv6 is disabled.
> The solution for me was to rebuild the initramfs, aka "dracut -f"
>
>
>
> On 18 July 2017 at 18:13, Anthony.Fillmore <anthony.fillm...@target.com>
> wrote:
>
> [boxname ~]# systemctl status -l vdsm-network
>
> ● vdsm-network.service - Virtual Desktop Server Manager network restoration
>
>Loaded: loaded (/usr/lib/systemd/system/vdsm-network.service; enabled;
> vendor preset: enabled)
>
>Active: activating (start) since Tue 2017-07-18 10:42:57 CDT; 1h 29min
> ago
>
>   Process: 8216 ExecStartPre=/usr/bin/vdsm-tool --vvverbose --append
> --logfile=/var/log/vdsm/upgrade.log upgrade-unified-persistence
> (code=exited, status=0/SUCCESS)
>
> Main PID: 8231 (vdsm-tool)
>
>CGroup: /system.slice/vdsm-network.service
>
>├─8231 /usr/bin/python /usr/bin/vdsm-tool restore-nets
>
>└─8240 /usr/bin/python /usr/share/vdsm/vdsm-restore-net-config
>
>
>
> Jul 18 10:42:57 t0894bmh1001.stores.target.com systemd[1]: Starting
> Virtual Desktop Server Manager network restoration...
>
>
>
> Thanks,
>
> Tony
>
> *From:* Pavel Gashev [mailto:p...@acronis.com]
> *Sent:* Tuesday, July 18, 2017 11:17 AM
> *To:* Anthony.Fillmore <anthony.fillm...@target.com>; users@ovirt.org
> *Cc:* Brandon.Markgraf <brandon.markg...@target.com>; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* [EXTERNAL] Re: [ovirt-users] Host stuck unresponsive after
> Network Outage
>
>
>
> Anthony,
>
>
>
> Output of “systemctl status -l vdsm-network” would help.
>
>
>
>
>
> *From: *<users-boun...@ovirt.org> on behalf of "Anthony.Fillmore" <
> anthony.fillm...@target.com>
> *Date: *Tuesday, 18 July 2017 at 18:13
> *To: *"users@ovirt.org" <users@ovirt.org>
> *Cc: *"Brandon.Markgraf" <brandon.markg...@target.com>,
> "Sandeep.Mendiratta" <sandeep.mendira...@target.com>
> *Subject: *[ovirt-users] Host stuck unresponsive after Network Outage
>
>
>
> Hey Ovirt Users and Team,
>
>
>
> I have a host that I am unable to recover post a network outage.  The host
> is stuck in unresponsive mode, even though the host is on the network, able
> to SSH and seems to be healthy.  I’ve tried several things to recover the
> host in Ovirt, but have had no success so far.  I’d like to reach out to
> the community before blowing away and rebuilding the host.
>
>
>
> *Environment*: I have an Ovengine server with about 26 Datacenters, with
> 2 to 3 hosts per Datacenter.  My Ovengine server is hosted centrally, with
> my hosts being bare-metal and distributed throughout my environment.
>   Ovengine is version 4.0.6.
>
>
>
> *What I’ve tried: *put into maintenance mode, rebooted the host.
> Confirmed host was rebooted and tried to active, goes back to
> unresponsive.   Attempted a reinstall, which fails.
>
>
>
> *Checking from the host perspective, I can see the following problems: *
>
>
>
> [boxname~]# systemctl status vdsmd
>
> ● vdsmd.service - Virtual Desktop Server Manager
>
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
> preset: enabled)
>
>Active: inactive (dead)
>
>
>
> Jul 14 12:34:28 boxname systemd[1]: Dependency failed for Virtual Desktop
> Server Manager.
>
> Jul 14 12:34:28 boxname systemd[1]: Job vdsmd.service/start faile

Re: [ovirt-users] [EXTERNAL] Re: Host stuck unresponsive after Network Outage

2017-07-19 Thread Alan Griffiths
Is rpcbind running? This is a dependency for vdsmd.

I've seen issues where rpcbind will not start on boot if IPv6 is disabled.
The solution for me was to rebuild the initramfs, aka "dracut -f"

On 18 July 2017 at 18:13, Anthony.Fillmore 
wrote:

> [boxname ~]# systemctl status -l vdsm-network
>
> ● vdsm-network.service - Virtual Desktop Server Manager network restoration
>
>Loaded: loaded (/usr/lib/systemd/system/vdsm-network.service; enabled;
> vendor preset: enabled)
>
>Active: activating (start) since Tue 2017-07-18 10:42:57 CDT; 1h 29min
> ago
>
>   Process: 8216 ExecStartPre=/usr/bin/vdsm-tool --vvverbose --append
> --logfile=/var/log/vdsm/upgrade.log upgrade-unified-persistence
> (code=exited, status=0/SUCCESS)
>
> Main PID: 8231 (vdsm-tool)
>
>CGroup: /system.slice/vdsm-network.service
>
>├─8231 /usr/bin/python /usr/bin/vdsm-tool restore-nets
>
>└─8240 /usr/bin/python /usr/share/vdsm/vdsm-restore-net-config
>
>
>
> Jul 18 10:42:57 t0894bmh1001.stores.target.com systemd[1]: Starting
> Virtual Desktop Server Manager network restoration...
>
>
>
> Thanks,
>
> Tony
>
> *From:* Pavel Gashev [mailto:p...@acronis.com]
> *Sent:* Tuesday, July 18, 2017 11:17 AM
> *To:* Anthony.Fillmore ; users@ovirt.org
> *Cc:* Brandon.Markgraf ; Sandeep.Mendiratta <
> sandeep.mendira...@target.com>
> *Subject:* [EXTERNAL] Re: [ovirt-users] Host stuck unresponsive after
> Network Outage
>
>
>
> Anthony,
>
>
>
> Output of “systemctl status -l vdsm-network” would help.
>
>
>
>
>
> *From: * on behalf of "Anthony.Fillmore" <
> anthony.fillm...@target.com>
> *Date: *Tuesday, 18 July 2017 at 18:13
> *To: *"users@ovirt.org" 
> *Cc: *"Brandon.Markgraf" ,
> "Sandeep.Mendiratta" 
> *Subject: *[ovirt-users] Host stuck unresponsive after Network Outage
>
>
>
> Hey Ovirt Users and Team,
>
>
>
> I have a host that I am unable to recover post a network outage.  The host
> is stuck in unresponsive mode, even though the host is on the network, able
> to SSH and seems to be healthy.  I’ve tried several things to recover the
> host in Ovirt, but have had no success so far.  I’d like to reach out to
> the community before blowing away and rebuilding the host.
>
>
>
> *Environment*: I have an Ovengine server with about 26 Datacenters, with
> 2 to 3 hosts per Datacenter.  My Ovengine server is hosted centrally, with
> my hosts being bare-metal and distributed throughout my environment.
>   Ovengine is version 4.0.6.
>
>
>
> *What I’ve tried: *put into maintenance mode, rebooted the host.
> Confirmed host was rebooted and tried to active, goes back to
> unresponsive.   Attempted a reinstall, which fails.
>
>
>
> *Checking from the host perspective, I can see the following problems: *
>
>
>
> [boxname~]# systemctl status vdsmd
>
> ● vdsmd.service - Virtual Desktop Server Manager
>
>Loaded: loaded (/usr/lib/systemd/system/vdsmd.service; enabled; vendor
> preset: enabled)
>
>Active: inactive (dead)
>
>
>
> Jul 14 12:34:28 boxname systemd[1]: Dependency failed for Virtual Desktop
> Server Manager.
>
> Jul 14 12:34:28 boxname systemd[1]: Job vdsmd.service/start failed with
> result 'dependency'.
>
>
>
> *Going a bit deeper, the results of journalctl –xe: *
>
>
>
> [root@boxname ~]# journalctl -xe
>
> -- Defined-By: systemd
>
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit libvirtd.service has begun shutting down.
>
> Jul 18 09:07:31 boxname systemd[1]: Stopped Virtualization daemon.
>
> -- Subject: Unit libvirtd.service has finished shutting down
>
> -- Defined-By: systemd
>
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit libvirtd.service has finished shutting down.
>
> Jul 18 09:07:31 boxname systemd[1]: Reloading.
>
> Jul 18 09:07:31 boxname systemd[1]: Binding to IPv6 address not available
> since kernel does not support IPv6.
>
> Jul 18 09:07:31 boxname systemd[1]: [/usr/lib/systemd/system/rpcbind.socket:6]
> Failed to parse address value, ignoring: [::
>
> Jul 18 09:07:31 boxname systemd[1]: Started Auxiliary vdsm service for
> running helper functions as root.
>
> -- Subject: Unit supervdsmd.service has finished start-up
>
> -- Defined-By: systemd
>
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit supervdsmd.service has finished starting up.
>
> --
>
> -- The start-up result is done.
>
> Jul 18 09:07:31 boxname systemd[1]: Starting Auxiliary vdsm service for
> running helper functions as root...
>
> -- Subject: Unit supervdsmd.service has begun start-up
>
> -- Defined-By: systemd
>
> -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
> --
>
> -- Unit supervdsmd.service has begun starting up.
>
> Jul 18 09:07:31 boxname systemd[1]: Starting Virtualization 

[ovirt-users] Ovirt installation planning question

2017-06-28 Thread Alan Bunch
Hello all,

I have a question about the initial setup for ovirt. I have 3 nodes
that I am about ready to install a hyper converged setup using Gluster
for storage and hosted-engine.

My question is this:

What does the networking setup need to look like at install time ? Do
I need to setup all of the bonds, vlans and bridges before I start the install
or should I just set an ovirtmgmt bond/vlan/bridge and setup the rest of the
networking inside of ovirt. I expect to need 3 or 4 networks/vlan to match
my existing networks to attach vm's to.

Any help or pointers would be appreciated.

Thank You

___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Ovirt adding routes

2017-06-26 Thread Alan Griffiths
Thanks for the clarification, I see now why it's not working. In the GUI
there is no gateway configured for ovirtmgmt network on my single host.
However I can't add one as the network is "in use" by the HostedEngine.
Other than adding a second host is there anyway to work around this?

On 18 June 2017 at 08:11, Edward Haas <eh...@redhat.com> wrote:

> Hi Alan,
>
> The oVirt host agent (VDSM) has a multi-gateway/sourceroute feature which
> allows gateways to be specified per network, in addition to the host level
> routes.
> By default and depending on which version you use, only the ovirtmgmt
> (management) network defines the host default route but all networks
> (including ovirtmgmt) have a gateway definition which is set on a per
> network base.
>
> The way network based routes are defined is using different routing tables
> and rules.
> For more information, please see the feature page:
> http://www.ovirt.org/develop/release-management/features/
> network/multiple-gateways
>
> It should not block or interfere with your traffic, unless you are doing
> something unexpected, like having the default that collides the the one
> defined using ovirtmgmt network.
>
> Thanks,
> Edy.
>
>
> On Tue, Jun 13, 2017 at 6:28 PM, Alan Griffiths <apgriffith...@gmail.com>
> wrote:
>
>> Hi,
>>
>> When installing an ovirt host I got these routes automatically added
>>
>> default dev ovirtmgmt  table 2886865805  scope link
>> 172.18.19.128/26 via 172.18.19.141 dev ovirtmgmt  table 2886865805
>>
>> What is their intended purpose? It seems to be stopping packets from
>> being correctly routed to the local gateway.
>>
>> Thanks,
>>
>> Alan
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Ovirt adding routes

2017-06-13 Thread Alan Griffiths
Hi,

When installing an ovirt host I got these routes automatically added

default dev ovirtmgmt  table 2886865805  scope link
172.18.19.128/26 via 172.18.19.141 dev ovirtmgmt  table 2886865805

What is their intended purpose? It seems to be stopping packets from being
correctly routed to the local gateway.

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] KVM Import with Thin Provisioning

2017-05-30 Thread Alan Griffiths
https://bugzilla.redhat.com/show_bug.cgi?id=1456801

On 29 May 2017 at 12:17, Tomas Jelinek <tjeli...@redhat.com> wrote:

>
>
> On Fri, May 26, 2017 at 9:09 PM, Alan Griffiths <apgriffith...@gmail.com>
> wrote:
>
>> Hi,
>>
>> I don't seem to be able create thin provision disks when importing from
>> KVM. Once import is complete the disk allocation policy is reported as
>> thin, but the actual size is in fact slightly larger than the virtual size.
>>
>> For example, original qcow2 file size - 6G. Virtual size - 1024G.
>> Imported actual size (according to Engine GUI) 1126G.
>>
>> Is this a known issue?
>>
>
> yes, this is a known issue. The fix depends on
> https://bugzilla.redhat.com/show_bug.cgi?id=1332019 which will be
> available only for oVirt 4.2 when we will able to consume it.
>
> But in order to not to forget about it, could you please open a bug about
> your issue?
>
>
>>
>> Running 4.0.4.
>>
>> Thanks,
>>
>> Alan
>>
>> ___
>> Users mailing list
>> Users@ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
>>
>>
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] KVM Import with Thin Provisioning

2017-05-26 Thread Alan Griffiths
Hi,

I don't seem to be able create thin provision disks when importing from
KVM. Once import is complete the disk allocation policy is reported as
thin, but the actual size is in fact slightly larger than the virtual size.

For example, original qcow2 file size - 6G. Virtual size - 1024G. Imported
actual size (according to Engine GUI) 1126G.

Is this a known issue?

Running 4.0.4.

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Resolving host non_responsive

2017-05-03 Thread Alan Griffiths
Hi,

Following a short network outage a couple of HE hosts are reported as
non_responsive in the engine. Storage was not affected and the VMs continue
to run on those hosts. Is it possible to bring the hosts back under
management without disrupting the running of the VMs? Is it as simple as
confirming host has rebooted?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] VDSM overwrites network config

2017-04-11 Thread Alan Cowles
Hey Dan,

Here is a layout of my environment setup, and the primary issue I have run
into, hopefully it helps to clear up the confusion.

Configure 2 hosts identically, eth0, eth1, eth0.502 (mgmt), eth1.504 (NFS)
and do the self-hosted engine install on one host.
As part of the install you have to identify the network that rhevm needs to
go on, and the network you need to mount your first NFS storage domain
from. In this case, eth0.502, and eth1.504 respectively.
That host, and the rhev-m hosted engine come up, however if you notice,
under Networks for the default datacenter, only rhevm exists as an actual
network.
You need to create a new network for NFS, in order to mount ISO/Data
storage domains, even though the engine setup has already mounted NFS via
eth1.504.
When you go to assign this new network from the engine, you cannot place it
on the eth1.504 only directly on eth0 or eth1 iteself.
Thus I have to be sure to tag that network in the rhev-m engine
When the tagged NFS network is placed on eth1, it looks like it breaks the
already existing NFS mount that supports the hosted engine, and causes
items to be non-responsive.
Rebooting the host at this stage, items still don't come up correctly and
the hosted engine remains down.
If I console to it, and manually setup the eth0 & eth1 interfaces, eth0.502
& eth1.504 VLANS,  and rhevm & NFS bridges, and reboot the host, the host
and the engine come up wonderfully with the defined networks vlan tagged,
and placed on the appropriate tag interfaces.

I then go to deploy a 2nd host as an additional hosted engine, and find
that I can select eth0.502 for rhevm and eth1.504 for nfs during the deploy
stages. But when it gets to the stage where it requires to you define the
networks that exist in the current cluster in order to activate the host
and proceed, I'm stuck in the same spot with applying networks, I can only
place them on the eth0/eth1 interfaces. I select ignore to exit the hosted
engine deployment wizard, and attempt to manually apply them, hoping to
repeat the steps from node 1 but was finding myself in a pickle because
starting VDSM would overwrite the network configs I had defined manually.
Why it does this on one host, and not on the other still perplexes me.

What I ended up doing once my primary host was rebuilt using the
appropriate bridges and vlan tagged interfaces, was reinstalling my 2nd
host completely, and configuring it as a self-hosted engine additional
host. This time it imports the network config from the first host
completely here, and I wind up with all tagged interfaces working correctly
and VDSM running as designed.

I guess the thing that bothered me mainly is the functionality in assigning
the networks in rhev manager, as it shows the vlans as sub-interfaces of
eth0/eth1, but doesn't let you assign networks to them, and the odd
behavior of VDSM overwriting configs on one host, but not the other?

I'll admit the setup I have is convoluted, but it's what I have to work
with for this project.

Thank you very much for the time and advice thus far.

On Sun, Apr 9, 2017 at 4:33 AM, Dan Kenigsberg <dan...@redhat.com> wrote:

> On Fri, Apr 7, 2017 at 4:24 PM, Alan Cowles <alan.cow...@gmail.com> wrote:
> > Hey guys,
> >
> > I'm in a lab setup currently with 2 hosts, running RHEV-3.5, with a
> > self-hosted engine on RHEL 6.9 servers. I am doing this in order to plot
> out
> > a production upgrade I am planning going forward to 4.0, and I'm a bit
> stuck
> > and I'm hoping it's ok to ask questions here concerning this product and
> > version.
> >
> > In my lab, I have many vlans trunked on my switchports, so I have to
> create
> > individual vlan interfaces on my RHEL install. During the install, I am
> able
> > to pick my ifcfg-eth0.502 interface for rhevm, and ifcfg-eth1.504
> interface
> > for NFS, access the storage and create my self-hosted engine. The issue
> I am
> > running into is that I get into RHEV-M, and I am continuing to set the
> hosts
> > up or add other hosts, when I go to move my NFS network to host2 it only
> > allows me to select the base eth1 adapter, and not the VLAN tagged
> version.
> > I am able to tag the VLAN in the RHEV-M configured network itself, but
> this
> > has the unfortunate side effect of tagging a network on top of the
> already
> > tagged interface on host1, taking down NFS and the self hosted engine.
> >
> > I am able to access the console of host1, and I configure the ifcfg
> files,
> > vlan files, and bridge files to be on the correct interfaces, and I get
> my
> > host back up, and my RHEV-M back up. However when I try to make these
> manual
> > changes to host2 and get it up, the changes to these files are completely
> > overwritten the moment the host reboots connected to vdsm

[ovirt-users] VDSM overwrites network config

2017-04-07 Thread Alan Cowles
Hey guys,

I'm in a lab setup currently with 2 hosts, running RHEV-3.5, with a
self-hosted engine on RHEL 6.9 servers. I am doing this in order to plot
out a production upgrade I am planning going forward to 4.0, and I'm a bit
stuck and I'm hoping it's ok to ask questions here concerning this product
and version.

In my lab, I have many vlans trunked on my switchports, so I have to create
individual vlan interfaces on my RHEL install. During the install, I am
able to pick my ifcfg-eth0.502 interface for rhevm, and ifcfg-eth1.504
interface for NFS, access the storage and create my self-hosted engine. The
issue I am running into is that I get into RHEV-M, and I am continuing to
set the hosts up or add other hosts, when I go to move my NFS network to
host2 it only allows me to select the base eth1 adapter, and not the VLAN
tagged version. I am able to tag the VLAN in the RHEV-M configured network
itself, but this has the unfortunate side effect of tagging a network on
top of the already tagged interface on host1, taking down NFS and the self
hosted engine.

I am able to access the console of host1, and I configure the ifcfg files,
vlan files, and bridge files to be on the correct interfaces, and I get my
host back up, and my RHEV-M back up. However when I try to make these
manual changes to host2 and get it up, the changes to these files are
completely overwritten the moment the host reboots connected to vdsmd
start-up.

Right now, I have vdsmd disabled, and I have host2 configured the way I
need it to be with the rhevm bridge on eth0.502, the NFS bridge on
eth1.504, and my VMNet "guest" bridge on eth1.500, however that leaves me
with a useless host from RHEV standards.

I've checked several different conf files to see where vdsmd is pulling
it's configuration from but I can't find it, or find a way to modify it to
fit my needs.

Any advice or pointers here would be greatly appreciated. Thank you all in
advance.

AC
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Initial network setup question ...

2017-04-07 Thread Alan Bunch
Hello all,

I have a question about the initial setup for ovirt. I have 3 nodes that I am 
about ready to install a hyper converged setup using Gluster for storage and 
hosted-engine. Gluster is setup and the volumes are mounted.

My question is this:
What does the networking setup need to look like at install time ? Do I need to 
setup all of the bonds, vlans and bridges before I start the install or should 
I just set an ovirtmgmt bond/vlan/bridge and setup the rest of the networking 
inside of ovirt. I expect to need 3 or 4 networks/vlan to match my existing 
networks to attach vm's to.

Any help or pointers would be appreciated.

Thank You
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [ovirt-users] Recent Install Docs?

2017-03-30 Thread Alan Griffiths
I believe that is the required setup - dedicated storage domain for HE.
It's certainly the case on 4.0, I haven't played with 4.1 yet.

For docs you can always check the RHV set, they are generally applicable to
oVirt.

https://access.redhat.com/documentation/en-us/red_hat_
virtualization/4.1-beta/html/self-hosted_engine_guide/


On 30 March 2017 at 18:17, Charles Tassell  wrote:

> Hello,
>
>   Are there any more recent install docs than what's on the website?
> Those all seem to be back from the 3.x days and don't really deal with the
> modern setup of using a hosted engine.
>
>   More specifically, I've noticed that when deploying a hosted engine I
> can't import the storage domain that the engine is on. When I try I get
> errors like "Can't import the storage domain, connection already exists"
> Because I can't import my storage domain, I can't initialize the cluster,
> so I can't really get anywhere with the setup.  I had this same problem on
> 4.0 (using 4.1 now) and I "fixed" it by wiping the cluster and creating two
> sets of storage: a small 50G one that holds the hosted engine, and then
> another one that holds all my VMs.  I don't want to do that with my new
> cluster if I can at all avoid it.
>
>
> ___
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Guest Agent Running unconfined on Centos 7

2017-02-10 Thread Alan Griffiths
Hi,

I'm running ovirt-guest-agent from Centos 7 EPEL and I notice that it's
running unconfined rather than within its own domain.

I see there is a rhev_agentd_exec_t type, which I attempted to assign to
ovirt-guest-agent.py but it still starts up as unconfined. Is there a
supported process for getting ovirt-guest into its own domain? Or a reason
why it's not possible?

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[ovirt-users] Extend HE Disk

2016-12-08 Thread Alan Griffiths
Hi,

I can see it's possible to edit CPU and memory allocation of HE in the GUI,
but it doesn't seem possible to edit the disk. If I try I get a "VM not
managed by engine" error.

>From this post last year it implied that this feature was due in 3.6.

http://lists.ovirt.org/pipermail/users/2015-March/031783.html

Is there a method of doing this? I'm running 4.0.5.5-1.el7.centos

Thanks,

Alan
___
Users mailing list
Users@ovirt.org
http://lists.phx.ovirt.org/mailman/listinfo/users


  1   2   3   >